If you use the function stats()
inside of a script in a game, it’ll highlight it as it’s a deprecated function that was used a while ago and now is replaced with other functions today.
How to reproduce:
- Open up Roblox Studio.
- Create any type of script inside of Workspace.
- Use the following code:
local stats = Instance.new("IntValue")
stats.Name = "Stat"
or:
stats()
Script Analysis property even lists it as a deprecated global function. Even though it’s not commonly used, it’ll be frustrating for developers who like highlighted variables or use lowercased letters in the beginning.