It probably works, your just putting it into workspace, not the players inventory, you can also try setting a specific position for you then to pick it up.
That should work fine. Like @JAcoboiskaka1121 suggested, try wrapping the call in a pcall and see if you can catch an error. Often times it may be a server issue which isn’t quite exactly an error, but a lack of a response
Looking closer to the script, this was an old script that i made that im trying to add things, it’s probably better to do a new one, beacuse it’s really messy, probably just the script not working correctly and not detecting the command, i will do a new one real quick and try again