I am trying to make a script where it includes the humanoid. I made it as a local "local humanoid = player:WaitForChild("Humanoid")". Player is a local = game.Players.LocalPlayer. What am I doing wrong
Yeah, you're trying to get the humanoid from the player when it's a child of the character. Also, make sure this is a localscript as game.Players.LocalPlayer doesn't work on the server.
local player = game.Players.LocalPlayer local character = player.Character if character then --You want to make sure the player currently has a character local humanoid = character:FindFirstChild("Humanoid") --It's better to use findfirstchild so it doesn't return an error if it's not found end