0

how to make a hide and go seek game with the timer and player chooser?

I don't know how to add a timer in this game I am making a hide and go seek game but I don't know how to make a random player chooser and a timer of when they get released to find the other players.

0
Be more specific. Can you edit your post and say everything you have so far? dylindude 64 — 3d
0
yeah xxaxxaz 38 — 3d

2
Edited 2 days ago

you could add a screen gui to the starter gui and edit it to whatever u want, then add a text label to that screen gui and then add this local script to the screen gui. This will only help with the timer, give me time as a think of a solution for the others.

local gui =  script.Parent
local text = script.Parent.TextLabel

while true do
wait(1) --change ONLY this number to how long 1 game will last, in seconds
gui.Enabled = true
text.Text = 1
wait(1)
text.Text = 2
wait (1)
text.Text = 3
wait(1)
text.Text = 4
wait(1)
text.Text = 5
wait(1)
text.Text = 6
wait(1)
text.Text = 7
wait (1)
text.Text = 8
wait(1)
text.Text = 9
wait(1)
text.Text = 10
gui.Enabled = false

end


this SHOULD create a 10 second timer on someone screens, I have not tested it myself, and this will certainly not be good since its not linked to the rest of the game if it doesnt work remember im still a novice scripter. lmk in the comments

1
Def not gonna work, clients will have different time Cirillix 68 — 3d
0
not really sure what is the purpose of timer variable, oh by the way there's still a lot to improve so good luck, also use loops for timer Xapelize 1835 — 3d
0
i have upvoted your post, good luck on scripting Xapelize 1835 — 3d
1
by the way you can index TextLabel directly, not use GetChildren, GetChildren returns table, just do script.Parent.TextLabel Xapelize 1835 — 3d