Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local PS = Instance.new("ScreenGui")
- local MainFrame = Instance.new("Frame")
- local Title = Instance.new("TextLabel")
- local Frame = Instance.new("Frame")
- local Farm = Instance.new("TextButton")
- local Sell = Instance.new("TextButton")
- --Properties:
- PS.Name = "PS"
- PS.Parent = game.CoreGui
- MainFrame.Name = "MainFrame"
- MainFrame.Parent = PS
- MainFrame.Active = true
- MainFrame.BackgroundColor3 = Color3.new(0, 0, 0)
- MainFrame.BackgroundTransparency = 0
- MainFrame.BorderColor3 = Color3.new(1, 1, 1)
- MainFrame.Position = UDim2.new(0, 325, 0, 125)
- MainFrame.Selectable = true
- MainFrame.Draggable = true
- MainFrame.Size = UDim2.new(0, 175, 0, 25)
- Title.Name = "Title"
- Title.Parent = MainFrame
- Title.BackgroundColor3 = Color3.new(1, 1, 1)
- Title.BackgroundTransparency = 1
- Title.Position = UDim2.new(0, 15, 0, 0)
- Title.Size = UDim2.new(0, 145, 0, 25)
- Title.Font = Enum.Font.GothamBold
- Title.Text = "Popsicle Simulator"
- Title.TextColor3 = Color3.new(1, 1, 1)
- Title.TextSize = 14
- Title.TextScaled = true
- Frame.Parent = MainFrame
- Frame.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame.BackgroundTransparency = 0
- Frame.BorderColor3 = Color3.new(1, 1, 1)
- Frame.Position = UDim2.new(0, 0, 0, 25)
- Frame.Size = UDim2.new(0, 175, 0, 50)
- Farm.Name = "Farm"
- Farm.Parent = Frame
- Farm.BackgroundColor3 = Color3.new(0, 0, 0)
- Farm.BackgroundTransparency = 0.5
- Farm.BorderColor3 = Color3.new(1, 1, 1)
- Farm.Position = UDim2.new(0, 10, 0, 10)
- Farm.Size = UDim2.new(0, 75, 0, 20)
- Farm.Font = Enum.Font.GothamBold
- Farm.Text = "Autofarm: OFF"
- Farm.TextColor3 = Color3.new(1, 0, 0)
- Farm.TextSize = 14
- Farm.TextScaled = true
- Sell.Name = "Sell"
- Sell.Parent = Frame
- Sell.BackgroundColor3 = Color3.new(0, 0, 0)
- Sell.BackgroundTransparency = 0.5
- Sell.BorderColor3 = Color3.new(1, 1, 1)
- Sell.Position = UDim2.new(0, 90, 0, 10)
- Sell.Size = UDim2.new(0, 75, 0, 20)
- Sell.Font = Enum.Font.GothamBold
- Sell.Text = "Sell: OFF"
- Sell.TextColor3 = Color3.new(1, 0, 0)
- Sell.TextSize = 14
- Sell.TextScaled = true
- -- Scripts:
- local r = game:GetService('ReplicatedStorage').Events.Remote['PlayerClickEvent']
- local rs = game:GetService('RunService').RenderStepped
- local plr = game.Players.LocalPlayer
- local char = plr.Character.HumanoidRootPart
- local mini = true
- _G.sell = false
- _G.shiny = false
- _G.farm = false
- Farm.MouseButton1Down:connect(function()
- if _G.farm == true then
- _G.farm = false
- Farm.TextColor3 = Color3.new(1, 0, 0)
- Farm.Text = "Autofarm: OFF"
- else
- _G.farm = true
- Farm.TextColor3 = Color3.new(0, 0.666667, 0)
- Farm.Text = "Autofarm: ON"
- while rs:wait() and _G.farm == true do
- for i = 1,10 do
- r:FireServer(game.ReplicatedStorage.Events.Remote.PlayerClickEvent)
- end
- end
- end
- end)
- Sell.MouseButton1Down:connect(function()
- if _G.sell == true then
- _G.sell = false
- Sell.TextColor3 = Color3.new(1, 0, 0)
- Sell.Text = "Sell: OFF"
- else
- _G.sell = true
- Sell.TextColor3 = Color3.new(0, 0.666667, 0)
- Sell.Text = "Sell: ON"
- while _G.sell == true do
- game.Workspace.GameObjects.SellHexagonPart.CanCollide = false
- game.Workspace.GameObjects.SellHexagonPart.Transparency = 1
- game.Workspace.GameObjects.SellHexagonPart.CFrame = char.CFrame + Vector3.new(0,math.random(-1,1),0)
- wait()
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement