Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local player = game:service'Players'.LocalPlayer;
- local character = player.Character or player.CharacterAdded:wait();
- local getMap = function()
- local k = ""
- local lvl = game:service'Players'.LocalPlayer.leaderstats.Steps.Value
- if lvl >= 500000 and k == "" then
- k = "BeachMap"
- else if lvl >= 75000 and k == "" then
- k = "VolcanoMap"
- else if lvl >= 50000 and k == "" then
- k = "OldMap"
- else if lvl >= 2500 and k == "" then
- k = "Winter"
- else if lvl < 2500 and k == "" then
- k = "MainMap"
- end
- end
- end
- end
- end
- return k
- end
- spawn(function()
- spawn(function()
- while wait(0.1) do
- for _,orb in next, workspace:WaitForChild(getMap()).Spawners:GetChildren() do
- if orb:FindFirstChildOfClass("Model") then
- character.HumanoidRootPart.CFrame = CFrame.new(orb.Position)
- wait(0.05)
- end
- end
- end
- end)
- spawn(function()
- while wait(0.25) do
- if getMap() == "Winter" then
- character.HumanoidRootPart.CFrame = CFrame.new(-1470, 1213.00049, -2675)
- character.Humanoid:MoveTo(Vector3.new(-1000, 1213.00049, -2675))
- else if getMap() == "OldMap" then
- character.HumanoidRootPart.CFrame = CFrame.new(-2388, 2742.49976, 390)
- character.Humanoid:MoveTo(Vector3.new(-2000, 2742.49976, 390))
- else if getMap() == "VolcanoMap" then
- character.HumanoidRootPart.CFrame = CFrame.new(-1261, 1849.59656, -11)
- character.Humanoid:MoveTo(Vector3.new(-1000, 1849.59656, -11))
- else if getMap() == "BeachMap" then
- character.HumanoidRootPart.CFrame = CFrame.new(-3613.07739, 67.7421036, 1119.66309)
- character.Humanoid:MoveTo(Vector3.new(-3000.07739, 67.7421036, 1119.66309))
- end
- end
- end
- end
- end
- end)
- spawn(function()
- game:service'RunService'.Stepped:Connect(function()
- character.Humanoid.WalkSpeed = 400;
- character.Humanoid:ChangeState(11)
- end)
- end)
- end)
Add Comment
Please, Sign In to add comment