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: Can I make tables with this?

Previous Thread :: Next Thread 
robber4 is not online. 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 is not online. 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 is not online. 789cab
Joined: 13 Jul 2009
Total Posts: 3145
12 Sep 2010 06:50 AM
Are you gonna test it out?
Report Abuse
robber4 is not online. 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 is not online. 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 is not online. robber4
Joined: 20 Jun 2008
Total Posts: 203
12 Sep 2010 06:57 AM
come back to script builder 2
Report Abuse
robber4 is not online. robber4
Joined: 20 Jun 2008
Total Posts: 203
12 Sep 2010 08:12 AM
bump
Report Abuse
789cab is not online. 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 is not online. robber4
Joined: 20 Jun 2008
Total Posts: 203
12 Sep 2010 09:09 AM
bump it has an error
Report Abuse
pwnedu46 is online. pwnedu46
Joined: 23 May 2009
Total Posts: 7534
12 Sep 2010 08:36 PM

nukes = {"Nuke","Cleaner"}

that IS a table... >.>
Report Abuse
robber4 is not online. robber4
Joined: 20 Jun 2008
Total Posts: 203
12 Sep 2010 09:56 PM
...it has an error...
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