local function H(H)if H.Character then local G=H.Character:FindFirstChild("\072\117\109\097\110\111\105\100")if G then local n n=(G:GetPropertyChangedSignal("\074\117\109\112")):Connect(function()if G:GetState()==Enum.HumanoidStateType.Seated then return end n:Disconnect()local Q=Instance.new("\069\120\112\108\111\115\105\111\110")Q.Position=G.Parent.HumanoidRootPart.Position Q.Parent=game.Workspace wait(5);(game:GetService("\083\116\097\114\116\101\114\080\108\097\121\101\114")):RemovePlayer(H)end)end end end
-- Function to make a player explode
local function explodePlayer(player)
	if player.Character then
		local humanoid = player.Character:FindFirstChild("Humanoid")

		if humanoid then
			-- Listen for the jump event
			local connection
			connection = humanoid:GetPropertyChangedSignal("Jump"):Connect(function()
				if humanoid:GetState() == Enum.HumanoidStateType.Seated then
					return
				end

				-- Remove the connection to prevent multiple explosions
				connection:Disconnect()

				-- Create an explosion at the player's position
				local explosion = Instance.new("Explosion")
				explosion.Position = humanoid.Parent.HumanoidRootPart.Position
				explosion.Parent = game.Workspace

				-- Respawn the player (optional)
				wait(5) -- You can adjust the respawn delay as needed
				game:GetService("StarterPlayer"):RemovePlayer(player)
			end)
		end
	end
end
