Garry's Mod Wiki

Entity:ManipulateBoneJiggle

  Entity:ManipulateBoneJiggle( number boneID, number enabled )

Description

Manipulates the bone's jiggle status. This allows non jiggly bones to become jiggly.

Arguments

1 number boneID
Index of the bone you want to manipulate.
2 number enabled
  • 0 = No Jiggle
  • 1 = Jiggle

Example

Turn everyone into jelly mode.

for _, ply in ipairs( player.GetAll() ) do local i = 0 while i < ply:GetBoneCount() do ply:ManipulateBoneJiggle( i, 1 ) i = i + 1 end end