So i used game.Players.LocalPlayer in a script and it did not work but when i used game.Players.PlayerName, It worked. So is there something so i dont have to type the playername manually. (i hope it makes sense what i am saying, i am new to scripting)
Edit: Using game.Players.PlayerAdded:Connect(function(player) Solved my issue.
