How cautious should I be when accessing things within a character? For example, if I’m trying to find out what the players head scale is from a local script, should I do this:
if Player.Character then
local Humanoid = Player.Character:FindFirstChild(“Humanoid”)
if Humanoid then
if Humanoid:FindFirstChild(“HeadScale”) then
- Do stuff
end
end
end
I feel like I use findfirstchild all the time and I don’t know if I am using it when I don’t need to be... |