WorthlessCynomys Posted December 31, 2016 Posted December 31, 2016 So i have a problem, with GUIs. I made two GUIs and i should separate them, because the first GUI affects the second GUI. On the first GUI, i have two buttons. GUIEditor.button[1] and GUIEditor.button[2] On the second GUI, i have buttons two, starting from GUIEditor.button[1]. So the problem is, that the second GUI's buttons, aren't working, because it calls the function of the first GUI's buttons. The two scripts are in two files. So how could i separate them, so they don't have any effect on each other?
Dimos7 Posted December 31, 2016 Posted December 31, 2016 instead use GUIEditor.button[1] again put GUIEditor.button[3] and 4
WorthlessCynomys Posted December 31, 2016 Author Posted December 31, 2016 Thank. I was hoping, that i don't have to change all the numbers and there's an other soultion for that. Thanks, anyway.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now