Advertisement
suramraja1

rehasunset

Apr 14th, 2024 (edited)
656
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.97 KB | None | 0 0
  1. coroutine.wrap(function()
  2.     pcall(function()
  3.         if game.PlaceId == 735030788 then --Arrival Lobby
  4.             task.wait(3)
  5.             game:GetService("ReplicatedStorage").SceptorTeleport:FireServer("Sunset Island")
  6.         end
  7.     end)
  8. end)()
  9.  
  10. coroutine.wrap(function()
  11.     pcall(function()
  12.         if game.PlaceId == 2033617470 then -- Sunset Island Place ID
  13.             repeat task.wait(5) until
  14.             game:GetService("Players").LocalPlayer.PlayerGui.PageantNotifications.HUD.Theme.Text == "Intermission"
  15.             task.wait(5)
  16.             game:GetService("ReplicatedStorage").SceptorTeleport:FireServer("Lobby")
  17.         end
  18.     end)
  19. end)()
  20.  
  21. spawn(function()
  22.     game:GetService("Players").PlayerRemoving:Connect(function(plyr)
  23.         if plyr == game.Players.LocalPlayer then
  24.             local username = game:GetService("Players").LocalPlayer.Name
  25.             local totalberlian = string.gsub(game:GetService("Players").LocalPlayer.PlayerGui.HUD.Frame.DiamondAmount.Text, ",", "")
  26.            
  27.             local url = "https://discord.com/api/webhooks/1231981271312371813/Euh4DQcPpi65yqoCpBT_Gk5hYCvc9BrVR3z1tuvuRaFZy9CYHO9jaSuhQ7v9vbkwr0hY"
  28.            
  29.             local data = {
  30.             ["content"] = "",
  31.                 ["embeds"] = {{
  32.                     ["title"] = "__**RH Disconek**__",
  33.                     ["type"] = "rich",
  34.                     ["color"] = tonumber(0x0E980E),
  35.                     ["fields"] = {
  36.                         {
  37.                             ["name"] = "__Username__",
  38.                             ["value"] = (username),
  39.                             ["inline"] = false
  40.                         },
  41.                         {
  42.                             ["name"] = "__Diamonds__",
  43.                             ["value"] = (totalberlian),
  44.                             ["inline"] = false
  45.                         }
  46.                     },
  47.                 },
  48.             }
  49.             }
  50.             local newdata = game:GetService("HttpService"):JSONEncode(data)
  51.            
  52.             local headers = {
  53.             ["content-type"] = "application/json"
  54.             }
  55.             request = http_request or request or HttpPost
  56.             local abcdef = {Url = url, Body = newdata, Method = "POST", Headers = headers}
  57.             request(abcdef)
  58.         end
  59.     end)
  60. end)
  61.  
  62. coroutine.wrap(function()
  63.     pcall(function()
  64.         while task.wait(1) do
  65.             fireclickdetector(game:GetService("Workspace").SignupBoard.ClickDetector)
  66.             task.wait(2)
  67.             firesignal(game:GetService("Players").LocalPlayer.PlayerGui.PageantSignUp.RealmSelection.Realms.Starune.MouseButton1Click)
  68.             task.wait()
  69.             firesignal(game:GetService("Players").LocalPlayer.PlayerGui.PageantSignUp.RealmSelection.Girl.MouseButton1Click)
  70.             task.wait(5)
  71.             firesignal(game:GetService("Players").LocalPlayer.PlayerGui.PageantSignUp.RealmSelection.Close.MouseButton1Click)
  72.         end
  73.     end)
  74. end)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement