Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

CoreGui - is it local?

By this I mean can you access localplayer from CoreGui? Is CoreGui on the client or on the server?

I'm wondering this because I'm trying to put a GUI inside of the player but whenever I put it in CoreGui it doesn't work. Does anyone know if it works on the clients or servers side?

2 answers

It's local.

It's a GUI thing, the server doesn't render GUIs, therefore it's purely logical that it would be a client-only thing. Also put GUIs inside of the PlayerGui, you're not supposed to touch CoreGui.

Server, It's on roblox. CoreGui is for client only. In summary, on server, for client.

Read more here. http://wiki.roblox.com/index.php?title=API:Class/CoreGui

4 comments

0

Whenever I try to run my script in coregui it doesnt work. I get no errors, but I assume this is because I started my script with "local localplayer = game:GetService('Players').LocalPlayer repeat wait() until localplayer.Character". Do you know how to fix this?

0

Put it inside StarterPlayerScripts.

0

Well that's the thing. This is a gui with the script inside of it, so when I put the gui in CoreGui it doesnt work.

0

Well not sure about it, read the wiki on it.

This discussion is preserved as it was. New answers, comments, and votes are closed.