Blockland Forums > Modification Help

Charging a projectile + Detecting water

Pages: (1/3) > >>

Demian:

Essentially I need a script that fills up a bar when you hold down the fire button and when it reaches max the weapon will fire a different projectile. Yes, I am begging for a copy-pasteable script because I cannot script worth stuff.

Also how would I explode a projectile as it collides with water or is fired underwater?

phflack:

check the TF2 sniper

and for the water part, that might be difficult, do you mean map water or brick water?

Demian:

Both.

Zloff:

brick water + wrench + check raycasting = problem half solved

phflack:

actualy, there might already be a default way of detecting entering water
does the splash sound play when you shoot the water?

Pages: (1/3) > >>

Go to full version