Hey Guys I need a way to save memory

I’m making a loot box mechanic where there is 10 solutions. It goes all the way to 10. So I started to build my piece and it has alot of memory. Each solution contains 5 triggers and 2 popups. And the pop-up has block code in it.



Is there a way I can save memory?

You could do something like this:

set Number Possibility to random integer from 1 to 5

If Number Possibility <= 5
do Broadcast Message On Channel “Time_Container2for Container 1”

For the second code you showed.

1 Like

This post by Toothless shows you how to condense this code into something more manageable.

Try this for this:

Broadcast Message On Channel: Create Text With: "ContainerBox"
                                                random integer from 1 to 10

And for this:


Broadcast Message On Channel: Create Text With: "Time_Container"
                                                Random Integer From 1 to 5
                                                "For Container 1"

Bro @Gaming-Phoenix how r u so fast :sob:

1 Like

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.