What if I don’t know the usage of an event or something like " PivotTo ", should I ask for help here?
Scripting is really about how you put things things together and not about what you know and don’t know For example look at these 2 code examples in leaderstats:
Example 1:
local folder = Instance.new("Folder")
folder.Parent = player
folder.Name = "leaderstats"
local IntValue = Instance.new("IntValue")
IntValue.Parent = folder
IntValue.Name = "Money"
and then Example 2:
local function MakeInstance(Classname, Parent, Name)
local Object = Instance.new(Classname, Parent)
Object.Name = Name
return Object
end
local Folder = MakeInstance("Folder", Player, "leaderstats")
local Money = MakeInstance("IntValue", Folder, "Money")
You can see here, they both do the same thing. They have the same goal in mind to make a money IntValue. Now example 1 is not as complex as example 2. Example 2 really shows that you are able to be effective in script and have more of an understanding of scripting. Example 2 is more efficient, and thats how you can judge scripting skills. How can you make your script the most efficient, and not about what you can and can’t do. So its important as you grow to focus on that
Roblox docs is a great place like people above have mentioned. Just search on the doc page and there is a doc for Pivot that is quite good. Also there is tons of videos, etc, and so many resources to use.
Alrighty! Thanks for answering all my questions:)
Is there a doc for everything related to scripting?
Mhm, hope you have a fun Development Career
Basicially. Almost all functions. And its made by roblox, so they understand it the best, and can sometimes let you know about important things, like how there is limits in datastores etc.
Yes. There is. Everything from building Tutorials to Scripting to GUI
Yes, I hope you have a great time scripting! All I have to say is to have fun scripting and don’t forget to always ask help!
I will!
Thank you:))
[30letters]
You should try making a 3d renderer/rasterizer in Roblox
It’s really fun
And it will introduce you to some complex programming thingies or smth
What is blud waffling about? you’re correct about scripting being more about problem solving and efficiency, but the second option is just excessive imo
In the example yes. But often leaderstats and player data have more. Now in a example I’m not going to make a long script, I am going to try and simplify, and make it readable. But ideally, (especially in simulators) you have more instances that need to be made then 2, and in that case, using that type of function is much needed, and in that case, It won’t be excessive at all
Very untrue. An advanced community would be the OSS community and learning how to use the command line.
The creator documentation has a lot of helpful guides that give overviews of what the platform is capable of. I’ve been in the habit of reading topics that sound like they could be useful to get an idea of what tools are available.
They are all relatively in-depth and provide examples and/or link to other parts of the documentation for more specifics.
With the cost of performance and memory…
This is way too basic, a 9 year old can learn this. You just have to learn 15 words and what they do, and how to give arguments. In 15 minutes you can learn the command line.