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

Doesn't clone GUI in studio, but in game ?

Asked by
Bulvyte 388 Moderation Voter
7 years ago
Edited 7 years ago

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)
0
Are there any errors? UniversalDreams 205 — 7y
0
sadly, but no Bulvyte 388 — 7y
0
Try adding player:WaitForChild('PlayerGui') User#5423 17 — 7y
0
Nothing works... i think the studios broken or something i tried reinstalling nothing still Bulvyte 388 — 7y
View all comments (2 more)
2
Its a ROBLOX error. PlayerAdded doesn't work for me either Im_Kritz 334 — 7y
0
Yep, i thought of that something broke. Bulvyte 388 — 7y

1 answer

Log in to vote
1
Answered by 7 years ago
Edited 7 years ago

At the moment, roblox has broke the PlayerAdded event in solo studio mode.

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.

More,

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!

Ad

Answer this question