So, I asked for help on a script on the Roblox developer forum and someone on my script had used semi-colons, but when I changed it and removed them the script didn't work anymore. I wasn't exactly sure what the difference was in what he changed or why the semi-colons fixed the problems. It would be great if someone could explain to me what they mean in my piece of code, due to me being new to coding.
Code:
local plr;
for i,v in pairs(players:GetPlayers()) do
if not plr and textEntered == v.Name then
plr = v;
end
end -- There is more code after, but it was irrelevant to enter it

1 comment
why not compare with what happened when the person changed the script and the script before you posted?