This is the only problem holding me off from fixing my game.
game.Players.LocalPlayer
does not work and it is confusing me. please help
The way you are describing it is not correct.
Let me break it down for you.
game.Players.LocalPlayer
cannot be accessed on the server, because only the client and access that value. To see more, search for 'Server-Client Model'. It will give you an understanding of how it works.
But, there is another way of doing this. This might not be a good way, but it's there to be there. Use this line of code:
local player = game.Players.PlayerAdded:Wait()
If you reference the variable, it will say that it returns a Player instance. This is what you're looking for. Am I correct?