Unknown script spamming Player:Move called, but player currently has no humanoid

I made a game which use a custom character (ant).
I’m talking about Becants (Please, don’t play it before the 2019’s September since it’s in development, and the game isn’t playable)
I had various problems with the rig type and humanoid being very bad at moving a custom character…
To get something working, I removed the humanoid joke which can’t make the ant moving and I used a Script that handle all what I need… (still in development)

BUT I now have a (unknown) script SPAMMING a very annoying warning, with that I can’t see the output!
I can’t debug anything since this SPAM take the whole output!
I just say “Player:Move called, but player currently has no humanoid.”
But I can’t revert it back since their humanoid thing breaks everythings!

Is it possible to some sort of disable this warning without using the humanoid thing?

Did you take a free model? Cause some free models can contain viruses and really messed up stuff.

That’s the player control script.

This is the default movement system, if you want to disable it then you can require the module and disable the default movement system.

--localscript under StarterPlayerScripts
require(script.Parent:WaitForChild"PlayerModule"):GetControls():Disable()

Alternatively, you could create folder named PlayerModule and PlayerScriptsLoader under StarterPlayerScripts, but this will also disable the camera.
If you want to still have the default camera, I would recommend creating a local script named PlayerScriptsLoader under StarterPlayerScripts and just put this as the code.

require(script.Parent:WaitForChild"PlayerModule"):GetControls():Disable()
4 Likes

There’s a error in the script, you’ve missed a “(”

Wasn’t broken, not sure what you mean.
This appears fine in script analysis

require(script.Parent:WaitForChild"PlayerModule"):GetControls():Disable()
require(script.Parent:WaitForChild("PlayerModule")):GetControls():Disable() 

shouldn’t it be like that?

There is no difference, not sure why you pointed it out.

Strange, i didn’t know that, i guess you learn something new everyday…

Nope, I never take free models, I hate thoses…
It’s from myself

There is thousands of it… I don’t know why… It’s not just the player control script…

Oh no! A require function (never used them) =D
If it works… Why not?

Which one? Since I don’t use :Move(), it’s another Roblox’s broken script???
Roblox’s pre-made scripts are almost all broken anyway…

My model wasn’t working with the Humanoid thing

1 Like
require(script.Parent:WaitForChild"PlayerModule"):GetControls():Disable()

Worked =D
It obviously need to run when you become the custom character…

2 Likes

It’s probably caused by camerasubject

i just figure it out, it came from my script that deleting my character

1 Like

here fix:
This happens if you delete character using :Destroy() function, use :Remove() instead.

1 Like