Jump to content

NikoLudloow

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by NikoLudloow

  1. ' attempt to compare number with nil ' Can anyone help me solve this problem? Line: function math.percentChance(percent, repeatTime) local hits = 0 for i = 1, repeatTime do local number = math.random(0, 200) / 2 if percent >= number then -- error line hits = hits + 1 end end return hits end
×
×
  • Create New...