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.

2 comments

0

That's exactly how you do it. Although, "==" true is not needed.

0

Thank you!