im just trying to get the body parts from my table but im not sure how to. ty!
this is what i got:
local bodyParts = {
"LeftUpperArm",
"LeftLowerArm",
"LeftHand",
"RightUpperArm",
"RightLowerArm",
"RightHand"
}
for i, bodyPart in char:GetChildren() do
if bodyPart.Name == bodyParts then
rs.RenderStepped:Connect(function()
end)
end
end
local bodyParts = {
"LeftUpperArm",
"LeftLowerArm",
"LeftHand",
"RightUpperArm",
"RightLowerArm",
"RightHand"
}
rs.RenderStepped:Connect(function()
for i, bodyPart in ipairs(char:GetChildren()) do
if table.find(bodyParts, bodyPart.Name) then
--do stuff
end
end
end)