RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"if tagged with the KillBlock instance, make the part kill the player"
-- script for the KillBlock local part = script.Parent local function killPlayer(otherPart) local player = game.Players:FindFirstChild(otherPart.Parent.Name) if player then player.Character:BreakJoints() end end part.Touched:Connect(killPlayer)