Discuss Scratch

c88lkid
Scratcher
5 posts

Please help :P

I need help with I admin abuse thing for my scratch game that everyone can see kinda like sab and gag
asphalt10underground
Scratcher
100+ posts

Please help :P

Have a cloud variable which triggers when you’re setting it to a certain number, and when that happens, have an event to it.

Like
when green flag clicked
wait until <(☁ event) = [1]>
Your code

Last edited by asphalt10underground (Dec. 6, 2025 07:57:56)

c88lkid
Scratcher
5 posts

Please help :P

Can you tell me a game or a better way is in a actual script pls
c88lkid
Scratcher
5 posts

Please help :P

Can you be more precise with whwt I need to do
asphalt10underground
Scratcher
100+ posts

Please help :P

c88lkid wrote:

Can you be more precise with whwt I need to do
Well, the when flag clicked, wait till event will be the same, and then whatever you want the event to be really, like you can have it to give cash in your game using

when green flag clicked
wait until <(☁ event) = [1]>
repeat until <not <(☁ event) = [1]>>
wait (1) secs
change [cash v] by (10)
end

You might have noticed how we never really define the event variable.

This is because you’d want to manually set it inside your project when you want to host the event.

The above code is just an example, and you could have whatever code you desire..


Just a note point before hand is that all this code must be pre-scripted and the only thing you’re changing manually is the variable, else the event does work for everyone.

Why I previously just left it with “your code” is because the marvel of admin abuse especially in sab and gag is how unpredictable it is. Hope this is a much more detailed explanation.

Also I kept event = 1 and not true since cloud variables can only be numbers and not letters

Powered by DjangoBB