so say I have a randomizer randomizing positions for a race
how would I get it so that Racer 1 doesn’t finish in two different positions
like if I have 5 racers
I don’t want racer 1 to finish in 1st and 3rd
So are the racers npcs or real people? and also can you explain what positions part means @Kormorant?
could you please explain what youre trying to do in more detail please?
im a bit confuzzled; based off what you’ve provided so far–
couldnt you just give all the racers a random number once and lock out the numbers that’ve already been chosen?
no, because it’s with odds. like one racer has a 3/8 chance of getting first. they all need to coordinate so that there are no dupes
cant you still lock out the positions already taken though?
or am i missing something?
im gonna test out the locking thing rq because idk if its possible
not that I know of. to make the odds plus the position takes 65 blocks out of 75 in just one trigger. so what i’m looking for is how to make it so that no positions are repeated – basically how do I lock out positions
nothing is ever impossible ![]()
my theory that i havent tested is that when a postiton is taken
oh noes wait it uses lists uahhhh
lemme think for a moment and find a different way (or find its impossible)
update 1
my code is held together by my hopes and dreams that’ve already shattered into pockets of nothing
update 2
im getting close (maybe)
btw 59 blocks for just two positions so far ;-;
update 3
my code was built with used tape and splintered wood
i rushed in with no plan so i’ll try again tomorrow
Can’t you use a trigger that is deactivated when triggered to give someone a place? Then let’s say the system runs through the rng and gets that same response, it would then run it until the system gets a different response from a timer within .5 seconds.
Рrоѕ and cons of this system
Рrоѕ of using this system
- Less time consuming when it comes to building
- Easier to understand
- Saves memory (most likely)
Cons of using this system
- More time consuming in game
- Not as efficient
Would you like me to elaborate in how to make it? And explaining it even more?
Sure, I’m actually done. I’m testing the system out and seeing if I can compress anything to minimize memory costs.
I just realized… you may be right. It would only require 5 triggers, and you wouldn’t need an extra system. What I have right now is something that randomizes the positions, so that I get 5 random places. But, I am using 25 properties right now, and I don’t have any way to make sure there are no repeats. Is it possible to make something off what I have, or should I redo it?
If possible, could you try to make this system for me?
@cheezesRcool pls explain ur system
Does anyone else have any ideas bc crc and seamless are offline rn
I need 5 positions so thanks for trying
what im trying to do is
to use ‘positionsTaken’ as a list
the first digit is pos1 and the second digit is pos2
0 is not taken and 1 is taken
so by finding the position of the 1
i’ll hopefully be able to find what places have been taken (realizing just now that it only checks for 1 1 when it should check for 2 1s)
when positionsTaken is equal to 11, then that means both places have been taken
so it resets
basically if positionsTaken is 1 (01)
that means pos2 is taken and thus if the rng lands on pos2
it’ll reset the randomization until it gets a different position
same thing with pos1
how i do this is to find the position of one so its a number instead of text (it should probably happen near the beginning of the code so that it can actually be used but then that causes an error)
ignore the positions3&4 because i didnt want to make that
tbh seamless moon is just making a better version of what im trying to do
for positions 3 4 and 5 it would be the same exact code
When you’re done, just let me know! Thank you for doing this for me. (I will credit you when I use it).
I do have an idea as to how you might accomplish this that doesn’t seem to have been brought up yet.
You’d start by having a relay broadcasting as all racing players channel to a trigger when the race starts. Essentially, each time a racer’s position is chosen, it adds the number of their position to a text property. Before it confirms a racer’s position, it attempts to find the first occurence of the random number generated for said racer in the text property. If it doesn’t find it, [1] the system selects the racer normally. However, if it does, it simply loops the block without doing anything.
The only problems with this are that there is a potentially for this to loop a ton of times, and that if you have 2 digits in a racing position it’ll break. However, the whole system is fairly simple, and can be done with a single trigger block and property.
Does this make any sense, or should I build a prototype? [2]
*sigh*
Since you’re so polite, I’ll build a prototype for you as soon as I get the opportunity.
I’m only looking for five positions – so it shouldn’t be too difficult. Prototype pwease?
![]()
Alrighty. Here ya go.
This block goes in pretty much any block you can have run when recieving on a channel. select_positions is the channel the relay I mentioned up here broadcasts on, and it is also the channel this block receives on.
Joe is an empty, globally scoped, text property. If you can start more than one race per server, Joe should be reset some time between after the race has been set up and before the next race begins to set up.
It should broadcast on positionX for each player, X being the number of the position assigned to the player.
I haven’t tested it at all, but if you’ve set everything up as I’ve described, it should work! Let me know if you need anything!
So, I see you’ve created this. However, does it have a chance of like 1 out of 3 of a guy finishing first, 1 out of 2 for second, etc., etc.?
does it also check for repeating positions, making sure there are no repeats?
Yes. It should.
Edit
Yes. It should.
Alright, my method is very simple and tbh its kinda dum but it works…
(All this block code also hurts my head)
You could make a small lobby behind the start positions where players can choose their position and it is locked once a player chooses it.
There would also be 15 triggers with 3 at the end of each position’s race area (like a like). The frontmost trigger would then set a property called “First Place” to the players name, all the front triggers in all positions are deactivates once one person touches one.
The second and third triggers at the end of the race would make the properties “Second Place” and “Third Place” the players name and also deactivate once a player touches one.
To prevent a player who gets first from activating all the triggers they are teleported to a finish room the moment they touch the trigger. Inside the finish room would be 3 text devices that set their text to the properties “First Place” “Second Place” and “Third Place”.
Note - If you wanted to make it form 1st to 5th you could just all more triggers for a total of 25 and 2 extra text devices.
how about using a prop that you can’t cross over?
Sorry kormo, there seems to be a bug in the system i made and I’m trying to fix it.

