-- https://discord.gg/XsyfvJrk4B
-- By Nescoroco
local p = game.Players.LocalPlayer
local c = p.Character or p.CharacterAdded:Wait()
local h = c:WaitForChild("HumanoidRootPart")
local checkpoints = workspace:WaitForChild("Checkpoints")
for _, checkpoint in ipairs(checkpoints:GetChildren()) do
if checkpoint:IsA("Model") then
local part = checkpoint:FindFirstChildWhichIsA("BasePart", true)
if part then
h.CFrame = CFrame.new(part.Position + Vector3.new(0, 5, 0))
wait(0.02)
end
elseif checkpoint:IsA("BasePart") then
h.CFrame = CFrame.new(checkpoint.Position + Vector3.new(0, 5, 0))
wait(0.07)
end
end
Comments
No comments yet
Be the first to share your thoughts!