local t=script.Parent local f=script.Parent.Parent.Parent.Parent.Pages.UIPageLayout local function h()f: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 t.MouseButton1Click:Connect(h)


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)
