#Equip Script
25 messages · Page 1 of 1 (latest)
bro you never change the boolean
in tools they have a .Equipped and .Unequipped Function so you can set that boolean
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
Nope
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.
that's not as he intended it tho why would you check if its true after checking that it's false
You should provide the script that has the Equipped and Unequipped event @calm vapor
Show screenshot of it
Yea
local script fires event when player press E (equip event)
** You are now Level 5! **
then server script makes stuff happen when event is fired
there isnt a unequip event
also, the local script only fires Equip event
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
Then can you show us the script of that
You probably did Instance.new() on the client, not the server. When an instance has been made on client, server cannot see it.
yeah i did
but i fixed it so all is well