Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Script & GUI By: EFTPMC--
- -- Instances:
- local ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local uiElements = Instance.new("Folder")
- local TextLabel = Instance.new("TextLabel")
- local Selling = Instance.new("Folder")
- local TextLabel_2 = Instance.new("TextLabel")
- local TextButton = Instance.new("TextButton")
- local TextLabel_3 = Instance.new("TextLabel")
- local color = Instance.new("ImageLabel")
- local Cooldown = Instance.new("Folder")
- local TextBox = Instance.new("TextBox")
- local TextButton_2 = Instance.new("TextButton")
- local BuyAll = Instance.new("Folder")
- local Food = Instance.new("TextButton")
- local Fist = Instance.new("TextButton")
- local Jump = Instance.new("TextButton")
- local Stomach = Instance.new("TextButton")
- local Power = Instance.new("Folder")
- local TextLabel_4 = Instance.new("TextLabel")
- local TextButton_3 = Instance.new("TextButton")
- local TextLabel_5 = Instance.new("TextLabel")
- local color_2 = Instance.new("ImageLabel")
- --[[
- Properties:
- --]]
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- ScreenGui.ResetOnSpawn = false
- Frame.Parent = ScreenGui
- Frame.Active = true
- Frame.BackgroundColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- Frame.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- Frame.BorderSizePixel = 0
- Frame.Position = UDim2.new(0.399999976, 0, 0.400000006, 0)
- Frame.Size = UDim2.new(0, 126, 0, 160)
- uiElements.Name = "uiElements"
- uiElements.Parent = Frame
- TextLabel.Parent = uiElements
- TextLabel.BackgroundColor3 = Color3.new(0, 0, 0)
- TextLabel.BackgroundTransparency = 0.80000001192093
- TextLabel.BorderSizePixel = 0
- TextLabel.Size = UDim2.new(0, 126, 0, 22)
- TextLabel.Font = Enum.Font.SourceSans
- TextLabel.Text = "Auto-Farm"
- TextLabel.TextColor3 = Color3.new(1, 1, 1)
- TextLabel.TextSize = 20
- TextLabel.TextYAlignment = Enum.TextYAlignment.Top
- Selling.Name = "Selling"
- Selling.Parent = uiElements
- TextLabel_2.Parent = Selling
- TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel_2.BackgroundTransparency = 1
- TextLabel_2.BorderSizePixel = 0
- TextLabel_2.Position = UDim2.new(0, 0, 0.289999992, 0)
- TextLabel_2.Size = UDim2.new(0, 63, 0, 25)
- TextLabel_2.Font = Enum.Font.SourceSans
- TextLabel_2.Text = " Sell On/Off"
- TextLabel_2.TextColor3 = Color3.new(1, 1, 1)
- TextLabel_2.TextSize = 14
- TextLabel_2.TextXAlignment = Enum.TextXAlignment.Left
- TextButton.Parent = Selling
- TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton.BackgroundTransparency = 0.5
- TextButton.BorderSizePixel = 0
- TextButton.Position = UDim2.new(0.600000024, 0, 0.319999993, 0)
- TextButton.Size = UDim2.new(0, 37, 0, 15)
- TextButton.ZIndex = 0
- TextButton.Font = Enum.Font.SourceSans
- TextButton.Text = ""
- TextButton.TextColor3 = Color3.new(0, 0, 0)
- TextButton.TextSize = 14
- TextLabel_3.Parent = TextButton
- TextLabel_3.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel_3.BackgroundTransparency = 1
- TextLabel_3.BorderSizePixel = 0
- TextLabel_3.Size = UDim2.new(0, 16, 0, 15)
- TextLabel_3.Font = Enum.Font.SourceSans
- TextLabel_3.Text = ""
- TextLabel_3.TextColor3 = Color3.new(0, 0, 0)
- TextLabel_3.TextSize = 14
- color.Name = "color"
- color.Parent = TextLabel_3
- color.AnchorPoint = Vector2.new(0.5, 0.5)
- color.BackgroundColor3 = Color3.new(1, 1, 1)
- color.BackgroundTransparency = 1
- color.Position = UDim2.new(0.5, 0, 0.5, 0)
- color.Size = UDim2.new(1, 0, 1, 0)
- color.Image = "rbxassetid://3570695787"
- color.ImageColor3 = Color3.new(1, 0, 0.0156863)
- color.ScaleType = Enum.ScaleType.Slice
- color.SliceCenter = Rect.new(100, 100, 100, 100)
- Cooldown.Name = "Cooldown"
- Cooldown.Parent = uiElements
- TextBox.Parent = Cooldown
- TextBox.BackgroundColor3 = Color3.new(0, 0, 0)
- TextBox.BackgroundTransparency = 0.80000001192093
- TextBox.BorderSizePixel = 0
- TextBox.Position = UDim2.new(0.5, 0, 0.474999994, 0)
- TextBox.Size = UDim2.new(0, 63, 0, 25)
- TextBox.Font = Enum.Font.SourceSans
- TextBox.Text = ""
- TextBox.TextColor3 = Color3.new(1, 1, 1)
- TextBox.TextSize = 14
- TextButton_2.Parent = Cooldown
- TextButton_2.BackgroundColor3 = Color3.new(0, 0, 0)
- TextButton_2.BackgroundTransparency = 0.80000001192093
- TextButton_2.BorderSizePixel = 0
- TextButton_2.Position = UDim2.new(0, 0, 0.474999994, 0)
- TextButton_2.Size = UDim2.new(0, 63, 0, 25)
- TextButton_2.Font = Enum.Font.SourceSans
- TextButton_2.Text = " Cooldown"
- TextButton_2.TextColor3 = Color3.new(1, 1, 1)
- TextButton_2.TextSize = 14
- TextButton_2.TextXAlignment = Enum.TextXAlignment.Left
- BuyAll.Name = "BuyAll"
- BuyAll.Parent = uiElements
- Food.Name = "Food"
- Food.Parent = BuyAll
- Food.BackgroundColor3 = Color3.new(0, 0, 0)
- Food.BackgroundTransparency = 0.80000001192093
- Food.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- Food.BorderSizePixel = 0
- Food.Position = UDim2.new(0.5, 0, 0.660000026, 0)
- Food.Size = UDim2.new(0, 63, 0, 26)
- Food.Font = Enum.Font.SourceSans
- Food.Text = "Food"
- Food.TextColor3 = Color3.new(1, 1, 1)
- Food.TextSize = 14
- Fist.Name = "Fist"
- Fist.Parent = BuyAll
- Fist.BackgroundColor3 = Color3.new(0, 0, 0)
- Fist.BackgroundTransparency = 0.80000001192093
- Fist.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- Fist.BorderSizePixel = 0
- Fist.Position = UDim2.new(0, 0, 0.660000026, 0)
- Fist.Size = UDim2.new(0, 63, 0, 26)
- Fist.Font = Enum.Font.SourceSans
- Fist.Text = "Fist"
- Fist.TextColor3 = Color3.new(1, 1, 1)
- Fist.TextSize = 14
- Jump.Name = "Jump"
- Jump.Parent = BuyAll
- Jump.BackgroundColor3 = Color3.new(0, 0, 0)
- Jump.BackgroundTransparency = 0.80000001192093
- Jump.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- Jump.BorderSizePixel = 0
- Jump.Position = UDim2.new(0.5, 0, 0.824999988, 0)
- Jump.Size = UDim2.new(0, 63, 0, 26)
- Jump.Font = Enum.Font.SourceSans
- Jump.Text = "Jump"
- Jump.TextColor3 = Color3.new(1, 1, 1)
- Jump.TextSize = 14
- Stomach.Name = "Stomach"
- Stomach.Parent = BuyAll
- Stomach.BackgroundColor3 = Color3.new(0, 0, 0)
- Stomach.BackgroundTransparency = 0.80000001192093
- Stomach.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- Stomach.BorderSizePixel = 0
- Stomach.Position = UDim2.new(0, 0, 0.824999988, 0)
- Stomach.Size = UDim2.new(0, 63, 0, 26)
- Stomach.Font = Enum.Font.SourceSans
- Stomach.Text = "Stomach"
- Stomach.TextColor3 = Color3.new(1, 1, 1)
- Stomach.TextSize = 14
- Power.Name = "Power"
- Power.Parent = uiElements
- TextLabel_4.Parent = Power
- TextLabel_4.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel_4.BackgroundTransparency = 1
- TextLabel_4.BorderSizePixel = 0
- TextLabel_4.Position = UDim2.new(0, 0, 0.144999996, 0)
- TextLabel_4.Size = UDim2.new(0, 63, 0, 25)
- TextLabel_4.Font = Enum.Font.SourceSans
- TextLabel_4.Text = " Turn On/Off"
- TextLabel_4.TextColor3 = Color3.new(1, 1, 1)
- TextLabel_4.TextSize = 14
- TextLabel_4.TextXAlignment = Enum.TextXAlignment.Left
- TextButton_3.Parent = Power
- TextButton_3.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton_3.BackgroundTransparency = 1
- TextButton_3.BorderSizePixel = 0
- TextButton_3.Position = UDim2.new(0.600000024, 0, 0.170000002, 0)
- TextButton_3.Size = UDim2.new(0, 37, 0, 15)
- TextButton_3.ZIndex = 0
- TextButton_3.Font = Enum.Font.SourceSans
- TextButton_3.Text = ""
- TextButton_3.TextColor3 = Color3.new(0, 0, 0)
- TextButton_3.TextSize = 14
- TextLabel_5.Parent = TextButton_3
- TextLabel_5.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel_5.BackgroundTransparency = 1
- TextLabel_5.BorderSizePixel = 0
- TextLabel_5.Size = UDim2.new(0, 16, 0, 15)
- TextLabel_5.Font = Enum.Font.SourceSans
- TextLabel_5.Text = ""
- TextLabel_5.TextColor3 = Color3.new(0, 0, 0)
- TextLabel_5.TextSize = 14
- color_2.Name = "color"
- color_2.Parent = TextLabel_5
- color_2.AnchorPoint = Vector2.new(0.5, 0.5)
- color_2.BackgroundColor3 = Color3.new(1, 1, 1)
- color_2.BackgroundTransparency = 1
- color_2.Position = UDim2.new(0.5, 0, 0.5, 0)
- color_2.Size = UDim2.new(1, 0, 1, 0)
- color_2.Image = "rbxassetid://3570695787"
- color_2.ImageColor3 = Color3.new(1, 0, 0.0156863)
- color_2.ScaleType = Enum.ScaleType.Slice
- color_2.SliceCenter = Rect.new(100, 100, 100, 100)
- --[[
- Scripts:
- --]]
- local function WYWTGX_fake_script() -- ScreenGui.Script
- local script = Instance.new('Script', ScreenGui)
- local frame = script.Parent.Frame
- local uiElements = frame.uiElements
- local green = "46, 255, 0"
- local red = "255, 0, 4"
- local Powerbutton = script.Parent.Frame.uiElements.Power.TextButton
- local Sellbutton = script.Parent.Frame.uiElements.Selling.TextButton
- local off = true
- local off1 = true
- local selling = false
- local Rot = 1
- local cooldown = 600
- local debounce = false
- local A_4 = "Fist"
- local A_5 = "Food"
- local A_6 = "Stomach"
- local A_7 = "Jump"
- local A_1 = "Punch"
- local A_2 = "Food"
- local A_3 = "Stomp"
- local Event = game:GetService("ReplicatedStorage").Remotes.UseTool
- local Event1 = game:GetService("ReplicatedStorage").Remotes.YieldSell
- local Event2 = game:GetService("ReplicatedStorage").Remotes.RequestBuyAll
- local timer = ".25"
- Powerbutton.MouseButton1Click:Connect(function()
- if off == true then
- Powerbutton.TextLabel:TweenPosition(UDim2.new(.55,0,0,0))
- Powerbutton.TextLabel.color.ImageColor3 = Color3.fromRGB(0, 255, 59)
- wait(1)
- off = false
- print("Turned On")
- while not off do
- Event:FireServer(A_1)
- Event:FireServer(A_2)
- Event:FireServer(A_3)
- wait(timer)
- if selling == true then
- Event1:InvokeServer()
- end
- end
- elseif off == false then
- Powerbutton.TextLabel:TweenPosition(UDim2.new(0,0,0,0))
- Powerbutton.TextLabel.color.ImageColor3 = Color3.fromRGB(255, 0, 4)
- wait(1)
- off = true
- print("Turned Off")
- end
- end)
- Sellbutton.MouseButton1Click:Connect(function()
- if off1 == true then
- Sellbutton.TextLabel:TweenPosition(UDim2.new(.55,0,0,0))
- Sellbutton.TextLabel.color.ImageColor3 = Color3.fromRGB(0, 255, 59)
- wait(1)
- off1 = false
- selling = true
- print("Turned On")
- elseif off1 == false then
- Sellbutton.TextLabel:TweenPosition(UDim2.new(0,0,0,0))
- Sellbutton.TextLabel.color.ImageColor3 = Color3.fromRGB(255, 0, 4)
- wait(1)
- off1 = true
- selling = false
- print("Turned Off")
- end
- end)
- local buyFood = script.Parent.Frame.uiElements.BuyAll.Food
- local buyFist = script.Parent.Frame.uiElements.BuyAll.Fist
- local buyJump = script.Parent.Frame.uiElements.BuyAll.Jump
- local buyStomach = script.Parent.Frame.uiElements.BuyAll.Stomach
- buyFood.MouseButton1Click:Connect(function()
- Event2:FireServer(A_5)
- end)
- buyFist.MouseButton1Click:Connect(function()
- Event2:FireServer(A_4)
- end)
- buyStomach.MouseButton1Click:Connect(function()
- Event2:FireServer(A_6)
- end)
- buyJump.MouseButton1Click:Connect(function()
- Event2:FireServer(A_7)
- end)
- frame.uiElements.Cooldown.TextButton.MouseButton1Click:Connect(function()
- local match = frame.uiElements.Cooldown.TextBox.Text
- local match1 = string.match(match,"%A+")
- timer = match1
- end)
- end
- coroutine.wrap(WYWTGX_fake_script)()
- local function ZHZA_fake_script() -- ScreenGui.LocalScript
- local script = Instance.new('LocalScript', ScreenGui)
- local v = script.Parent.Frame
- v.Draggable = true
- end
- coroutine.wrap(ZHZA_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement