<?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=Random_numbers</id>
	<title>Random numbers - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.starfall.wtf/index.php?action=history&amp;feed=atom&amp;title=Random_numbers"/>
	<link rel="alternate" type="text/html" href="https://wiki.starfall.wtf/index.php?title=Random_numbers&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=Random_numbers&amp;diff=450&amp;oldid=prev</id>
		<title>PRG: Created page with &quot;{{CatUp|Tutorials}} __TOC__  == Introduction ==  This tutorial covers random numbers.  == Random number generator ==  The random number generator in Roblox generates random numbers.   * Start Roblox Studio. * Insert &gt; Object &gt; Script. * Copy and Paste the following script into the newly created Script Object:  &lt;pre&gt; for i = 1, 10 do -- this will create a loop which will run 10 times print(math.random(1,100)) -- this will print random number from 1 to 100 wait(1) -- t...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.starfall.wtf/index.php?title=Random_numbers&amp;diff=450&amp;oldid=prev"/>
		<updated>2024-12-10T21:45:04Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{CatUp|Tutorials}} __TOC__  == Introduction ==  This tutorial covers random numbers.  == Random number generator ==  The random number generator in Roblox generates random numbers.   * Start &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;. * Insert &amp;gt; Object &amp;gt; Script. * Copy and Paste the following script into the newly created Script Object:  &amp;lt;pre&amp;gt; for i = 1, 10 do -- this will create a loop which will run 10 times print(math.random(1,100)) -- this will print random number from 1 to 100 wait(1) -- t...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{CatUp|Tutorials}}&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This tutorial covers random numbers.&lt;br /&gt;
&lt;br /&gt;
== Random number generator ==&lt;br /&gt;
&lt;br /&gt;
The random number generator in Roblox generates random numbers. &lt;br /&gt;
&lt;br /&gt;
* Start [[Roblox Studio]].&lt;br /&gt;
* Insert &amp;gt; Object &amp;gt; Script.&lt;br /&gt;
* Copy and Paste the following script into the newly created Script Object:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
for i = 1, 10 do -- this will create a loop which will run 10 times&lt;br /&gt;
print(math.random(1,100)) -- this will print random number from 1 to 100&lt;br /&gt;
wait(1) -- this will wait 1 second&lt;br /&gt;
end -- end of the loop&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If math.random() was used, any number would appear.&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Random_number_generator Random Number Generator]&lt;br /&gt;
&lt;br /&gt;
[[Category:Scripting Tutorials]]&lt;/div&gt;</summary>
		<author><name>PRG</name></author>
	</entry>
</feed>