How to prevent abuse with HD admin

Hey!

I added it so people can size themselves in my game, however is there a way to limit how big someone can size themselves? e.x i dont want people to be able to size themselves to 100, that would ruin the game for everyone

1 Like

HD Admin is a Module right? Do you think you can find the function where the size command is executed inside the Module or inside the other scripts it may contain? If so, if there’s a parameter that holds the size that the player passed as an argument, are you able to set a limit to that number?

You can use math.clamp() or you can check if the number is higher than [x] and then set the number to [x] if so.

Iirc hd admin already has a size limit, not sure though. I do not like/Do not use hd