{"id":25530797,"url":"https://github.com/dindinyt37/roblox-utils","last_synced_at":"2026-04-12T22:06:52.438Z","repository":{"id":167022956,"uuid":"587007357","full_name":"DindinYT37/roblox-utils","owner":"DindinYT37","description":"High-performance Roblox utility functions and snippets, optimized for production use","archived":false,"fork":false,"pushed_at":"2025-02-15T20:58:57.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-15T21:25:31.539Z","etag":null,"topics":["github","lua","lua-script","luau","module","modules","modulescript","roblox","roblox-api","roblox-lua","roblox-script","roblox-scripting","roblox-scripts","roblox-studio","robloxdev","robloxlua","robloxscripts"],"latest_commit_sha":null,"homepage":"","language":"Luau","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DindinYT37.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-09T18:40:35.000Z","updated_at":"2025-02-15T20:59:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"e06d6c3f-867d-403d-8cc5-81cbff7a77ab","html_url":"https://github.com/DindinYT37/roblox-utils","commit_stats":null,"previous_names":["dindinyt37/robloxsnippets","dindinyt37/roblox-utils"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DindinYT37%2Froblox-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DindinYT37%2Froblox-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DindinYT37%2Froblox-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DindinYT37%2Froblox-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DindinYT37","download_url":"https://codeload.github.com/DindinYT37/roblox-utils/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239753898,"owners_count":19691203,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["github","lua","lua-script","luau","module","modules","modulescript","roblox","roblox-api","roblox-lua","roblox-script","roblox-scripting","roblox-scripts","roblox-studio","robloxdev","robloxlua","robloxscripts"],"created_at":"2025-02-20T00:21:59.097Z","updated_at":"2025-10-30T00:49:13.912Z","avatar_url":"https://github.com/DindinYT37.png","language":"Luau","funding_links":[],"categories":[],"sub_categories":[],"readme":"# roblox-utils\n\n\u003cdiv align=\"center\"\u003e\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)\n[![Stars](https://img.shields.io/github/stars/DindinYT37/roblox-utils?style=social)](https://github.com/DindinYT37/roblox-utils/stargazers)\n[![Twitter](https://img.shields.io/twitter/follow/DindinYT37?style=social)](https://twitter.com/DindinYT37)\n[![Discord](https://img.shields.io/badge/Discord-@dindinyt-7289DA?logo=discord\u0026logoColor=white)](https://discord.com)\n\nA curated collection of high-performance Roblox utility functions, featuring optimized snippets for number manipulation, string operations, cryptography, and more. Each module is thoroughly tested and ready for production use.\n\n[Installation](#installation) • [Features](#features) • [Usage](#usage) • [Contributing](#contributing) • [License](#license)\n\n\u003c/div\u003e\n\n## Features\n\nThis repository includes various modules for:\n\n- Number formatting and manipulation\n- Color manipulation and transitions\n- Mathematical operations\n- String operations\n- Cryptographic functions\n- Model manipulation\n- Interpolation functions\n- Random generation utilities\n\n## Usage\n\nEach module is self-contained and can be required independently. Here's a quick overview of available modules:\n\n### Number Utilities\n- `Abbreviate` - Converts numbers to abbreviated string format (e.g., 1000 -\u003e \"1K\")\n- `AddZeroes` - Pads numbers with leading zeros\n- `FormatNumber` - Formats numbers with comma separators\n- `Grid` - Snaps numbers to a grid\n- `NearestMultiple` - Rounds numbers to nearest multiple\n- `Map` - Maps a number from one range to another\n\n### Color Utilities\n- `ColorHSL` - HSL color conversion and manipulation\n- `GammaColorTransition` - Color transitions with gamma correction\n\n### Interpolation\n- `CosineInterpolation` - Smooth interpolation using cosine\n- `CubicInterpolation` - Cubic curve interpolation\n- `HermiteInterpolation` - Hermite curve interpolation\n- `LinearInterpolation` - Linear interpolation between values\n\n### Cryptography\n- `Base64` - Base64 encoding and decoding\n- `MD5` - MD5 hash generation\n- `HexCode` - Random hex code generation\n\n### String Operations\n- `Acronym` - Generates acronyms from strings\n- `Grammar` - Basic grammar correction\n- `Levenshtein` - Calculates Levenshtein distance between strings\n\n### Vector/Model Operations\n- `AngleBetween` - Calculates angle between vectors\n- `ModelMover` - Utility for moving models\n- `Reflection` - Calculates reflection vectors\n\n### Random Generation\n- `Chance` - Probability and random number utilities\n- `GenerateRarity` - Weighted random rarity generation\n\n### Misc\n- `ClassifyScript` - Identifies script types\n- `isWithin` - Range checking utility\n\n## Installation\n\n1. Clone this repository or download the desired modules\n2. Place the modules as `ModuleScript` instances in Roblox Studio\n3. Require the modules as needed\n\n## Example\n\n```lua\nlocal Abbreviate = require(game:GetService(\"ReplicatedStorage\").Abbreviate)\nlocal formatted = Abbreviate(1500) -- Returns \"1.5K\"\n\nlocal Map = require(game:GetService(\"ReplicatedStorage\").Map)\nlocal mapped = Map(50, 0, 100, 0, 1) -- Maps 50 from range 0-100 to range 0-1\n```\n\n## Contributing\n\nContributions are welcome! Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to submit pull requests, add new snippets, and improve existing ones.\n\n## License\n\nThis project is licensed under the MIT License with an additional attribution notice - see the [LICENSE](LICENSE) file for details. While attribution is appreciated, it is not required for using these snippets in your projects.\n\n\u003cspan style=\"font-size:80%;opacity:0.7;font-weight:500;\"\u003e*All by @DindinYT37 on Twitter or @dindinyt on Discord.\u003c/span\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdindinyt37%2Froblox-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdindinyt37%2Froblox-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdindinyt37%2Froblox-utils/lists"}