Is Variable faster than BaseValue?

Which one is faster?

Variable Method

local Can = false

BaseValue Method

local Can = script:WaitForChild("Can").Value
1 Like

WaitForChild is slower than just the variable.



Source: FindFirstChild and WaitForChild: Addressing common bad practices and habits of each

1 Like

The First Variable Method is faster and used only in one script.
The Second Method is used when multiple scripts need to access the same variable

1 Like