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

Infinite yeld possible on Right Shoulder. How to fix?

Asked by 6 years ago
Edited 6 years ago

So when i open the game in studio, no error in server logs or output, but when i join the game, i see that theres an infinite yeld possible on "right shoulder" (which is my custom character). The only part of script using "right shoulder" was that part

local RightShoulder = Figure:WaitForChild("Right Arm")

But except that nothing else uses it and it doesnt tell me which line.

0
Usually when I get something like that, it either means WaitForChild was stuck for a moment or something is missing causing WaitForChild to wait there forever. If your script still runs completely just ignore it. User#20279 0 — 6y
0
Alright, well it does cause a delay problem with the animations and damage script (punches). So if theres anyway to fix the yeld it would help a lot WindowsFireWalI 0 — 6y
0
Hmm. Does your script do anything to the "Right Arm", like remove it or rename it? If not, it could probably be something else in the script that's causing it. User#20279 0 — 6y
0
Is every part named correctly? gamerbeeze1 -3 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago

Try

local RightShoulder = Figure:WaitForChild("Right Arm") end)

0
Infinite yeild basically means something like nothing is stopping it, so what I just said might work. gamerbeeze1 -3 — 6y
0
Well your end) doesn't work it just underlines it red WindowsFireWalI 0 — 6y
Ad

Answer this question