GUI Not working

Hey there,

I have just made a Car GUI but when i Enable the GUI from a Script in ServerScriptService it says it is enabled, the button it visible and there is no scripts that are disabling it. What can i do to make this GUI visible?

Here’s my code:

local dss = game:GetService("DataStoreService")
local ds = dss:GetDataStore("JeepData")
local Jeep = game.ServerStorage.Jeep

game.Players.PlayerAdded:Connect(function(plr)
	local async = ds:GetAsync(plr.UserId)
	
	if async == true then
		local clone = Jeep:Clone()
		clone.Parent = workspace
		local GUI = game.StarterGui.JeepGui
		GUI.Enabled = true
	end
end)

Thanks and Merry Christmas,

Kieran

You have to enable the GUI in the player’s PlayerGui
Here is what that would look like

game.Players["Name of player"].PlayerGui.JeepGui.Enabled = true

or with the way i see your script

plr.PlayerGui.JeepGui.Enabled = true
1 Like

Put this in the PlayerGui like so:

		local GUI = plr.PlayerGui.JeepGui
1 Like