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: What do you want to learn about scripting?

Previous Thread :: Next Thread 
legokid135 is not online. legokid135
Joined: 23 Jan 2009
Total Posts: 1470
12 Jun 2012 01:40 PM
Post it here, and I might create a chapter about it on my scripting book:

wiki.roblox.com/index.php/Scripting_Book
Report Abuse
0TheTruth0 is not online. 0TheTruth0
Joined: 25 Jul 2009
Total Posts: 462
12 Jun 2012 01:54 PM
I need to learn about GUI sizing and positioning.
Report Abuse
flappydavid is not online. flappydavid
Joined: 03 May 2009
Total Posts: 5893
12 Jun 2012 01:57 PM
Weapon making... Only thing, XD.
Report Abuse
legokid135 is not online. legokid135
Joined: 23 Jan 2009
Total Posts: 1470
12 Jun 2012 02:00 PM
@0TheTruth0, I've already got that on the book, chapter 13!

http://wiki.roblox.com/index.php/Scripting_Book/Chapter_13#Step_3:_Frames

‹‹‹‹ Want to learn to script? http://wiki.roblox.com/index.php/Scripting_Book ››››
Report Abuse
orangegreenblue is not online. orangegreenblue
Joined: 04 Sep 2010
Total Posts: 10906
12 Jun 2012 02:01 PM
You need a guide on using LocalScripts, they are probably the easiest way to learn how to script.

-orangegreenblue, the Lua Noob
Report Abuse
flappydavid is not online. flappydavid
Joined: 03 May 2009
Total Posts: 5893
12 Jun 2012 02:01 PM
HEY! XD.
Report Abuse
legokid135 is not online. legokid135
Joined: 23 Jan 2009
Total Posts: 1470
12 Jun 2012 02:02 PM
@flappy, I'll probably do that in later chapters. Thanks for the suggestion.

‹‹‹‹ Want to learn to script? http://wiki.roblox.com/index.php/Scripting_Book ››››
Report Abuse
legokid135 is not online. legokid135
Joined: 23 Jan 2009
Total Posts: 1470
12 Jun 2012 02:13 PM
@orange, I'll probably start that. Thanks.

‹‹‹‹ Want to learn to script? http://wiki.roblox.com/index.php/Scripting_Book ››››
Report Abuse
cutecolbygirl is not online. cutecolbygirl
Joined: 14 Aug 2011
Total Posts: 2
12 Jun 2012 02:15 PM
How to read it!!!!!!!!!!!!!!!!!!!!!!!
Report Abuse
xDvox is not online. xDvox
Joined: 27 Aug 2011
Total Posts: 846
12 Jun 2012 02:24 PM
@cute what did you say od'er?
Report Abuse
legokid135 is not online. legokid135
Joined: 23 Jan 2009
Total Posts: 1470
12 Jun 2012 02:25 PM
Sorry, my scripting book doesn't teach people how to read it. You'll have to learn how to read it. It's basically a normal book you would buy from the shops, except it is free, online and open source. There's no way of making it easier to read.

‹‹‹‹ Want to learn to script? http://wiki.roblox.com/index.php/Scripting_Book ››››
Report Abuse
flappydavid is not online. flappydavid
Joined: 03 May 2009
Total Posts: 5893
12 Jun 2012 02:56 PM
No problem.
Report Abuse
RATEXmegaGAMER is not online. RATEXmegaGAMER
Joined: 10 Dec 2010
Total Posts: 4046
12 Jun 2012 03:09 PM
Make a chapter on the different ways to get input from the user.
Report Abuse
legokid135 is not online. legokid135
Joined: 23 Jan 2009
Total Posts: 1470
12 Jun 2012 03:58 PM
Aah, Ratex, fabulous idea. I'll get to work on that tomorrow.

‹‹‹‹ Want to learn to script? http://wiki.roblox.com/index.php/Scripting_Book ››››
Report Abuse
legokid135 is not online. legokid135
Joined: 23 Jan 2009
Total Posts: 1470
13 Jun 2012 10:30 AM
les bump.

‹‹‹‹ Want to learn to script? http://wiki.roblox.com/index.php/Scripting_Book ››››
Report Abuse
AUDI10000 is not online. AUDI10000
Joined: 26 Apr 2011
Total Posts: 76
13 Jun 2012 10:44 AM
I want to learn the mouse enter function.
Report Abuse
legokid135 is not online. legokid135
Joined: 23 Jan 2009
Total Posts: 1470
13 Jun 2012 11:00 AM
Good idea, I will add a chapter explaining the different events. While I write it, I can still give you a brief summary of what it does. It is a member of a GUI object, TextButton, etc. When the player's mouse touches the object, the function connected to the MouseEnter event will be fired. For example:

function onMouseEnter()
   print("Mouse over has occurred!")
end
script.Parent.MouseEnter:connect(onMouseEnter)

You can also shorten it using anonymous functions:

script.Parent.MouseEnter:connect(function()
   print("Mouse over has occurred!")
end)

You can read up on these on the wiki:

Anonymous functions: http://wiki.roblox.com/index.php/Anonymous_Functions
MouseEnter event: http://wiki.roblox.com/index.php/MouseEnter_(Event)

‹‹‹‹ Want to learn to script? http://wiki.roblox.com/index.php/Scripting_Book ››››
Report Abuse
demonwingz999 is not online. demonwingz999
Joined: 18 Oct 2010
Total Posts: 36
13 Jun 2012 11:07 AM
you should tell us how to make welds and how to weld stuff on peoples hands and stuff i always wanted to know that and then taghumanoid i wnna see if i hit ahother character with that ball in my hand how does tag humanoid help that and how could it hurt that person.
Report Abuse
legokid135 is not online. legokid135
Joined: 23 Jan 2009
Total Posts: 1470
13 Jun 2012 11:39 AM
Keep the ideas flowing!

‹‹‹‹ Want to learn to script? http://wiki.roblox.com/index.php/Scripting_Book ››››
Report Abuse
Trioxide is not online. Trioxide
Joined: 29 Mar 2011
Total Posts: 32902
13 Jun 2012 11:48 AM
[ Content Deleted ]
Report Abuse
imcoolfire8 is not online. imcoolfire8
Joined: 23 Nov 2009
Total Posts: 3008
13 Jun 2012 11:58 AM
Explain events more and teach more stuff like math.floor and math.random.
Also how to get items from a table and choose a random one.
That would be nice ;)

♪ Can you dig it? ♪
Report Abuse
flappydavid is not online. flappydavid
Joined: 03 May 2009
Total Posts: 5893
13 Jun 2012 12:07 PM
I agree with, cool. I still need a BIT of clarification on that, XD.
Report Abuse
RATEXmegaGAMER is not online. RATEXmegaGAMER
Joined: 10 Dec 2010
Total Posts: 4046
13 Jun 2012 12:57 PM
Explain some scripts like getting the current date and time using tick(), using metatables and what can newproxy() be used for.
Report Abuse
Redtedflat is not online. Redtedflat
Joined: 10 Oct 2010
Total Posts: 117
13 Jun 2012 01:03 PM
I want to learn Basic Scripting,Local Scripting, and Advanced Scripting
Report Abuse
legokid135 is not online. legokid135
Joined: 23 Jan 2009
Total Posts: 1470
13 Jun 2012 01:03 PM
@imcool, great ideas. Thanks. Also, getting items from a table and choosing a random one is fairly easy:

stuff = { "Hello", "lol", "troll" }
random = math.random(1, #stuff)
print(stuff[random])


Would print a random item each time. Getting an item from a table, instead of choosing it at random would be:

print(stuff[1])

> Hello

print(stuff[2])

> lol

print(stuff[3])

> troll

‹‹‹‹ Want to learn to script? http://wiki.roblox.com/index.php/Scripting_Book ››››
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