Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- getgenv().Settings = {
- SellItem = true,
- Food = true,
- water = true,
- cemen = true
- }
- ]]
- local plr = game:GetService("Players")
- local localplr = plr.LocalPlayer
- local char = localplr.Character
- local humaroot = char:WaitForChild("HumanoidRootPart")
- local playerGui = localplr:WaitForChild("PlayerGui")
- local GuiService = game:GetService("GuiService")
- local VirtualInputManager = game:GetService("VirtualInputManager")
- local EconomyGui = playerGui.Economy_Gui.Frame
- local Container = playerGui.Economy_Gui.Container
- local PartSeller = Instance.new("Part")
- PartSeller.Name = "Seller Part"
- PartSeller.Parent = game.Workspace
- PartSeller.Anchored = true
- PartSeller.Transparency = .4
- PartSeller.Size = Vector3.new(20,0.5,20)
- PartSeller.CFrame = CFrame.new(776.553955078125, -10.882323741912842, -401.19720458984375)
- local Crab = game:GetService("Players").LocalPlayer.ItemGame.Crab
- local function ClearList()
- if EconomyGui and EconomyGui.Visible == true then
- local Clearbutton = EconomyGui.Clear
- if Clearbutton and Clearbutton:IsA("TextButton") then
- GuiService.SelectedCoreObject = Clearbutton
- wait(1)
- VirtualInputManager:SendKeyEvent(true, Enum.KeyCode.Return, false, game)
- VirtualInputManager:SendKeyEvent(false, Enum.KeyCode.Return, false, game)
- end
- end
- end
- local function SellOil()
- if EconomyGui and EconomyGui.Visible == true then
- local selectitem = EconomyGui.Out_Frame.ScrollingFrame.Crab.Seller
- if selectitem and selectitem:IsA("TextButton") then
- GuiService.SelectedCoreObject = selectitem
- VirtualInputManager:SendKeyEvent(true, Enum.KeyCode.Return, false, game)
- VirtualInputManager:SendKeyEvent(false, Enum.KeyCode.Return, false, game)
- wait(.4)
- end
- if Container and Container.Visible == true then
- local max = Container.NumberBox.Max
- if max and selectitem:IsA("TextButton") then
- GuiService.SelectedCoreObject = max
- VirtualInputManager:SendKeyEvent(true, Enum.KeyCode.Return, false, game)
- VirtualInputManager:SendKeyEvent(false, Enum.KeyCode.Return, false, game)
- wait(.4)
- end
- end
- if Container and Container.Visible == true then
- local sellbutton = Container.Bottom.Ok
- if sellbutton and sellbutton:IsA("TextButton") then
- GuiService.SelectedCoreObject = sellbutton
- VirtualInputManager:SendKeyEvent(true, Enum.KeyCode.Return, false, game)
- VirtualInputManager:SendKeyEvent(false, Enum.KeyCode.Return, false, game)
- wait(.2)
- end
- end
- end
- end
- function kik()
- while task.wait(2) do
- for i,v in pairs(game:GetService("Players"):GetDescendants()) do
- 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
- game:Shutdown()
- end
- end
- end
- end
- task.spawn(function()
- _G.Cheack = false
- if getgenv().Settings['SellItem'] then
- while wait(0.1) do
- if not _G.Cheack then
- _G.Cheack = false
- end
- if Crab.Value < 30 and not _G.Cheack then
- 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)
- wait(1)
- VirtualInputManager:SendKeyEvent(true, 101, false, humaroot)
- VirtualInputManager:SendKeyEvent(false, 101, false, humaroot)
- wait(1)
- _G.Cheack = true
- end
- if Crab and Crab.Value == 30 then
- VirtualInputManager:SendKeyEvent(true, 101, false, humaroot)
- VirtualInputManager:SendKeyEvent(false, 101, false, humaroot)
- wait(10)
- EconomyGui.Visible = true
- humaroot.CFrame = CFrame.new(776.553955078125, -5.882323741912842, -401.19720458984375)
- wait(3)
- SellOil()
- wait(2)
- ClearList()
- wait(1)
- _G.Cheack = false
- wait(1)
- end
- end
- else
- _G.Cheack = false
- end
- end)
- --[[ Function Eat ]]
- task.spawn(function()
- if getgenv().Settings['Food'] then
- while wait(3) do
- if game:GetService("Players").LocalPlayer.Status.Hunger.Value <= 20 then
- game:GetService("Lighting"):WaitForChild("Sky"):WaitForChild("Optimized"):FireServer("Hunger",40,"Loptor")
- end
- end
- end
- end)
- task.spawn(function()
- if getgenv().Settings['water'] then
- while wait(3) do
- if game:GetService("Players").LocalPlayer.Status.Thirst.Value <= 20 then
- game:GetService("Lighting"):WaitForChild("Sky"):WaitForChild("Optimized"):FireServer("Thirst",50,"StrawberryJuice")
- end
- end
- end
- end)
- --[[ Function Eat cemen ]]
- task.spawn(function()
- if getgenv().Settings['cemen'] then
- while wait(3) do
- if game:GetService("Players").LocalPlayer.Status.Brain.Value <= 20 then
- game:GetService("Lighting"):WaitForChild("Sky"):WaitForChild("Optimized"):FireServer("Cement Powder","","")
- end
- end
- end
- end)
- spawn(function()
- while task.wait(1.1) do
- if game.Players.LocalPlayer.Character.Humanoid.Health < 70 then
- game:Shutdown()
- end
- end
- end)
- kik()
- print(_G.Cheack)
- ---------------------------------------------------------
- ------------ จอขาว
- _G.WhiteScreen = false
- if _G.WhiteScreen == true then
- game:GetService("RunService"):Set3dRenderingEnabled(false)
- elseif _G.WhiteScreen == false then
- game:GetService("RunService"):Set3dRenderingEnabled(true)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement