generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Whats The Script To Kill Everyone

Previous Thread :: Next Thread 
IBuildOn is not online. 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 is not online. Landish
Joined: 24 Sep 2011
Total Posts: 8152
22 Jul 2014 01:19 PM
Learn to script maybe?
Report Abuse
blox6137 is not online. 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 is not online. 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 is not online. blox6137
Joined: 23 Nov 2008
Total Posts: 1109
22 Jul 2014 01:20 PM
We're not your slaves maybe?
Report Abuse
super10099 is not online. super10099
Joined: 30 Jan 2010
Total Posts: 1102
22 Jul 2014 01:20 PM
for _,v in pairs(game.Players:GetPlayers())do
pcall(function()
v.Character:BreakJoints()
end)
end
Report Abuse
IBuildOn is not online. 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 is not online. 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
FlamedSkull is not online. FlamedSkull
Joined: 23 May 2009
Total Posts: 1379
22 Jul 2014 01:23 PM
Use wiki
Report Abuse
Goulstem is not online. 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 is not online. 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
ninja900500 is not online. ninja900500
Joined: 27 Sep 2008
Total Posts: 2324
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 is not online. 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
BothAngles is not online. BothAngles
Joined: 01 Dec 2011
Total Posts: 9604
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
ninja900500 is not online. ninja900500
Joined: 27 Sep 2008
Total Posts: 2324
22 Jul 2014 01:26 PM
Why don't you use the WIKI?
Report Abuse
IBuildOn is not online. 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
super10099 is not online. super10099
Joined: 30 Jan 2010
Total Posts: 1102
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 is not online. 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 is not online. 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
ninja900500 is not online. ninja900500
Joined: 27 Sep 2008
Total Posts: 2324
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 is not online. 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
ninja900500 is not online. ninja900500
Joined: 27 Sep 2008
Total Posts: 2324
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
BothAngles is not online. BothAngles
Joined: 01 Dec 2011
Total Posts: 9604
22 Jul 2014 01:31 PM
he said it wud work see im helping u
Report Abuse
super10099 is not online. super10099
Joined: 30 Jan 2010
Total Posts: 1102
22 Jul 2014 01:33 PM
^ No, it wouldn't

You're clearing the workspace again.
Report Abuse
blox6137 is not online. blox6137
Joined: 23 Nov 2008
Total Posts: 1109
22 Jul 2014 01:33 PM
Shhh.
(it works)
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image