of     1   

KingJacko
#140878623Saturday, July 19, 2014 9:24 PM GMT

bullet = script.Parent wait(.1) function staff(HIT) local e = Instance.new("Explosion") e.Parent = Game.Workspace e.Name = "Staff" e.Position = bullet.Position end script.Parent.Touched:connect(staff) Sometimes the bullet just goes throught a brick that has CanCollide true. The wait(.1) is needed because i am cloning a brick and putting it in the brick that was cloned, so it would just go off because it was cloned.
KingJacko
#140881377Saturday, July 19, 2014 9:50 PM GMT

bump D:
Zawie
#140881781Saturday, July 19, 2014 9:53 PM GMT

game.Workspace game has to be lowercased...
BogyMac
#140882439Saturday, July 19, 2014 10:00 PM GMT

Why not put just "workspace" instead? It's 5 Characters shorter :D
Dark_Yugi
#140882813Saturday, July 19, 2014 10:03 PM GMT

You can't put just workspace...
Zawie
#140882961Saturday, July 19, 2014 10:04 PM GMT

Everything needs .game before it. .game is like the hidden Parent.
Funse
#140883427Saturday, July 19, 2014 10:09 PM GMT

bullet = script.Parent wait(.1) function staff(HIT) local e = Instance.new("Explosion",gane.Workspace) e.Name = "Staff" e.Position = Vector3.new(bullet.Position) end script.Parent.Touched:connect(staff)
SenseiWarrior
#140885026Saturday, July 19, 2014 10:27 PM GMT

Workspace is a shortcut for game.Workspace
Benocular
#140886843Saturday, July 19, 2014 10:48 PM GMT

gane?

    of     1