Skip to content

Instantly share code, notes, and snippets.

@ExtReMLapin
Created October 1, 2018 14:06
Show Gist options
  • Save ExtReMLapin/db03d05fc1df48caea53b5974a3982d4 to your computer and use it in GitHub Desktop.
Save ExtReMLapin/db03d05fc1df48caea53b5974a3982d4 to your computer and use it in GitHub Desktop.
local jigbones = {1,2,3,4,5,68,9,10,11, 59, 60, 61, 62,63, 64,65, 66, 67, 68,69,
13,14,15,16, } -- arms + torso + head
local ply = player.GetByID(1)
for i = 0, ply:GetBoneCount() - 1 do
ply:ManipulateBoneJiggle(i, table.HasValue(jigbones,i) and 1 or 0)
end
@ExtReMLapin
Copy link
Author

in other words

local jigbones = {1,2,3,4,5,68,9,10,11, 59, 60, 61, 62,63, 64,65, 66, 67, 68,69,
					13,14,15,16, } -- arms + torso + head
local ply = player.GetByID(1)
for k, v in pairs(jigbones) do
	ply:ManipulateBoneJiggle(v, 1)
end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment