lukaguy98
|
  |
| Joined: 24 Jul 2011 |
| Total Posts: 670 |
|
|
| 23 Mar 2013 03:37 PM |
white wait(60) do character.Breakjoints() end
How do i do it so that every 60 seconds all of the players die? the script above me doesn't work :/
|
|
|
| Report Abuse |
|
|
BruceAB12
|
  |
| Joined: 19 Jan 2012 |
| Total Posts: 3238 |
|
|
| 23 Mar 2013 03:48 PM |
while (2+2 == 4) do wait (60) p = game.Players:GetChildren()
for i = 1,#p do p[i].Character.Humanoid.Health = 0 end end end
Not sure if it will work.
|
|
|
| Report Abuse |
|
|
|
| 23 Mar 2013 03:53 PM |
while 99 == 99 do wait(60) for _,n in next,Workspace:GetChildren() do if Game.Players:GetPlayerFromCharcter(n) then n:BreakJoints() end end end |
|
|
| Report Abuse |
|
|
BruceAB12
|
  |
| Joined: 19 Jan 2012 |
| Total Posts: 3238 |
|
|
| 23 Mar 2013 03:55 PM |
while (2+2 == 4) do
I like that better :3 |
|
|
| Report Abuse |
|
|
|
| 23 Mar 2013 03:58 PM |
I win :P
while 3^3==3^2*3 do wait() end |
|
|
| Report Abuse |
|
|
BruceAB12
|
  |
| Joined: 19 Jan 2012 |
| Total Posts: 3238 |
|
|
| 23 Mar 2013 04:00 PM |
Okay....
http://www.roblox.com/Okay-face-item?id=61860021
Wait can you divide with lua? |
|
|
| Report Abuse |
|
|
| |
|
BruceAB12
|
  |
| Joined: 19 Jan 2012 |
| Total Posts: 3238 |
|
| |
|
|
| 23 Mar 2013 04:03 PM |
while 2*2*9 == 4/2*2*9 do print("SPAM") end |
|
|
| Report Abuse |
|
|
| |
|
BruceAB12
|
  |
| Joined: 19 Jan 2012 |
| Total Posts: 3238 |
|
| |
|
lukaguy98
|
  |
| Joined: 24 Jul 2011 |
| Total Posts: 670 |
|
| |
|
BruceAB12
|
  |
| Joined: 19 Jan 2012 |
| Total Posts: 3238 |
|
|
| 23 Mar 2013 04:08 PM |
This will still work:
while (2+2 == 4) do
Because 2+2 is always going to equal 4. |
|
|
| Report Abuse |
|
|
|
| 23 Mar 2013 04:11 PM |
while math.huge > -math.huge do wait() print("Yesh") end |
|
|
| Report Abuse |
|
|
BruceAB12
|
  |
| Joined: 19 Jan 2012 |
| Total Posts: 3238 |
|
| |
|
|
| 23 Mar 2013 04:12 PM |
while math.pi:sub(1,4) == 3.14 do wait() print("woah") end |
|
|
| Report Abuse |
|
|
BruceAB12
|
  |
| Joined: 19 Jan 2012 |
| Total Posts: 3238 |
|
| |
|
jagex100
|
  |
| Joined: 21 Oct 2009 |
| Total Posts: 8 |
|
|
| 23 Mar 2013 04:23 PM |
while wait(60) do --[[This makes a loop that well wait 60 seconds]] print("Starting") --[[This well have it print Starting every 60 seconds]] players=game.Players:GetChildren() --[[This gets everything inside game.Players]] for a =1,#players do --[[For how many players there are do]] local human=players[a].Character:FindFirstChild("Humanoid") --[[This gets the players humanoid]] if human~=nil then --[[This checks if thier humanoid exist]] human.Health=0 --[[This makes thier health zero]] end--[[The ends just every if statement and the while statement I called]] end end
--[[ Instead of getting the players humanoid we could have said players[a].Character:BreakJoints() and that would have killed the player also ]] |
|
|
| Report Abuse |
|
|