Is it possible to create a mining-level system where each time you mine a different stone, it gives you a Certent Amount of EXP depending on the type of ore/stone? Here’s a post:
Alright. So! Here’s what you’ll need.
2 Lifecycles
2 Repeaters ( YES I KNOW Repeaters are Cliche I DONT CARE)
2 Triggers
2 Properties
1 Game Overlay
OPTIONAL (But Useful): 1 Notification OR Popup (whichever one)
Step 1. Create a number property (player scope as usual) and name it EXP. Have it set to 0. When the value is changed, it’ll transmit on “EXP_Counter.” ( I like having words with underscores, it’s an OCD thing)
Step 2. Grab one of the repeaters set it to repeat every 0.5 seconds and have it never end. (via ending on a transmit channel thingy and never set what channel it’ll end on) Then, wire one of the lifecycles (don’t change it) to the repeater. Event Occurs-----Start Repeater.
Step 3. Wire that very same repeater to a trigger. Repeater Runs Task-----Trigger. Copy this block code. (But Landyn, You Don’t Even NEED Those Variables! YES, I KNOW ITS OCD:rofl:)
Step 4. Grab the OTHER repeater (or trigger if you’re a stickler idc) and have it set to the same thing as the other repeater, BUT! have it transmit on Show_XP. Wire the other lifecycle to the repeater. Event Occurs----(You’ll Never Guess) Start Repeater.
Step 5. Grab that Game Overlay and let’s do some block code. When Receiving On Channel: Show_XP.
Step 6. Grab that second Number Property and name it Level. Have it be Player Scope and Set the Default Value to 1.
Step 7. Grab that last trigger and have it receive on whatever will be the signal channel to gain XP. Copy this block code.
OPTIONAL: You can have that popup/notification notify you when you Level Up.
And You’re Done! I hope this makes sense!
Epi320
December 10, 2024, 12:57pm
2
Sorry, but there is no way for people to detect what block you mined.
at least I don’t think so
Epi320
December 10, 2024, 12:57pm
3
wait this is 2 months ago…
you would have to make quesdo blocks