I have a cannon that fires cannonballs, and when they touch the terrain, they make dents. Is it possible to prevent this WITH USING A SERVER SCRIPT? Please help, answers appreciated.
Hello!
Have you checked the properties of the Explosion
instance yet? It includes a property, ExplosionType
, that you can set to either NoCraters
, Craters
or CratersAndDebris
. You can set it to NoCraters
to prevent it from damaging terrain.
If you are still confused, check the developer reference here and here.
I hope this helps!
P.S. Here is how you can do it in a server script:
--Pretend that this is a server script, thanks. local explosion = Instance.new("Explosion") explosion.ExplosionType = Enum.ExplosionType.NoCraters