#Spinning words

1 messages · Page 1 of 1 (latest)

ripe mural
#

hi im here trying to make a script that spins all words in my table and 2 - 4 seconds it will stop at and it will loop trough my table and idk how to script that

ripe mural
#

@lusty glacier

#

I meant like as example you have a gui right and you have a table full of words

#

And the words one by one they sort of spin Yk? Just like in mm2. That gui that spins roles? Kind of like that

glad treeBOT
#

studio** You are now Level 11! **studio

ripe mural
#

I have a table full of words and then the gui spins trough every one of them just randomly from 2 to 4 seconds it stops so it goes trough every word and then in between 2 and 4 seconds it will stop

shy cliff
lusty glacier
# ripe mural And the words one by one they sort of spin Yk? Just like in mm2. That gui that s...

Create a shared array of the game's roles using a ModuleScript in ReplicatedStorage. Using math.random, select a random index from 1-#roles. You may find it more convenient to read the role string over the index from the server, which you can easily get by indexing the roles array with the randomly generated index. You could also use enumerations, but that's less explicit. Send the index to the client, and have them start iterating the length of the array from that index X number of times. Display the roles over this time period until X iterations have completed

#

You'll end up on the selected role automatically

#

This approach would allow users to know their role based off of the first role to appear in the cycle, though