Here is the script:
for i,v in pairs(char:GetChildren())do
if v:IsA("Part")then --I wanted to let the script find "leg" in the player's character
game:GetService("TweenService"):Create(v,TweenI...
Here is the script:
for i,v in pairs(char:GetChildren())do
if v:IsA("Part")then --I wanted to let the script find "leg" in the player's character
game:GetService("TweenService"):Create(v,TweenI...
for i,v in pairs(char:GetChildren())do
if v:IsA("Part") and v.Name == "NameHeREXd" then --I wanted to let the script find "leg" in the player's character
game:GetService("TweenService"):Create(v,TweenI...
end
end
you can use a simlple and (statement?), check if it is a part and the name == βlegβ change the code above