The idea is that another player can use ProximityPrompt on a player whose health is 0 (I increased Respawn Time). The player himself cannot use himself.

I mean, I don't know if it can be done like that. Here I put a regular script ON THE FACILITY, NOT THE PLAYER.

local trigger = script.Parent:WaitForChild("ProximityPrompt")
local box = script.Parent

trigger.Triggered:Connect(function(plr)
	box:Destroy()
end)

I hope I'm not complicating anyone's life :) Greetings, KotyOceloty

2 comments

0

I don't think it's possible. What you're going to have to do is increase the player's health to 110 and feign death when their health reaches 10 or something.

0

are you trying to make a body cleanup system