Obby - FallingDown dead

I’m not a proficient scripter so I can’t make an actual script, however I do have an outline that you can try to script.

When and if a player’s position goes under the checkpoint’s position, the script kills the humanoid. For the fast respawn, you can just search up a youtube tutorial or use a free script.

FallenPartsDestroyHeight looks as good part for to help this, but when you have obby with 10 floors is not working because base is down. So you fall and fall to last Floor.

So, as said before, use invisible killbrick platforms. It does basically the same thing, but easier.

Then go with the other way?

Make a kill part and place it under the obby level.

Also yes I did mention it wouldn’t work if your obby had multiple levels, please read the entire thing.

Specify the permissible height Free fall

The player dies if he falls from a height greater than the height you specify for him in the code

This code when placed inside a LocalScript in StarterPlayer in StarterCharacterScripts

local Root = script.Parent:WaitForChild("HumanoidRootPart")
local Humanoid = script.Parent:WaitForChild("Humanoid")
local Enable = false
local EndPosition = 0

Humanoid.StateChanged:Connect(function(oldState, newState)
	if newState ~= Enum.HumanoidStateType.Freefall then
	  Enable = false

function onFreeFall()
	EndPosition = Root.CFrame * Vector3.new(0, -Humanoid.JumpPower, 0)
	Enable = true
	while Enable == true do
		if Root.Position.Y <= EndPosition.Y then
		   Humanoid.Health = 0


Replace Humanoid.JumpPower the altitude at which you want the player to die

Feel free to ask, if it doesn’t work well


You are amazing!
Thank you man!
This is really helpful!

1 Like

I wish you good luck in what you do

1 Like