Hey all. Trying to write code in strict mode - all good except for this section:
humanoid = character_:WaitForChild("Humanoid") -- thinks this returns an Instance!
humanoidrootpart = character_:WaitForChild("HumanoidRootPart") -- thinks this returns an Instance!
I am getting a warning here. I get it, but how could I tell it that this will always return a Humanoid object and a Part object respectively?
humanoid: Humanoid = (character_:WaitForChild("Humanoid")::Humanoid)
humanoidrootpart: Part = (character_:WaitForChild("HumanoidRootPart")::Part) -- thinks this returns an Instance!