RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"make a script that when you touch a part you get teleported to 0,0,0 without rotating the player"
-- local script local part = script.Parent local function teleport(otherPart) local player = game.Players:FindFirstChild(otherPart.Parent.Name) if player then local humanoidRootPart = player.Character:FindFirstChild("HumanoidRootPart") if humanoidRootPart then humanoidRootPart.CFrame = CFrame.new(0, 0, 0) end end end part.Touched:Connect(teleport)