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: Is This Correct?

Previous Thread :: Next Thread 
stuart6854 is not online. stuart6854
Joined: 20 Oct 2008
Total Posts: 913
04 Aug 2011 03:09 PM
I'm not much of a Scripter but I Made this and the explosion doesn't go Off.


bmb = game.Workspace.Bomb

function a()

msg = Instance.new("Message")
msg.Name = ("Message")
msg.Parent = game.Workspace
msg.Text = ("Bomb Activated!")
wait(3)
msg.Text = ("Bomb Going Of in 10 Seconds")
wait(1)
msg.Text = ("9 Seconds")
wait(1)
msg.Text = ("8 Seconds")
wait(1)
msg.Text = ("7 Seconds")
wait(1)
msg.Text = ("6 Seconds")
wait(1)
msg.Text = ("5 Seconds")
wait(1)
msg.Text = ("4 Seconds")
wait(1)
msg.Text = ("3 Seconds")
wait(1)
msg.Text = ("2 Seconds")
wait(1)
msg.Text = ("1 Second")
wait(1)
msg.Text = ("Goodbye")
wait(1)
ex = Instance.new("Explosion")
ex.Name = ("Explosion")
ex.Parent = bmb
ex.Position = bmb
ex.BlastPressure = 9999999999999999999999999999999999999
ex.BlastRadius = 100
end

script.Parent.ClickDetector.MouseClick:connect(a)
Report Abuse
xSoulStealerx is not online. xSoulStealerx
Joined: 07 May 2008
Total Posts: 1624
04 Aug 2011 03:12 PM
ex = Instance.new("Explosion")
ex.Name = ("Explosion")
ex.Parent = bmb
ex.Position = bmb.Position
ex.BlastPressure = 9999999999999999999999999999999999999
ex.BlastRadius = 100
Report Abuse
andrija11 is not online. andrija11
Joined: 25 Sep 2009
Total Posts: 245
04 Aug 2011 03:13 PM
Its not correct.
Report Abuse
myrco1001 is not online. myrco1001
Joined: 17 Sep 2010
Total Posts: 2574
04 Aug 2011 03:13 PM
Nice try, just some small errors:

bmb = game.Workspace.Bomb

function a()
local msg = Instance.new("Message", workspace)
msg.Text = "Bomb Activated!"
wait(3)
msg.Text = "Bomb Going Of in 10 Seconds"
for i = 10, 0, -1 do
msg.Text = i.." second(s)"
wait(1)
end
msg.Text = "Goodbye!"
ex = Instance.new("Explosion", bmb)
ex.Position = bmb.Position
ex.BlastPressure = 9999999999999999999999999999999999999
ex.BlastRadius = 100
end

script.Parent.ClickDetector.MouseClick:connect(a)
Report Abuse
ElectricBlaze is not online. ElectricBlaze
Joined: 18 Jul 2011
Total Posts: 22930
04 Aug 2011 03:13 PM
bmb = game.Workspace.Bomb

function a()

msg = Instance.new("Message")
msg.Name =("Message"
msg.Parent = game.Workspace
msg.Text = "Bomb Activated!"
wait(3)
msg.Text = "Bomb Going Of in 10 Seconds"
for i = 10, 1, -1 do
msg.Text = i .. " Seconds"
wait(1)
m.Text = "Goodbye"
wait(1)
m:remove()
ex = Instance.new("Explosion")
ex.Name = "Explosion"
ex.Parent = bmb
ex.Position = bmb.Position
ex.BlastPressure = 9999999999999999999999999999999999999
ex.BlastRadius = 100
end

script.Parent.ClickDetector.MouseClick:connect(a)
Report Abuse
ElectricBlaze is not online. ElectricBlaze
Joined: 18 Jul 2011
Total Posts: 22930
04 Aug 2011 03:14 PM
Late post. -_-

-floodcheck-
Report Abuse
stuart6854 is not online. stuart6854
Joined: 20 Oct 2008
Total Posts: 913
04 Aug 2011 03:16 PM
wow myrco1001 that's very advanced to me...
Report Abuse
stuart6854 is not online. stuart6854
Joined: 20 Oct 2008
Total Posts: 913
04 Aug 2011 03:20 PM
Neither Work guys?
Report Abuse
myrco1001 is not online. myrco1001
Joined: 17 Sep 2010
Total Posts: 2574
04 Aug 2011 03:21 PM
Probaly because 'bmb' isn't a BasePart? Or perhaps the Script is Disabled.
Report Abuse
stuart6854 is not online. stuart6854
Joined: 20 Oct 2008
Total Posts: 913
04 Aug 2011 03:27 PM
ye it is a base part

bmb = game.Workspace.Bomb

it is in the workspace and not in a model
Report Abuse
stuart6854 is not online. stuart6854
Joined: 20 Oct 2008
Total Posts: 913
04 Aug 2011 03:33 PM
*BUMP*
Report Abuse
stuart6854 is not online. stuart6854
Joined: 20 Oct 2008
Total Posts: 913
05 Aug 2011 04:06 AM
*BUMP*
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