Hello, from the scripts below, i do not understand why the second script print both “true” and “false” , and the other one only print “false” (as i want it do). Is there a way to fix the second script so it only print(‘true’) ?
local Check = Instance.new('BoolValue')
Check.Value = false
local Test = Check.Value == true and print('true') or print('false')
local Check = Instance.new('BoolValue')
Check.Value = true
local Test = Check.Value == true and print('true') or print('false')