Here is the script:
game.Players.LocalPlayer.Touched:connect(function(hit)
game.Players.LocalPlayer.Humanoid.Health = 0
end)
Please tell me if i'm wrong and tell me how to fix it, thank you
Here is the script:
game.Players.LocalPlayer.Touched:connect(function(hit)
game.Players.LocalPlayer.Humanoid.Health = 0
end)
Please tell me if i'm wrong and tell me how to fix it, thank you
Hellooo :D
script :
function oof(plr)
local humanoid = plr.Parent:WaitForChild("Humanoid")
humanoid.Health = 0
end
script.Parent.Touched:Connect(oof)
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
I already found answer but thankyou for responding :D
:D