Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How would i make a gui popup for a random player in a table?

Asked by
CyzDev 26
4 years ago
Edited 4 years ago

So I want to have a GUI popup for a random player in my table

table.insert(playersPlaying,player.UserId)

local theChosenOne = playersPlaying[math.random(1,#playersPlaying)]

theChosenOne.PlayerGui.Role.Main.RoleDisplay.Text = "Psychic"

How would I manage this? Any help is appreciated.

Answer this question