All variables will default to global unless they are declared as local. Global. A global variable is visible to all scopes of a script. In the following code, the global variable x starts at 0, increments by 1 in each iteration of the for loop, and is pri
A local variable only works in the script where it was created. Most variables you use will be local variables. Under the comment, create a local variable named loopingPart by typing local loopingPart. Set the variable to the looping part by typing = game
1 Introduction 2 Author's Notes 3 Inserting a Part 4 Properties 5 Accessing a Property 6 Print 7 Variables 7.1 Instances 7.2 Integer Values 7.3 Float 7.4 Boolean 7.5 Strings 7.6 Declaring Variables 8 BrickColor and Color3 9 Vector3 10 Comments 11 Func
Post a Comment:
Showing 0 Comments: