The text below is selected, press Ctrl+C to copy to your clipboard. (⌘+C on Mac) No line numbers will be copied.
Guest
stay alive and flex script pastebin roblox
By LINK GAME on 2024-09-19 08:00 am | Syntax: LUA | Views: 11



New Script | Raw | Show/Hide line no. | Copy text to clipboard
  1. game:GetService("Workspace")[game.Players.LocalPlayer.Name].Anticheat.Disabled = true
  2. print("Synth's Gift Autofarm Loaded")
  3. print("DONT MOVE FOR 10 SECONDS")
  4. wait(10)
  5. _G.enabled = true -- Enable the autofarm
  6.  
  7. -- Services --
  8. local workspace = game:GetService("Workspace")
  9. local gifts = workspace.Gifts
  10. local player = game:GetService("Players").LocalPlayer
  11.  
  12. local character = player.Character or player.CharacterAdded:Wait()
  13. local hum = character:FindFirstChild("Humanoid") or character:WaitForChild("Humanoid")
  14. local hrp = character:FindFirstChild("HumanoidRootPart") or character:WaitForChild("HumanoidRootPart")
  15. local openedGifts = {}
  16. print("Variables loaded.")
  17.  
  18. while _G.enabled do
  19.    if #gifts:GetChildren() > 0 and hrp and hum and hum.Health > 0 then -- Makes sure that there are gifts spawned, and that you are alive.
  20.        for i, v in pairs(gifts:GetChildren()) do -- Loops through current gifts.
  21.            print("Found a present!")
  22.            wait(0.75)
  23.            hrp.CFrame = v.CFrame-- Teleports your player to the gifts.
  24.        end
  25.    elseif hum.Health == 0 then
  26.        wait(3)
  27.    else
  28.        print("Scanning for presents, none available.")
  29.        hrp.CFrame = workspace.Structure.CandyLeaderboard.CFrame
  30.    end
  31.    wait(0.7) -- Time it takes to check the gifs.
  32. end