![]() ![]() So the cause is because a button was 'Clicked'. ![]() Btw the argument 'clicker' would be identified the cause of the function to be fired. That script if not obvious identified the player who clicked. The source I'm going off of is ROBLOX's Build/Edit mode in-game. Here's an example script I'm writing off the top of my head. When used the 'if' and the 'elseif' count for one end. When used the 'if' and the 'else' count for one end.Įlseif - Used when the if statement before it is false but also calls for another if statement. If then - Both words only count for one end.Įlse - Used when the if statement before it is false. While do - Both words only count for one end. ![]() The 'end' comes after anything highlighted in blue.įor do - Both words only count for one end. This part of the script will run 10 times before passing on. 'for' is a limited loop where it only loops for a certain amount of times. The language also includes loops that are recognizable like If a ROBLOX Solo Game is the source and v's script.Parent's name () is ScriptFireValue then v is equal to d. Parents are what the script or item specified is in. Its functions are fired by changes specified such as :connect(functionnamehere) Lua is probably the easiest scripting language to learn and work with. Infact, I recall there being a Javalua blend as a scripting language in itself. Lua is a scripting language somewhat similar to Java. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |