Recently ive made a script where whenever someone joins a game, their avatar gets loaded into a position. I've noticed though that if people are wearing a shoulder accessory, it glitches ontop of their head. Any known fixes?
local Dummy = script.Parent game.Players.PlayerAdded:Connect(function(player) print(player.UserId) if Dummy.Student1.Head.Locked == false then Dummy.Student1.Humanoid:ApplyDescription(game.Players:GetHumanoidDescriptionFromUserId(player.UserId)) Dummy.Student1.Head.Locked = true Dummy.Student1.Head.Transparency = 0 Dummy.Student1.Torso.Transparency = 0 Dummy.Student1["Left Arm"].Transparency = 0 Dummy.Student1["Right Arm"].Transparency = 0 Dummy.Student1["Left Leg"].Transparency = 0 Dummy.Student1["Right Leg"].Transparency = 0 Dummy.Student1.Value.Value = (player.UserId) elseif Dummy.Student2.Head.Locked == false then Dummy.Student2.Humanoid:ApplyDescription(game.Players:GetHumanoidDescriptionFromUserId(player.UserId)) Dummy.Student2.Head.Locked = true Dummy.Student2.Head.Transparency = 0 Dummy.Student2.Torso.Transparency = 0 Dummy.Student2["Left Arm"].Transparency = 0 Dummy.Student2["Right Arm"].Transparency = 0 Dummy.Student2["Left Leg"].Transparency = 0 Dummy.Student2["Right Leg"].Transparency = 0 Dummy.Student2.Value.Value = (player.UserId) end end)
This goes on for 10 more students, so I shortened it.