local Z=script.Parent local y=script.Parent.Parent:WaitForChild("\070\114\097\109\101")local F=false Z.MouseButton1Up:Connect(function()script.Parent.ClickSound:Play()if F==false then F=true y.Visible=true script.Parent.Text="\067\076\079\083\069"elseif F==true then F=false y.Visible=false script.Parent.Text="\067\082\069\068\073\084\083"end end)
----------SCRIPTED BY ZEDARKALIEN----------

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)
