So I put my gui in ServerStorage so it wouldn't go into the PlayerGui automatically.
If this way is more work, I could provide a script on my attempt to access it through the PlayerGui. My only problem is that players will have other names then 'Player1'
so basically they step on a brick (end of the level) then this gui shows up and tells them they will be moved to the next level in 5 seconds (Already scripted)
local debounce = true
local plr = game.Players.LocalPlayer
script.Parent.Touched:connect(function(plr)
local gui = game.ServerStorage.EndLevels
if debounce == true then
local guicopy = gui:Clone()
guicopy.Parent = plr.PlayerGui
debounce = false
end
end)
Error: > 10:26:55.277 - PlayerGui is not a valid member of Part 10:26:55.280 - Script 'Workspace.Level1.Ground.Script', Line 8 10:26:55.298 - Stack End
Any help?
If you need more info, just comment and i'll reply

1 comment
Is this filtering enabled?