Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- repeat wait() until game:IsLoaded()
- coroutine.wrap(function()
- pcall(function()
- if game.PlaceId == 5589810303 then --Rh3Office
- repeat task.wait() until game:GetService("Workspace").CollectibleDiamonds:FindFirstChild("Part") == nil
- task.wait(5)
- game:GetService("ReplicatedStorage").SceptorTeleport:FireServer("Lobby")
- end
- if game.PlaceId == 735030788 then --Arrival Lobby
- repeat task.wait() until game:GetService("Workspace").CollectibleDiamonds:FindFirstChild("Part") == nil
- task.wait(5)
- game:GetService("ReplicatedStorage").SceptorTeleport:FireServer("RH3Office")
- end
- end)
- end)()
- coroutine.wrap(function()
- while task.wait() do
- pcall(function()
- game:GetService("Players").LocalPlayer.PlayerGui.StartScreenGui.ClickedPlay:Fire()
- local hmrp = game.Players.LocalPlayer.Character.HumanoidRootPart
- game.Workspace.Gravity = 0
- getgenv().Speed = 30
- for i,v in pairs(game:GetService("Workspace").CollectibleDiamonds:GetDescendants()) do
- if v:IsA("Part") then
- local PosPart = v.Position
- local Time = (PosPart + Vector3.new(0, 0, 0) - hmrp.Position).Magnitude / getgenv().Speed
- local Info = TweenInfo.new(Time, Enum.EasingStyle.Linear)
- local Tween = game:GetService("TweenService"):Create(hmrp,Info,{CFrame = CFrame.new(PosPart + Vector3.new(0, 0, 0))})
- Tween:Play()
- end
- end
- end)
- end
- end)()
- coroutine.wrap(function() --- anti sit
- while task.wait() do
- if game:GetService("Players").LocalPlayer.Character.Humanoid.Sit == true then
- task.wait()
- game:GetService("Players").LocalPlayer.Character.Humanoid.Sit = false
- end
- end
- end)()
- coroutine.wrap(function()
- while true do
- for i,v in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do
- if v:IsA("BasePart") and v.CanCollide == true then
- v.CanCollide = false
- end
- end
- game:GetService("RunService").Stepped:wait()
- end
- end)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement