Absolute beginner's guide to scripting: Difference between revisions

Improved Studio opening help
>Ajedi
>Tenal
(Improved Studio opening help)
Line 24: Line 24:
You are about to make your very first script - a script to kill yourself. There is multiple ways to execute (or run) code in ROBLOX, but you will be executing the script from a place in ROBLOX [[Studio]] called the [[Scripting#Fundamentals|Command Bar]]. The Command Bar allows you to execute a single line of script instantly in a blank [[place]]. The command bar will only run one line of code at a time.  The first thing we want to do, is to open up the command bar, which is in ROBLOX [[studio]].   
You are about to make your very first script - a script to kill yourself. There is multiple ways to execute (or run) code in ROBLOX, but you will be executing the script from a place in ROBLOX [[Studio]] called the [[Scripting#Fundamentals|Command Bar]]. The Command Bar allows you to execute a single line of script instantly in a blank [[place]]. The command bar will only run one line of code at a time.  The first thing we want to do, is to open up the command bar, which is in ROBLOX [[studio]].   


{{TitledBox/start|heading=How to open ROBLOX [[Studio]] and the Command Bar}}
{{TitledBox/start|heading=How do I open [[Studio]], and how do I enable the command bar?}}
<div class="tabber">
Opening ROBLOX Studio
<div class="tabbertab" title="Show">
*'''Windows XP'''
{{EmphasisBox|
*#Click the button at the bottom left of your screen with the Windows logo and the word "start" next to it.
Opening up ROBLOX Studio can sometime be confusing. Here is a step by step outline on how to open up studio, and the command bar. 
*#Hover your mouse over "All Programs".
1) '''Start (Bottom Right Corner)'''
*#Locate the folder "Roblox". Hover over that.
:: Click on the start button of your computer.
*#Click "Roblox Studio".
2) '''All Programs '''
 
:: Click on 'All Programs'
*'''Windows Vista and 7'''
3) '''ROBLOX'''
*#Click the Windows logo at the bottom left corner of your screen.
:: Scroll down the list of programs until you find ROBLOX. Click on the folder to open it up. (Expand it)
*#Click "All Programs".
4) '''Roblox Studio'''
*#Locate the folder "Roblox". Click that.
:: Click on 'ROBLOX Studio', wait for it to load
*#Click "Roblox Studio".
5) '''Navigate (In the browser that pops up) to your game'''
 
:: In ROBLOX Studio (The thing that pops up), find your game (You may have to log in).
*'''Windows 8 (non-tablets)'''
6) '''Push 'Edit' in the browser'''
*#Click the very bottom left hand corner of the screen. The start menu will show up.
:: Push the brown/yellow/organize colored 'Edit' mode button.
*#Right click anywhere except the buttons of the apps. A bar will show up.
7) '''Wait for the game to load'''
*#On the bar, click "All Programs".
:: Wait for your game to load and open up in studio.
*#Locate "Roblox Studio", then click it.
8) '''Open up the command bar'''
 
::8.1) '''Look at the top left bar'''
*'''Enabling the Command Bar'''
::: Look at the top left bar and click on View
::You can enable the command bar by going to: '''View > Toolbars > Command''' (if there is no check mark next to it). A text box will appear at the bottom of the software. You can insert code in there and it will execute.
:::{{Studio|Menu$View}}
::8.2) '''Move your mouse over 'Toolbars' '''
::: Move your mouse over the Toolbar's thing, and another menu should pop up. 
:::{{Studio|Menu$View$Toolbars}}
::8.3) '''Click on 'Command' '''
Click on 'command' to open up the command tool bar. You can insert code into this bar, and it will run it (known as executing)  the script. 
:::{{Studio|Menu$View$Toolbars$Command}}
9) '''Open up 'Output' '''
::: ROBLOX will put out 'output' whenever your script errors.  Despite this being fairly confusing, it is much more helpful then just knowing the scrip isn't working.  To open up output, follow the below instructions.
::9.1) '''Move your Mouse 'View' 
:::{{Studio|Menu$View}}
::9.2) '''Click on Output'''
:::Click on the output button. 
:::{{Studio|Menu$View$Output}}
:::The result should be a window like this:
::::::{{Studio|Output}}
}}
</div>
<div class="tabbertab" title="Hide">
</div>
</div>
{{TitledBox/end}}
{{TitledBox/end}}


Anonymous user