I'm new to coding and so while trying to learn what certain commands I have seen a few scripts in which there will be a line like
local player
or
local humanoid
I wasn't sure if they had a purpose so I tested those scripts removing these lines and the script would immediately crash. What is the purpose of these, and what does it mean when they have no "=" to define them as something else?

2 comments
writing "local player" is the same as writing "local player = nil", it's only purpose is to assign the variable
No problem!