Revision Difference
Entity:ManipulateBoneJiggle#546321
<function name="ManipulateBoneJiggle" parent="Entity" type="classfunc">
<description>Manipulates the bone's jiggle status. This allows non jiggly bones to become jiggly.</description>
<realm>Shared</realm>
<args>
<arg name="boneID" type="number">Index of the bone you want to manipulate.</arg>
<arg name="enabled" type="number">0 = No Jiggle⤶
1 = Jiggle</arg>⤶
<arg name="enabled" type="number">⤶
* `0` = No Jiggle⤶
* `1` = Jiggle</arg>⤶
</args>
</function>
<example>
<description>Turn everyone into jelly mode</description>⤶
<description>Turn everyone into jelly mode.</description>⤶
<code>
for k, ply in ipairs( player.GetAll() ) do
for _, ply in ipairs( player.GetAll() ) do
local i = 0
while i < ply:GetBoneCount() do
ply:ManipulateBoneJiggle(i, 1)
ply:ManipulateBoneJiggle( i, 1 )
i = i + 1
end
end
</code>
⤶
</example></example>