Need help with a /lspd script

Try this and let me know if it doesn’t work.

Change this:

To this:

RegisterCommand('lspd', function(source)
    TriggerClientEvent('changeskin', source)
end, false)

It should work.