y1p
|
  |
| Joined: 05 May 2013 |
| Total Posts: 350 |
|
|
| 30 Jan 2016 10:27 PM |
| How do i made an explosion using new.Instance |
|
|
| Report Abuse |
|
|
| |
|
y1p
|
  |
| Joined: 05 May 2013 |
| Total Posts: 350 |
|
|
| 30 Jan 2016 10:45 PM |
| thats not making a new explosion |
|
|
| Report Abuse |
|
|
| |
|
y1p
|
  |
| Joined: 05 May 2013 |
| Total Posts: 350 |
|
| |
|
|
| 30 Jan 2016 10:48 PM |
local explosion = Instance.new("Explosion") explosion.Parent = game.Workspace explosion.BlastPosition = position |
|
|
| Report Abuse |
|
|
|
| 30 Jan 2016 10:49 PM |
| sorry it's Position not BlastPosition |
|
|
| Report Abuse |
|
|
kreeith
|
  |
| Joined: 02 Jul 2012 |
| Total Posts: 3613 |
|
|
| 30 Jan 2016 11:00 PM |
I tried this just for fun.. lol
function onButtonClicked() local explosion = Instance.new("Explosion") explosion.Parent = game.Workspace explosion.Position = game.Workspace.Target end
script.Parent.MouseButton1Click:connect(onButtonClicked)
but yet, somehow, I screwed it up.
|
|
|
| Report Abuse |
|
|
|
| 30 Jan 2016 11:02 PM |
^ Explosion.Position is measured as a Vector3 value, not an Object value change; explosion.Position = game.Workspace.Target ...to; explosion.Position = game.Workspace.Target.Position |
|
|
| Report Abuse |
|
|
kreeith
|
  |
| Joined: 02 Jul 2012 |
| Total Posts: 3613 |
|
|
| 30 Jan 2016 11:06 PM |
Well, I'm generally surprised that I did not remember that.
better luck next time brain.
|
|
|
| Report Abuse |
|
|