|
| 11 Dec 2016 09:55 AM |
| I need a script that kills all players overtime for my game. I have a version that works but it only works on Singleplayer Studio and it breaks everything else on multiplayer or when you play the game. It also only kills 1 player only which is not what I want. |
|
|
| Report Abuse |
|
|
HlCOM
|
  |
| Joined: 29 Mar 2009 |
| Total Posts: 3332 |
|
| |
|
|
| 11 Dec 2016 10:11 AM |
| K hold on getting on my computer |
|
|
| Report Abuse |
|
|
|
| 11 Dec 2016 10:16 AM |
local charHead = game.Players.LocalPlayer.Character.Head
while true do
game.Workspace:WaitForChild("TriggerDeath") charHead:Destroy() game.Workspace.TriggerDeath:Destroy()
end
on a different script, it creates a part called "TriggerDeath", which is why it's there. and yes, it's most likely wrong.
Let's talk about Parallel Universes. |
|
|
| Report Abuse |
|
|
|
| 11 Dec 2016 10:27 AM |
1
Let's talk about Parallel Universes. |
|
|
| Report Abuse |
|
|
HlCOM
|
  |
| Joined: 29 Mar 2009 |
| Total Posts: 3332 |
|
|
| 11 Dec 2016 10:30 AM |
idk what the point of that is
while wait(60) do for i, plr in ipairs (game.Players:GetPlayers()) do plr.Character.Humanoid.Health = 0 end end
http://wiki.roblox.com/?title=Loops |
|
|
| Report Abuse |
|
|