<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.starfall.wtf/index.php?action=history&amp;feed=atom&amp;title=Your_first_script</id>
	<title>Your first script - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.starfall.wtf/index.php?action=history&amp;feed=atom&amp;title=Your_first_script"/>
	<link rel="alternate" type="text/html" href="https://wiki.starfall.wtf/index.php?title=Your_first_script&amp;action=history"/>
	<updated>2026-07-28T16:17:11Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://wiki.starfall.wtf/index.php?title=Your_first_script&amp;diff=466&amp;oldid=prev</id>
		<title>PRG: Created page with &quot;__TOC__  == Introduction ==  This tutorial is for complete beginners.  The idea is to create an elementary script from which you can build scripting knowledge.  It assumes you know nothing about scripting.  == What this tutorial will teach you ==  * What the print() function does * How to run a script  == Setup ==  You will need to open Roblox Studio.  Once you have done that, you will need to click &quot;My ROBLOX&quot;, select your map, and click &quot;Edit&quot;.  At this point, you...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.starfall.wtf/index.php?title=Your_first_script&amp;diff=466&amp;oldid=prev"/>
		<updated>2024-12-10T22:06:07Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;__TOC__  == Introduction ==  This tutorial is for complete beginners.  The idea is to create an elementary script from which you can build scripting knowledge.  It assumes you know nothing about scripting.  == What this tutorial will teach you ==  * What the print() function does * How to run a script  == Setup ==  You will need to open &lt;a href=&quot;/index.php/Roblox_Studio&quot; class=&quot;mw-redirect&quot; title=&quot;Roblox Studio&quot;&gt;Roblox Studio&lt;/a&gt;.  Once you have done that, you will need to click &amp;quot;My ROBLOX&amp;quot;, select your map, and click &amp;quot;Edit&amp;quot;.  At this point, you...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This tutorial is for complete beginners.  The idea is to create an elementary script from which you can build scripting knowledge.  It assumes you know nothing about scripting.&lt;br /&gt;
&lt;br /&gt;
== What this tutorial will teach you ==&lt;br /&gt;
&lt;br /&gt;
* What the print() function does&lt;br /&gt;
* How to run a script&lt;br /&gt;
&lt;br /&gt;
== Setup ==&lt;br /&gt;
&lt;br /&gt;
You will need to open [[Roblox Studio]].  Once you have done that, you will need to click &amp;quot;My ROBLOX&amp;quot;, select your map, and click &amp;quot;Edit&amp;quot;.  At this point, you should see your familiar map.&lt;br /&gt;
&lt;br /&gt;
You will need some essentials in [[Roblox Studio]] to make this work:&lt;br /&gt;
&lt;br /&gt;
* The Output window:&lt;br /&gt;
[[Image:Outputwindow.JPG]]&lt;br /&gt;
* The Explorer window:&lt;br /&gt;
[[Image:Explorerwindow.JPG]]&lt;br /&gt;
and &lt;br /&gt;
* The Command bar:&lt;br /&gt;
[[Image:Commandtoolbar.JPG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* To make sure you have the Output window, click View / Output.&lt;br /&gt;
* To make sure you have the Explorer window visible, click View / Explorer.&lt;br /&gt;
* To make sure you have the Command bar visible, click View / Toolbars / Command.&lt;br /&gt;
&lt;br /&gt;
== Let&amp;#039;s start scripting ==&lt;br /&gt;
&lt;br /&gt;
Now that you have what you need, click the &amp;quot;Workspace&amp;quot; icon in the Explorer window (it looks like a small globe).  &lt;br /&gt;
* Click Insert &amp;gt; Object &amp;gt; Script.&lt;br /&gt;
* Click OK&lt;br /&gt;
* Double-click the newly created script file in &amp;quot;Workspace&amp;quot;.&lt;br /&gt;
* You should see print(&amp;quot;Hello World!&amp;quot;)&lt;br /&gt;
* We&amp;#039;re going to see what that does.  Click on the &amp;quot;x&amp;quot; of the Script window, and then press the &amp;quot;Play&amp;quot; [[Image:Play.JPG]] button.&lt;br /&gt;
* In your Output window, you should see, &amp;quot;Hello world!&amp;quot;.&lt;br /&gt;
* Now click the pink rewind [[Image:Rewind.JPG]] button.&lt;br /&gt;
* Double-click the script file again to edit it.&lt;br /&gt;
* Let&amp;#039;s change the words to say something else.  Change it to say, print(&amp;quot;Hello Mom!&amp;quot;)&lt;br /&gt;
* Press the play button.&lt;br /&gt;
* The Output window should say &amp;quot;Hello Mom!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
* That was easy.  Let&amp;#039;s try something harder.  Rewind again, and change the script to say: print(&amp;quot;2+2&amp;quot;)&lt;br /&gt;
* The output is going to be: 2+2.  That&amp;#039;s because it&amp;#039;s printing out exactly what was in the quotes.&lt;br /&gt;
* Rewind again, but without the quotes... i.e., print(2+2)&lt;br /&gt;
* Your output window is going to be: 4&lt;br /&gt;
* This is because the program calculated the result of 2+2, which is 4.&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
If you&amp;#039;re looking for something similar or closely related to this article, see these:&lt;br /&gt;
&lt;br /&gt;
*[[Variables]]&lt;br /&gt;
*[[Absolute beginner&amp;#039;s guide to scripting]]&lt;br /&gt;
*[[Explaining Scripts]]&lt;br /&gt;
[[Category:Scripting Tutorials]]&lt;/div&gt;</summary>
		<author><name>PRG</name></author>
	</entry>
</feed>