#help
6 messages · Page 1 of 1 (latest)
but do likc```lua
local player = game.Players.LocalPlayer
local function OnDialogChoice(player, choice)
if choice == "Hi" then
print("Local player chose 'Hi'")
elseif choice == "Goodbye" then
if player.Character then
local humanoid = player.Character:FindFirstChild("Humanoid")
if humanoid then
humanoid.Health = 0
print("Local player's humanoid has been killed")
end
end
end
end
player.Chatted:Connect(OnDialogChoice)```may look like this
but i dont know bout Dialog that much
** You are now Level 2! **