Player = game.Players.LocalPlayer character = Player.Character humanoid = character:FindFirstChild('Humanoid')
WHAT IS WRONG HERE?
The problem here is the fact that the character does NOT exist (yet).
Give this a go :
local Player = game.Players.LocalPlayer local character = Player.Character or Player.CharacterAdded:Wait() local humanoid = character:WaitForChild('Humanoid')