Is it possible to make a TextButton not "clickable" so that the user cant just keep clicking it and the function doesn't run?
You can use a debounce or change the Active property of the textbutton to false.
Example of debounce for clicking:
1
local
clicked
=
false
2
3
button.MouseButton
Down:connect(
function
()
4
if
not
then
5
true
6
-- rest of the code
7
8
end
9
)