local y=script.Parent.Parent.Frame y.Visible=false script.Parent.MouseButton1Click:Connect(function()if y.Visible==false then y.Visible=true else y.Visible=false end end)
--this script is made by Joriangames/Problox Studio Scripts. Watch my video to understand
--everything. Here is the link: https://www.youtube.com/watch?v=XVwYgTLlrkM&lc=UgwxXH2R5pq3cY565Xx4AaABAg
--Make sure that this script is a normal script in the TextButton!
local frame = script.Parent.Parent.Frame
frame.Visible = false
script.Parent.MouseButton1Click:Connect(function()
	if frame.Visible == false then
		frame.Visible = true
	else
		frame.Visible = false
	end
end)
