Block Code Help: Christmas Event

Hey there! Let’s get straight into it. So I was making a Christmas Event for my Don’t press the button map. And I was thinking, what if I used a, get this, Pseudo-Item. I decided on Reindeer, So I had a lifecycle transmitting on “CountedReindeer”. And I then went into the blocks of the overlay that would activate when receiving on “CountedReindeer”. And I need help
This is what I have so far:
Screenshot 2023-12-08 16.09.20
(the zero is how many “Reindeer” the player starts with)

I’m not a good block coder, so I need help!

I’m confused what you’re asking

I am not good at code, but @getrithekd @Haiasi and @CassiusDoomlorde might be able to help you.


I’m also confused? Does it have anything to do with randomizers? if so I might be able to help…if not probably won’t be able to but I can try.

It’s hard for me to explain further, as I kinda explained it as best as i could…

Well, I need help when the player finds a reindeer. That’s what the “If” is for. That’s wha I really need…

1 Like

No, I already have that.

Like player finds reindeer it updates counter that updates on a property that updates players score?

The problem is that variables don’t save each time you use the blockchain ck. So you’ll need a counter editing a property.

1 Like

What do you want to happen when they find a reindeer?
If it’s simple you can just put a zone within the reindeer’s prop range but if you want to do something a little more advanced I’d suggest using blockcode

You need the finding a reindeer part to increment the counter.

1 Like

So let’s say a player picks up a reindeer, I want the game overlay to, "Sense’’ that and increment by 1, once it reaches 10. Something will happen.

1 Like

Are you using a button to have the player find the reindeer?

so have when reindeer picked up (button) it updates counter with target of 10 then broadcasts to activate the something. would this work then?


so does my post answer your question? or do you need it to work another way?

Make the button increment the counter.

The thing is, There isn’t an icon for a reindeer, that’s why I was using text to say “Reindeer”.

If that isn’t possible, i’ll use the counters…

Are you using an item for a reindeer?
If so, you can make a player-item detector using a Lifecycle, Repeater and Checker.

(Lifecycle) Event Occurs —> (Repeater) Start Repeater

(Repeater) Repeater Runs Task —> (Checker) Run Check

Now, connect the Checker to a Counter-Linked property.

(Checker) Check Passes —> (Counter) Increment Counter

Now, connect the Checker to a Trigger with these wires and blockcode:

(Checker) Check Passes —> (Trigger) Trigger


if Get Property “reindeercount” = #
do Broadcast Message On Channel “something”

else if Get Property “reindeercount” = #
do Broadcast Message On Channel “something

Repeat else if do’s part if you want more things to happen when a player gets a reindeer

1 Like