Event was not safe for net?

Hey so i know an already ongoing thread was going with this issue but now hear me out so i went in to the are where the event was called from and i changed the RegisterNetEvent to -> RegisterServerEvent, but same issue happens when i try to test out the script

Console
https://gyazo.com/53c507a6221fa2392da9f17ca4fdd574
server.lua
https://gyazo.com/43e4900fe928936d697572523cd54da9
client.lua
https://gyazo.com/e2c99b49eb71b4009291bd831585203c

can anyone help me figure out what why i get the error, when i changed from RegisterNetEvent to RegisterServerEvent, as the other thread teached me?
and btw before i scrambled my resources to protect me against lua injection, there was no issue with this script