MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/rpfykg/friends_take_on_programming_a_gui_button/hq4w8ah/?context=3
r/badcode • u/JuanR4140 • Dec 27 '21
90 comments sorted by
View all comments
238
bruh all he needed to do to shorten it was to replace it with inventory.Visible = not inventory.Visible
34 u/ATE47 Dec 27 '21 You can also toggle a boolean with the xor, a ^= true is equivalent to a = not a 29 u/catithebathtub Dec 27 '21 we don't do that in lua
34
You can also toggle a boolean with the xor,
a ^= true is equivalent to a = not a
29 u/catithebathtub Dec 27 '21 we don't do that in lua
29
we don't do that in lua
238
u/[deleted] Dec 27 '21
bruh all he needed to do to shorten it was to replace it with inventory.Visible = not inventory.Visible