Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local self
- self = function()
- repeat wait() until game:IsLoaded()
- task.wait(1)
- --[[
- if _G.didalr==true then if workspace.Spawns.CosmicHumanMonster:FindFirstChildOfClass("Model") and workspace.Spawns.CosmicHumanMonster:FindFirstChildOfClass("Model").Humanoid.Health>0 then return else _G.didalr=false end end
- _G.didalr=true
- ]]
- if workspace:WaitForChild("Spawns").CosmicHumanMonster:FindFirstChildOfClass('Model') and workspace.Spawns.CosmicHumanMonster:FindFirstChildOfClass("Model").Humanoid.Health>0 then
- print('cosmic exists')
- for i = 1, 20, 1 do
- local char = game:GetService("Players").LocalPlayer.Character or game:GetService("Players").LocalPlayer.CharacterAdded:Wait()
- char:WaitForChild("HumanoidRootPart").CFrame = CFrame.new(-1636.28589, 891.273682, 301.179108, 0.121827118, 4.27490612e-08, 0.992551327, -6.35098729e-08, 1, -3.5274585e-08, -0.992551327, -5.87394098e-08, 0.121827118)
- task.wait(0.15)
- end
- local ohString11 = "GetQuest"
- local ohNumber2 = 32
- game:GetService("ReplicatedStorage").RemoteEvent:FireServer(ohString11, ohNumber2)
- task.wait(0.25)
- coroutine.resume(coroutine.create(function()
- for i = 1, 20, 1 do
- task.wait(.1)
- if workspace.Spawns.CosmicHumanMonster:FindFirstChildOfClass("Model") then
- local ohString1 = "CosmicAttack1"
- local ohVector32 = workspace.Spawns.CosmicHumanMonster:FindFirstChildOfClass("Model"):WaitForChild("HumanoidRootPart").Position
- game:GetService("ReplicatedStorage").RemoteEvent:FireServer(ohString1, ohVector32)
- else
- break
- end
- end
- end))
- task.wait(0.5)
- self()
- else
- print('cosmic doesnt exist')
- local TeleportService = game:GetService('TeleportService')
- local HttpService = game:GetService('HttpService')
- local httprequest = http.request or request
- local Players = game:GetService("Players")
- if httprequest then
- local servers = {}
- local req = httprequest({Url = string.format('https://games.roblox.com/v1/games/%s/servers/Public?sortOrder=Asc&limit=100', game.PlaceId)})
- local body = HttpService:JSONDecode(req.Body)
- if body and body.data then
- for i, v in next, body.data do
- if type(v) == 'table' and tonumber(v.playing) and tonumber(v.maxPlayers) and v.playing>3 and v.playing < v.maxPlayers and v.id ~= game.JobId then
- table.insert(servers, 1, v.id)
- end
- end
- end
- local str = "loadstring(game:HttpGet('https://pastebin.com/raw/VsyrLvzP', true))()"
- syn.queue_on_teleport(str)
- if #servers > 0 then
- TeleportService:TeleportToPlaceInstance(game.PlaceId, servers[math.random(1, #servers)], Players.LocalPlayer)
- else
- task.delay(3, function()
- self()
- print('Queued fail, retried')
- end)
- end
- end
- end
- end
- self()
- -- syn.queue_on_teleport("self()")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement