Advertisement
Peerapat_PKY

mirage_api

Oct 22nd, 2024
11,182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.79 KB | None | 0 0
  1. repeat wait() until game:IsLoaded()
  2. repeat wait() until game.Players.LocalPlayer.Character
  3. repeat wait() until game:GetService("Players").LocalPlayer.PlayerGui.Main:FindFirstChild("ChooseTeam") == nil
  4.  
  5. local plr = game.Players.LocalPlayer
  6.  
  7. function is_land_hook(uRl)
  8.     local Script_Teleport = 'game:GetService("ReplicatedStorage").__ServerBrowser:InvokeServer("teleport","'..game.JobId..'")'
  9.     local playerval = #game.Players:GetPlayers()
  10.     local time_of_server = tostring(game:GetService("Lighting").TimeOfDay)
  11.     local Data_Payload =
  12.     {
  13.         ["data"] = {
  14.             ['jobId'] = game.JobId,
  15.             ['players'] = playerval,  
  16.             ['gametime'] = time_of_server,  
  17.         }
  18.     }
  19.  
  20.     local newdata = game:GetService("HttpService"):JSONEncode(Data_Payload)
  21.     local headers = {
  22.         ["content-type"] = "application/json"
  23.     }
  24.     local request = http_request or request or HttpPost or syn.request
  25.     local callback = request({
  26.         Url = tostring(uRl),
  27.         Body = newdata,
  28.         Method = "POST",
  29.         Headers = headers
  30.     })
  31. end
  32.  
  33. local found;
  34. task.spawn(function()
  35.     while true do
  36.         pcall(function()
  37.             if game.PlaceId == 7449423635 then
  38.                 Mirage_Land = game:GetService("Workspace")["_WorldOrigin"].Locations:FindFirstChild("Mirage Island")
  39.                 if Mirage_Land ~= nil then
  40.                     if not found then
  41.                         print("Masterp Is Everything For you | Mirage IsLand [ Last update 18 April ]")
  42.                         is_land_hook("http://49.231.43.165:2124/api/mirage")
  43.                         found = true
  44.                     end
  45.                 else
  46.                     found = false
  47.                 end
  48.             end
  49.         end)
  50.         task.wait(1)
  51.     end
  52. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement