Hey all - hoping someone can help me with a quick modification of a script I found. I am wanting to use it as part of my holiday content but I need to install a delay timer that will prevent players from spamming the barrel. I'd like there to be a 15 second delay between uses. The timer that is in the script already has to do with how long they will be performing the action. This is not my script, I found it somewhere and just want to modify it for my own uses.

I really don't know much of anything about timers so please be specific if you're willing to help out.

Thanks
 

Attachments

  • applebobbingbarrel.cs
    4.1 KB · Views: 6
Used a dictionary of mobile and datetime to add use timer. 15 seconds from double click.
 

Attachments

  • applebobbingbarrel.cs
    4.5 KB · Views: 38

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back