Mr_3242

Safety NOT Required! Auto farm

May 27th, 2026 (edited)
57
0
Never
3
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 4.19 KB | Gaming | 0 0
  1. local Players = game:GetService("Players")
  2.  
  3. local LocalPlayer = Players.LocalPlayer
  4. local PlayerGui = LocalPlayer:WaitForChild("PlayerGui")
  5.  
  6. ------------------------------------------------
  7. -- STATE GATE
  8. ------------------------------------------------
  9. local Allowed = false
  10.  
  11. ------------------------------------------------
  12. -- WARNING GUI
  13. ------------------------------------------------
  14. local WarningGui = Instance.new("ScreenGui")
  15. WarningGui.Name = "SafetyWarning"
  16. WarningGui.ResetOnSpawn = false
  17. WarningGui.IgnoreGuiInset = true
  18. WarningGui.Parent = PlayerGui
  19.  
  20. local Main = Instance.new("TextButton")
  21. Main.Size = UDim2.new(1, 0, 1, 0)
  22. Main.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  23. Main.BorderSizePixel = 0
  24. Main.TextColor3 = Color3.new(1, 1, 1)
  25. Main.TextScaled = true
  26. Main.Font = Enum.Font.GothamBlack
  27. Main.TextWrapped = true
  28. Main.Text = [[
  29. ⚠ WARNING ⚠
  30.  
  31. if you get banned it’s not my fault, it’s your own responsibility.
  32. this game may have active moderators.
  33. avoid obvious exploits like infinite jump, fly, or speed.
  34.  
  35. CLICK TO CONTINUE
  36. ]]
  37. Main.Parent = WarningGui
  38.  
  39. Main.MouseButton1Click:Connect(function()
  40.     if Allowed then return end
  41.  
  42.     for i = 3, 1, -1 do
  43.         Main.Text =
  44.             "⚠ WARNING ⚠\n\nContinuing in " .. i .. "..."
  45.         task.wait(1)
  46.     end
  47.  
  48.     Allowed = true
  49. end)
  50.  
  51. repeat task.wait() until Allowed
  52. WarningGui:Destroy()
  53.  
  54. ------------------------------------------------
  55. -- MAIN SCRIPT
  56. ------------------------------------------------
  57.  
  58. local UI = loadstring(game:HttpGet(
  59.     "https://pastebin.com/raw/4NHU7v35",
  60.     true
  61. ))()
  62.  
  63. local Window = UI:CreateWindow("Safety NOT Required!")
  64.  
  65. ------------------------------------------------
  66. -- STATE
  67. ------------------------------------------------
  68. local AutoFarm = false
  69. local Alive = false
  70.  
  71. ------------------------------------------------
  72. -- CHARACTER TRACKING
  73. ------------------------------------------------
  74. local function hookCharacter(char)
  75.     local hum = char:WaitForChild("Humanoid")
  76.     Alive = hum.Health > 0
  77.  
  78.     hum.Died:Connect(function()
  79.         Alive = false
  80.     end)
  81. end
  82.  
  83. if LocalPlayer.Character then
  84.     hookCharacter(LocalPlayer.Character)
  85. end
  86.  
  87. LocalPlayer.CharacterAdded:Connect(function(char)
  88.     task.wait(1)
  89.     hookCharacter(char)
  90. end)
  91.  
  92. ------------------------------------------------
  93. -- TELEPORT
  94. ------------------------------------------------
  95. local function tpToModel(model)
  96.     if not Alive then return end
  97.  
  98.     local char = LocalPlayer.Character
  99.     if not char then return end
  100.  
  101.     local root = char:FindFirstChild("HumanoidRootPart")
  102.     if not root then return end
  103.  
  104.     if not model or not model:IsA("Model") then return end
  105.  
  106.     local part =
  107.         model.PrimaryPart
  108.         or model:FindFirstChildWhichIsA("BasePart", true)
  109.  
  110.     if part then
  111.         root.CFrame = part.CFrame + Vector3.new(0, 3, 0)
  112.     end
  113. end
  114.  
  115. ------------------------------------------------
  116. -- RANDOM EXIT
  117. ------------------------------------------------
  118. local function getRandomExit()
  119.     local entities = workspace:WaitForChild("map"):WaitForChild("entities")
  120.  
  121.     local exits = {}
  122.  
  123.     for _, v in ipairs(entities:GetChildren()) do
  124.         if v:IsA("Model") and string.find(string.lower(v.Name), "exit") then
  125.             table.insert(exits, v)
  126.         end
  127.     end
  128.  
  129.     if #exits > 0 then
  130.         return exits[math.random(1, #exits)]
  131.     end
  132. end
  133.  
  134. ------------------------------------------------
  135. -- TOGGLE
  136. ------------------------------------------------
  137. Window:AddToggle({
  138.     text = "Auto Bobux",
  139.     state = false,
  140.     callback = function(v)
  141.         AutoFarm = v
  142.     end
  143. })
  144.  
  145. ------------------------------------------------
  146. -- LOOP
  147. ------------------------------------------------
  148. task.spawn(function()
  149.     while true do
  150.         task.wait(0.1)
  151.  
  152.         if AutoFarm and Alive then
  153.             local entities = workspace:FindFirstChild("map")
  154.                 and workspace.map:FindFirstChild("entities")
  155.  
  156.             if entities then
  157.                 local bobux = entities:FindFirstChild("bobux")
  158.  
  159.                 if bobux then
  160.                     tpToModel(bobux)
  161.  
  162.                     task.wait(0.1)
  163.  
  164.                     local exit = getRandomExit()
  165.                     if exit then
  166.                         tpToModel(exit)
  167.                     end
  168.                 end
  169.             end
  170.         end
  171.     end
  172. end)
  173.  
  174. ------------------------------------------------
  175. -- LABEL
  176. ------------------------------------------------
  177. Window:AddLabel({
  178.     text = "TikTok: Mr_3242"
  179. })
  180.  
  181. UI:Init()
Tags: delta
Advertisement
Comments
  • User was banned
  • User was banned
  • User was banned
Add Comment
Please, Sign In to add comment