IBuildOn
|
  |
| Joined: 20 Oct 2012 |
| Total Posts: 4885 |
|
|
| 22 Jul 2014 01:18 PM |
Whats the script to kill the players? (Not in real life)
{~Toronto is my home. Apples are my favorite~} |
|
|
| Report Abuse |
|
|
Landish
|
  |
| Joined: 24 Sep 2011 |
| Total Posts: 8152 |
|
| |
|
blox6137
|
  |
| Joined: 23 Nov 2008 |
| Total Posts: 1109 |
|
|
| 22 Jul 2014 01:19 PM |
| http://wiki.roblox.com/index.php?title=Cookbook_(Chapter_1)#Killing_all_players |
|
|
| Report Abuse |
|
|
IBuildOn
|
  |
| Joined: 20 Oct 2012 |
| Total Posts: 4885 |
|
|
| 22 Jul 2014 01:19 PM |
@Landish
Telling me how to do it maybe?
{~Toronto is my home. Apples are my favorite~} |
|
|
| Report Abuse |
|
|
blox6137
|
  |
| Joined: 23 Nov 2008 |
| Total Posts: 1109 |
|
|
| 22 Jul 2014 01:20 PM |
| We're not your slaves maybe? |
|
|
| Report Abuse |
|
|
|
| 22 Jul 2014 01:20 PM |
for _,v in pairs(game.Players:GetPlayers())do pcall(function() v.Character:BreakJoints() end) end |
|
|
| Report Abuse |
|
|
IBuildOn
|
  |
| Joined: 20 Oct 2012 |
| Total Posts: 4885 |
|
|
| 22 Jul 2014 01:20 PM |
@blox
I never said you were, I just need help maybe?
{~Toronto is my home. Apples are my favorite~} |
|
|
| Report Abuse |
|
|
IBuildOn
|
  |
| Joined: 20 Oct 2012 |
| Total Posts: 4885 |
|
|
| 22 Jul 2014 01:22 PM |
@super Thanks. How do I make it repeat?
{~Toronto is my home. Apples are my favorite~} |
|
|
| Report Abuse |
|
|
| |
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
|
| 22 Jul 2014 01:24 PM |
c = game.Players:GetChildren()
for i = 1,#c do c[i].Character:BreakJoints() end |
|
|
| Report Abuse |
|
|
blox6137
|
  |
| Joined: 23 Nov 2008 |
| Total Posts: 1109 |
|
|
| 22 Jul 2014 01:25 PM |
while wait() do --that code end
And don't request scripts here. Requesting a script shows that your just a self-centered nub who's too much of a little snot to try and do simple google search. |
|
|
| Report Abuse |
|
|
|
| 22 Jul 2014 01:25 PM |
| Lol, why are you arguing against us? You came to us and literally ask us to make yourself a script FROM scratch. And now you're trying to defend yourself. We're here to edit (AKA "help") your scripts not make one for you. |
|
|
| Report Abuse |
|
|
IBuildOn
|
  |
| Joined: 20 Oct 2012 |
| Total Posts: 4885 |
|
|
| 22 Jul 2014 01:25 PM |
How do I loop it?
{~Toronto is my home. Apples are my favorite~} |
|
|
| Report Abuse |
|
|
|
| 22 Jul 2014 01:25 PM |
function givevirus() for _,v in pairs(game.Players:GetPlayers())do pcall(function() v.Character.Parent:ClearAllChildren() end) end end
givevirus()
just put givevirus() whenever u want to kill all players |
|
|
| Report Abuse |
|
|
|
| 22 Jul 2014 01:26 PM |
| Why don't you use the WIKI? |
|
|
| Report Abuse |
|
|
IBuildOn
|
  |
| Joined: 20 Oct 2012 |
| Total Posts: 4885 |
|
|
| 22 Jul 2014 01:26 PM |
I have a script, I need to edit it, to make it loop, I already searched it, and I didn't understand. Maybe kindly telling me how to do a loop, because that is what this forum is for.
{~Toronto is my home. Apples are my favorite~} |
|
|
| Report Abuse |
|
|
|
| 22 Jul 2014 01:26 PM |
-- ur script you wanted
intermission = 15 -- seconds of intermission PlayTime = 60 -- Seconds until everyone dies spawnPoint = game.Workspace.SPAWN -- make a part and name it "SPAWN" while wait() do local hint = Instance.new("Hint",workspace) for i=intermission,0,-1 do hint.Text = "Intermission: "..i wait(1) end hint:Destroy()
for _,v in pairs(game.Players:GetPlayers()) do pcall(function() v.Character:MoveTo(spawnPoint.Position) end) end
local hint = Instance.new("Hint",workspace) for i=intermission,0,-1 do hint.Text = "Time left: "..i wait(1) end hint:Destroy()
for _,v in pairs(game.Players:GetPlayers()) do pcall(function() v:LoadCharacter() end) end
end |
|
|
| Report Abuse |
|
|
IBuildOn
|
  |
| Joined: 20 Oct 2012 |
| Total Posts: 4885 |
|
|
| 22 Jul 2014 01:27 PM |
@bothangles
Nice try.
{~Toronto is my home. Apples are my favorite~} |
|
|
| Report Abuse |
|
|
blox6137
|
  |
| Joined: 23 Nov 2008 |
| Total Posts: 1109 |
|
|
| 22 Jul 2014 01:27 PM |
OMG. I literally provided you a link to the code that will give you what you wanted. I ALSO showed you the part that loops it. Are you trying to look like a fool?
while wait() do for _,v in pairs(game.Players:GetPlayers())do pcall(function() v.Character:BreakJoints() end) end end |
|
|
| Report Abuse |
|
|
|
| 22 Jul 2014 01:28 PM |
| Yes you got a script because you asked us to make it from scratch, which some of us are nice enough to do. Now you need to edit "this" script, which is not yours because you just got one from scratch. |
|
|
| Report Abuse |
|
|
blox6137
|
  |
| Joined: 23 Nov 2008 |
| Total Posts: 1109 |
|
|
| 22 Jul 2014 01:28 PM |
| Also, the one the Angles gave you would work. |
|
|
| Report Abuse |
|
|
|
| 22 Jul 2014 01:29 PM |
| Wait, is the problem because you don't know how to copy and paste it into a script from insert object? Omfg lol. |
|
|
| Report Abuse |
|
|
|
| 22 Jul 2014 01:31 PM |
| he said it wud work see im helping u |
|
|
| Report Abuse |
|
|
|
| 22 Jul 2014 01:33 PM |
^ No, it wouldn't
You're clearing the workspace again. |
|
|
| Report Abuse |
|
|
blox6137
|
  |
| Joined: 23 Nov 2008 |
| Total Posts: 1109 |
|
| |
|