So, I made this and.... I tryed looking on the wiki about this stuff and still couldn't fix this please help me?
wait(0.1)
function Update()
local children = game.Players:GetChildren()
local PlayerName = script.Parent.Parent.Name
for i = 1, #children do
local plr = (i, children[i].PlayerGui.Players:WaitForChild(PlayerName))
plr.Position = script.Parent.Position
end
end
script.Parent.Changed:connect(Update)
The output also said: 20:49:40.351 - Workspace.Players.Player.PlayerPosition.PositionUpdater:9: attempt to index local 'plr' (a number value)

4 comments
Take "i, " out and try again
Make the "wait(0.1)" a "wait(1)"; sometimes 0.1 doesn't give the game enough time.
taking "i," out works but I still am not sure if that will work for more then 1 person in game.
lucas, what is the script's parent?