of     1   

KingJacko
#141755011Sunday, July 27, 2014 8:09 PM GMT

bullet = script.Parent wait(.1) function staff(HIT) local e = Instance.new("Explosion",Game.Workspace) e.Name = "Staff" e.Position = Vector3.new(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
#141756590Sunday, July 27, 2014 8:25 PM GMT

bump
128GB
#141756889Sunday, July 27, 2014 8:29 PM GMT

Bullet is not defined.
[rfa#hidefromsearch]
#141757038Sunday, July 27, 2014 8:30 PM GMT

[rfa#hidefromsearch]
[rfa#hidefromsearch]
#141757086Sunday, July 27, 2014 8:31 PM GMT

[rfa#hidefromsearch]
128GB
#141757404Sunday, July 27, 2014 8:34 PM GMT

'not sure if this matters, but I'm sure HIT should be lowercase' Hit can be hit Hit HIt HIT HiT hIt Or even OMG_THE_THING_THAT_HIT_ME Its a argument it can be basically anything you want... The bullet is probably going too fast for the script to register the touch
KingJacko
#141757673Sunday, July 27, 2014 8:37 PM GMT

cant be that, i have the speed on 100 and i see it hit the brick and then the explosion far below. Oh btw im using BodyMovers, idk if i said that or not.
128GB
#141757737Sunday, July 27, 2014 8:37 PM GMT

Can I have a model of the gun?
[rfa#hidefromsearch]
#141757784Sunday, July 27, 2014 8:38 PM GMT

[rfa#hidefromsearch]
KingJacko
#141758100Sunday, July 27, 2014 8:41 PM GMT

http://www.roblox.com/Staff-item?id=168698615 put the external script and bodyvelocity in lighting and the tool in starterpack.
128GB
#141758985Sunday, July 27, 2014 8:50 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)--]] wait(.1) function staff(HIT) local e = Instance.new("Explosion",Game.Workspace) e.Name = "Staff" e.Position = bullet.Position end script.Parent.Touched:connect(staff)
KingJacko
#141759190Sunday, July 27, 2014 8:52 PM GMT

Yes? The first one was there if the other one doesnt work as well.
128GB
#141760015Sunday, July 27, 2014 9:00 PM GMT

I fixed your script... You had that comment there so I just left it there, I tested it, it works.
KingJacko
#141760109Sunday, July 27, 2014 9:01 PM GMT

oh thanks. I didnt pick up the difference hah.

    of     1