Horje
what does local mean in roblox Code Example
[Solved] - what does local mean in roblox Code Example
Try following codes
what does local mean in roblox
-- A local variable is accessible only in the block where it’s declared. 
-- Local variables are declared using the local statement:

function add(number)
	local myNumber = 50
  	myNumber = myNumber + number -- This will work because is Inside the code Block
end
myNumber = myNumber + 10 -- This wont work because we cannot access it
Date: 2022-05-21 05:02:10
Category: lua
More for You