Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

CoreGui - is it local?

Asked by 8 years ago

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

Log in to vote
1
Answered by 8 years ago

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.

Ad
Log in to vote
0
Answered by 8 years ago

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

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? NewVoids 97 — 8y
0
Put it inside StarterPlayerScripts. JamesLWalker 297 — 8y
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. NewVoids 97 — 8y
0
Well not sure about it, read the wiki on it. JamesLWalker 297 — 8y

Answer this question