I'm having issues with explosions not exploding.
#1
Here's a really basic sample of the code I'm using:

[lua]
local tool = script.Parent

selectedz = false

function selected()
selectedz = true
while selectedz do
sleep(0.5)
e = create("Explosion")
e.Parent = game.World
e.Position = tool.Parent.Parent.Character.Body.Position
e.Radius = 15
e.Force = 3000
end
end

link(tool.Selected, selected)
[/lua]

Bomb tool of Jacob_'s works fine though.
Reply
#2
What you're saying is basically to make World explode...
[Image: poptartFINALTINY.gif]
[Image: log.png?t=1302647037]
Reply
#3
No, tool.Parent.Parent is the player. The positioning part works fine.
The explosion shows up in the AT display but not the 2D world.
Reply
#4
You have to change the properties before setting the parent.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)