Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ocal MS = Instance.new("ScreenGui")
- local MainFrame = Instance.new("Frame")
- local Title = Instance.new("TextLabel")
- local Close = Instance.new("TextButton")
- local Frame = Instance.new("Frame")
- local Created = Instance.new("TextLabel")
- local Farm = Instance.new("TextButton")
- local Sell = Instance.new("TextButton")
- local Rebirth = Instance.new("TextButton")
- local Mini = Instance.new("TextButton")
- --Properties:
- MS.Name = "MS"
- MS.Parent = game.CoreGui
- MainFrame.Name = "MainFrame"
- MainFrame.Parent = MS
- MainFrame.Active = true
- MainFrame.BackgroundColor3 = Color3.new(0.22, 0.22, 0.22)
- 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 = "Melon Simulator GUI"
- Title.TextColor3 = Color3.new(1, 1, 1)
- Title.TextSize = 14
- Title.TextScaled = true
- Created.Name = "Created"
- Created.Parent = MainFrame
- Created.BackgroundTransparency = 0
- Created.BackgroundColor3 = Color3.new(0.85,0.255,0.127)
- Created.BorderColor3 = Color3.new(1, 1, 1)
- Created.Position = UDim2.new(0, 15, 0, 120)
- Created.Size = UDim2.new(0, 145, 0, 25)
- Created.Font = Enum.Font.GothamBold
- Created.Text = "Created By: Virquill"
- Created.TextColor3 = Color3.new(1, 1, 1)
- Created.TextSize = 14
- Created.TextScaled = true
- Close.Name = "Close"
- Close.Parent = MainFrame
- Close.BackgroundColor3 = Color3.new(1, 1, 1)
- Close.BackgroundTransparency = 1
- Close.BorderSizePixel = 0
- Close.Position = UDim2.new(0, 155, 0, 0)
- Close.Size = UDim2.new(0, 20, 0, 20)
- Close.Font = Enum.Font.GothamBold
- Close.Text = "X"
- Close.TextColor3 = Color3.new(1, 0, 0)
- Close.TextSize = 14
- Frame.Parent = MainFrame
- Frame.BackgroundColor3 = Color3.new(0.85,0.255,0.127)
- 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, 100)
- 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 = "FARM OFF"
- Farm.TextColor3 = Color3.new(1, 0, 0)
- Farm.TextSize = 14
- 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
- Rebirth.Name = "Rebirth"
- Rebirth.Parent = Frame
- Rebirth.BackgroundColor3 = Color3.new(0, 0, 0)
- Rebirth.BackgroundTransparency = 0.5
- Rebirth.BorderColor3 = Color3.new(1, 1, 1)
- Rebirth.Position = UDim2.new(0, 2, 0, 50)
- Rebirth.Size = UDim2.new(0, 170, 0, 20)
- Rebirth.Font = Enum.Font.GothamBold
- Rebirth.Text = "REBIRTH: OFF"
- Rebirth.TextColor3 = Color3.new(1, 0, 0)
- Rebirth.TextScaled = true
- Rebirth.TextSize = 14
- Mini.Name = "Mini"
- Mini.Parent = MainFrame
- Mini.BackgroundColor3 = Color3.new(1, 1, 1)
- Mini.BackgroundTransparency = 1
- Mini.BorderSizePixel = 0
- Mini.Size = UDim2.new(0, 20, 0, 20)
- Mini.Font = Enum.Font.GothamBold
- Mini.Text = "-"
- Mini.TextColor3 = Color3.new(1, 0, 0)
- Mini.TextSize = 14
- -- Scripts:
- local r = game:GetService('Workspace').Events['AddBite12']
- local rs = game:GetService('RunService').RenderStepped
- local plr = game.Players.LocalPlayer
- local char = plr.Character.HumanoidRootPart
- local mini = true
- _G.sell = false
- _G.egg = false
- _G.shiny = false
- _G.farm = false
- _G.display = true
- _G.rebirth = false
- Close.MouseButton1Down:connect(function()
- MS:Destroy()
- end)
- Mini.MouseButton1Down:connect(function()
- if mini == true then
- mini = false
- Frame.Visible = false
- Mini.TextColor3 = Color3.new(0, 0.666667, 0)
- else
- mini = true
- Frame.Visible = true
- Mini.TextColor3 = Color3.new(1, 0, 0)
- end
- end)
- Farm.MouseButton1Down:connect(function()
- if _G.farm == true then
- _G.farm = false
- Farm.TextColor3 = Color3.new(1, 0, 0)
- Farm.Text = "FARM: OFF"
- else
- _G.farm = true
- Farm.TextColor3 = Color3.new(0, 0.666667, 0)
- Farm.Text = "FARM: ON"
- while rs:wait() and _G.farm == true do
- for i = 1,10 do
- r:FireServer("", game.Workspace.Events.AddBite12)
- 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.Map.Sell.SellPart.CanCollide = false
- game.Workspace.Map.Sell.SellPart.Transparency = 1
- game.Workspace.Map.Sell.SellPart.CFrame = char.CFrame + Vector3.new(0,math.random(-1,1),0)
- wait(0.1)
- end
- end
- end)
- Rebirth.MouseButton1Down:connect(function()
- if _G.rebirth == true then
- _G.rebirth = false
- Rebirth.TextColor3 = Color3.new(1, 0, 0)
- Rebirth.Text = "REBIRTH: OFF"
- else
- _G.rebirth = true
- Rebirth.TextColor3 = Color3.new(0, 0.666667, 0)
- Rebirth.Text = "REBIRTH: ON"
- while _G.rebirth == true do
- wait(0.1)
- local rebirths = 1
- game.Workspace.Events.Rebirth:FireServer(rebirths)
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement