I have never experienced controling a multiplayer. I just worked on single player. But I want to make a hide and seek game now. So This is my code (It is not finished) and I wanted to ask you guys some tips and where to put my script in...
local HideT = game.StarterGui.ScreenGui.HiderT
local Seeker = game.StarterGui.ScreenGui.SeekerT
local player = game.Players.LocalPlayer
while true do
numP = math.random(0, 1)
if numP == 0 then
player = 0
HideT.Visible = true
else
player = 1
Seeker.Visible = true
end
print(numP)
print(player)
wait(1)
end
So here I have a script to make a random decision who will be the seeker. But I am pretty sure that this will only control one person and I want to change this so that I can have 1 seeker and 8 hider. Can someone change this so that it will do that. This is on server script service

1 comment
I am confused, why are you setting the player to 1 or 0???? that would break your game