Advertisement
SnakePlsBan

Auto Rank Script Unobfuscated

Nov 21st, 2020
817
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.90 KB | None | 0 0
  1. --[_Auto_Heaven_Ranked_]--
  2. --[By: Roblox username helpguestslikeme]--
  3.  
  4. _G.lvl = "2000" --Change this to the level you want to stop at, leave blank for infinite.
  5.  
  6. if not game:IsLoaded() then
  7.     local loadedcheck = Instance.new("Message",workspace)
  8.     loadedcheck.Text = 'Loading...'
  9.     game.Loaded:Wait()
  10.     loadedcheck:Destroy()
  11. end
  12.  
  13. function GetPlayer(String)
  14.     local strl = String:lower()
  15.     for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  16.         if v.Name:lower():sub(1, #String) == String:lower() then
  17.             table.insert(Found,v)
  18.         end
  19.     end
  20.     return Found
  21. end
  22.  
  23. rank = false
  24. glitch = false
  25. lag = false
  26.  
  27. game:GetService('RunService').Stepped:connect(function()
  28.     if rank == true then
  29.         for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  30.             if v.Name == "Action" then
  31.                 v:Destroy()
  32.             end
  33.             if v.Name == "SuperAction" then
  34.                 v:Destroy()
  35.             end
  36.             if v.Name == "Super Action" then
  37.                 v:Destroy()
  38.             end
  39.         end
  40.     end
  41.     if glitch == true then
  42.         game:GetService("TeleportService"):Teleport(3552157537)
  43.     end
  44.     if lag == true then
  45.         wait()
  46.         settings():GetService("NetworkSettings").IncommingReplicationLag = 2
  47.     end
  48. end)
  49.  
  50. local lplr = game.Players.LocalPlayer
  51. local char = lplr.Character
  52. local earth = 536102540
  53. local heaven = 3552157537
  54. local ranked = 3618359401
  55.  
  56. if game.PlaceId == earth then
  57.     if _G.lvl ~= "" then
  58.         if lplr.PlayerGui:WaitForChild("HUD").Bottom.Stats.LVL.Val.Text >= _G.lvl then
  59.             warn("Level Obtained.")
  60.         elseif lplr.PlayerGui:WaitForChild("HUD").Bottom.Stats.LVL.Val.Text < _G.lvl then
  61.             while wait() do
  62.                 wait(3)
  63.                 game:GetService("TeleportService"):Teleport(3552157537)
  64.             end
  65.         end
  66.     else
  67.         while wait() do
  68.             wait(3)
  69.             game:GetService("TeleportService"):Teleport(3552157537)
  70.         end
  71.     end
  72. elseif game.PlaceId == heaven then
  73.     if _G.lvl ~= "" then
  74.         if lplr.PlayerGui:WaitForChild("HUD").Bottom.Stats.LVL.Val.Text >= _G.lvl then
  75.             warn("Level Obtained.")
  76.         elseif lplr.PlayerGui:WaitForChild("HUD").Bottom.Stats.LVL.Val.Text < _G.lvl then
  77.             while wait() do
  78.                 wait(3)
  79.                 game:GetService("TeleportService"):Teleport(3618359401)
  80.             end
  81.         end
  82.     else
  83.         while wait() do
  84.             wait(3)
  85.             game:GetService("TeleportService"):Teleport(3618359401)
  86.         end
  87.     end
  88. elseif game.PlaceId == ranked then
  89.     if _G.lvl ~= "" then
  90.         if lplr.PlayerGui:WaitForChild("HUD").Bottom.Stats.LVL.Val.Text >= _G.lvl then
  91.             warn("Level Obtained.")
  92.         elseif lplr.PlayerGui:WaitForChild("HUD").Bottom.Stats.LVL.Val.Text < _G.lvl then
  93.             wait(3)
  94.             rank = true
  95.             lag = true
  96.             repeat
  97.                 wait(1)
  98.                 if #game.Players:GetPlayers() == 2 then
  99.                     wait(30)
  100.                     glitch = true
  101.                 end
  102.             until glitch == true
  103.         end
  104.     else
  105.         wait(3)
  106.         rank = true
  107.         lag = true
  108.         repeat
  109.             wait(1)
  110.             if #game.Players:GetPlayers() == 2 then
  111.                 wait(30)
  112.                 glitch = true
  113.             end
  114.         until glitch == true
  115.     end
  116. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement