Garry's Mod Wiki


effects.BubbleTrail( Vector startPos, Vector endPos, number count, number height, number speed = 0, number delay = 0 )

Just Added

This was just added in the latest version (2020.04.29). It might only be available on the Dev Branch right now.


Creates a bubble trail effect, the very same you get when shooting underwater.


1 Vector startPos
The start position of the effect
2 Vector endPos
The end position of the effects
3 number count
How many bubbles to spawn. There's a hard limit of 500 tempents at any time.
4 number height
How high the bubbles can fly up before disappearing
5 number speed = 0
How quickly the bubbles move
6 number delay = 0
Delay in seconds after the function call and before the effect actually spawns

Page Links

Special Pages



Render Time: 50ms

DB GetPage 3
Generate Html 17
SaveChanges (1) 12
Render Body 0
Render Sidebar 16