Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local plr = game:GetService("Players").LocalPlayer
- local Char = plr.Character if not Char then Char = game.Workspace.Live:WaitForChild(plr.Name) end
- local hum = Char.Humanoid or Char:WaitForChild("Humanoid")
- local user = game:GetService("VirtualUser")
- local mouse = plr:GetMouse()
- user:CaptureController()
- if game.CoreGui:FindFirstChild("KNCWarning") == nil then
- local KNCWarning = Instance.new("ScreenGui")
- local Warning = Instance.new("TextLabel")
- KNCWarning.Name = "KNCWarning"
- KNCWarning.Parent = game.CoreGui
- KNCWarning.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- KNCWarning.Enabled = false
- Warning.Name = "Warning"
- Warning.Parent = KNCWarning
- Warning.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Warning.BackgroundTransparency = 1.000
- Warning.Position = UDim2.new(0.1, 0, 0.25, 0)
- Warning.Size = UDim2.new(0, 1500, 0, 27)
- Warning.Font = Enum.Font.Garamond
- Warning.Text = "Auto protein is on, turn it off before moving"
- Warning.TextColor3 = Color3.fromRGB(255, 0, 0)
- Warning.TextSize = 85.000
- Warning.TextStrokeTransparency = 0.000
- Warning.TextWrapped = true
- end
- local KNCWarning = game.CoreGui:FindFirstChild("KNCWarning")
- if _G.KNC == true then
- KNCWarning.Enabled = true
- elseif _G.KNC == false then
- KNCWarning.Enabled = false
- end
- while _G.KNC == true do
- wait()
- if game.ReplicatedStorage.Remotes.Request:InvokeServer("Food") <= 40 then --hunger bar 1-100
- fireclickdetector(game:GetService("Workspace").Shop["Jerk Chicken $70"].Head.ClickDetector) --food and price
- end
- if game.Players.LocalPlayer.Backpack:FindFirstChild("Jerk Chicken") then
- hum:EquipTool(plr.Backpack:FindFirstChild("Jerk Chicken")) --food
- user:ClickButton1(Vector2.new(mouse.x, mouse.y))
- wait(1)
- hum:EquipTool(plr.Backpack:FindFirstChild(_G.KNCTool))
- end
- if plr.Character.Status:FindFirstChild("Bar") == nil and (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - game.Workspace:FindFirstChild("Protein Bar $45", true).Head.Position).Magnitude < 15 then
- fireclickdetector(game.Workspace:FindFirstChild("Protein Bar $45", true).Head.ClickDetector)
- wait(1)
- if game.Players.LocalPlayer.Backpack:FindFirstChild("Protein Bar") then
- hum:EquipTool(plr.Backpack:FindFirstChild("Protein Bar"))
- end
- user:ClickButton1(Vector2.new(mouse.x, mouse.y))
- wait(0.3)
- hum:EquipTool(plr.Backpack:FindFirstChild(_G.KNCTool))
- wait(1)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement