If val is either Honda or Jeep or BMW and v is 2 I want it to print cars issue I am having is when val is Honda or Jeep or BMW and v is 1 it still prints cars
if val.Value == "Honda" or val.Value == "Jeep" or val.Value == "Bmw" and v.Value == 2 then
print("CARS")
Atleast fix some of your grammar with grammarly so people can understand easily.
So the logic you want is that either val value is between Honda, Jeep, and BMW and the v value is must equal to two and after the requirements is approved it prints Cars, is that what you mean?
So if it is, here’s the new code
if val.Value == "Honda" or val.Value == "Jeep" or val.Value == "BMW" then
if v.Value = 2 then
print("Cars")
else end
end
--[[
hi :3
]]