Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

How to start scripting? [closed]

Asked by 8 years ago

I want to be able to script big games like combat games etc, so I know I have to start somewhere so i went to roblox wiki and I tried some of the tutorials but all the scripts that i try to do are usually failing and sometimes it brings in new words and things that i don't know what they are. So is there any site/video that can teach me(or someone to tutor me :D) how to script properly and then later on be able to make games that are actually worth playing.

Locked by OldPalHappy

This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.

Why was this question closed?

4 answers

Log in to vote
16
Answered by 8 years ago

Learn
Seriously.

Now, I'm going to get a lot of hate for this but hear me out. What you are probably doing, and a lot of people are guilty of this so don't worry, is that you are simply looking. Learning is something you have to really want to do, and you have to do it in the right order. Above all else, learning in itself is a skill - I've found in experience with people that a lot of people have no idea how to learn.


  • Start by learning how programming works
    This will do you so many favours in the long run, because it will also teach you how to break down and solve your own problems. If you've ever used Scratch or BYoB, make sure you've got that down because it will teach you all of the important things about variables, datatypes and flow control in an easy to understand environment.

  • Learn how Lua works
    I know, you want to get straight to Roblox. That's great, but it's no good if you don't understand the language. You'll just be all read by rote and could not spell - You'll know how to do x and y with z so that the part flies around the dragon and explodes, but you'll have no clue what on earth your code does. Don't be that person. Doing that just makes problems for you when you don't know how to do something, because you don't know what you need to do.

  • Learn how Roblox works
    What, isn't that what I wanted to do? Learn how it works. Roblox uses event-driven systems with a ton of object-oriented idioms and a hierarchy. Once you get that down, you'll understand the example code much better, and you'll learn much better.

  • Don't be lazy
    Being lazy is the worst thing you can do. You know that nice bit of code you saw that solves your issue? Copying it is great and all, but you learned nothing from just copying it, and now if you have a similar issue you're screwed.

  • Break your problems down
    I know, you want the gun to shoot a rocket that explodes into lightning dragons that breathe blue fire, but you're never going to find a solution for that. Break it down: You want to fire a projectile - Learn how to make a projectile; you want to make it explode, when it hits something - Learn how to do something when something hits something, learn how to make an explosion; etc. etc.


Learning resources:


And importantly, never be afraid to ask, but make sure that you're asking the questions. Don't ask what to write, ask what to do and how to do it. Ask how it works. Understand it. Learn it. And importantly, enjoy it.

1
There's actually no specific order in which to learn. I never did your step #1 first, yet I know ROBLOX Lua pretty well. Whichever you're most comfortable with, is where you should start. That doesn't mean you should dive into the deep end and try to script an entire game. Shawnyg 4330 — 8y
0
I'm not saying that any of these are prerequisite to any other, but they are important steps. User#6546 35 — 8y
1
In fact, you did complete step #1 - You learned how programming works. You will have covered your output, variables, flow control etc whilst learning Lua and lucky you but you must have done it slowly. User#6546 35 — 8y
Ad
Log in to vote
1
Answered by
Prioxis 673 Moderation Voter
8 years ago

I started small I started with click detectors and clicking something it will make it unanchored or creating a smoke particle effect or turning a light on and off or changing colors of bricks very basic stuff and gradually moved up

I also would take a functioning free model and look at the script and break it down into chunks after I learned the syntax of Lua and then take parts of the code out to see what would happen if it didn't have some components..

It took me 2-3 months to learn lua this was working at it for 10-30 minutes a day every day during summer break you'd be surprised what happens in that short amount of time

the roblox wiki is your friend never be afraid to google something like

Roblox clickdetectors or anything with Roblox infront of it and then the issue your having

Log in to vote
-1
Answered by 8 years ago

Like my friend always said.

Start small,and go big. It will probably take 1 year befor you can even code something as advance as Phantom Forces, SAO Burst Etc.

Where I started was here.

https://www.youtube.com/playlist?list=PLXX6hhg4CysYf0M-_GtCEOgGlkBfrXsoJ

Log in to vote
-1
Answered by 8 years ago

i only have one word for you. Alvinblox

Alvinblox is good for beginner scripters and he does good quality and clear speaking tutorials

His youtube is Alvinblox