I am trying to add a gui to the CoreGui so it wont go away when a player resets. I am adding it to my admin, which is a module. So when a player joins, it clones the localscript into the players playergui so it executed the localscript which then adds the gui in their CoreGui.
But...
It doesn't work.
local s = Instance.new("ScreenGui", game.CoreGui) local f = Instance.new("Frame", s) f.Size = UDim2.new(1,0,1,0) f.Position = UDim2.new(0,0,0,0)
I've seen people with GUIs where they dont go away, in scriptbuilder.. So it isnt in their startergui.
How do they make it so it doesn't go away?
local S = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui) local F = Instance.new("Frame", S) F.Size = UDim2.new(0,50,0,50) game:GetService("StarterGui").ResetPlayerGuiOnSpawn = false
This also does not work. When I respawn it removes the GUI ;( Any ideas to why?