RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"the player touched a part will die. Respawan after 1 second and add comment to code"
-- local script local part = script.Parent local function onTouch(otherPart) local character = otherPart.Parent character:BreakJoints() wait(1) character:LoadCharacter() -- Respawned player after 1 second end part.Touched:Connect(onTouch)