Yingyang005

Anime last stand

Jan 20th, 2025
486
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.07 KB | None | 0 0
  1. -- Wait for the game to load completely repeat task.wait() until game.Workspace:FindFirstChild(game.Players.LocalPlayer.Name)
  2.  
  3. -- Create GUI after loading local OrionLib = loadstring(game:HttpGet("https://raw.githubusercontent.com/shlexware/Orion/main/source"))()
  4.  
  5. -- Create main window local Window = OrionLib:MakeWindow({ Name = "Pịa Hub", HidePremium = false, SaveConfig = true, ConfigFolder = "MyConfig", IntroEnabled = false, Size = UDim2.new(0.25, 0, 0.25, 0) -- Reduce size })
  6.  
  7. -- File for toggle settings local settingsFile = "ToggleSettings.json"
  8.  
  9. -- Function to read JSON file local function readSettings() if isfile(settingsFile) then return game:GetService("HttpService"):JSONDecode(readfile(settingsFile)) else return {} end end
  10.  
  11. -- Function to write JSON file local function saveSettings(settings) writefile(settingsFile, game:GetService("HttpService"):JSONEncode(settings)) end
  12.  
  13. -- Load settings from file local settings = readSettings()
  14.  
  15. -- Create Main tab local TabMain = Window:MakeTab({ Name = "Main", Icon = "rbxassetid://4483345998", PremiumOnly = false })
  16.  
  17. -- Toggle Auto Leave TabMain:AddToggle({ Name = "Auto Leave", Default = settings.AutoLeave or false, Callback = function(Value) settings.AutoLeave = Value saveSettings(settings) -- Save settings if Value then print("Auto Leave On!") pcall(function() loadstring(game:HttpGet("https://raw.githubusercontent.com/skyemngu12/Anime-last-stand/refs/heads/main/Autoleave"))() end) else print("Auto Leave Off!") end end })
  18.  
  19. -- Create AutoEvent tab local Tab1 = Window:MakeTab({ Name = "AutoEvent", Icon = "rbxassetid://4483345998", PremiumOnly = false })
  20.  
  21. -- Variable for Auto Hlw toggle local isAutoHlwRunning = false local autoHlwCoroutine
  22.  
  23. -- Toggle Auto Hlw Tab1:AddToggle({ Name = "Auto Hlw", Default = settings.AutoHlw or false, Callback = function(Value) settings.AutoHlw = Value saveSettings(settings) -- Save settings if Value then print("Auto Hlw On!") isAutoHlwRunning = true -- Run Auto HLW script continuously autoHlwCoroutine = coroutine.wrap(function() while isAutoHlwRunning do pcall(function() loadstring(game:HttpGet("https://raw.githubusercontent.com/skyemngu12/Anime-last-stand/refs/heads/main/Autobuu"))() end) task.wait(5) -- Repeat every 5 seconds end end) autoHlwCoroutine() else print("Auto Hlw Off!") isAutoHlwRunning = false end end })
  24.  
  25. -- Variable for Auto Winter toggle local isAutoWinterRunning = false local autoWinterCoroutine
  26.  
  27. -- Toggle Auto Winter Tab1:AddToggle({ Name = "Auto Winter", Default = settings.AutoWinter or false, Callback = function(Value) settings.AutoWinter = Value saveSettings(settings) -- Save settings if Value then print("Auto Winter On!") isAutoWinterRunning = true -- Run Auto Winter script continuously autoWinterCoroutine = coroutine.wrap(function() while isAutoWinterRunning do pcall(function() loadstring(game:HttpGet("https://raw.githubusercontent.com/skyemngu12/Anime-last-stand/refs/heads/main/Autowwinter"))() end) task.wait(5) -- Repeat every 5 seconds end end) autoWinterCoroutine() else print("Auto Winter Off!") isAutoWinterRunning = false end end })
  28.  
  29. -- Create AutoPlay tab local Tab2 = Window:MakeTab({ Name = "AutoPlay", Icon = "rbxassetid://4483345998", PremiumOnly = false })
  30.  
  31. -- Leave AutoPlay tab empty (awaiting feature update)
  32.  
  33. -- Create Misc tab local Tab3 = Window:MakeTab({ Name = "Misc", Icon = "rbxassetid://4483345998", PremiumOnly = false })
  34.  
  35. -- Toggle Anti AFK in Misc tab Tab3:AddToggle({ Name = "Anti AFK", Default = settings.AntiAFK or false, -- Load settings from file Callback = function(Value) settings.AntiAFK = Value saveSettings(settings) -- Save settings if Value then print("Anti AFK On!") pcall(function() loadstring(game:HttpGet("https://raw.githubusercontent.com/skyemngu12/Anime-last-stand/refs/heads/main/Antiafk"))() end) else print("Anti AFK Off!") end end })
  36.  
  37. -- Start GUI OrionLib:Init()
  38.  
  39. -- Add button to Discord script local function copyDiscordLink() local DiscordLink = "https://discord.gg/" setclipboard(DiscordLink) end
  40.  
  41. local DiscordButton = Window:AddButton({ Name = "Discord", Default = false, Callback = function() copyDiscordLink() end })
Advertisement
Add Comment
Please, Sign In to add comment