#how to disable and enable a script

52 messages · Page 1 of 1 (latest)

pastel vortex
#

script.Enabled = true -- Enable it
script.Enabled = false -- Disbale it

daring gorge
#

im gonna try ty

#

can you look at my script

#

it’s not working

#

@pastel vortex

pastel vortex
#

dont @ me

#

read docs, see tuts

#

learn the basics by reading and looking at vids

daring gorge
#

this is the script

#

i used what u said to disable it

#

oh wait

#

hold on

#

i didnt write .Enabled lol

#

it still dont work 😭

pastel vortex
#

yes, the scripts is giving err

#

please look some tuts first

#

humanoid for example is not defined, as much i see

#

open output too

#

u need to look things

daring gorge
sonic wyvernBOT
#

studio** You are now Level 1! **studio

daring gorge
#

im changing it

#

a little

pastel vortex
#

u know the basics?

daring gorge
#

kinda

pastel vortex
#

well

#

u r declaring sand twice for example

#

i'll just recommending

#

dont change or try anything at least without knowing basics

#

trying to is going to do ur learn slower

#

at least in the start

daring gorge
#

im changing the script not to much

#

im using everything the exact

#

its just for this one

#

its supposed to put walkspeed

#

but im changing it to disable a script

#

this is output

#

any idea what that means i should do?

pastel vortex
#

yes, that means that humanoid is nil thats why im saying

daring gorge
pastel vortex
#

look at the tutorial

daring gorge
#

the tut says humanoid.walkspeed

#

thats why i put humanoid.soru

#

i guess because the script isnt a propetry of humanoid it doesnt see it

#

so i should do starterplayer?

#

instead of humanoid

#

and then it will pick it up?

pastel vortex
#

no, please do what i said

#

learn first

#

i cant say more