I’m trying to create a little intro gui where once you enter the game, you have to click the textbutton 3 times in order to get into the game / remove the intro gui from your screen. How would i do this?
you could just use a variable such as
numberOfTimes and when the player clicks it, you can do
numberOfTimes = numberOfTimes + 1
local numberOfTimes = 0 local button = -- where the button is button.MouseButton1Click:Connect(function() numberOfTimes = numberOfTimes + 1 end)
local Button = ... local Clicks = 0 Button.MouseButton1Click:Connect(function() Clicks += 1 if Clicks >= 3 then ... end end)