|
| 27 Jan 2015 07:31 AM |
I made a fireball script, where it works just fine if the user doesn't spam it, sending out one fireball will delete THAT fireball... but if you spam the fireball, only one will be deleted meanwhile the others won't be... help?
x = Instance.new("Part") x.BrickColor = BrickColor.new("Bright red") x.Size = Vector3.new(10, 10, 10) x.TopSurface = "Smooth" x.BottomSurface = "Smooth" x.Shape = "Ball" x.Transparency = 0.7 y = Instance.new("BodyVelocity") y.maxForce = Vector3.new(math.huge, math.huge, math.huge) y.velocity = Player.Character.Torso.CFrame.lookVector*80 x.Parent = workspace y.Parent = x f = Instance.new("Fire", x) f.Size = 15 f.Heat = 0 x.CFrame = Player.Character.Torso.CFrame*CFrame.new(0, 0, -12) wait(2.7) x:Destroy() |
|
|
| Report Abuse |
|
| |
|
| 27 Jan 2015 09:05 AM |
| I haven't read about loops yet... |
|
|
| Report Abuse |
|