local y=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()y:Play()end)script.Parent.MouseLeave:Connect(function()y.Playing=false end)
-- 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)
