you should do
if Character and Character:FindFirstChildOfClass("Humanoid") then
end
this will never error
and nested-ifs are always the worse solution (for me… after all it is subjective because technically there is no difference)
you should do
if Character and Character:FindFirstChildOfClass("Humanoid") then
end
this will never error
and nested-ifs are always the worse solution (for me… after all it is subjective because technically there is no difference)