pulkaokk

sandwitchyesyes

Jul 3rd, 2025
17
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.61 KB | None | 0 0
  1. local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()
  2.  
  3. local Window = Rayfield:CreateWindow({
  4.     Name = "First Script",
  5.     LoadingTitle = "First Script",
  6.     LoadingSubtitle = "by xannax",
  7.     ConfigurationSaving = {
  8.         Enabled = false,
  9.         FolderName = nil,
  10.         FileName = "FirstScriptConfig"
  11.     }
  12. })
  13.  
  14. local Tab = Window:CreateTab("Main", 4483362458)
  15.  
  16. _G.AutoLift = false
  17. _G.AutoEgg = false
  18.  
  19. local function runAutoLift()
  20.     while _G.AutoLift do
  21.         task.wait(0.1)
  22.         local success, err = pcall(function()
  23.             game:GetService("ReplicatedStorage").Events.DamageIncreaseOnClickEvent:FireServer()
  24.         end)
  25.         if not success then
  26.             warn("Error in AutoLift: " .. tostring(err))
  27.         end
  28.     end
  29. end
  30.  
  31. local function runAutoEgg()
  32.     local args = { "1" }
  33.     while _G.AutoEgg do
  34.         task.wait(0.1)
  35.         local success, err = pcall(function()
  36.             game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("PlayerPressedKeyOnEgg"):FireServer(unpack(args))
  37.         end)
  38.         if not success then
  39.             warn("Error in AutoEgg: " .. tostring(err))
  40.         end
  41.     end
  42. end
  43.  
  44. Tab:CreateToggle({
  45.     Name = "AutoLift Toggle",
  46.     CurrentValue = false,
  47.     Flag = "AutoLiftToggle",
  48.     Callback = function(Value)
  49.         _G.AutoLift = Value
  50.         if Value then
  51.             Rayfield:Notify({
  52.                 Title = "AutoLift",
  53.                 Content = "AutoLift enabled!",
  54.                 Duration = 3,
  55.                 Image = 4483362458
  56.             })
  57.             spawn(runAutoLift)
  58.         else
  59.             Rayfield:Notify({
  60.                 Title = "AutoLift",
  61.                 Content = "AutoLift disabled!",
  62.                 Duration = 3,
  63.                 Image = 4483362458
  64.             })
  65.         end
  66.     end
  67. })
  68.  
  69. Tab:CreateToggle({
  70.     Name = "AutoEgg Toggle",
  71.     CurrentValue = false,
  72.     Flag = "AutoEggToggle",
  73.     Callback = function(Value)
  74.         _G.AutoEgg = Value
  75.         if Value then
  76.             Rayfield:Notify({
  77.                 Title = "AutoEgg",
  78.                 Content = "AutoEgg enabled!",
  79.                 Duration = 3,
  80.                 Image = 4483362458
  81.             })
  82.             spawn(runAutoEgg)
  83.         else
  84.             Rayfield:Notify({
  85.                 Title = "AutoEgg",
  86.                 Content = "AutoEgg disabled!",
  87.                 Duration = 3,
  88.                 Image = 4483362458
  89.             })
  90.         end
  91.     end
  92. })
  93.  
  94. Rayfield:Notify({
  95.     Title = "First Script",
  96.     Content = "GUI loaded successfully!",
  97.     Duration = 5,
  98.     Image = 4483362458
  99. })
Tags: Roblox Script xd
Add Comment
Please, Sign In to add comment