I was about to replace it cause it just don't work in-game. But it won't work. Any help?
local playerfinding = game.Players.LocalPlayer
local player = playerfinding:FindFirstChild(game.Players.LocalPlayer.Name)
This is the error I receive and game.Players.LocalPlayer.Character won't work in-game actually, it sends an error on Developer Console.
How to fix this? I wanted to shoot my fire script both in-game and in-studio. Error I recieve: 18:04:12.336 - Players.cherrythetree.Backpack.LocalScript:7: attempt to index local 'player' (a nil value)

1 comment
@cherrythetree detect the Character and then the Name. I'll give an example.