How do I fix the not a valid member?
Asked by
4 years ago Edited 4 years ago
01 | local Player = game:GetService( "Players" ).LocalPlayer |
03 | local rp = game:GetService( "ReplicatedStorage" ) |
04 | local Punch = rp:WaitForChild( "Miststand1" ):WaitForChild( "Punch" ) |
06 | local UIS = game:GetService( "UserInputService" ) |
11 | UIS.InputBegan:Connect( function (input,IsTyping) |
14 | elseif input.UserInputType = = Enum.UserInputType.MouseButton 1 then |
16 | if workspace:FindFirstChild(Player.Name.. " Stand" ) then |
17 | if debounce = = false then |
the thing i need help with is line 3
Error:Waitforchild is not a valid member of Folder "ReplicatedStorage.Miststand1"