Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do i make this script kill a player?

    local Plr = game:GetService("Players").LocalPlayer

local Mouse = Plr:GetMouse()

  

Mouse.Button1Down:connect(function()

if not game:GetService("UserInputService"):IsKeyDown(Enum.KeyCode.T) then return end

if not Mouse.Target then return end

Mouse.Target.Parent.Humanoid.Health = 0

end)

this is a local script in the starterpack so it obviously only shows for the player that did it that the other one is dead, but the other person isnt actually dead, help please

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.