|
| 11 Aug 2011 02:55 PM |
The name of the script of course is UisforUraniumBoooomb the output says this: Workspace.UisforUraniumBoooomb:5: ')' expected near ',' _____________________________________________________ Script:
while true do wait(0)-- 0 would crash the server :P local e = Instance.new("Explosion") e.Parent = game.Workspace e.Position = Vector3.new(math.random(-255.5,255.5), (math.random(1,0), (math.random(255.5,-255.5)) e.BlastPressure = 999999 e.BlastRadius = 100 -- Explosion remove themselfs end -- Made by imcoolfire8, with a little positioning help from the scripting helpers-- |
|
|
| Report Abuse |
|
|
|
| 11 Aug 2011 02:57 PM |
| You missed a parenthesis at line 5? |
|
|
| Report Abuse |
|
|
|
| 11 Aug 2011 02:59 PM |
while true do wait() local e = Instance.new("Explosion") e.Parent = game.Workspace e.Position = Vector3.new(math.random(-255,255), math.random(1,0), math.random(255,-255)) e.BlastPressure = 999999 e.BlastRadius = 100 -- Explosion remove themselfs end |
|
|
| Report Abuse |
|
|
kornawe
|
  |
| Joined: 25 Nov 2008 |
| Total Posts: 1272 |
|
|
| 11 Aug 2011 03:11 PM |
| e.Position = Vector3.new(math.random(-255.5,255.5), (math.random(1,0), math.random(255.5,-255.5)) |
|
|
| Report Abuse |
|
|
kornawe
|
  |
| Joined: 25 Nov 2008 |
| Total Posts: 1272 |
|
|
| 11 Aug 2011 03:13 PM |
NVM This is what it should be I think math.random doesn't have () around it and if you put one infront put one after it to:
(math.random(-1,1)) or math.random(-1,1) NOT (math.random(-1,1)
e.Position = Vector3.new(math.random(-255.5,255.5), math.random(1,0), math.random(255.5,-255.5)) |
|
|
| Report Abuse |
|
|
|
| 11 Aug 2011 03:27 PM |
"NOT (math.random(-1,1)"
There is a parenthesis before math.random() because he's messing with Vector3 values.
>_>
Vector3.new() |
|
|
| Report Abuse |
|
|
|
| 11 Aug 2011 04:08 PM |
| I need a random tho -__- you all are confusing me! |
|
|
| Report Abuse |
|
|
|
| 11 Aug 2011 04:12 PM |
| I think the - is breaking it! |
|
|
| Report Abuse |
|
|
|
| 02 Jun 2012 06:15 PM |
heres the deal, it is very very unlikely for a random explosion to come near you when you do random vector3.new coordinates so what i suggest is making an infinite strings of coordinates near your game so say if you were playing on a naturally placed base plate and you wanted your explosion to be in the middle you would say x=Instance.new("Explosion",game.Workspace) so if you want it to be random near your thing you can also place it on a brick with this script as long as you name every brick you want to be included as "Part" hope that helped --Blankscarface23
|
|
|
| Report Abuse |
|
|
|
| 02 Jun 2012 06:19 PM |
Your missing a closing ). use this line:
e.Position = Vector3.new(math.random(-255.5,255.5), math.random(1,0), math.random(255.5,-255.5))
MrMcAero |
|
|
| Report Abuse |
|
|
malachi11
|
  |
| Joined: 07 May 2008 |
| Total Posts: 2420 |
|
|
| 02 Jun 2012 06:42 PM |
| The lowest number always comes first in math.random. |
|
|
| Report Abuse |
|
|
|
| 04 Jun 2012 10:16 PM |
^cOLD mOLD on a sLATE pLATE^ And since I have dramatically improved my scripting skills.
♪ Can you dig it? ♪ |
|
|
| Report Abuse |
|
|
|
| 04 Jun 2012 10:24 PM |
while true do wait(0)-- IT doesn't actually wait 0 ... local e = Instance.new("Explosion") e.Parent = game.Workspace e.Position = Vector3.new(math.random(-255.5,255.5), math.random(1,0), math.random(255.5,-255.5)) e.BlastPressure = 999999 e.BlastRadius = 100 -- Explosion remove themselfs end |
|
|
| Report Abuse |
|
|
|
| 05 Jun 2012 06:52 AM |
IT'S DONE.
♪ Can you dig it? ♪ |
|
|
| Report Abuse |
|
|
zeax12
|
  |
| Joined: 11 Sep 2008 |
| Total Posts: 433 |
|
|
| 05 Jun 2012 07:00 AM |
| ._. i bet this code is for an exploit isn't it... naughty naughty... |
|
|
| Report Abuse |
|
|
RoflBread
|
  |
| Joined: 18 Jun 2009 |
| Total Posts: 3803 |
|
|
| 05 Jun 2012 07:01 AM |
| I think he just wants to obliterate the planet :o |
|
|
| Report Abuse |
|
|
|
| 05 Jun 2012 07:04 AM |
This is so old. Look at the post date. And plus now I realized what I did was stupid. I infected a bunch of models with this code and used tick() to make a timed release. But only like 5 people took the model. :P
♪ Can you dig it? ♪ |
|
|
| Report Abuse |
|
|