So what exact happens when you’re on a real server? Like what are the outputs saying, is there any image labels even showing up?
I am on a real server and there is not any images showing up.
Okay, if there are none of those device images showing, there must be an error occurring when trying to figure out the input or trying to show the ui.
Can you try check the developer console while in-game on the roblox application by pressing f9? Then screenshot whatever error there is for the ui.
It’s logging that I’m on mobile but the tag is PC and there is no errors at all
And what device are you actually on?
This looks like its an error of displaying the icon then, which some reasons can be you don’t have the right variables/names, or maybe the images are mixed up.
When I say messed up, I mean if the names of each of the ImageLabel elements match to the image it has.
The name was right too and I don’t know why it’s happening like that.
Hm, yeah I find that very strange too, never seen this my whole time in studio.
Could you send your updated scripts with those print lines? And show the variables too.
RemoteEvent.OnServerEvent:Connect(function(player, device)
if device == "Console" then
print("console")
GuiClone.Frame.IconHolder.Console.Visible = true
elseif device == "Computer" then
print("computer")
GuiClone.Frame.IconHolder.Computer.Visible = true
elseif device == "Mobile" then
print("mobile")
GuiClone.Frame.IconHolder.Mobile.Visible = true
end
end)
Hm, this is a really strange situation I’ve never encountered.
Make sure your Images are default set to not visible, and maybe try what a guy in this thread said earlier,
Oh and, try making your if
statements separate!
I already did that too but all of the tag is set to visible = false
BTW I already clone the gui but I want to use it in other script how do I get the gui from the player??
Tried making your if statements separate too?
Okay I will make that thanks for help me and can you help me in my question above?
What exactly do you mean by this?
I mean like CloneGui is already in other script but I want to make onother script that’s the same variable but if I clone the gui again player head will be 2 guis can I get another way to get the gui that I use in other script e.g. game.workspace.part then I want to use it in other script too