Guest User

Untitled

a guest
Apr 29th, 2022
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.36 KB | None | 0 0
  1. -- This one works!
  2. local coolVector = Vector3.new(2, 3, 4)
  3. local anotherCoolVector = Vector3.new(10, 0, 0)
  4.  
  5. coolVector = coolVector * 2 + anotherCoolVector * 0.5
  6. print(coolVector)
  7.  
  8.  
  9. -- This one errors! :(
  10. local coolVector = Vector3.new(2, 3, 4)
  11. local anotherCoolVector = Vector3.new(10, 0, 0)
  12.  
  13. coolVector *= 2 + anotherCoolVector * 0.5
  14. print(coolVector)
Advertisement
Add Comment
Please, Sign In to add comment