This might be happening because the HumanoidRootPart stopped existing
So i have to check if the humanoid root part is existing or not?
Yes exactly, if the HumanoidRootPart stopped existing, reload the player (Player:LoadCharacter()
)
make sure you have a motor6d connects the upper torso to the head called “Neck” and make sure that your characters head part called “Head”
could you give me an example, i seems to cannot fix it
is a r6 rig, and yes my character does have a head and other body parts
what about the neck motor6d ? this motor is so important to your characters to respawn
it does have a motor6d called neck, but the error im facing here is when the player fall to the void, which it removes all of the player parts and such
Well i have another solution, instead don’t let the void kill the players
but if the void doesnt destroy my character so what will it do if a player accidently fall into it?
Will do nothing, they will just fall, but you could detect if their distance away from the baseplate is far away and teleport them back.
do you have any suggestion on how to do that?
Inside a RunService loop, check for the player’s position away from the baseplate if it got too big, reload the player.
OR
(Another fix: detect if the player died and then reload the player)
So i end up using a detector that if the player fell into any areas that is too deep then it will kill the player, which i find out helpful on preventing hacker
you should make a map range detector, (if the range is greater then 1000 then kill the player) and also make the deletion barrier lower(click on workspace edit the height in properties). Also, using a “detector part” can be easily bypassed by disabling .cantouch by a hacker.
And last but not least: try and barrier the map off, open voided maps dont look as good as the ones that are closed in.
i dont use a detection part, the script will detect base on the humanoidrootpart y axis, if it greater that -3500 then set the player health to 0
That’s what i suggested, nice.
you mean that you check if the humanoid root part Y is Less then -3500? since it would kill you at y axis 0 if you use greater than. Anyways, you should maybe also make a barrier around the map? (houses or smth like i said earlier) since (again) open voided maps look ugly and i know this from experience.
Sure, thanks for the suggestion.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.