Followed a tutorial, added in a test dummy and still does’t work, any suggestions?
local debounce = true
if self._player and debounce then
debounce = false
local character = self._player.CharacterAdded:Wait()
local NewCharacter = egg:Clone()
NewCharacter.Name = self._player.Name
character = NewCharacter
local rootPart = NewCharacter:FindFirstChild("HumanoidRootPart") or NewCharacter:findFirstChild("Torso")
local plrRoot = character:FindFirstChild("HumanoidRootPart") or character:findFirstChild("Torso")
if rootPart and plrRoot then
rootPart.CFrame = plrRoot.CFrame
end
NewCharacter.Parent = workspace
debounce = true
end
edit: it’s in the loadchar function btw