So when I teleport for some reason it kills me? Local Script
script.Parent.MouseButton1Click:Connect(function() local chemistry = workspace.Teleports.Chemistry game.ReplicatedStorage.Event.Teleport:FireServer(chemistry) end)
Server Script
game.ReplicatedStorage.Event.Teleport.OnServerEvent:Connect(function(player,tp) player.Character.Torso.Position = tp.Position end)
Just use :SetPrimaryPartCFrame().
game.ReplicatedStorage.Event.Teleport.OnServerEvent:Connect(function(player,tp) player.Character:SetPrimaryPartCFrame(tp.CFrame) end)
script.Parent.MouseButton1Click:Connect(function() local chemistry = workspace.Teleports.Chemistry game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = chemistry.CFrame end)
position ~= cframe i guess
if you set the position of a body part, the weld keeping the part attached to the body gets destroyed
but cframe doesnt do that because cframe is a rebel, and a pacifist
just use cframe instead of position nobody likes position anyway.