Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local teleportDelay = 0.05 -- lower = faster (0.01 is extremely fast)
- local partNames = {"1","2","3","4","5","6"}
- local Players = game:GetService("Players")
- local player = Players.LocalPlayer
- repeat task.wait() until player.Character
- local character = player.Character
- local hrp = character:WaitForChild("HumanoidRootPart")
- task.spawn(function()
- while true do
- for _, name in ipairs(partNames) do
- local part = workspace:FindFirstChild(name, true)
- if part and part:IsA("BasePart") then
- hrp.CFrame = part.CFrame + Vector3.new(0, 3, 0)
- task.wait(teleportDelay)
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment