Oh so sorry. I posted this a moment ago in the wrong category. My bad!
All right, so the issue that I have is quite severe. I’m trying to assign a morph to a player. And no issues it would seem at first glance, but looking closer, one of the attachments is attached to the wrong joint. And it won’t move properly with his legs. I’m 99% sure it should work. As though if I put the model as the startercharacter, it runs fine. But when I assign it individually, it breaks that one accessory constantly. I receive no errors either. Here’s the code:
if division == "REX" then
if plr:IsInGroup(REX_GroupId) then
game.ReplicatedStorage.CheckForGroup:FireClient(plr, true)
plr.TeamColor = BrickColor.new("Cool yellow")
plr.Team = game.Teams.Sunguard
plr:LoadCharacter()
local role = plr:GetRoleInGroup(REX_GroupId)
print(role)
local morph = game.ServerStorage.EXEMorphs:WaitForChild(role):Clone()
for i, v in pairs(plr.Character:GetChildren()) do
if v:IsA("Clothing") or v:IsA("Accessory") then
v:Destroy()
end
end
for i, v in pairs(morph:GetChildren()) do
if v:IsA("Clothing") or v:IsA("Accessory") then
v:Clone()
v.Parent = game.Workspace
if v:IsA("Accessory") then
plr.Character.Humanoid:AddAccessory(v)
end
end
end
morph:Destroy()
local nameTag = game.ReplicatedStorage.BillboardGui:Clone()
nameTag.Board.NameSet.Text = plr.Name
nameTag.Board.Role.Text = plr:GetRoleInGroup(REX_GroupId)
nameTag.Parent = plr.Character.Head
local Character = plr.Character
local CF, Size = Character:GetBoundingBox()
local TopPoint = Size.Y/1.9
nameTag.StudsOffset = Vector3.new(0,TopPoint,0)
print(TopPoint)
selectD = true
end
end