I am trying to make a system where it swaps your character with another player’s character.
When cloning the player, the code runs perfectly fine, but instead of swapping the actual character it just makes a clone of said character. I have looked on the DevHub but to no avail. Here is the swap code (Located in “Script”):
this is the localscript at gets the targeted player from the GUI (its getting the .Name since I made another script rename the playerframe to the target player’s name) and triggers a remote event which is picked up by the “Script” which handles the server side cloning.
This code was working perfectly when I was searching for a random player in the server.
Thanks in advance kind stranger