I have a gun that shoots a projectile (It clones the projectile and then sets bodyvelocity to go in the direction of the cursor)
The original projectile prints 'Bruh' whenever I touch it or drop a part on it, but the cloned projectiles that my gun shoots out dont print 'bruh' whenever they touch anything. (Cancollide on the projectile is off)
1 | local Boop = script.Parent |
2 | local function sayhi() |
3 | print ( "bruh" ) |
4 | end |
5 |
6 | Boop.Touched:Connect(sayhi) |
Does anyone know what the cause of this is, and how can i fix it?
Debounce may be the problem you may need to fix. You may also have need to turn cancollide on.
Or do a wait(1)
A wait should fix it wait(1)