So, I have CharacterAutoLoad
off. But now my GUI’s won’t show up! There is a way to fix this because I’ve seen it done in games before, but don’t know how to do it. Help would be appreciated.
Where did you place your ScreenGuis? In StaterGui?
Yes. Is that the reason it’s not showing?
It should be in StarterGui so that the UI spawns into the player. But, you said you placed’em in starterGui so it should be fine. Are there any details you are failing to provide or anything?
Can you show a screenshot of your explorer tab?
Here you go:
And it’s not showing up… Do you have it enabled?
I did not have them Active… oops. But it still didn’t work.
from what I know startergui just clones them by a serverscript in default then paste em on players who joined, if it’s actually cause of “CharacterAutoLoad” then just replicate it I guess.
What do you mean? Could you elaborate?
you go into the screengui property and put resetonspawn false
when CharacterAutoLoads is set to true
, it also disables the GUI’s
Didn’t work. Is there anything else?
StarterGui is basically just an Server Script that basically auto clones em for you
The capture the flag template on studio achieves this. I’m gonna go and look through that code.
Figured it out! I needed to put the screen GUI inside of StarterPlayerScripts as the child of a local script containing the following code:
local Player = game.Players.LocalPlayer
local ScreenGui = script.ScreenGui
ScreenGui.Parent = Player:WaitForChild("PlayerGui")