local s=script.Parent local m=script.Parent.Parent:WaitForChild("\070\114\097\109\101")local h=false s.MouseButton1Up:Connect(function()script.Parent.ClickSound:Play()if h==false then h=true m.Visible=true script.Parent.Text="\067\076\079\083\069"elseif h==true then h=false m.Visible=false script.Parent.Text="\067\082\069\068\073\084\083"end end)


local button = script.Parent
local frame = script.Parent.Parent:WaitForChild("Frame")
local debounce = false

button.MouseButton1Up:Connect(function()
	
	script.Parent.ClickSound:Play()
	
	if debounce == false then
		debounce = true
		
		frame.Visible = true
		script.Parent.Text = "CLOSE"
		
	elseif debounce == true then
		debounce = false
		
		frame.Visible = false
		script.Parent.Text = "CREDITS"
		
	end
end)

