yoshiegg6
|
  |
| Joined: 20 Jul 2012 |
| Total Posts: 3191 |
|
|
| 10 Dec 2014 06:30 PM |
| How did you all get so good? I'm past the basic phase and most guides are either too easy or too hard for me. I can't just open up a free model and get things I don't know, people have to explain it to me. |
|
|
| Report Abuse |
|
|
sallygge
|
  |
| Joined: 14 Jan 2011 |
| Total Posts: 52 |
|
| |
|
ash877
|
  |
| Joined: 18 Feb 2008 |
| Total Posts: 5142 |
|
|
| 10 Dec 2014 06:49 PM |
You don't simply open a book and know the text.
-You must love lua, feel lua and smell lua!
-LOL
-Seriously, keep making games. Start low then use your imagination. Think of the things you can't do and then do them; within Roblox regulation because they deprecate a lot of stuff. |
|
|
| Report Abuse |
|
|
|
| 10 Dec 2014 07:30 PM |
Say it normally then think it in Lua... like this.
Normal...
9+10=19
If 9+10=19 then make the brick appear...
Script...
9 + 10 = 19
If 9 + 10 == 19 then
game.Workspace.brick.Transparency = 0
|
|
|
| Report Abuse |
|
|
Blockeus
|
  |
| Joined: 21 May 2012 |
| Total Posts: 297 |
|
| |
|
|
| 10 Dec 2014 07:43 PM |
| I was learning PHP, then wanted to try Lua, and found out Lua is VERY similar to PHP but easier. |
|
|
| Report Abuse |
|
|
Everment
|
  |
| Joined: 08 Oct 2009 |
| Total Posts: 6020 |
|
|
| 10 Dec 2014 07:46 PM |
"Lua is VERY similar to PHP"
Eh, not really. At least not more than normal (most languages have similarities, but are still very different). There are a good number of differences, but none-the-less Lua and PHP (and Python and [maybe even] C# and JavaScript) are pretty similar in general. |
|
|
| Report Abuse |
|
|
|
| 10 Dec 2014 07:54 PM |
Just learn the basic scripts! Then, take some harder scripts and fix them! Basic scripts like this,
Instance.new("Part",game.Workspace) and turn them into this,
game.Players.PlayerAdded:connect(function(pr) local clrtable = {"Bright red","Really blue"}
if pr.Name == "NAME" then for i = 1, 10 do local s = Instance.new("Part",game.Workspace) s.BrickColor = BrickColor.new(clrtable[1]) end) end
|
|
|
| Report Abuse |
|
|
|
| 10 Dec 2014 07:55 PM |
| Lots of reading and experimenting. |
|
|
| Report Abuse |
|
|
|
| 10 Dec 2014 07:58 PM |
Me?
I started by figuring out the basic stuff such as PRINT and WAIT. Then I went to the catalog and got every free model that had a good script inside. I read them and figured out how they worked. Then I dissected them and tried to apply that to my own work. Then I use the stuff I just learned in useless "projects" until I get the hang of it. Then when I feel good, off to the next free model I go.
It's kind of cheating on the work of others, but it works. |
|
|
| Report Abuse |
|
|
|
| 10 Dec 2014 10:16 PM |
1. Take a script that you're fun to play with. (e.g. admin command, or something) 2. Edit it little by little 3. Try to copy WHILE understanding it. 4. Try to make your own.
--Note: Start with easy admin scripts. |
|
|
| Report Abuse |
|
|
|
| 11 Dec 2014 12:18 AM |
Script analyisis if you are the heir of voldemort and you are completely independent Or you can use wiki.roblox.com |
|
|
| Report Abuse |
|
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
|
| 11 Dec 2014 12:32 AM |
m8
It's pretty much english m8
if this value is equal to that value print out hello
local a = 1 local b = 1
if a == b then print("Hello") end
But other than the fact it's purdy easy, we h@cked. Hakgcing gu1de: wiki.roblox.com
|
|
|
| Report Abuse |
|
|
Egzekiel
|
  |
| Joined: 10 Jan 2011 |
| Total Posts: 1079 |
|
|
| 11 Dec 2014 05:46 AM |
I won't say i'm a great scripter but i'm getting better everyday. How? Keep focusing on a hard objective, once it's passed, try to accomplish an ever harder one. It takes time to be good. |
|
|
| Report Abuse |
|
|
RA2lover
|
  |
| Joined: 09 Nov 2008 |
| Total Posts: 1254 |
|
|
| 11 Dec 2014 08:28 AM |
doing silly projects for the heck of it, mostly never releasing them.
AutoIt? autoclicker->idlebot->color based aimbot
C? temp file deleter(damn you planetside2)
Pure Lua? drum magazine shape calculator, procedural polygon generation for vector graphics, KSP delta-v calculator(never got it to accept file input though)
Applied Lua? Automated propeller pitch computer, Fighter HUD(complete with lag-compensating visual-ranging gyro gunsight, velocity direction vector indicator, variometer, accelerometer and artificial horizon) out of vector graphics(game i made it for (rigidchips) only has 3 draw functions(set draw color,move cursor, draw line from cursor), and so on. |
|
|
| Report Abuse |
|
|
|
| 11 Dec 2014 10:50 AM |
Asking SH a ton of questions.
--ThatChristianGuy |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 11 Dec 2014 11:01 AM |
I'm not advanced but this is the order I recommend:
- Variables (go over what the datatypes are, and go over what strings, numbers, booleans, ... are) - Tables, functions, and userdata are a bit more complicated than the others, in time you will understand if you just keep on studying - Variables vs local variables - Operators (+, -, *, /, %, ^, #, =, ==, and, or, not, ...) - Many of the built-in variables - Loops (numerical and generic and how they work) - String manipulation (learn what most of the functions in the string library do) - Table manipulation (learn what most of the functions in the table library do) - Metatables - Basics of string patterns - Scopes and closures - Custom iterators - Function and stack environments - Differences between vanilla Lua 5.1 and Roblox Lua
Probably a lot more I missed and maybe a weird order, but oh well. Here are some differences off the top of my head: - _G is shared throughout all scripts in Roblox, but normally it is just a reference to the global environment (global variables are stored here). - Roblox removed the IO and DEBUG libraries (although they do have os.time and I think that's it). - Built-in variables are not stored in the global-environment on roblox, but hidden in the metatable (which is locked) of it (although I believe the "script" variable is not hidden).
Probably a lot more I missed, of course. |
|
|
| Report Abuse |
|
|
duckwit
|
  |
| Joined: 08 Aug 2008 |
| Total Posts: 1310 |
|
|
| 11 Dec 2014 12:06 PM |
There is a subtlety that often goes unmentioned whenever people discuss the all-encompassing word "Scripting". In theory, you could be a "Master Scripter" (uses proper syntax, knows what data structures and functions and APIs to use for a given problem, thinks logical) and be absolutely useless at making anything worthwhile on your own.
Why? Because Lua is just a language, scripting is just an implementation of higher things. If you don't know anything about mathematics or physics (mechanics), you'll have a hard time programming things that are meant to work in a situated way in a physically simulated environment. |
|
|
| Report Abuse |
|
|
parkiet3
|
  |
| Joined: 16 Jul 2011 |
| Total Posts: 832 |
|
|
| 11 Dec 2014 12:33 PM |
Place this in a script
wait(math.Huge) print("done")
If the done appears in the output, god wil give ya the answer :) |
|
|
| Report Abuse |
|
|
|
| 11 Dec 2014 12:58 PM |
"I was learning PHP, then wanted to try Lua, and found out Lua is VERY similar to PHP but easier."
if you learn more lua or more PHP you'll discover it's extremely different
PHP syntax is a bit odd
|
|
|
| Report Abuse |
|
|
|
| 11 Dec 2014 01:20 PM |
The script variable isn't hidden.
--ThatChristianGuy |
|
|
| Report Abuse |
|
|
robocu3
|
  |
| Joined: 13 Mar 2009 |
| Total Posts: 6485 |
|
|
| 11 Dec 2014 01:26 PM |
coding is simplistic not really advanced if you're willing to invest the time to learn it -=Robo=- |
|
|
| Report Abuse |
|
|
|
| 11 Dec 2014 02:08 PM |
| Learn from the roblox wiki. They walk you through lessons. It's very effective... |
|
|
| Report Abuse |
|
|
yoshiegg6
|
  |
| Joined: 20 Jul 2012 |
| Total Posts: 3191 |
|
|
| 11 Dec 2014 07:43 PM |
| Thanks for your help everyone. I'll use the wiki more, and I haven't practiced in studio lately so I'll do that too. |
|
|
| Report Abuse |
|
|
|
| 11 Dec 2014 07:54 PM |
| It starts with a desire. I desired to make a RPG game six or seven years ago. I say pick a project and stick with it for awhile. Even if you don't achieve it, you will have learned from it. Always keep a goal in mind, something that you want to do that drives you. Scripting can be hard at times, but the reward at the end of it all is worth it. |
|
|
| Report Abuse |
|
|