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

I know the basics of scripting and some advanced and what do I do next?

Asked by 4 years ago

I've watched peaspod and some other scripting tutorials and know I don't know what to do. Do I make a game? Well if that is the answer, please comment a game I should make. And when I go into roblox studio and look at some of the scripts there, than I learn from some of it and then I can't find any scripts. If that is the answer, than please tell me a script I should look at to learn. Really would help if you commented and helped me.

4 answers

Log in to vote
0
Answered by
RBLXNogin 187
4 years ago

I used to be in your spot. Several months ago I wasn't as advanced I was as I am now. The Key in your question is that you learned the ****basics**** of scripting, there is ALOT more to go. Examples of this are Remote Events, & Bindables, every scripter needs a good understanding of that. Long story short, explore the WIKIA, and learn new concepts. Most importantly, practice,practice,practice. If you would like a personal scripting teacher. I will give you some links to some discord servers, roblox groups, youtubers, and even my own discord tag. Have Fun!

One last thing to mention is that usually every person who says they "know the basics" really don't. According to you, you do. But There are probally many things you do not know. Continue learning and to grow, and then when you are ready, make a project.

A little secret I used to know what things I don't know, is to make an advanced game and try to script it your best. Everytime you get stuck on a code, take notes on that area and practice that more. There are more areas to grow.

-Sincerly, RBLXNogin

Exisibly RBLX#6757

0
Oh hey blue! How have you been doing? RBLXNogin 187 — 4y
0
has your scripting improved since I last saw you? RBLXNogin 187 — 4y
0
hello? RBLXNogin 187 — 4y
Ad
Log in to vote
1
Answered by
memguy 161
4 years ago

Learning the syntax is not even half of what you have to learn. Scripting is not just knowing the syntax. It's solving different problems as you go. For example how to code a car? How to code a datastore system? How to write a lua interpreter? How to calculate bezier curves, etc. There's a lot more to learn, and you will need more than coding. Try doing maths. It will really help you in future.

Log in to vote
1
Answered by 4 years ago

just understand the general Idea of programming,this includes: knowing things like: Methods, tables,functions, and how they fit almost all conditions and visual catalyst;

for example: lets say your making an event listener that listens for when a part is touched;

you could do this:

local part = workspace.Part
part.Touched:Connect(function(hit)
    print(hit.Name.." touched that part")
end)

understand the general idea that, what your seeing doesn't matter but what it means is all that matters:

example:

the above example code can be written as:

local part = workspace.Part
function touch(part)
    print("part has been touched")
end

part.Touched:Connect(touch);

that's same code just with visual changes, a new programmer could get confused by part.Touched:Connect(touch); and instead do something like this part.Touched:Connect(touch());, they literally call the function, not thinking of the fact that touch(); is evaluated first and whatever it returns is what what's passed to Connect(), in this case it's nil - and therefore they get errors..

when working with roblox objects - parts, sound objects, remote events, etc- just think of they as just plain code, that is expressed as graphics

example:

Note: you can't do the following in ROBLOX, you'll need some sort of framework to do this you could make your own model of a roblox part like this - without graphics to show the part..

local part = {
    ClassName = "Part"
    Parent = "Workspace"
    Name = "MyOwnPart",
    Position = (3,5,6),
    size=(2,4,6),

    clickDetector = {
        ClassName = "ClickDetector"
        Parent = "MyOwnPart",
        etc
    }

    findChildOfClass= function(name)
        for _, kid in pairs(part) do
            if type(kid) == type({}) then
                if kid.ClassName == name then
                    return kid
                end
            end
        end
    end

}

to get a certain property or set a property, you could just do as follows:

part.Name = 'NewName"
print(part.Size)

you can even call methods like:

part:findChildOfClass("ClickDetector")

i hope the above makes a lot sense of how code is such as -Tables- are connected with roblox objects..... just think of roblox objects as code that's turned into graphics...

now the roblox objects aren't made in LUA but all programs define to same bits when they are running...

All I'am saying is: understand the logic, and you should be okay;

i am hoping to make a game that is meant to teach players how to make roblox games from beginner to advanced in the future, stay tuned

Log in to vote
0
Answered by 4 years ago

Practice. No, seriously. Practice.

As the old saying goes, practice makes perfect. Once you learn something about scripting, do some practice on it. Even when you know that you have it "locked and loaded", you can still practice and maybe even extend from there (making a game). With something like scripting, such as raycasting, you'll need a lot of practice for that. But, if it's something minor like making a lava brick, not much practice is required to accomplish that goal, even though it is still very good to practice doing it.

Practice will take you very far in scripting if you consider it enough or even more than enough. Ever wondered why that free model script you grabbed doesn't work the way you want it to? With some practice, you can debug it and diagnose what is wrong with the script.

Practice is pretty much a recommendation, maybe even a need if you want to get good at scripting. Practicing gets you better at scripting. There really isn't anything like it.

Answer this question