Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

WaitForChild is not a member of the part? Help please

Asked by 3 years ago

I use the basic Animate for R15 to make my own mode, but it says" WaitForChild is not a member of the part"

local Figure = script.Parent
local Torso = Figure.Charater:WaitForChild("Torso")
local LeftUpperArm = Torso:WaitForChild("LeftUpperArm")
local LeftLowerArm = Torso:WaitForChild("LeftLowerArm")
local RightUpperArm = Torso:WaitForChild("RightUpperArm")
local RightLowerArm = Torso:WaitForChild("RightLowerArm")
local LeftUpperLeg = Torso:WaitForChild("LeftUpperLeg")
local LeftLowerLeg = Torso:WaitForChild("LeftLowerLeg")
local RightUpperLeg = Torso:WaitForChild("RightUpperLeg")
local RightLowerLeg = Torso:WaitForChild("RightLowerLeg")
local Head = Torso:WairForChild("Head")
local Humanoid = Figure:WaitForChild("Humanoid")
local pose = "Standing"

0
First, on line 11, Check the spelling of WaitForChild, it's WairForChild. Also, in line 2, In R15, there is no Torso, instead there is UpperTorso and LowerTorso. BestCreativeBoy 1395 — 3y
0
I can see the first issue you encountered is on line 11 you wrote "WairForChild" fishboy141516 12 — 3y
0
the 2nd problem is you have to gather the player, for example; local Player = game.Players.LocalPlayer local Character = Player.Character or Player.CharcterAdded:wait() fishboy141516 12 — 3y
0
This would be better than saying "WaitForChild" fishboy141516 12 — 3y

Answer this question