I was trying to make a AvatarGui in first game and avatar show up in second game but it won't work. There is the script:

local player = game.Players.LocalPlayer
local item = game.ReplicatedStorage.YellowROBLOXVisor

game.Players.PlayerAdded:Connect(function()
	if game.PlaceId == 2028723640 then
		local character = item:Clone()
		character.Parent = player.Character
	end
end)