#SURFACE GUI NOT WORKING WHEN BUTTON IS PRESSED
1 messages · Page 1 of 1 (latest)
in a group here
its my first time w surface gui and i need this to work asap
its for my friend
Then why are you using the path with a surface gui
wdym by that
idrk
Lemme see the script then
i also need screen2, screen3 and screen4 to work
not just screen1
and gears
i used basic buttons before but
i wanna use gui now
screenshot the script?
might be a little too much but these are the first lines
Script.parent.parent is the surface gui
That's where your looking for the screen
Which it is not in the surface gui
oh..
Just use game.workspace then type the rest of the path
Yea and then whatever screen you want to access
The same 4 variable thing you did before
then i cant add more
local S1 = game.workspace.screens.screen1
Then do that more times like you did before
I don't use the AI, it always just messes up
It's easier to just do the system however works for you so that it doesn't break
Anyways did you do what I said?
Send me a screenshot of the first 20 lines
alright
And the errors if any
Bro
Replace a1
Iops
Brih
Replace the variables you wrote before
With the new ones
And use the same name
to s1?
okay
i didnt even need to make these they just wanted me to tag along w it and now add gui
small knowledge on gui
little on cframe
other things im okay at
Imo you should practice more before making complex things like this
im not using these luckily
** You are now Level 6! **
The loops?
** You are now Level 6! **
this?
The same path to the screen yes but not the name
Just replace the values of a4, a5, a6, a7
With the new path
No bro keep the name
alright
just turn it into a module atp
like wtf
also your reusing the same tween info
why not just like put it out the function so you can use it anytime???
no im just gonna
give up on this
it isnt even for me anyways
also about this
what are you trying
to find?
if its something on the gui then
check the playerGUI
instead of starterGUI
Yea idk man
if you are checking starterGUI
AI is why I might stop debugging for people
True
cause if you try to find it instantly without it even loading then it would sure cause an error
and i did notice your not using :WaitForChild so might aswell try it if it works
im gonna leave it to my friend to do it
Anyways if the next person I help uses AI then I'ma just mind my own business because it's too hard helping non coders debug AI scripts
they wanted it
i used AI before but now i dont, so its not a hassle for me to help them LMAO
they just asked me to make gui for them but its on them now
Lol
i hope they fix it!
Same
