Still have questions? Join our Discord server and get real time help.
0

# How do I spawn an image of the player for every player in the game?

Edited 4 days ago

When a player joins, I'm trying to get it to spawn an image of every other player but I can't get it to work. Why? This is what I'm doing.

game.Players.PlayerAdded:Connect(function(plr)
game.ReplicatedStorage.Events.PlayerJoined:FireAllClients(plr)
for i, v in pairs(game.Players:GetChildren()) do
if v.userId ~= plr.userId then
local plrImage = Instance.new("ImageLabel")
plrImage.Name = plr.Name