--Dont edit anything unless if you know what you are doing.


local button = script.Parent
local pageLayout = script.Parent.Parent.Parent.Parent.Pages.UIPageLayout

local function leftClick()
	pageLayout:JumpTo(script.Parent.Parent.Parent.Parent.Pages.Shop)
	script.Parent.Parent.Bottom.BackgroundTransparency = 0
	script.Parent.Parent.Sfx:Play()
	script.Parent.Parent.Parent.Home.Bottom.BackgroundTransparency = 1
	script.Parent.Parent.Parent.Settings.Bottom.BackgroundTransparency = 1
	script.Parent.Parent.Parent.Credits.Bottom.BackgroundTransparency = 1
end

button.MouseButton1Click:Connect(leftClick)
