Advertisement
Xseps_StarX

crab 1m

Jan 20th, 2025 (edited)
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 6.18 KB | None | 0 0
  1.  
  2.  
  3.  
  4.  
  5. --[[
  6. getgenv().Settings = {
  7.     SellItem = true,
  8.     Food = true,
  9.     water = true,
  10.     cemen = true
  11. }
  12. ]]
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21. local plr = game:GetService("Players")
  22. local localplr = plr.LocalPlayer
  23. local char = localplr.Character
  24. local humaroot = char:WaitForChild("HumanoidRootPart")
  25. local playerGui = localplr:WaitForChild("PlayerGui")
  26. local GuiService = game:GetService("GuiService")
  27. local VirtualInputManager = game:GetService("VirtualInputManager")
  28. local EconomyGui = playerGui.Economy_Gui.Frame
  29. local Container = playerGui.Economy_Gui.Container
  30.  
  31. local PartSeller = Instance.new("Part")
  32. PartSeller.Name = "Seller Part"
  33. PartSeller.Parent = game.Workspace
  34. PartSeller.Anchored = true
  35. PartSeller.Transparency = .4
  36. PartSeller.Size = Vector3.new(20,0.5,20)
  37. PartSeller.CFrame = CFrame.new(776.553955078125, -10.882323741912842, -401.19720458984375)
  38.  
  39.  
  40. local Crab = game:GetService("Players").LocalPlayer.ItemGame.Crab
  41.  
  42. local function ClearList()
  43.     if EconomyGui and EconomyGui.Visible == true then
  44.         local Clearbutton = EconomyGui.Clear
  45.         if Clearbutton and Clearbutton:IsA("TextButton") then
  46.             GuiService.SelectedCoreObject = Clearbutton
  47.             wait(1)
  48.             VirtualInputManager:SendKeyEvent(true, Enum.KeyCode.Return, false, game)
  49.             VirtualInputManager:SendKeyEvent(false, Enum.KeyCode.Return, false, game)
  50.         end
  51.     end
  52. end
  53.  
  54. local function SellOil()
  55.     if EconomyGui and EconomyGui.Visible == true then
  56.         local selectitem = EconomyGui.Out_Frame.ScrollingFrame.Crab.Seller
  57.         if selectitem and selectitem:IsA("TextButton") then
  58.             GuiService.SelectedCoreObject = selectitem
  59.             VirtualInputManager:SendKeyEvent(true, Enum.KeyCode.Return, false, game)
  60.             VirtualInputManager:SendKeyEvent(false, Enum.KeyCode.Return, false, game)
  61.             wait(.4)
  62.         end
  63.  
  64.         if Container and Container.Visible == true then
  65.             local max = Container.NumberBox.Max
  66.             if max and selectitem:IsA("TextButton") then
  67.                 GuiService.SelectedCoreObject = max
  68.                 VirtualInputManager:SendKeyEvent(true, Enum.KeyCode.Return, false, game)
  69.                 VirtualInputManager:SendKeyEvent(false, Enum.KeyCode.Return, false, game)
  70.                 wait(.4)
  71.             end
  72.         end
  73.  
  74.         if Container and Container.Visible == true then
  75.             local sellbutton = Container.Bottom.Ok
  76.             if sellbutton and sellbutton:IsA("TextButton") then
  77.                 GuiService.SelectedCoreObject = sellbutton
  78.                 VirtualInputManager:SendKeyEvent(true, Enum.KeyCode.Return, false, game)
  79.                 VirtualInputManager:SendKeyEvent(false, Enum.KeyCode.Return, false, game)
  80.                 wait(.2)
  81.             end
  82.         end
  83.     end
  84. end
  85.  
  86. function kik()
  87.     while task.wait(2) do
  88.         for i,v in pairs(game:GetService("Players"):GetDescendants()) do
  89.             if v.Name == "za0623247821" or v.Name == "sumetchaisiri" or v.Name == "Raidenny" or v.Name == "norlive" or v.Name == "NessyGray41" or v.Name == "j6rkes" or v.Name == "9abrile" or v.Name == "Jackiemilk01" then
  90.                 game:Shutdown()
  91.             end
  92.         end
  93.     end
  94. end
  95.  
  96.  
  97. task.spawn(function()
  98.  
  99.     _G.Cheack = false
  100.  
  101.     if getgenv().Settings['SellItem'] then
  102.         while wait(0.1) do
  103.  
  104.             if not _G.Cheack then
  105.                 _G.Cheack = false
  106.             end
  107.            
  108.             if Crab.Value < 30 and not _G.Cheack then
  109.                 humaroot.CFrame = CFrame.new(-3872.51782, 5.36965179, 4696.33447, 0.999939382, 1.27128166e-08, -0.0110127553, -1.26689024e-08, 1, 4.05738954e-09, 0.0110127553, -3.917624e-09, 0.999939382)
  110.                 wait(1)
  111.                 VirtualInputManager:SendKeyEvent(true, 101, false, humaroot)
  112.                 VirtualInputManager:SendKeyEvent(false, 101, false, humaroot)
  113.                 wait(1)
  114.                 _G.Cheack = true
  115.             end
  116.  
  117.             if Crab and Crab.Value == 30 then
  118.                 VirtualInputManager:SendKeyEvent(true, 101, false, humaroot)
  119.                 VirtualInputManager:SendKeyEvent(false, 101, false, humaroot)
  120.                 wait(10)
  121.                 EconomyGui.Visible = true
  122.                 humaroot.CFrame = CFrame.new(776.553955078125, -5.882323741912842, -401.19720458984375)
  123.                 wait(3)
  124.                 SellOil()
  125.                 wait(2)
  126.                 ClearList()
  127.                 wait(1)
  128.                 _G.Cheack = false
  129.                 wait(1)
  130.             end
  131.         end
  132.     else
  133.         _G.Cheack = false
  134.     end
  135. end)
  136.  
  137.  
  138.  
  139. --[[ Function Eat ]]
  140. task.spawn(function()
  141.     if getgenv().Settings['Food'] then
  142.         while wait(3) do
  143.             if game:GetService("Players").LocalPlayer.Status.Hunger.Value <= 20 then
  144.                 game:GetService("Lighting"):WaitForChild("Sky"):WaitForChild("Optimized"):FireServer("Hunger",40,"Loptor")
  145.             end
  146.         end
  147.     end
  148. end)
  149.  
  150. task.spawn(function()
  151.     if getgenv().Settings['water'] then
  152.         while wait(3) do
  153.             if game:GetService("Players").LocalPlayer.Status.Thirst.Value <= 20 then
  154.                 game:GetService("Lighting"):WaitForChild("Sky"):WaitForChild("Optimized"):FireServer("Thirst",50,"StrawberryJuice")
  155.             end
  156.         end
  157.     end
  158. end)
  159.  
  160.  
  161. --[[ Function Eat cemen ]]
  162. task.spawn(function()
  163.     if getgenv().Settings['cemen'] then
  164.         while wait(3) do
  165.             if game:GetService("Players").LocalPlayer.Status.Brain.Value <= 20 then
  166.                 game:GetService("Lighting"):WaitForChild("Sky"):WaitForChild("Optimized"):FireServer("Cement Powder","","")
  167.             end
  168.         end
  169.     end
  170. end)
  171.  
  172. spawn(function()
  173.     while task.wait(1.1) do
  174.         if game.Players.LocalPlayer.Character.Humanoid.Health < 70 then
  175.             game:Shutdown()
  176.         end
  177.     end
  178. end)
  179.  
  180. kik()
  181.  
  182.  
  183. print(_G.Cheack)
  184.  
  185.  
  186.  
  187.  
  188. ---------------------------------------------------------
  189.  
  190.  
  191.  
  192. ------------ จอขาว
  193.  
  194.  
  195. _G.WhiteScreen = false
  196. if _G.WhiteScreen == true then
  197.     game:GetService("RunService"):Set3dRenderingEnabled(false)
  198. elseif _G.WhiteScreen == false then
  199.     game:GetService("RunService"):Set3dRenderingEnabled(true)
  200. end
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement