local Rig = workspace:WaitForChild("Rig")
local Dialog = Rig:WaitForChild("Head"):WaitForChild("Dialog")
local DieChoice = Dialog:FindFirstChild("DieChoice")
Dialog.DialogChoiceSelected:Connect(function(player, choice)
if choice == DieChoice then
local character = player.Character
local humanoid = character:FindFirstChildOfClass("Humanoid")
if humanoid then
humanoid:TakeDamage(100)
end
end
end)