The print is in another random resource just to test it, here is the code for the print: RegisterCommand("test", function(source, args, rawCommand) print(tonumber(args[1])) end, false)