I'm having troubles with some lines of code. The main parts that are mixing me up are Remote Events and Remote Functions

2 comments

1

I would suggest to read this it will explains in great detail. https://developer.roblox.com/en-us/articles/Remote-Functions-and-Events

1

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.