title: Why does my lua script print both values?
body: <p>first of all, this is my first time coding in Lua, let alone coding at all. </p>
  
  <p>I'm testing out lua for making some mods, and I can't really figure out what i'm doing wrong. I'm trying to get my script to say 2 different things with 2 different values, but lua keeps printing BOTH values.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>sword = unequipped 
  if sword == equipped then
  print("This feels quite heavy")end 
  if sword == unequipped then 
  print("I feel unstoppable")
  end
  </code></pre>
  
  <p>When I run the script, it prints out both values, so in terminal, it says; </p>
  
  <pre><code> This feels quite heavy
   I feel unstoppable
  </code></pre>
  
  <p>How can i fix this?</p>
  
  <p>Thanks in advance!</p>