#is there a way for this not work 100% of the time

1 messages · Page 1 of 1 (latest)

flint trail
#

Made a custom double coins skript when u have a certain permission
It works half the time how to make it work 100% of the time

every 2 ticks:
loop all players:
if loop-player has permission "multiplyer1.eco":
set {_tick1} to loop-player's money
wait 1 tick
if loop-player's money is greater than {_tick1}:
set {_tick2} to loop-player's money
set {_currentmoney} to {_tick2} - {_tick1}
add {_currentmoney} to loop-player's money
send "Your VIP Rank made you drop double coins!" to loop-player

low chasmBOT
#

:technologist: Code Blocks

To make it easier for others to read your code, it is asked that you send it in a code block. On Discord, you can simply send this:

```
Code here
```

coral fable
#

U just want it to double their money every 2 ticks or what u doing 😭

flint trail
#

i fixed it

meager hatch
#

ew ew ew

#

no this is wrong

#

for the love of god don't do this

#

make a custom function to add coins to player's balance and then manage it inside there

flint trail
#

hahahahahaha

lusty oxide
#

try to avoid these loops