Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Assign 2 Variables With Only One Value?

Asked by 3 years ago

I'm kind of tire of using Var1, Var2 = Var1, Var2! It seems messy and sort of dumb, but I guess I can manage. My question: Is there a way to do Var1, Var2 = Var3 without it saying "error W015"? Here is my code:

local A, B = 1, 1 -- What Is Supposed To Say
local A, B = 1 -- What I Want It To Say

Answer this question