-- MAIN --

local Sound = script.Parent.Parent.ButtonSound

script.Parent.MouseButton1Click:Connect(function()
	script.Parent.Parent.TestFrame.Visible = true
	script.Parent.Parent.TestFrame.BackButton.Visible = true
	script.Parent.Visible = false
	script.Parent.Parent.PlayButton = false
end)
	
script.Parent.MouseEnter:Connect(function()
	Sound:Play()
end)

script.Parent.MouseLeave:Connect(function()
	Sound.Playing = false	
end)
