Roblox default script may be breaking my game

yesterday, i was testing a script and something strange began to happen. my character doesnt load completely, and only loads the head, every 5 seconds (rough estimate), along with outputting this warning:

Infinite yield possible on Workspace.REALCyanNooby:WaitForChild("Torso")

i am pretty sure that the script i was about to test is not the issue, as i deleted the script and the warning and glitch still occurred. i think the problem lies in a roblox default script, as my other scripts werent causing problems before, but i could totally be incorrect, as, right before i attempted to test the script, i updated roblox studio, so that may have something to do with it. i also have custom animations which i implemented into my game using the default animate script, so i deleted my version of the animate script, but the glitch and warning still occurred. i tried to change the “Figure” variable in the script to be potentially more accurate, but all it did was get rid of the warning, and not the bug. so why does this happen? what causes it? and, most importantly, how can i fix it, so i can continue working on my game?

unfortunately, i cant get my hands on a screenshot of the issue atm, so just imagine a bodiless head just sitting there, and teleporting above and falling back to the ground every 5 or so seconds.

2 Likes

oh, and, my game is R6, and it wasnt changed either, i checked

1 Like

Check all the scripts in your game, if you can’t find all of them, search “script” in the Explorer, it will show every script (even if the script’s name is not “script”). But also it might be a Roblox problem too.

1 Like

You mentioned you added animations. Did you create a script that replaces default animations or something similar to that?

If you did so, you probably have a faulty script and the path to “Torso” is incorrect or the character takes too long to load.

Either way a screenshot would still be helpful and especially the newest script you made changes to (and it’s code).
It would confuse me if the problem would be Roblox Studios’ default scripts.
Have you tried taking the script you wanted to test to another project place and see if the problem still occurs?

1 Like

i checked, none of my own scripts have “character:WaitForChild(“Torso”)” in them

i used the default animate script to add my custom animations, and i also dont have the script i wanted to test anymore as im going to rewrite it, but i dont think that script is the problem anyway

the default “Animate” script is the only script i can find in my entire game that has “character:WaitForChild(“Torso”)” in it, so i think its the animate script, but i still have no idea how to fix this

switched my game to r16 and deleted my version of the default animate script, just to see what would happen, and there was no glitch, except for this warning:

Infinite yield possible on Workspace.REALCyanNooby:WaitForChild("Left Arm")

the animate script is not the culprit here, it must be my ragdoll module, i think i can fix this now

deleted my ragdoll scripts temporarily, now im constantly dead and my head is far away from my screen

what is going on

ive deleted every single one of my scripts and the bug keeps on happening. it is absolutely a default script

Keep your project and report this issue if you are absolutely sure that the default scripts are causing this.
You can also create a studio bugs topic.

1 Like

i dont understand what you wanna experience much but look like you see infinite yield possible warn its not gonna cause a break for your game its just warn you about there is can be any loop and if you wanna fix this warning just add timeout your code like this Workspace.REALCyanNooby:WaitForChild(“Left Arm”, 200)

i tried adding a timeout before, but it only got rid of the warning and not the actual glitch

i migrated the scripts and guis and everything to a different place and now the character wont even load, just the scripts and stuff. forgot to mention that the character parts that dont show up dont end up in the workspace either, so it may be a character loading issue

nvm, fixed it!!! it was one of my other scripts that used “humanoid:AddAccessory()”. apparently that broke everything

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.