Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Wait for the game to load completely repeat task.wait() until game.Workspace:FindFirstChild(game.Players.LocalPlayer.Name)
- -- Create GUI after loading local OrionLib = loadstring(game:HttpGet("https://raw.githubusercontent.com/shlexware/Orion/main/source"))()
- -- 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 })
- -- File for toggle settings local settingsFile = "ToggleSettings.json"
- -- Function to read JSON file local function readSettings() if isfile(settingsFile) then return game:GetService("HttpService"):JSONDecode(readfile(settingsFile)) else return {} end end
- -- Function to write JSON file local function saveSettings(settings) writefile(settingsFile, game:GetService("HttpService"):JSONEncode(settings)) end
- -- Load settings from file local settings = readSettings()
- -- Create Main tab local TabMain = Window:MakeTab({ Name = "Main", Icon = "rbxassetid://4483345998", PremiumOnly = false })
- -- 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 })
- -- Create AutoEvent tab local Tab1 = Window:MakeTab({ Name = "AutoEvent", Icon = "rbxassetid://4483345998", PremiumOnly = false })
- -- Variable for Auto Hlw toggle local isAutoHlwRunning = false local autoHlwCoroutine
- -- 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 })
- -- Variable for Auto Winter toggle local isAutoWinterRunning = false local autoWinterCoroutine
- -- 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 })
- -- Create AutoPlay tab local Tab2 = Window:MakeTab({ Name = "AutoPlay", Icon = "rbxassetid://4483345998", PremiumOnly = false })
- -- Leave AutoPlay tab empty (awaiting feature update)
- -- Create Misc tab local Tab3 = Window:MakeTab({ Name = "Misc", Icon = "rbxassetid://4483345998", PremiumOnly = false })
- -- 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 })
- -- Start GUI OrionLib:Init()
- -- Add button to Discord script local function copyDiscordLink() local DiscordLink = "https://discord.gg/" setclipboard(DiscordLink) end
- local DiscordButton = Window:AddButton({ Name = "Discord", Default = false, Callback = function() copyDiscordLink() end })
Advertisement
Add Comment
Please, Sign In to add comment