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?
#I want to make a round system in my game, will it be hard?
1 messages · Page 1 of 1 (latest)
Yeah it will be hard if you are new
ok
** You are now Level 1! **
Module scripts, server and client, remote events, coroutine
Probably those
Loops too
No problem
i will try learning those
Good luck
ty
OMG SAME PFP!?!??!?!
Lmao
Bro don't kill the guy. He doesn't need modules nor coroutines
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
I'm just saying what most of round based games do
And coroutines are easy asf
If you want to control the timer and shit
True
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
by the way how do I display the time in minutes instead of seconds like this: 10:00 instead of this: 600
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.
Oh thx