Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

My shop UI local script does not work as I want it to, what should I change?

1 answer

mosski123 is right adding a debounce will fix your problem

in the mousebutton 1 down

local x = false
if x == false
--purchase item
x = true
end
-- if you want them to buy it again later just set it back to false

This discussion is preserved as it was. New answers, comments, and votes are closed.