okay, this might sound like a stupid question, but i really need to know this so i don’t go firing remote events for that like an idiot
i have a great example of what i mean, because i’m about to be using clickdetectors on models, this is very important information
local clickdetector = clickdetectorpath
clickdetector.MouseHoverEnter:Connect(function(player)
local playerGUI = player.PlayerGui
local someGUI = playerGUI.someGUI
someGUI.Visible = true -- will this make the GUI visible?????
end)
it is possible, but it’s not behavior I would recommend at all.
Fire away those remotes.
to be more specific:
indexing playergui from the server is more error prone, where as your could just reference a remote event from a local script and not have to worry about the possibility of the indexed object not existing.
This is even further the case coupled with the fact that gui can reload/respawn on character load