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
would be appreciated!
Difficulty
1/10
2/10
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10
6 Likes
Where’s the proof it works?
4 Likes
I can’t post videos so here it is:)
Ik you were joking btw
2 Likes
hokay, but why is there a “,?”
2 Likes
The blocks do that bc it puts a comma before every single one. I am trying to figure out how to do that.
2 Likes
I figured it out! I’ve edited the guide to show how to do the 1st person’s name without a comma.
3 Likes
Works just as well without the “,”
Kosm0-o
August 25, 2024, 12:13am
12
you can use less blocks than that. your thing is redundant…
no offense or anything
The comma was just so annoying though:(
Sorry, I just had to. back on topic.
3 Likes
Kosm0-o
August 25, 2024, 12:20am
16
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
sorry sorry i’ll stop now.
3 Likes
Thank you, it works AMAZINGLY well! I updated the guide with this code and credits:)
3 Likes