Hello, I’ve noticed some people use OR in their script when assigning a variable like…
local a
Var = a or 1
What does it actually do?
And is it possible to apply the same concept when assigning a number variable with a limit to it without using if statements like for example, we calculate the distance of the X coordinate of an object from another object and if it is more than 15 studs then the X coordinate is set to 15?