I would like to make it so that when a buttons is pressed, it does a different thing depending on a some boolValues.
For example:
button.MouseButton1Click:Connect(function()
if value.Value == true then
Something that essentially does that.
I would like to make it so that when a buttons is pressed, it does a different thing depending on a some boolValues.
For example:
button.MouseButton1Click:Connect(function()
if value.Value == true then
Something that essentially does that.
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
That's exactly how you do it. Although, "==" true is not needed.
Thank you!