RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"my part will oof you"
-- server script for making a part kill players on touch local part = script.Parent local function killPlayer(otherPart) local player = game.Players:GetPlayerFromCharacter(otherPart.Parent) if player then player.Character.Humanoid:TakeDamage(100) end end part.Touched:Connect(killPlayer)