#i have some problems with my game im not smart enough to figure out how to fix them
1 messages · Page 1 of 1 (latest)
whats the problem
i have a script with the lifting thing where it plays a sound every time i lift but the sound spamming and i cant figure out how to put the "wait(1)" thing like
wait
heres the script
just do something like
local debounce = false
if debounce = false then
debounce = true
-- do stuff
wait(1)
debounce = false
end
and the second problem is that i have a sell button on the screen that opens a frame where u can sell but it cant open it anymore idk wheres the issue
** You are now Level 4! **
where code
mmh wait im sending it
ngl i asked the AI thing on roblox it worked but it aint working anymore just wait a sec
its not working
any errors?
why
a scope up
oh
==
bruh ill just write it
local debounce = false
tool.Activated:Connect(function()
if debounce == false then
debounce = true
sound:Play()
wait(1)
debounce = false
end
end)
wait local script or normal bc someone told me i have to do with a normal one
why did you delete the variables bruh
bruh
that crazy ngl
you put that in the way wrong spot
fr?
send code
bro

whats not working about it
idk i still can spam
send code
nah give up it aint working
