Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

[FE] Local script player list not working?

I have a FE game and when a player joins it adds a gui to a frame with UIListLayout. But when the function is called it does nothing.

Code:

game.Players.PlayerAdded:Connect(function(plr)
	print(" has entered")
	local temp = script.Parent.Parent.Parent.Templates.PlayerTemp:Clone()
		temp.Name = plr.Name
		temp.Text = plr.Name
		temp.Parent = script.Parent
		
end)

Local Script inside a frame

1 answer

It should be a ServerScript not a LocalScript.

1 comment

0

It doesnt matter now I changed it to clicking on a player to bring up a gui

This discussion is preserved as it was. New answers, comments, and votes are closed.