generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Variables in Scripting [Beginners]

Previous Thread :: Next Thread 
nicknack2143 is not online. nicknack2143
Joined: 07 Aug 2010
Total Posts: 1134
10 Dec 2011 04:11 PM
I will sohw you how to use Variables.

--[This is an easy script]
while true do
M = Instance.new("Message")
M.Parent = game.Workspace
M.Text = "Blalalalalalala" wait(1)
M.Text = "LOLOLOL" wait(1)
M:remove()
end

M in that Script is a variable.
You can change it to whatever you want.
V = Instance.new("Message")
Or
Pie = Instance.new("Message")
Pie.Parent = game.Workspace.

You can use almost any variable.

That's just a very good basic to know.
Report Abuse
xvgigakid is not online. xvgigakid
Joined: 22 Jun 2008
Total Posts: 4407
10 Dec 2011 04:16 PM
Heres an easier script


b = 0

while true do
b = b +1
wait(0)
end

Dont try and explain variables before explaining while true do, Instance.new() wait(), and parenting.
Report Abuse
Penguine236 is not online. Penguine236
Joined: 13 Apr 2011
Total Posts: 1303
10 Dec 2011 04:19 PM
adding to what xv said, how is that basic? I highly doubt that beginners will understand that.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image