#I want to make a round system in my game, will it be hard?

1 messages · Page 1 of 1 (latest)

south abyss
#

I'm making a game with a friend and i want to implement a system that chooses a map randomly every 10 minutes with a text gui that says time left, intermission etc. I am pretty new to scripting and i wanted some advice and wanted to know how long would it take. By the way I should do it with a remote event since there is a screen gui right?

blissful mason
#

Yeah it will be hard if you are new

south abyss
#

ok

blissful mason
#

You will need to learn some things

#

Before making it

south abyss
#

like what

#

i learned the basics and some more but idk if its enough

lusty mirageBOT
#

studio** You are now Level 1! **studio

blissful mason
#

Module scripts, server and client, remote events, coroutine

#

Probably those

#

Loops too

south abyss
#

i dont rly know about module scripts and coroutines

#

well ty

blissful mason
#

No problem

south abyss
#

i will try learning those

blissful mason
#

Good luck

south abyss
#

ty

fleet widget
blissful mason
wooden walrus
#

And you don't really need a remote event

#

Just add an item, an int value, in replicatedstorage called timer. And make a local script update a tedtlabel inside the gui according to the value of the timer. And whenever the timer updates (whenever timer.value.changed) make the label update

blissful mason
#

And coroutines are easy asf

#

If you want to control the timer and shit

wooden walrus
south abyss
#

wait so can i do everything with coroutines and a local script for the timer? I searched a tutorial for coroutines and they seem pretty simple

#

Could i just make a model for each map in the workspace that i place in a folder, make a loop for all the maps then when the timer hits 0 it selects a random one, i clone it, teleport it and destroy the map that was here before?

#

@wooden walrus pls help

south abyss
#

by the way how do I display the time in minutes instead of seconds like this: 10:00 instead of this: 600

wooden walrus
#

There was a way

#

I forgot

#

I'll search it in a sec

solid snow
#

You can see an Example here in this image of a way to do it.

#

You'll need to change the times to fit your needs of length on time.

#

This is a demo. your setup on Variables and Naming Conventions will need to be setup properly according to your experience.

south abyss
#

Oh thx