I'm having troubles with some lines of code. The main parts that are mixing me up are Remote Events and Remote Functions
COMMUNITY QUESTION
When should I use Remote Events and when should I use Remote Functions? [closed]
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
I would suggest to read this it will explains in great detail. https://developer.roblox.com/en-us/articles/Remote-Functions-and-Events
A couple of key points to add though: when using remotes from the server, the first parameter must always be the player, but you don't need this parameter in the local script. NEVER have your server call a remote function to a local script.