Hello, I have been trying for the past week to figure out why my Inventory GUI Won’t open on Mobile (Works on PC) I do NOT Know how to script so I honestly have 0 Idea on how to fix this issue, Below is the script i’m using for the open function…
Are you sure that this isn’t a positioning issue? If you’re positioning your UI using offset, it might seem like its properly working on pc but might be off screen for mobile. Make sure your using scale and or a mix between both
Look in the size property of each gui this might be a pain but it will help you a lot look in the size property of each gui click the pop down and set the offset on x and z to 0
It’s probably the positioning then. To test the positioning, enable your UI in studio, go to Test section then the device icon and select a mobile device. If you can’t see it then you’re positioning it wrong.
I get very confused between elseif and else, but doesn’t else run a script after something else was true? And if not ignores it? Pretty sure elseif would check to see if the GUI is open, then close it if it is, like the script has done for the first if statement, only the first statement made stuff visible.
Then again, this might not even matter, and I could be wrong.
Try switching else to elseif and using the same statement, but switching ‘’== false then’’ to ‘’== true then’’