How to make a list of who has pressed a button! [🟨]

How to make a list of who has pressed a button!

This guide is for @BMW23.


What We Will Learn

Hello! Today I will show you how to make a list of who has pressed a button and how many people have pressed it.


Materials Needed

  • 2x Property
  • 1x Trigger
  • 1x Button
  • 2x Text

Instructions

Step 1:

Lay 2 properties down, 1 being a text property and another being a number property.


Step 2:

Place a button and a trigger.
The button receives and transmits on end when pressed.
Wire them together. (Button Pressed → Trigger)
Open trigger blocks and put the following blocks:


Credits to @Kosm0-o for these blocks.


Step 3

Place two texts and put the following blocks on wire pulse:


Then wire the trigger to the texts
You are now done!
Thank you so much for reading
A :heart: would be appreciated!

Difficulty
  • 1/10
  • 2/10
  • 3/10
  • 4/10
  • 5/10
  • 6/10
  • 7/10
  • 8/10
  • 9/10
  • 10/10
0 voters
8 Likes

Where’s the proof it works?

5 Likes

ah i’m just kidding.

3 Likes

Nice guide.

3 Likes


I can’t post videos so here it is:)
Ik you were joking btw

3 Likes

hokay, but why is there a “,?”

3 Likes

Wow! That looks cool!

3 Likes

The blocks do that bc it puts a comma before every single one. I am trying to figure out how to do that.

3 Likes

okay.

3 Likes

I figured it out! I’ve edited the guide to show how to do the 1st person’s name without a comma.

4 Likes

Works just as well without the “,”
Screenshot 2024-08-24 19.12.27

you can use less blocks than that. your thing is redundant…
no offense or anything

The comma was just so annoying though:(

1 Like

KosmO-o rn be like:
ok, but i have a fork | Fandom

6 Likes

Sorry, I just had to. back on topic.

3 Likes

make a variable (i’ll just name it [var] )
blocks:

set propVar to get property numplayervote

if propVar > 0 then
set [var] to ", "
else
set [var] to ""
end

set property playerVote
value create text with get property playerVote
[var]
triggering player's name
end

set property numplayervote 
value propVar + 1

i was lazy so further explanation is here if needed

3 Likes

This topic has me asking: what are the uses?
Maybe who pressed it the most, who pressed first, OH!
Good trivia mechanic right there

Also how many memes are gonna be posted on these forums? (Off-topic ik but I want to know)

3 Likes

AS MANY AS I WANT
I keep seeing this angry cat meme, does ...

3 Likes

sorry sorry i’ll stop now.

3 Likes

Thank you, it works AMAZINGLY well! I updated the guide with this code and credits:)

4 Likes