What do you want to achieve? Keep it simple and clear!
I want to learn how to fix this issue.
What is the issue? Include screenshots / videos if possible!
The issue is that by using the simple game.StarterGui.[SCREENGUI].[FRAME].Visible = true doesnt work.
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I searched everywhere, literally. And found nothing.
My explorer (startergui):
My script (local script):
local playClicked = game.ReplicatedStorage.mainmenuHidden
while true do wait()
if playClicked.Value == true then
game.StarterGui.main.Enabled = true
game.StarterGui.main.Frame.Visible = true
else
game.StarterGui.MainMenu.Enabled = true
game.StarterGui.main.Enabled = false
end
local hide = game.ReplicatedStorage.remoteEvents.mapLoading:WaitForChild("hideGuis")
local show = game.ReplicatedStorage.remoteEvents.mapLoading:WaitForChild("showGuis")
hide.onClientEvent:Connect(function()
game.StarterGui.main.Enabled = false
end)
show.onClientEvent:Connect(function()
game.StarterGui.main.Enabled = true
end)
end
Also this worked before! And then i changed my ui and now it doesnt…
Nothing done on the client is replicated to the server unless you use RemoteEvents or Functions.
StarterGui is just basic info, you need to edit PlayerGui.
I believe this is due to something called Filtering Enabled. This is a security measure Roblox has put in place to reduce the ability for exploiters to tamper with the game and other clients.
The way to get around this is using remote events.
Regarding the reason why “it worked before” in the explorer clicking the workspace there’s a property of this named filtering enabled, turning that off allows you to modify the server from the client without using the medium.
StarterGui is basic data. It loads UI elements into PlayerGui when a player joins.
Editing that does nothing until another player joins, if it worked like that remote events wouldn’t have one of their primary uses.
No it isn’t when the game starts everything in starter GUI gets cloned to the playergui so if you change the starter GUI after it’s been cloned nothin will happen to the players GUI