#Equip Script

25 messages · Page 1 of 1 (latest)

solemn kettle
#

Uhm

#

Why are you using a local script?

fading shard
#

bro you never change the boolean

in tools they have a .Equipped and .Unequipped Function so you can set that boolean

lost dagger
#

One of your if statements doesn’t have an end in the right place use elseif for the second one and remove one of the ends

keen pollen
#

There is 3 ‘end’s at the buttom

#

The lower if statement is inside the other if statement

#

Indenting is not needed in lua, its just easier to read.

lost dagger
# keen pollen Nope

that's not as he intended it tho why would you check if its true after checking that it's false

solemn kettle
#

You should provide the script that has the Equipped and Unequipped event @calm vapor

#

Show screenshot of it

calm vapor
fluid geodeBOT
#

studio** You are now Level 5! **studio

calm vapor
#

then server script makes stuff happen when event is fired

calm vapor
#

also, the local script only fires Equip event

calm vapor
#

ok i managed to fix it

#

but now there is another issue

#

i have a folder full of values in the character (bool values) and my server script says attempt to index nil when Waiting for child

#

aka the EquipValue

solemn kettle
#

Then can you show us the script of that

keen pollen
calm vapor
#

but i fixed it so all is well