game.Players.PlayerAdded:Connect(function(plr)
wait(5)
print(plr.Character.Humanoid)
local hum = plr.Charcater.Humanoid
hum.Health = hum.Health - 99
end)
I am using a server script in the serverscriptservice.
game.Players.PlayerAdded:Connect(function(plr)
wait(5)
print(plr.Character.Humanoid)
local hum = plr.Charcater.Humanoid
hum.Health = hum.Health - 99
end)
I am using a server script in the serverscriptservice.
You've miss spelt 'Character' with 'Charcater'.
game.Players.PlayerAdded:Connect(function(plr)
wait(5)
print(plr.Character.Humanoid)
local hum = plr.Character:WaitForChild("Humanoid")
hum.Health = hum.Health - 99
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
Its plr.Character.Humanoid not plr.Charcater lol
SO THATS WHY NONE OF MY SCRIPTS WORK>>>>>>>>>>!!!!!!!!!!!!!(PU^&&^(&^^&(JKMJHUYKMHJNMGYBHGJNTYBR