|
| 26 Feb 2014 02:29 PM |
it shouldn't,there isn't much,if any lag in it.. it worked when I used a empty thing..but not when I used it in my actual game.. it just froze up,completely..
m = Instance.new("Message",Workspace) m.Name = ".." m.Text = "AHHH,A METEORS COMING!" p = Instance.new("Part",Workspace) p.Size = Vector3.new(700,700,700) p.Shape = "Ball" Instance.new("Fire",p).Heat = 25 Instance.new("Fire",p).Heat = 25 Instance.new("Fire",p).Heat = 25 Instance.new("Fire",p).Heat = 25 p.Position = Workspace.islandmaker2012.Torso.Position+Vector3.new(0,3000,50) p.BrickColor = BrickColor.new("Really red") p.Touched:connect(function(h) e = Instance.new("Explosion",Workspace) e.Position = p.Position+Vector3.new(0,-200,0) e.BlastRadius = 1000 e = Instance.new("Explosion",Workspace) e.BlastRadius = 1000 e.Position = p.Position+Vector3.new(0,-250,10) end) wait(3) for i=7,0,-1 do m.Text = "AHH! its coming in:"..i.." seconds!" p.Anchored = true wait(0.5) p.Anchored = false wait(0.5) end m:destroy() wait(30) p:destroy() |
|
|
| Report Abuse |
|
|
|
| 26 Feb 2014 02:58 PM |
| No idea. Maybe it has to do with the for loop, but otherwise, :( |
|
|
| Report Abuse |
|
|
|
| 26 Feb 2014 02:59 PM |
it worked in a empty baseplate.. why not inna game? theres a good amount of wait time.. it doesn't try to print like 5895789578954 things at once,yet I hit play,and once it gets to 50% loaded,it freezes completely |
|
|
| Report Abuse |
|
|
|
| 26 Feb 2014 03:19 PM |
I ran this script and it worked fine.
#nerdsunited |
|
|
| Report Abuse |
|
|
|
| 26 Feb 2014 03:22 PM |
yes,it does work in an empty game.. I tried running it in studio in a game with terrain and stuff in it and other scripts.. and it froze like I said,it works fine when there is nothing else in the game.. |
|
|
| Report Abuse |
|
|
|
| 26 Feb 2014 03:24 PM |
Are you sure it's not just your computer being "bad"?
(no offence)
#nerdsunited |
|
|
| Report Abuse |
|
|
|
| 26 Feb 2014 03:26 PM |
| yes im sure,because it works in an empty place.. |
|
|
| Report Abuse |
|
|
|
| 26 Feb 2014 03:26 PM |
Yes, but an empty place has nothing else.. A place with detail will lag when you add a giant boulder crashing down onto the floor.
#nerdsunited |
|
|
| Report Abuse |
|
|
|
| 26 Feb 2014 03:27 PM |
well,my game has like no lag in it..and it works fine when I don't have it in the game..(the script) I changed the size,it still froze.. |
|
|
| Report Abuse |
|
|
maxomega3
|
  |
| Joined: 11 Jun 2010 |
| Total Posts: 10668 |
|
|
| 26 Feb 2014 03:29 PM |
How about you add a huge wait before the script starts, so it gives a chance for the game to load.
|
|
|
| Report Abuse |
|
|
|
| 26 Feb 2014 03:30 PM |
it works now,still laggy,but its tiny now,and doesn't work how it should..
m = Instance.new("Message",Workspace) m.Name = ".." m.Text = "AHHH,A METEORS COMING!" p = Instance.new("Part",Workspace) p.Size = Vector3.new(100,100,100) p.Shape = "Ball" Instance.new("Fire",p).Heat = 25 Instance.new("Fire",p).Heat = 25 Instance.new("Fire",p).Heat = 25 Instance.new("Fire",p).Heat = 25 p.Position = Workspace.islandmaker2012.Torso.Position+Vector3.new(0,3000,50) p.BrickColor = BrickColor.new("Really red") p.Touched:connect(function(h) e = Instance.new("Explosion",Workspace) e.Position = p.Position+Vector3.new(0,-200,0) e.BlastRadius = 1000 e = Instance.new("Explosion",Workspace) e.BlastRadius = 1000 e.Position = p.Position+Vector3.new(0,-250,10) end) wait(3) for i=7,0,-1 do m.Text = "AHH! its coming in:"..i.." seconds!" p.Anchored = true wait(0.5) p.Anchored = false wait(0.5) end m:destroy() wait(30) p:destroy()
|
|
|
| Report Abuse |
|
|