These are a few good reads on bad practices
In addition to this a few things that you should do
- All services should be referenced using game:GetService (not necessary for workspace as it is a property of game)
- When importing a module, use the name of the module for its variable name.
And a few things that apply to programming in general
- Add comments where necessary
- Design before coding
- Avoid optimization if it makes your code harder to read
- Don’t copy-and-paste code from other people or websites without fully understanding what it is doing
2 Likes