How to test a 2 player script?

Hey guys! I’m currently learning Lua for FiveM. I’m wondering how I would go about testing a script that requires 2 people, but alone. For example, I started learning by creating a simple handcuffing script - so how would I go about testing the script without bothering others to load up FiveM and join my local server. Thanks!

Well as you said in the title, you need 2 players.
Some functions may work if you do it on a ped (like animations, giving weapons and so on) but you cant trigger event from server on a ped, thats why you need a second player.

You need a friend to help you out. I can help you if you want.

Thanks for the info @Sandacz and @Mart475 ! I’ve got a few people who I can grab, but I appreciate the offer Mart!