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

My coin clicked script isn't working, what have I done wrong?

This script is supposed to award 1 coin per every click, but it's not functioning, what have I done wrong?

link to code Thank you for helping, Fersist

1 comment

0

How are we supposed to solve the problem if we don't have the server script?

1 answer

✓ Accepted answer

I read the script and noticed that your RemoteEvents.CoinClicked dosen't exactly work all of the time instead you should use a script like this:

  tool.Activated:Connect(function()

  if Player.leaderstats.HiddenValues.CurrentValue.Value < Player.leaderstats.Storage.Value then

  if Debounce == false then

  Debounce = true

  Coin.MouseClick:connect(function()
   --Code here
   end)

  wait()

  Debounce = false

  end

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