RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"Make me a Kill script that wait for the Player to Click on the Part before Killing them"
-- local script local part = script.Parent local Players = game:GetService("Players") local function onClick() local player = Players.LocalPlayer local character = player.Character if character then local humanoid = character:FindFirstChild("Humanoid") if humanoid then humanoid.Health = 0 end end end part.MouseClick:Connect(onClick)