Forum > Scripts >

Prevent players from spawning

Posts: 212

Threads: 42

Joined: May, 2018

Reputation: 0

Posted

Try this on a diff game
------------------------------
local kill = game.Players.VictimsNameHere.Character -- Kills The Victim

local player = game.Players.LocalPlayer.Character

local victim = game.Workspace.Id.HumanoidRootPart

while true do
wait(0.7)
player.Humanoid.Health = math.huge

kill.Humanoid.Health = 0

player.HumanoidRootPart.CFrame = CFrame.new(victim.Position.Z, victim.Position.Y, victim.Position.X)
end
if true then
print("script loaded")
  • 0

Posts: 3

Threads: 1

Joined: Apr, 2018

Reputation: 0

Replied

Are you supposed to add a ("") for the victim's name?
  • 0

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )