RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"create a part that kill you"
-- server script local part = Instance.new("Part") part.Parent = game.Workspace part.Position = Vector3.new(0, 10, 0) part.Anchored = true part.BrickColor = BrickColor.new("Bright red") local function onPartTouch(otherPart) local character = otherPart.Parent local humanoid = character:FindFirstChildWhichIsA("Humanoid") if humanoid then humanoid.Health = 0 end end part.Touched:Connect(onPartTouch)