Hello Everyone! I have encountered a problem when trying to enhance mobile support for my game. When I click a image button inside of a billboard gui, it receives multiple clicks. Why does this happen and how can I stop it?
Add a debounce variable as a cooldown between clicks
local lol = 0
local your_debounce_time = 2
-- your event here
script.Parent.MouseButton1Down:Connect(function()
if tick() - lol < your_debounce_time then return end
end)