game.Players.PlayerAdded:Connect(function(Player)
Player.CharacterAdded:Connect(function(Character)
Character.Humanoid.Died:Connect(function()
local PositionWhenDied = Character.HumanoidRootPart.Position
Player.CharacterAdded:Wait()
Player.Character:MoveTo(PositionWhenDied)
end)
end)
end)
so this is the script and i legit dont know what to do anymore so any help is apreciated

1 comment
try using SetPrimaryPartCFrame instead of MoveTo