answersLogoWhite

0


Best Answer

This is not Python, nor C.

Lua is different...

User Avatar

Wiki User

7y ago
This answer is:
User Avatar
More answers
User Avatar

Avery SundayN

Lvl 2
3y ago

It can be in Python, but for Roblox Lua I don't think so. I think different in Roblox Lua,

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Can a function be inside another function in Roblox Lua?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How to press the buttens in Roblox?

Most buttons in Roblox are very simple. The buttons most used in Roblox is run by a script of some kind (scripts in roblox are lua). for these buttons there is two main ways to press a button in Roblox. aether click the button or hit the button. this is made possible by a function in a lua script such as "function hit (part)" function.


What kind of scripts do they use in ROBLOX?

Lua Scripts


How do you use Lua?

Lua is an open-source markup language used by Roblox and other companies. The classic 'Hello World!' Program is written like this. print("Hello World!") It is summed up for younger kids and is easy to learn. For example, a lua function that returns the square root would look like: function findSquareRoot(n) return n ^ 0.5 end


How do you save javascript on Roblox?

It is not possible to save and execute Javascript code on Roblox. You can save Javascript code as plain text in script objects, but there is no way to execute the code. Roblox uses a scripting language called LUA in-game which is somewhat similar to JavaScript, but it is not identicle. You can learn about LUA syntax on the Roblox wiki.


What is a good place to learn lua?

There is this cool game called ROBLOX. It lets you script in LUA. Millions of players and instances. It's ridiculous (In a good way).


How do you do scripting in the game Roblox?

I would suggest you joining a LUA group and learning that way.


What is the Lua script for Roblox to make commands?

Admin commands? There are many in free models.


How do you rotate a brick in Roblox with out a rotate tool?

You could use your character to push the brick until it is at the angle you want, or you can use the LUA command line to execute a script that will modify the brick's CFrame. (The second option would require a knowledge of LUA scripting on Roblox.)


How do you make a giver on ROBLOX?

Scripts and bricks XD. Learn how to script (LUA) then build the giver. ROBLOXWIKI.com


How do you make scripts on your place on Roblox?

You have to learn Lua first. The best place to learn is from the Roblox Wiki. My favorite article is 'The Absolute Beginners Guide to Scripting'. It is very helpful. You can also learn Lua from Lua reference manuals. Yet another way you can learn is by dissecting free models and looking over the scripts inside, trying to understand what the script does. But be careful when using free models, for they can infect you place and completely destroy it. (Note: Infecting scripts do not effect you computer, only your game on Roblox) To insert a new script, click Tools in the top left corner, a whole bunch of tools will pop up at the top of your screen. Then, go to the top of your screen, and click the Insert. Next, click Object. A window will appear in the middle of the screen. Find Script, click it, then click Ok.


How do you make a minigame place on ROBLOX?

You have to learn Lua first. The best place to learn is from the Roblox Wiki. My favorite article is 'The Absolute Beginners Guide to Scripting'. It is very helpful. You can also learn Lua from Lua reference manuals. Yet another way you can learn is by dissecting free models and looking over the scripts inside, trying to understand what the script does. But be careful when using free models, for they can infect you place and completely destroy it. (Note: Infecting scripts do not effect you computer, only your game on Roblox) To insert a new script, click Tools in the top left corner, a whole bunch of tools will pop up at the top of your screen. Then, go to the top of your screen, and click the Insert. Next, click Object. A window will appear in the middle of the screen. Find Script, click it, then click Ok.


How do you make a tycoon on roblox and I've already searched roblox wiki and a bunch of stuff but nothing tells me how to make my own tycoon?

I would suggest finding someone who knows how to script LUA, the Roblox script. I don't script, but my friend (BinkyBear) knows.