(For context, I know that this is local as it is currently!)
What do I want to achieve?
I want to be able to convert this script with a function that is fired from a Remote Event to be server-sided where referencing the character won’t give me an error:
What is the issue?
I’m unsure of what to configure in this script to change it from local to server-sided. I don’t want to sound like I’m plain out asking for the solution, but I’d really appreciate if someone could rewrite the script/explain in depth of how this works so I can understand it in my future of learning scripting.
What solutions have you tried so far?
I have found indirect answers but can’t seem to find how to figure out how to configure my script to actually work with it.