robber4
|
  |
| Joined: 20 Jun 2008 |
| Total Posts: 203 |
|
|
| 12 Sep 2010 06:34 AM |
nukes = {"Nuke","Cleaner"} function onClicked() local m = Instance.new("Message") local h = Instance.new("Hint") m.Parent = workspace h.Parent = workspace m.Text = "No nukes, or ending server" h.Text = "No nukes, or ending server" wait(3) m:Remove() while true do --REMOVE THE -- IF YOU WANT A LOOP wait() found = game:GetService("Workspace"):findFirstChild(nukes) if found == nil then h.Text = "Someone put a nuke..." a = game.Players:GetChildren() for i = 1, #a do a[i]:remove() end a = game.Workspace:GetChildren() for i = 1, #a do a[i]:Remove() end end end --REMOVE THE -- IF YOU WANT A LOOP end script.Parent.ClickDetector.MouseClick:connect(onClicked)
|
|
|
| Report Abuse |
|
|
789cab
|
  |
| Joined: 13 Jul 2009 |
| Total Posts: 3145 |
|
|
| 12 Sep 2010 06:45 AM |
nukes = {"Nuke","Cleaner"} function onClicked() local m = Instance.new("Message") local h = Instance.new("Hint") m.Parent = workspace h.Parent = workspace m.Text = "No nukes, or ending server" h.Text = "No nukes, or ending server" wait(3) m:Remove() while true do wait() found = game:GetService("Workspace"):findFirstChild(nukes) if found == nil then h.Text = "Someone put a nuke..." a = game.Players:GetChildren() for i = 1, #a do a[i]:Remove() -- you forgot to put a capital R in Remove end a = game.Workspace:GetChildren() for i = 1, #a do a[i]:Remove() end end end end script.Parent.ClickDetector.MouseClick:connect(onClicked)
you could do this with the message
local Instance.new("message", Workspace) -- i think it might work m.Text = "It might work and it might not" |
|
|
| Report Abuse |
|
|
789cab
|
  |
| Joined: 13 Jul 2009 |
| Total Posts: 3145 |
|
|
| 12 Sep 2010 06:50 AM |
| Are you gonna test it out? |
|
|
| Report Abuse |
|
|
robber4
|
  |
| Joined: 20 Jun 2008 |
| Total Posts: 203 |
|
|
| 12 Sep 2010 06:53 AM |
| wait i made the r capital but its still not working, should i use the thing you posted for the message? |
|
|
| Report Abuse |
|
|
789cab
|
  |
| Joined: 13 Jul 2009 |
| Total Posts: 3145 |
|
|
| 12 Sep 2010 06:54 AM |
| meet me in anaminus's script build version 2 |
|
|
| Report Abuse |
|
|
robber4
|
  |
| Joined: 20 Jun 2008 |
| Total Posts: 203 |
|
|
| 12 Sep 2010 06:57 AM |
| come back to script builder 2 |
|
|
| Report Abuse |
|
|
robber4
|
  |
| Joined: 20 Jun 2008 |
| Total Posts: 203 |
|
| |
|
789cab
|
  |
| Joined: 13 Jul 2009 |
| Total Posts: 3145 |
|
|
| 12 Sep 2010 08:19 AM |
go here
http://www.roblox.com/Forum/ShowPost.aspx?PostID=33663420#33664132 |
|
|
| Report Abuse |
|
|
robber4
|
  |
| Joined: 20 Jun 2008 |
| Total Posts: 203 |
|
| |
|
pwnedu46
|
  |
| Joined: 23 May 2009 |
| Total Posts: 7534 |
|
|
| 12 Sep 2010 08:36 PM |
nukes = {"Nuke","Cleaner"} that IS a table... >.> |
|
|
| Report Abuse |
|
|
robber4
|
  |
| Joined: 20 Jun 2008 |
| Total Posts: 203 |
|
| |
|