function OnUnequip() script.Parent.Parent.Humanoid.WalkSpeed = 16 end
script.Parent.Unequipped:connect(OnUnequip)
I'm making a tool that when you equip it your walkspeed is set to 100
what I'm having trouble with is when you unequip it the walkspeed doesnt change back to 16
whats wrong with this script? I think it's because the tool is no longer the players child so it cant set the walkspeed to 16, but I don't know how to fix this
I'm a beginner scripter in need of help

1 comment
accept my answer, please.