Hello nice people. I make a little game and made a little menu. Wenn someone clicks on the “icon” (I add in the future a icon) then a little menu appear. Is there a option if the player clicks a second time on it. The Menu dissapear?
I uploadet a little video on youtube, with my little game I made.
Sorry for my english. I am from Austria
nice regards
sebastian
local var = false
local button = ...
button.MouseButton1Click:Connect(function()
if var then
var = false
-- hide gui
else
var = true
-- show gui
end
end)