Hit (Event): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Camoy Example/heading added |
>Camoy Example/heading added |
(No difference)
|
Revision as of 14:51, 29 August 2010
Description
The Hit event for explosions fires off whenever the explosion comes in contact with another brick. Can be useful for triggering bricks to disappear after being blown up, or anything else for items hit by the explosion.
Example
game.Workspace.Explosion.Hit:connect(function(p, d) print("Hit ", p, " from", d, " studs.") end)