Roblox scripts use the Luau programming language, which is derived from Lua 5.1. Roblox Creator Hub
Are you trying to for your own game, or Scripting | Documentation - Roblox Creator Hub Pro Border Script | Become ANY Rank!
For developers looking to implement rank-based features legitimately, you can learn to use —Roblox's official programming language—to create your own experiences. Roblox scripts use the Luau programming language, which