BOLT - Library for Programming Easier and Faster [Not Recommended for Use]

I would recommend splitting the different dictionaries into different scripts. You can use the Bolt.lua file as a collection of all those different scripts and expose miscellaneous functions (or you could use a “common” or another word for commonly used functions or ungroupable functions). I’ll make a pull request which splits up your current code on GitHub.

1 Like

This is a cool module, but it seems like it’s not a contribution the community particularly enjoys. Either way, thanks for the contribution.

3 Likes

Bolt 22.1.0

Bolt 22.1.0 has been released just now.

Change Log

  • Added checking ownership of game passes
  • Prompting purchases of game passes now returns true if the player bought them
  • Added RayCasting
  • Added MoveCamera
  • Removed place ID saving temporarily due to issues

RobloxWebsiteGitHub

The purpose of this post was for @icrann to share his creation, not to get comments on how his contributions are bad or nobody likes them. Is it the best library? No. But all he’s trying to do is help our tiresome hands.

3 Likes

I know, that’s why I thanked him for the contribution.

1 Like

Thanking him for the contribution then saying it’s useless to the community?

Read the post carefully, he didn’t say/intend what you’re making it seem to be.

1 Like

Quite cool, except most of these small functions can be written in under 30 seconds. One suggestion I have is to make the module only contain large functions, that way the small ones don’t waste space / memory.

3 Likes

Oh and not to mention these are specfic use functions, not general use. What I mean is that these are made for one purpose only (i.e. creating leaderstats with one value, or killing a player), not something like Shooting a ray forward or a function that can do more than one thing.

1 Like

That’s not what I’m saying. I’m just trying to explain what the majority of the community thinks. I don’t think it’s useless, I just think it can be improved. It’s a good contribution.

2 Likes

Despite all the hate here I really like this module! It saves a TON of time and prevents you from having to create multiple modules for multiple functions and just putting them all in one module! For everyone complaining about wasting memory, this module is for saving time not saving memory. Not to mention the time saved really adds up!

1 Like

As I’m currently working on this I would love to hear from people as to what they think I should add. It would really help in the development as to where to focus my attention.

Less lines =/= faster. There’s a lot of unnecessary :WaitForChild()'s and use of the second parameter of Instance.new().

4 Likes

Thank you for creating this! I hope to use it soon.

1 Like

There are also methods in this like RemoveHealth and Shoot which don’t even use the built-in humanoid TakeDamage function, which actually respects forcefields unlike directly setting the health.

Personally, a lot of these seem like really redundant one line wrappers that serve no purpose and also is misleading people into believing that these one line functions actually provide any performance optimizations, which is completely false, it wouldn’t make a difference even if the same thing was being done directly from the code that needed it instead of a function.

2 Likes

Bolt.Kill() vs Character.Humanoid.Health, then the latter would win because you’re using the exact same thing in the Bolt.Kill, bit on top of that you’re also firing a function

2 Likes

Thanks for the advice on using dictionaries. I plan on implementing these in the next release.

Bolt 22.2.1

Bolt 22.2.1 has been released just now.

Change Log

  • Bolt now uses a dictionary arrangement. You will now have to use for example Bolt.Stats.NewStat(). Important if you download from github you MUST make all files in requires a child of Bolt.lua

RobloxWebsiteGitHub

It would be more efficient to code your own raycast, the Shoot method is barely modifiable, even adding a callback would give it some use rather than just automatically damaging a humanoid.

Sorry for the late reply. If your looking for raycasting and you would like a return you can use the Bolt.Combat.RayCast(). For more details visit our documentation on ICrann | Bolt