so basically, I have a game with my friend and we tools but, when someone equips it, it gets and error saying "Equipped is not a valid member of Part "Workspace.SuperninjaYTbro.Right Arm" and I've been trying to fix it for 4 days now and no luck. how do I fix it?
here's the code
script.Parent.Parent.Parent.Equipped:Connect(function() script.Parent:Resume() local hu = script.Parent.Parent.Parent.Parent:FindFirstChildOfClass("Humanoid") hu.WalkSpeed = 25 end) that's basically it.
COMMUNITY QUESTION
getting an error everytime you equip a tool, how do I fix it?
1 answer
script.Parent.Parent.Parent
It refers to SuperninjaYTbro's Right arm, be sure you count how many .Parent you actually need
You wants your script.Parent.Parent.Parent to actually refers to your tool
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
where is that script?