Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gui to Lua
- -- Version: 3.1
- -- Instances:
- local OpenGui = Instance.new("ScreenGui")
- local OpenGui_Menu = Instance.new("Frame")
- local Tittle_Bar = Instance.new("Frame")
- local Close = Instance.new("TextButton")
- local treasure_quest_logo = Instance.new("ImageLabel")
- local Tittle = Instance.new("TextLabel")
- local OpenGui_Tittle = Instance.new("TextLabel")
- local B_Dungeon = Instance.new("TextButton")
- local B_Inventory = Instance.new("TextButton")
- local B_Collection = Instance.new("TextButton")
- local B_Upgrade = Instance.new("TextButton")
- local B_Codes = Instance.new("TextButton")
- local B_Trading = Instance.new("TextButton")
- local B_Shop = Instance.new("TextButton")
- local B_Settings = Instance.new("TextButton")
- local B_BossDefeat = Instance.new("TextButton")
- local B_Crafting = Instance.new("TextButton")
- local B_Coins = Instance.new("TextButton")
- local B_Stats = Instance.new("TextButton")
- local B_Effect = Instance.new("TextButton")
- local B_CoinPurchase = Instance.new("TextButton")
- local B_Potions = Instance.new("TextButton")
- local B_PrizeWheel = Instance.new("TextButton")
- local B_Sell = Instance.new("TextButton")
- local B_Bank = Instance.new("TextButton")
- --Properties:
- OpenGui.Name = "OpenGui"
- OpenGui.Parent = game.CoreGui
- OpenGui_Menu.Name = "OpenGui_Menu"
- OpenGui_Menu.Parent = OpenGui
- OpenGui_Menu.BackgroundColor3 = Color3.fromRGB(27, 42, 53)
- OpenGui_Menu.BackgroundTransparency = 0.300
- OpenGui_Menu.Position = UDim2.new(0.144615501, 0, 0.17422767, 0)
- OpenGui_Menu.Size = UDim2.new(0, 143, 0, 535)
- OpenGui_Menu.Active = true
- OpenGui_Menu.Draggable = true
- Tittle_Bar.Name = "Tittle_Bar"
- Tittle_Bar.Parent = OpenGui_Menu
- Tittle_Bar.BackgroundColor3 = Color3.fromRGB(27, 42, 53)
- Tittle_Bar.BorderColor3 = Color3.fromRGB(27, 42, 53)
- Tittle_Bar.Size = UDim2.new(0, 143, 0, 20)
- Close.Name = "Close"
- Close.Parent = Tittle_Bar
- Close.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Close.BackgroundTransparency = 1.000
- Close.Position = UDim2.new(0.854371428, 0, 0, 0)
- Close.Size = UDim2.new(0, 20, 0, 20)
- Close.Font = Enum.Font.SourceSans
- Close.Text = "X"
- Close.TextColor3 = Color3.fromRGB(255, 255, 255)
- Close.TextScaled = true
- Close.TextSize = 14.000
- Close.TextWrapped = true
- Close.MouseButton1Down:connect(function()
- game:GetService("CoreGui").OpenGui:remove()
- end)
- treasure_quest_logo.Name = "treasure_quest_logo"
- treasure_quest_logo.Parent = Tittle_Bar
- treasure_quest_logo.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- treasure_quest_logo.Size = UDim2.new(0, 20, 0, 20)
- treasure_quest_logo.Image = "rbxgameasset://Images/tql"
- Tittle.Name = "Tittle"
- Tittle.Parent = Tittle_Bar
- Tittle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Tittle.BackgroundTransparency = 1.000
- Tittle.Size = UDim2.new(0, 143, 0, 20)
- Tittle.Font = Enum.Font.SourceSans
- Tittle.Text = "Treasure Quest"
- Tittle.TextColor3 = Color3.fromRGB(255, 255, 255)
- Tittle.TextSize = 14.000
- Tittle.TextWrapped = true
- OpenGui_Tittle.Name = "OpenGui_Tittle"
- OpenGui_Tittle.Parent = OpenGui_Menu
- OpenGui_Tittle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- OpenGui_Tittle.BackgroundTransparency = 1.000
- OpenGui_Tittle.Position = UDim2.new(0.00699300691, 0, 0.0363172591, 0)
- OpenGui_Tittle.Size = UDim2.new(0, 142, 0, 31)
- OpenGui_Tittle.Font = Enum.Font.SourceSans
- OpenGui_Tittle.Text = "- OpenGui -"
- OpenGui_Tittle.TextColor3 = Color3.fromRGB(255, 255, 255)
- OpenGui_Tittle.TextScaled = true
- OpenGui_Tittle.TextSize = 14.000
- OpenGui_Tittle.TextWrapped = true
- B_Dungeon.Name = "B_Dungeon"
- B_Dungeon.Parent = OpenGui_Menu
- B_Dungeon.BackgroundColor3 = Color3.fromRGB(27, 42, 53)
- B_Dungeon.BackgroundTransparency = 0.700
- B_Dungeon.BorderColor3 = Color3.fromRGB(27, 42, 53)
- B_Dungeon.Position = UDim2.new(0.0430069938, 0, 0.0938317776, 0)
- B_Dungeon.Size = UDim2.new(0, 130, 0, 20)
- B_Dungeon.Font = Enum.Font.SourceSans
- B_Dungeon.Text = "Dungeon"
- B_Dungeon.TextColor3 = Color3.fromRGB(170, 0, 0)
- B_Dungeon.TextScaled = true
- B_Dungeon.TextSize = 14.000
- B_Dungeon.TextWrapped = true
- B_Dungeon.MouseButton1Down:connect(function()
- if game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Dungeon.Visible == false then
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Dungeon.Visible = true
- B_Dungeon.TextColor3 = Color3.fromRGB(0, 170, 0)
- else
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Dungeon.Visible = false
- B_Dungeon.TextColor3 = Color3.fromRGB(170, 0, 0)
- end
- end)
- B_Inventory.Name = "B_Inventory"
- B_Inventory.Parent = OpenGui_Menu
- B_Inventory.BackgroundColor3 = Color3.fromRGB(27, 42, 53)
- B_Inventory.BackgroundTransparency = 0.700
- B_Inventory.BorderColor3 = Color3.fromRGB(27, 42, 53)
- B_Inventory.Position = UDim2.new(0.0430069938, 0, 0.143831775, 0)
- B_Inventory.Size = UDim2.new(0, 130, 0, 20)
- B_Inventory.Font = Enum.Font.SourceSans
- B_Inventory.Text = "Inventory"
- B_Inventory.TextColor3 = Color3.fromRGB(170, 0, 0)
- B_Inventory.TextScaled = true
- B_Inventory.TextSize = 14.000
- B_Inventory.TextWrapped = true
- B_Inventory.MouseButton1Down:connect(function()
- if game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Inventory.Visible == false then
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Inventory.Visible = true
- B_Inventory.TextColor3 = Color3.fromRGB(0, 170, 0)
- else
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Inventory.Visible = false
- B_Inventory.TextColor3 = Color3.fromRGB(170, 0, 0)
- end
- end)
- B_Collection.Name = "B_Collection"
- B_Collection.Parent = OpenGui_Menu
- B_Collection.BackgroundColor3 = Color3.fromRGB(27, 42, 53)
- B_Collection.BackgroundTransparency = 0.700
- B_Collection.BorderColor3 = Color3.fromRGB(27, 42, 53)
- B_Collection.Position = UDim2.new(0.0430069938, 0, 0.193831772, 0)
- B_Collection.Size = UDim2.new(0, 130, 0, 20)
- B_Collection.Font = Enum.Font.SourceSans
- B_Collection.Text = "Collection"
- B_Collection.TextColor3 = Color3.fromRGB(170, 0, 0)
- B_Collection.TextScaled = true
- B_Collection.TextSize = 14.000
- B_Collection.TextWrapped = true
- B_Collection.MouseButton1Down:connect(function()
- if game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Collection.Visible == false then
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Collection.Visible = true
- B_Collection.TextColor3 = Color3.fromRGB(0, 170, 0)
- else
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Collection.Visible = false
- B_Collection.TextColor3 = Color3.fromRGB(170, 0, 0)
- end
- end)
- B_Upgrade.Name = "B_Upgrade"
- B_Upgrade.Parent = OpenGui_Menu
- B_Upgrade.BackgroundColor3 = Color3.fromRGB(27, 42, 53)
- B_Upgrade.BackgroundTransparency = 0.700
- B_Upgrade.BorderColor3 = Color3.fromRGB(27, 42, 53)
- B_Upgrade.Position = UDim2.new(0.0430069938, 0, 0.243831784, 0)
- B_Upgrade.Size = UDim2.new(0, 130, 0, 20)
- B_Upgrade.Font = Enum.Font.SourceSans
- B_Upgrade.Text = "Upgrade"
- B_Upgrade.TextColor3 = Color3.fromRGB(170, 0, 0)
- B_Upgrade.TextScaled = true
- B_Upgrade.TextSize = 14.000
- B_Upgrade.TextWrapped = true
- B_Upgrade.MouseButton1Down: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
- B_Upgrade.TextColor3 = Color3.fromRGB(0, 170, 0)
- else
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Upgrade.Visible = false
- B_Upgrade.TextColor3 = Color3.fromRGB(170, 0, 0)
- end
- end)
- B_Codes.Name = "B_Codes"
- B_Codes.Parent = OpenGui_Menu
- B_Codes.BackgroundColor3 = Color3.fromRGB(27, 42, 53)
- B_Codes.BackgroundTransparency = 0.700
- B_Codes.BorderColor3 = Color3.fromRGB(27, 42, 53)
- B_Codes.Position = UDim2.new(0.0430069938, 0, 0.39383176, 0)
- B_Codes.Size = UDim2.new(0, 130, 0, 20)
- B_Codes.Font = Enum.Font.SourceSans
- B_Codes.Text = "Codes"
- B_Codes.TextColor3 = Color3.fromRGB(170, 0, 0)
- B_Codes.TextScaled = true
- B_Codes.TextSize = 14.000
- B_Codes.TextWrapped = true
- B_Codes.MouseButton1Down:connect(function()
- if game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Codes.Visible == false then
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Codes.Visible = true
- B_Codes.TextColor3 = Color3.fromRGB(0, 170, 0)
- else
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Codes.Visible = false
- B_Codes.TextColor3 = Color3.fromRGB(170, 0, 0)
- end
- end)
- B_Trading.Name = "B_Trading"
- B_Trading.Parent = OpenGui_Menu
- B_Trading.BackgroundColor3 = Color3.fromRGB(27, 42, 53)
- B_Trading.BackgroundTransparency = 0.700
- B_Trading.BorderColor3 = Color3.fromRGB(27, 42, 53)
- B_Trading.Position = UDim2.new(0.0430069938, 0, 0.293831766, 0)
- B_Trading.Size = UDim2.new(0, 130, 0, 20)
- B_Trading.Font = Enum.Font.SourceSans
- B_Trading.Text = "Trading"
- B_Trading.TextColor3 = Color3.fromRGB(170, 0, 0)
- B_Trading.TextScaled = true
- B_Trading.TextSize = 14.000
- B_Trading.TextWrapped = true
- B_Trading.MouseButton1Down:connect(function()
- if game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Trading.Visible == false then
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Trading.Visible = true
- B_Trading.TextColor3 = Color3.fromRGB(0, 170, 0)
- else
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Trading.Visible = false
- B_Trading.TextColor3 = Color3.fromRGB(170, 0, 0)
- end
- end)
- B_Shop.Name = "B_Shop"
- B_Shop.Parent = OpenGui_Menu
- B_Shop.BackgroundColor3 = Color3.fromRGB(27, 42, 53)
- B_Shop.BackgroundTransparency = 0.700
- B_Shop.BorderColor3 = Color3.fromRGB(27, 42, 53)
- B_Shop.Position = UDim2.new(0.0430069938, 0, 0.343831778, 0)
- B_Shop.Size = UDim2.new(0, 130, 0, 20)
- B_Shop.Font = Enum.Font.SourceSans
- B_Shop.Text = "Shop"
- B_Shop.TextColor3 = Color3.fromRGB(170, 0, 0)
- B_Shop.TextScaled = true
- B_Shop.TextSize = 14.000
- B_Shop.TextWrapped = true
- B_Shop.MouseButton1Down:connect(function()
- if game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Shop.Visible == false then
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Shop.Visible = true
- B_Shop.TextColor3 = Color3.fromRGB(0, 170, 0)
- else
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Shop.Visible = false
- B_Shop.TextColor3 = Color3.fromRGB(170, 0, 0)
- end
- end)
- B_Settings.Name = "B_Settings"
- B_Settings.Parent = OpenGui_Menu
- B_Settings.BackgroundColor3 = Color3.fromRGB(27, 42, 53)
- B_Settings.BackgroundTransparency = 0.700
- B_Settings.BorderColor3 = Color3.fromRGB(27, 42, 53)
- B_Settings.Position = UDim2.new(0.0430069938, 0, 0.443831772, 0)
- B_Settings.Size = UDim2.new(0, 130, 0, 20)
- B_Settings.Font = Enum.Font.SourceSans
- B_Settings.Text = "Settings"
- B_Settings.TextColor3 = Color3.fromRGB(170, 0, 0)
- B_Settings.TextScaled = true
- B_Settings.TextSize = 14.000
- B_Settings.TextWrapped = true
- B_Settings.MouseButton1Down:connect(function()
- if game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Settings.Visible == false then
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Settings.Visible = true
- B_Settings.TextColor3 = Color3.fromRGB(0, 170, 0)
- else
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Settings.Visible = false
- B_Settings.TextColor3 = Color3.fromRGB(170, 0, 0)
- end
- end)
- B_BossDefeat.Name = "B_BossDefeat"
- B_BossDefeat.Parent = OpenGui_Menu
- B_BossDefeat.BackgroundColor3 = Color3.fromRGB(27, 42, 53)
- B_BossDefeat.BackgroundTransparency = 0.700
- B_BossDefeat.BorderColor3 = Color3.fromRGB(27, 42, 53)
- B_BossDefeat.Position = UDim2.new(0.0430069938, 0, 0.493831754, 0)
- B_BossDefeat.Size = UDim2.new(0, 130, 0, 20)
- B_BossDefeat.Font = Enum.Font.SourceSans
- B_BossDefeat.Text = "BossDefeat"
- B_BossDefeat.TextColor3 = Color3.fromRGB(170, 0, 0)
- B_BossDefeat.TextScaled = true
- B_BossDefeat.TextSize = 14.000
- B_BossDefeat.TextWrapped = true
- B_BossDefeat.MouseButton1Down:connect(function()
- if game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.BossDefeat.Visible == false then
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.BossDefeat.Visible = true
- B_BossDefeat.TextColor3 = Color3.fromRGB(0, 170, 0)
- else
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.BossDefeat.Visible = false
- B_BossDefeat.TextColor3 = Color3.fromRGB(170, 0, 0)
- end
- end)
- B_Crafting.Name = "B_Crafting"
- B_Crafting.Parent = OpenGui_Menu
- B_Crafting.BackgroundColor3 = Color3.fromRGB(27, 42, 53)
- B_Crafting.BackgroundTransparency = 0.700
- B_Crafting.BorderColor3 = Color3.fromRGB(27, 42, 53)
- B_Crafting.Position = UDim2.new(0.0430069938, 0, 0.793831766, 0)
- B_Crafting.Size = UDim2.new(0, 130, 0, 20)
- B_Crafting.Font = Enum.Font.SourceSans
- B_Crafting.Text = "Crafting"
- B_Crafting.TextColor3 = Color3.fromRGB(170, 0, 0)
- B_Crafting.TextScaled = true
- B_Crafting.TextSize = 14.000
- B_Crafting.TextWrapped = true
- B_Crafting.MouseButton1Down:connect(function()
- if game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Crafting.Visible == false then
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Crafting.Visible = true
- B_Crafting.TextColor3 = Color3.fromRGB(0, 170, 0)
- else
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Crafting.Visible = false
- B_Crafting.TextColor3 = Color3.fromRGB(170, 0, 0)
- end
- end)
- B_Coins.Name = "B_Coins"
- B_Coins.Parent = OpenGui_Menu
- B_Coins.BackgroundColor3 = Color3.fromRGB(27, 42, 53)
- B_Coins.BackgroundTransparency = 0.700
- B_Coins.BorderColor3 = Color3.fromRGB(27, 42, 53)
- B_Coins.Position = UDim2.new(0.0430069938, 0, 0.593831778, 0)
- B_Coins.Size = UDim2.new(0, 130, 0, 20)
- B_Coins.Font = Enum.Font.SourceSans
- B_Coins.Text = "Coins"
- B_Coins.TextColor3 = Color3.fromRGB(170, 0, 0)
- B_Coins.TextScaled = true
- B_Coins.TextSize = 14.000
- B_Coins.TextWrapped = true
- B_Coins.MouseButton1Down:connect(function()
- if game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Coins.Visible == false then
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Coins.Visible = true
- B_Coins.TextColor3 = Color3.fromRGB(0, 170, 0)
- else
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Coins.Visible = false
- B_Coins.TextColor3 = Color3.fromRGB(170, 0, 0)
- end
- end)
- B_Stats.Name = "B_Stats"
- B_Stats.Parent = OpenGui_Menu
- B_Stats.BackgroundColor3 = Color3.fromRGB(27, 42, 53)
- B_Stats.BackgroundTransparency = 0.700
- B_Stats.BorderColor3 = Color3.fromRGB(27, 42, 53)
- B_Stats.Position = UDim2.new(0.0430069938, 0, 0.743831754, 0)
- B_Stats.Size = UDim2.new(0, 130, 0, 20)
- B_Stats.Font = Enum.Font.SourceSans
- B_Stats.Text = "Stats"
- B_Stats.TextColor3 = Color3.fromRGB(170, 0, 0)
- B_Stats.TextScaled = true
- B_Stats.TextSize = 14.000
- B_Stats.TextWrapped = true
- B_Stats.MouseButton1Down:connect(function()
- if game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Stats.Visible == false then
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Stats.Visible = true
- B_Stats.TextColor3 = Color3.fromRGB(0, 170, 0)
- else
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Stats.Visible = false
- B_Stats.TextColor3 = Color3.fromRGB(170, 0, 0)
- end
- end)
- B_Effect.Name = "B_Effect"
- B_Effect.Parent = OpenGui_Menu
- B_Effect.BackgroundColor3 = Color3.fromRGB(27, 42, 53)
- B_Effect.BackgroundTransparency = 0.700
- B_Effect.BorderColor3 = Color3.fromRGB(27, 42, 53)
- B_Effect.Position = UDim2.new(0.0430069938, 0, 0.543831766, 0)
- B_Effect.Size = UDim2.new(0, 130, 0, 20)
- B_Effect.Font = Enum.Font.SourceSans
- B_Effect.Text = "Effects"
- B_Effect.TextColor3 = Color3.fromRGB(170, 0, 0)
- B_Effect.TextScaled = true
- B_Effect.TextSize = 14.000
- B_Effect.TextWrapped = true
- B_Effect.MouseButton1Down:connect(function()
- if game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Effects.Visible == false then
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Effects.Visible = true
- B_Effect.TextColor3 = Color3.fromRGB(0, 170, 0)
- else
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Effects.Visible = false
- B_Effect.TextColor3 = Color3.fromRGB(170, 0, 0)
- end
- end)
- B_CoinPurchase.Name = "B_CoinPurchase"
- B_CoinPurchase.Parent = OpenGui_Menu
- B_CoinPurchase.BackgroundColor3 = Color3.fromRGB(27, 42, 53)
- B_CoinPurchase.BackgroundTransparency = 0.700
- B_CoinPurchase.BorderColor3 = Color3.fromRGB(27, 42, 53)
- B_CoinPurchase.Position = UDim2.new(0.0430069938, 0, 0.643831789, 0)
- B_CoinPurchase.Size = UDim2.new(0, 130, 0, 20)
- B_CoinPurchase.Font = Enum.Font.SourceSans
- B_CoinPurchase.Text = "CoinPuchase"
- B_CoinPurchase.TextColor3 = Color3.fromRGB(170, 0, 0)
- B_CoinPurchase.TextScaled = true
- B_CoinPurchase.TextSize = 14.000
- B_CoinPurchase.TextWrapped = true
- B_CoinPurchase.MouseButton1Down:connect(function()
- if game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.CoinPurchase.Visible == false then
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.CoinPurchase.Visible = true
- B_CoinPurchase.TextColor3 = Color3.fromRGB(0, 170, 0)
- else
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.CoinPurchase.Visible = false
- B_CoinPurchase.TextColor3 = Color3.fromRGB(170, 0, 0)
- end
- end)
- B_Potions.Name = "B_Potions"
- B_Potions.Parent = OpenGui_Menu
- B_Potions.BackgroundColor3 = Color3.fromRGB(27, 42, 53)
- B_Potions.BackgroundTransparency = 0.700
- B_Potions.BorderColor3 = Color3.fromRGB(27, 42, 53)
- B_Potions.Position = UDim2.new(0.0430069938, 0, 0.693831801, 0)
- B_Potions.Size = UDim2.new(0, 130, 0, 20)
- B_Potions.Font = Enum.Font.SourceSans
- B_Potions.Text = "Potions"
- B_Potions.TextColor3 = Color3.fromRGB(170, 0, 0)
- B_Potions.TextScaled = true
- B_Potions.TextSize = 14.000
- B_Potions.TextWrapped = true
- B_Potions.MouseButton1Down:connect(function()
- if game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Potions.Visible == false then
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Potions.Visible = true
- B_Potions.TextColor3 = Color3.fromRGB(0, 170, 0)
- else
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Potions.Visible = false
- B_Potions.TextColor3 = Color3.fromRGB(170, 0, 0)
- end
- end)
- B_PrizeWheel.Name = "B_PrizeWheel"
- B_PrizeWheel.Parent = OpenGui_Menu
- B_PrizeWheel.BackgroundColor3 = Color3.fromRGB(27, 42, 53)
- B_PrizeWheel.BackgroundTransparency = 0.700
- B_PrizeWheel.BorderColor3 = Color3.fromRGB(27, 42, 53)
- B_PrizeWheel.Position = UDim2.new(0.0430069938, 0, 0.843831778, 0)
- B_PrizeWheel.Size = UDim2.new(0, 130, 0, 20)
- B_PrizeWheel.Font = Enum.Font.SourceSans
- B_PrizeWheel.Text = "PrizeWheel"
- B_PrizeWheel.TextColor3 = Color3.fromRGB(170, 0, 0)
- B_PrizeWheel.TextScaled = true
- B_PrizeWheel.TextSize = 14.000
- B_PrizeWheel.TextWrapped = true
- B_PrizeWheel.MouseButton1Down:connect(function()
- if game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.PrizeWheel.Visible == false then
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.PrizeWheel.Visible = true
- B_PrizeWheel.TextColor3 = Color3.fromRGB(0, 170, 0)
- else
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.PrizeWheel.Visible = false
- B_PrizeWheel.TextColor3 = Color3.fromRGB(170, 0, 0)
- end
- end)
- B_Sell.Name = "B_Sell"
- B_Sell.Parent = OpenGui_Menu
- B_Sell.BackgroundColor3 = Color3.fromRGB(27, 42, 53)
- B_Sell.BackgroundTransparency = 0.700
- B_Sell.BorderColor3 = Color3.fromRGB(27, 42, 53)
- B_Sell.Position = UDim2.new(0.0430069938, 0, 0.893831789, 0)
- B_Sell.Size = UDim2.new(0, 130, 0, 20)
- B_Sell.Font = Enum.Font.SourceSans
- B_Sell.Text = "Sell"
- B_Sell.TextColor3 = Color3.fromRGB(170, 0, 0)
- B_Sell.TextScaled = true
- B_Sell.TextSize = 14.000
- B_Sell.TextWrapped = true
- B_Sell.MouseButton1Down:connect(function()
- if game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Sell.Visible == false then
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Sell.Visible = true
- B_Sell.TextColor3 = Color3.fromRGB(0, 170, 0)
- else
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Sell.Visible = false
- B_Sell.TextColor3 = Color3.fromRGB(170, 0, 0)
- end
- end)
- B_Bank.Name = "B_Bank"
- B_Bank.Parent = OpenGui_Menu
- B_Bank.BackgroundColor3 = Color3.fromRGB(27, 42, 53)
- B_Bank.BackgroundTransparency = 0.700
- B_Bank.BorderColor3 = Color3.fromRGB(27, 42, 53)
- B_Bank.Position = UDim2.new(0.0430069938, 0, 0.943831801, 0)
- B_Bank.Size = UDim2.new(0, 130, 0, 20)
- B_Bank.Font = Enum.Font.SourceSans
- B_Bank.Text = "Bank"
- B_Bank.TextColor3 = Color3.fromRGB(170, 0, 0)
- B_Bank.TextScaled = true
- B_Bank.TextSize = 14.000
- B_Bank.TextWrapped = true
- B_Bank.MouseButton1Down:connect(function()
- if game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Bank.Visible == false then
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Bank.Visible = true
- B_Bank.TextColor3 = Color3.fromRGB(0, 170, 0)
- else
- game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainFrame.Pages.Bank.Visible = false
- B_Bank.TextColor3 = Color3.fromRGB(170, 0, 0)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement