local Humanoid = Player.Character:WaitForChild("Humanoid")
Players.coda6000.PlayerScripts.Sprint:5: attempt to index nil with 'WaitForChild'
this is the error i get in my output
local Humanoid = Player.Character:WaitForChild("Humanoid")
Players.coda6000.PlayerScripts.Sprint:5: attempt to index nil with 'WaitForChild'
this is the error i get in my output
try local Humanoid = Player.Character:FindFirstChild("Humanoid")
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
Is the script a server script? If so, try turning the script into a local script.
it is a local script already