I am trying to get the player from a server script, with the following code:
local player = game:GetService("Players").LocalPlayer local char = player.Character
But it gives an error saying : 09:43:36.442 - ServerScriptService.Script:2: attempt to index nil with 'Character'
Please help!