My gui does not function properly when playing my game in roblox, but works fine while testing in roblox studio

i know thats black, that line of code is supposed to be black, and (0,1,0) is green the way color3 works is different than your normal rgb range, (1,0,0) is max red (0,1,0) is max green, and (0,0,1) is max blue, and you make other color by mixing them or make lighter shades by using decimals

but none of that even matters, all you need to know is that those lines of code dont work while playing in roblox

Could you send a video of what it looks like in Studio vs in game? It’d be easier for us to see what the problem is. If it’s too much of a hassle, screenshots would help too.

1 Like

roblox version: https://streamable.com/9vg15

studio version: https://streamable.com/bd7fd

as you can see in both versions the script does everything in the script as intended, EXCEPT in the roblox version where the gui does not work at all

also for some reason the text starts off being black in the roblox version

i have to eat dinner soon so i might not be able to respond for a while

Any errors in the local output while in game?

Are you 100% sure that you never access StarterGui within your script? This would by my best guess as to why it isn’t working and there are no errors. Try doing Command+F and search StarterGui in your script to be sure.

the whole thing is inside startergui

isnt that where guis are supposed to go

i have this line of code in my script: local Frame = script.Parent.Frame

script.parent is startergui

Yes. All your GUI’s start is StarterGui. However, they are inserted into PlayerGui upon spawning in; this is how you see them. I’m not sure if Studio respects this though. The PlayerGui is a direct descendant of the player, so you’d do Player.PlayerGui. This may be why it works in Studio only.

StarterGui automatically moves them to PlayerGui.
This is the same thing with StarterPack and StarterCharacterScripts