#learning scripting and theres a bug

33 messages · Page 1 of 1 (latest)

rugged veldtBOT
#

studio** You are now Level 10! **studio

lime nova
#

here are the 2 scripts

#

and they arent doing what i want them to do

#

and well there not doing anything

half ingot
orchid scaffold
#

remember scripts run once from top to bottom

#

so the if statement runs once

lime nova
#

Oh yea

lime nova
orchid scaffold
lime nova
#

yooo think so much i get it

#

also

#

how do i play a sound

#

is it just like the id then like :play or something

orchid scaffold
#

nah

#

you have to add a "Sound" instance

#

like in the workspace or wherever you want it

#

then get the sound with a variable and do Sound:Play()

lime nova
#

one last question

#

what is the difference between puting a local infront of a varible when defigning it

#

and not

#

it has that blue squigle and its not working

#

oh wait

#

im dumb i fixed

shut steeple
#

@lime nova

#

WHY U NO REPLY TO DM

#

I TOLD U I WAS GONA HLEP U

orchid scaffold
#

keyword scope, you can search it up on google if you dont know what that is.

lime nova
shut steeple
#

@lime nova