So I’ve always been wondering how these super scripters know how to script. I actually can script some stuff but not really advanced stuff like making a car drive or making a gun shoot stuff like that. And I always ask myself how the hell do I do this, where do I need to start?
So if you can tell me how those learned to script advanced stuff like I said that would be very helpfull.
That is actually how I learned to script some cool stuff though but I never got to make something like a car. Cause everything I made is not similar to coding a car. And to learn it you need to make a car and repeat and repeat it all over again untill you get it right?
So something like this and make it more advanced every time.
local inputService = game:GetService("UserInputService")
inputService.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.Keyboard then
if input.KeyCode == Enum.KeyCode.E then
game.Workspace.Part.Position = Vector3.new(0,50,0)
end
end
end)
I would say my most advanced code is half advanced, maybe you could take inspiration.
local pi = math.pi
local radius = 50
local numbofparts = 100
for i = 1,numbofparts do
local part = Instance.new("Part")
local vector = Vector3.new(math.cos(i*pi),0,math.sin(i*pi))
part.Positon = vector
part.Anchored = true
end
I learned scripting from a friend so I’m not exactly sure if my advice is the best.
Watch YouTube videos that explain how to make something as well as explain what it does
Learn from friends who are current developers or who can get you into contact with one
Use ROBLOX’s tutorial page which teaches you step by step how to code. (RECOMMENDED HEAVILY) Learn Roblox
Always get help from the developer forum. Use #help-and-feedback:scripting-support and create a post or use the search bar and search what your having an issue with if you ever get stuck on something and can’t find a solution.
The Developer Forum has a resources page that allows users to post their own creations so people can use them and make their game amazing, you can then read their code and hopefully learn something! Use #resources:community-resources
Most importantly: Don’t give up! If you ever run into a problem, keep going until you fix the issue. Learning is most effective if you are able to overcome challenges!
Well this is probably not the answer you’re hoping for but… practice. Pick a project that stretches your ability and do it.
Also tutorials are a really useful resource, but don’t overuse them. A lot of what you need to learn is how to solve these problems yourself with the tools you have available. A tutorial just gives you a solution. You should try to come up with a solution before relying on a tutorial. Even if your solution isn’t very good, you get practice in making projects without a tutorial. Then you can use a tutorial to find out how you can improve on your previous attempt.
Also one thing that really helped me learn was actually answering things I could help with on the devforums. It gave me a lot of practice in quite a few areas since they were all like practice problems that I tried to solve to the best of my ability. It also gave me quite a few areas to look more into. And seeing the solutions others give to problems was also helpful. Honestly I would say that this is what has helped me the most.
You should learn math, I believe that it can expand your creativity and motivation to keep coding. Since I’m a programmer with passion, I decided to focus on math, I’m planning to learn trigonometry & geometry. Math is really important to learn advanced techniques, such as foot planting and viewmodel movement, look at the current First Person Shooter games.
Don’t let anyone ruin your passion and don’t give up!
To add more here, you should learn about frame/render rates, and the task scheduler. It will be very useful to acknowledge the task scheduler.
Don’t over work yourself, take rest if you feel burnt out.
Mainly just practice to be honest. Just think about something that may be hard to make. And search up what you need to make it. Lets say a gun for example. I would search up how to use raycasts, tweens, and other things. In my experience I’ve learned a lot from doing things this way. Also look into everything that you can insert into roblox. If you dont know what something is search it up. That how I mainly learned how to script advanced things.