In my plugin I need to check if there is more then one of something, and <1 does not work...
What is it..?
In my plugin I need to check if there is more then one of something, and <1 does not work...
What is it..?
This is how you compare number values:
< = smaller than> = bigger than<= = smaller than or equal to>= = bigger than or equal toSo:
local children = game.Workspace:GetChildren()
if #children > 1 then
-- code
end
Hope I helped :)
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
Thank you, and Yes you did.