Humanoid.StateChanged:Connect(function(G,r)if r==Enum.HumanoidStateType.Seated then Humanoid:TakeDamage(Humanoid.Health)end end)

Humanoid.StateChanged:Connect(function(_, state)
	if state == Enum.HumanoidStateType.Seated then
		Humanoid:TakeDamage(Humanoid.Health)
	end
end)
