Can someone tell me why does this happen ? Yesterday everything worked smoothly today it doesn't clone anymore, it only works in game but not studio.. What the hell ?
local gui = script.Black game.Players.PlayerAdded:connect(function(player) player.CharacterAdded:wait() gui:Clone().Parent = player.PlayerGui end)
It's a very annoying thing that I expect to get fixed very soon. At the moment, you will have to play on a server to get the player added event to function.
While Filtering Enabled
is on, scripts can't not access PlayerGui
, only LocalScripts
can. If you're using a Local Script, there's no need to use the PlayerAdded event in the first place.
Good Luck!