answersLogoWhite

0

How do you script on Roblox?

Updated: 10/5/2023
User Avatar

Wiki User

13y ago

Best Answer

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.

Also there are many websites out there made specifically for learning Roblox Lua. To see one of the better but incomplete sites out there look at the related links.

User Avatar

Wiki User

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

Wiki User

12y ago

it only work if your 13 and over or clik edit profile Go into Roblox Studio. Go into build or edit mode on your game. Click 'Insert' then 'Object' then browse until you see 'Script', click it then click ok. Now that the script is created, you can start coding in it by double clicking it in the explorer tab. Here is an example script: game.Workspace["YOUR NAME"].Head:Remove()

This answer is:
User Avatar

User Avatar

Wiki User

13y ago

Scripting is hard, complicated and is just not as simple as the rest of roblox gameplay. I believe the roblox wiki sucks if your new to scripting, the way they wrote it was as if they thought you were as good as they were at scripting, but you forgot how to scrit, they used terms you wouldn't ever have heard about.

-----OLD ANSWER-----

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.

This answer is:
User Avatar

User Avatar

Wiki User

13y ago

Hello to be able to script you have to learn a few basics they can be found here

http://wiki.roblox.com/index.php/Scripting

You might also want to use LUA

here: http://www.lua.org/

Lua is much simpler than anything else or you can always either watch a vid on YouTube etc or search under Models in Roblox

Hope this helped

P.S. Just get a script from free models and then improve it and say it's yours.

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

the easy way to do this is to find a model or script in free models or learn how to type one like if you want to get an AK-47 you either type in the crud to make it give it to you or get it on free models

This answer is:
User Avatar

User Avatar

Wiki User

13y ago

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.

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

u gotta do different things for different scripts but in my script builder u'd have to put a script/ befor the script...

u would do "script/game" to make a script that changes somethings properties like the reflectance or transparency of a brick....

i would have to say "script/game.Workspace.Base.Reflectance = 8" to get the base to be shiny. I would say workspace bcuz that's what all bricks are inside of so after workspace i say the brick i want to change (the base) to tell what i want to change then reflectance because that's one of the properties of the base and then the ammount of shininess i want it to be... if u wanted to make the base invisible u would say transparency not reflectance... to make it walk through i would say CanCollide = false in stead of the reflectance = 8

to chang the size is... "Size = Vector3.new(10, 10, 10)" if u want to make it bigger then make the #s larger....... if u wanna change something with a mesh, or something that is not square, then say BRICK NAME.Mesh.Scale = Vector3.new(10, 10, 10) and don't leave out the game.Workspace

That's pretty simple stuff but its a start. If u want more coplicated ones then make a new question and be specific.

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

Open Roblox Studio and load the place you want to insert the script into. Then under insert(The tab at the top not the insert window) click on insert object. Select "script" and submit to insert a script into the Workspace.

This answer is:
User Avatar

User Avatar

Wiki User

13y ago

First open the Roblox studio. Then on the taskbar click insert > object > Script. Then you can script whatever you want, check out the Roblox Wiki for some tips and tutorials.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you script on Roblox?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is a roblox insert script?

A ROBLOX Insert Script is a script inserted into Workspace.


How do you script build on ROBLOX?

You have to open Roblox Studio. Then, click on OBJECT on the top. You will see script on there. if that didn't help, go to roblox wiki.


What is the Roblox eyeball script?

I had the Eyeball script... But then Ben came...


What is the script for a skateboard on roblox?

Put a skateboard in your place when your building or in ROBLOX Studio and then select the skateboard and thne look for the script.


What is the knife script for roblox?

i will kill you


What is the Lance script for roblox?

Dunn0


How do you edit a script on roblox?

Go into one of ur games in roblox studio.


What is the spike script for roblox?

a script which gives you a tool that does a lot of cool stuff


Can some one tell you the script for the orb on roblox on script builder?

You get it from VolcanoINC


How can you run a script on your place on roblox?

To enter a script on Roblox make sure the tools are displayed and then click Insert and select Object. Then, select "Script" from the window that pops up and click okay. Finally, double click on the script object that appears in the explorer window and enter your script.


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.


How do you make a VIP door in Roblox?

You make a brick the size of the door. Put the script that ROBLOX teaches you in the wiki into the brick.. Make a t-shirt then put that link into the "" of the script. It should be at the top of the script...