Preventing exploting from client side minigames

OP is asking how to prevent exploiting on client-side minigames. A game link wouldn’t do much here, nor do you need to play any games. The idea is to try and provide a response that helps OP resolve their given issue. Try checking out the Scripting Support category guidelines for information on this category.