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)