Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Help w/ body parts?

For some reason, this makes all body parts except the torso invisable So basicly, what this script does is..When a person joins, they wait 10 seconds before they could move. Put this in a script in workspace. I dont get it...

BodyParts={"Head","Torso","Left Arm","Right Arm","Left Leg","Right Leg"}
game.Players.PlayerAdded:connect(function(Plr)
 repeat wait() until Plr.Character
 for _,BodyPart in pairs(BodyParts) do
  Plr.Character:FindFirstChild(BodyPart).Anchored=true
end
 wait(10)
 for _,BodyPart in pairs(BodyParts) do
  Plr.Character:FindFirstChild(BodyPart).Anchored=false
 end
end)

4 comments

0

This script shouldn't make anything Invisible. You must have something else in your game causing this. Check all (if any) free models and all scripts.

0

There is none, since I got the script working, it did that..

1

There is absolutely no way this script could turn anything invisible. Press Ctrl + Shift + F, and search "Transparency"

0

True true! It must be a glitch...

2 answers

✓ Accepted answer

I think you worded your question wrong, but this script below makes it so that after a player spawns for the first time, they can't move for ten seconds...

game.Players.PlayerAdded:connect(function(player)
repeat wait(0) until player.Character
player.Character.Humanoid.WalkSpeed = 0
wait(10)
player.Character.Humanoid.WalkSpeed = 16
end)

You're problem is a glitch. it's very likely that when you anchor a part in motion it will cause a visual glitch, teleporting the image of a part and with it and typically any camera linked to it. What I think is happening is you anchor all the parts, and the camera follows the torso. The images torso and other body parts are being teleported to random places across the map making it to where you can only see the torso from your perspective. To fix this problem, just use madiccube3's solution.

This discussion is preserved as it was. New answers, comments, and votes are closed.