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

AvatarGui in first game and show up in second game?

Asked by 5 years ago

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)

Answer this question