I tried alot of try it including :FindFirstChild and :FindFirstChildOfClass but anything doesn't work for it and Parents won't even work for it. It says game.Players.LocalPlayer.Character is a nil value but Player is present in the game. I want to get rid of this error! Help? Every samples of line of code I use that still won't works:
local player = game.Players.LocalPlayer.Character
local humanoid = player.Humanoid --not working
local player = game.Players.LocalPlayer.Character
local humanoid = player:FindFirstChild("Humanoid") --also not working
local player = game.Players.LocalPlayer.Character
local humanoid = player:FindFirstChildOfClass("Humanoid") --the worst of all that does not working

1 comment
Please post the script so we can further help you.