Scripts and bricks XD. Learn how to script (LUA) then build the giver. ROBLOXWIKI.com
You need to know how to script LUA- check the roblox wiki to learn how. First- place a small square on the ground, make sure it's attatched. Second- copy the thing you want the button to regenerate Third- script so that the block (when touched/clicked) makes a new model of the thing you copied.
A "code" as you may know it, is a script. Scripts in Roblox are written in a programming language called Lua, customized to fit the needs of users. People code, or script on Roblox to create things for their places or other users.
Well, it's got to be a script builder and usually the description on the game tells you what to put before a script to make it work.. Some places make you say " script/ " before your script and others you say " create/NAME THAT U WANNA NAME UR SCRIPT " then say " edit/NAME OF SCRIPT " then you type your script with nothing before it then say " exit/SCRIPT NAME " then... " run/SCRIPT NAME " You're welcome if it helped.
You must learn it, first.
I would suggest finding someone who knows how to script LUA, the Roblox script. I don't script, but my friend (BinkyBear) knows.
Scripts and bricks XD. Learn how to script (LUA) then build the giver. ROBLOXWIKI.com
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.
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).
Open up a brand new script in build/studio mode. Copy/Paste your script or type one in. The best place to learn to script Lua with Roblox is at http://wiki.roblox.com/index.php/Lua_Help this is where I learned to script. Or use the Roblox Wiki. It is very helpful when it comes to scripting. My favorite article on it is 'The Absolute Beginners Guide to Scripting'. Hope this helps.
This is not Python, nor C. Lua is different...
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.
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.)
You need to know how to script LUA- check the roblox wiki to learn how. First- place a small square on the ground, make sure it's attatched. Second- copy the thing you want the button to regenerate Third- script so that the block (when touched/clicked) makes a new model of the thing you copied.
Scripting on Roblox is done using a programming language called Lua. There is a guide for it in wiki.roblox.com EDIT: not a good one though. Try the scripting helpers forum if you need help beyond the wiki.
A "code" as you may know it, is a script. Scripts in Roblox are written in a programming language called Lua, customized to fit the needs of users. People code, or script on Roblox to create things for their places or other users.
Well, it's got to be a script builder and usually the description on the game tells you what to put before a script to make it work.. Some places make you say " script/ " before your script and others you say " create/NAME THAT U WANNA NAME UR SCRIPT " then say " edit/NAME OF SCRIPT " then you type your script with nothing before it then say " exit/SCRIPT NAME " then... " run/SCRIPT NAME " You're welcome if it helped.