How to Index a Humanoid without a PlayerAdded or CharacterAdded Event

Is there any way of indexing a Humanoid without using any PlayerAdded or CharacterAdded events in a server-script? I’ve tried looking somethings up on YouTube and Google, but I haven’t found any results.

2 Likes

If you have reference to the character just index for the "Humanoid" child. In case where the humanoid might not exist yet, use the Instance::WaitForChild method.

local character = ... --// assuming you have reference to the character
local humanoid = character:WaitForChild("Humanoid")
1 Like

I’m editing a 3k line Module Script that is pretty advanced, located in ServerScriptService. How would I exactly get a character from that?

Hey, that is pretty vague can you elaborate on this “module” and stuff about it.

Also, going through a 3k line script doesnt sound fun so lets ask a better question with the first one.
What is this for?

I probably should have looked through the module script a little before I asked this question. I just found a reference that I could use for a character. Thanks for the help anyway, sorry for wasting your time.

1 Like

If you about making a character without any plugins then i can recommend you to weld parts with the humanoid or with player or model with legs arms