Hey guys, so I’ve been learning scripting for about the last 4 months and im at a point where im starting to get pretty discouraged because at this point im finding it hard to find good resources when it comes to actually building a game.
I spent about 6 hours yesterday trying to figure out why my player added connect function wasnt working and it was because it was in a local script. And its not like roblox AI is very useful either since it couldnt seem to figure that out either.
Now when it comes to which type of scripts to use, where to put them. Ways to organize them, different ways to communicate between scripts when to use those, more advanced debugging strategies, client server stuff.
This is where things are getting difficult for me. And like i said, ai cant help with that. I feel like i have a good knowlege so far of scripting stuff in general, and generally how to use most things. But im having an almost impossible time finding good resources for this kind of stuff.
Does anyone have any good resources for when it comes to these topics. Not really the scripting stuff. But more the what you do with your scripts and stuff.
You can find a lot of useful information on the roblox docs:
However you do often need to know what you are looking for. Here are a few things you may find useful:
Server or client side? - if you are unsure, search for what you are working with (for example, the 'Players ’ service) and there are often details on what events should be called on the client and which should be called on the server as shown below:
Client → Server - to send signals from the client to server or from the server to the client, you will need to use remote events (be careful when using this as it can be used to exploit). You may find this useful: RemoteEvent | Documentation - Roblox Creator Hub
Debugging - it is definitely the most dificult part of programming and even some of the best developers can struggle with this. I find a good way is to use the print() function to help me see when an event occurs. Here is an example:
if value == true then
print('Event occurred') -- signals that value is equal to true
end
This can often help to identify the source a problem and see where the error is occurring. However, sometimes, you may need to post of the dev forum under the scripting support to try and find help.
Organizing - it is an important part of game development and it is especially important if you are working in a team. For scripts, try to organize parts such as variables together and you can always use – to add annotations to make it clearer what each part does.
Hope this helps in some way and if you have any other questions let me know
I guess the point is i need to be looking up the functions and events etc. im using to make sure i understand them in full. But i striggle largely with understanding things on roblox documentation and apparently alot of experienced people do to.
I turned to AI in documentation as a educational resource to just learn things from not to copy scripts. But the thing seems to be just as much out of the loop as I am. Ex. When i looked into client to client communication between scripts it told me to use remote events. Which is not what its used for. And after a bunch of arguing with a computer it eventually told me about bindable events.
Point is I dont think ai is for me. Im worried everything i learned from it is utter nonsense.
There seems to be too many tuturials about scripting but not enough about integrating those practices in studio and how.
I think one of the best ways is just to start on small projects and try to do what you can independently and try to only look up help or tutorials when you need it. This way you will begin to get used to it in practice and it eventually it becomes easier as you become more fluent in programming on roblox.
It can take a while though especially if you are new to scripting.
If you are having any problems I usually search up the problem I’m having on google followed by ‘roblox’ or something related to it. For example for a problem with data stores I may search up ‘Data Stores Roblox’ to find the documentation for or a more specific problem such as ‘How to convert cframe to orientation roblox’ I would put a more detailed search to find dev forum articles/posts.
Yeah. Maybe my project idea is too big right now. Im building a D.A.W. kinda like fl studio. Not that itll get popular. Its just what i know most about. Roblox barely has enough work around for audio but does have enough to make a basic daw. But its going good enough i dont feel like giving up on it. I get it. Its just one of those things that takes a while to learn and the ones that succeed are the ones that have patience and persist.
Yeah it can take a while but don’t fully abandon the project. I know roblox did announce some features in audio at RDC this year so they may be working on it but I’m not sure but you could always go back to the project later on.
For example, one of my first games was a line runner game made from a roblox template but recently I went back and remade it (I didn’t release it though). Sometimes, it’s better just to start off small and work your way up.