Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Menu = Instance.new("ScreenGui")
- local ButtonFrame = Instance.new("Frame")
- local Upgrade = Instance.new("TextButton")
- local Shop = Instance.new("TextButton")
- local Effects = Instance.new("TextButton")
- local Crafting = Instance.new("TextButton")
- local Holiday = Instance.new("TextButton")
- local Sell = Instance.new("TextButton")
- Menu.Name = "Menu"
- Menu.Parent = game.CoreGui
- ButtonFrame.Name = "ButtonFrame"
- ButtonFrame.Parent = Menu
- ButtonFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- ButtonFrame.BackgroundTransparency = 1.000
- ButtonFrame.Position = UDim2.new(0, 480, 0, -31)
- ButtonFrame.Size = UDim2.new(0, 600, 0, 25)
- Upgrade.Name = "Upgrade"
- Upgrade.Parent = ButtonFrame
- Upgrade.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Upgrade.Size = UDim2.new(0, 100, 0, 25)
- Upgrade.Style = Enum.ButtonStyle.RobloxRoundButton
- Upgrade.Font = Enum.Font.GothamSemibold
- Upgrade.Text = "Upgrade"
- Upgrade.TextColor3 = Color3.fromRGB(0, 0, 0)
- Upgrade.TextSize = 14.000
- Shop.Name = "Shop"
- Shop.Parent = ButtonFrame
- Shop.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Shop.Position = UDim2.new(0, 200, 0, 0)
- Shop.Size = UDim2.new(0, 100, 0, 25)
- Shop.Style = Enum.ButtonStyle.RobloxRoundButton
- Shop.Font = Enum.Font.GothamSemibold
- Shop.Text = "Shop"
- Shop.TextColor3 = Color3.fromRGB(0, 0, 0)
- Shop.TextSize = 14.000
- Effects.Name = "Effects"
- Effects.Parent = ButtonFrame
- Effects.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Effects.Position = UDim2.new(0, 500, 0, 0)
- Effects.Size = UDim2.new(0, 100, 0, 25)
- Effects.Style = Enum.ButtonStyle.RobloxRoundButton
- Effects.Font = Enum.Font.GothamSemibold
- Effects.Text = "Effects"
- Effects.TextColor3 = Color3.fromRGB(0, 0, 0)
- Effects.TextSize = 14.000
- Crafting.Name = "Crafting"
- Crafting.Parent = ButtonFrame
- Crafting.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Crafting.Position = UDim2.new(0, 400, 0, 0)
- Crafting.Size = UDim2.new(0, 100, 0, 25)
- Crafting.Style = Enum.ButtonStyle.RobloxRoundButton
- Crafting.Font = Enum.Font.GothamSemibold
- Crafting.Text = "Crafting"
- Crafting.TextColor3 = Color3.fromRGB(0, 0, 0)
- Crafting.TextSize = 14.000
- Holiday.Name = "Holiday"
- Holiday.Parent = ButtonFrame
- Holiday.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Holiday.Position = UDim2.new(0, 300, 0, 0)
- Holiday.Size = UDim2.new(0, 100, 0, 25)
- Holiday.Style = Enum.ButtonStyle.RobloxRoundButton
- Holiday.Font = Enum.Font.GothamSemibold
- Holiday.Text = "Holiday"
- Holiday.TextColor3 = Color3.fromRGB(0, 0, 0)
- Holiday.TextSize = 14.000
- Sell.Name = "Sell"
- Sell.Parent = ButtonFrame
- Sell.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Sell.Position = UDim2.new(0, 100, 0, 0)
- Sell.Size = UDim2.new(0, 100, 0, 25)
- Sell.Style = Enum.ButtonStyle.RobloxRoundButton
- Sell.Font = Enum.Font.GothamSemibold
- Sell.Text = "Sell"
- Sell.TextColor3 = Color3.fromRGB(0, 0, 0)
- Sell.TextSize = 14.000
- Upgrade.MouseButton1Click:Connect(function()
- if game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Upgrade.Visible == false then
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Upgrade.Visible = true
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Shop.Visible = false
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Effects.Visible = false
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Crafting.Visible = false
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Holiday.Visible = false
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Sell.Visible = false
- else if game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Upgrade.Visible == true then
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Upgrade.Visible = false
- end
- end
- end)
- Shop.MouseButton1Click:Connect(function()
- if game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Shop.Visible == false then
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Upgrade.Visible = false
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Shop.Visible = true
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Effects.Visible = false
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Crafting.Visible = false
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Holiday.Visible = false
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Sell.Visible = false
- else if game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Shop.Visible == true then
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Shop.Visible = false
- end
- end
- end)
- Effects.MouseButton1Click:Connect(function()
- if game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Shop.Visible == false then
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Upgrade.Visible = false
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Shop.Visible = false
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Effects.Visible = true
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Crafting.Visible = false
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Holiday.Visible = false
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Sell.Visible = false
- else if game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Effects.Visible == true then
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Effects.Visible = false
- end
- end
- end)
- Crafting.MouseButton1Click:Connect(function()
- if game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Shop.Visible == false then
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Upgrade.Visible = false
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Shop.Visible = false
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Effects.Visible = false
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Crafting.Visible = true
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Holiday.Visible = false
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Sell.Visible = false
- else if game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Crafting.Visible == true then
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Crafting.Visible = false
- end
- end
- end)
- Holiday.MouseButton1Click:Connect(function()
- if game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Shop.Visible == false then
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Upgrade.Visible = true
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Shop.Visible = false
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Effects.Visible = false
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Crafting.Visible = false
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Holiday.Visible = true
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Sell.Visible = false
- else if game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Holiday.Visible == true then
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Holiday.Visible = false
- end
- end
- end)
- Sell.MouseButton1Click:Connect(function()
- if game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Shop.Visible == false then
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Upgrade.Visible = false
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Shop.Visible = false
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Effects.Visible = false
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Crafting.Visible = false
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Holiday.Visible = false
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Sell.Visible = true
- else if game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Sell.Visible == true then
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Sell.Visible = false
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement