Hi I am trying to understand Lua coding I am a beginner. What is this suppose to do?
script.Parent.Switcher.MouseButton1Click:Connect(function() Frame.Visible = not Frame.Visible end)
And does it do the same as
frame.visible = false
Please let me know and please explain
not
returns the opposite of a boolean (true
/false
).
print(not true) -- false print(not false) -- true