I'm trying to use the FindFirstChild on the player in the workspace.
local h = PhysicalPlayer:FindFirstChild("Humanoid")
However, I get the error: local h = PhysicalPlayer:FindFirstChild("Humanoid"), which makes no sense to me.
Please explain.
I'm trying to use the FindFirstChild on the player in the workspace.
local h = PhysicalPlayer:FindFirstChild("Humanoid")
However, I get the error: local h = PhysicalPlayer:FindFirstChild("Humanoid"), which makes no sense to me.
Please explain.
Maybe do character:WaitForChild('Humanoid', 5) as the character may be taking too long to load?
or it might be the character dat not loaded, not the humanoid so uh wait for character?
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
Can you show us the rest of the code? (What physical player is) and what type of script is this? (local or server script)