RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"teleport part on touch"
-- local script local part = script.Parent local function onTouch(otherPart) local randomX = math.random(-100, 100) local randomZ = math.random(-100, 100) part.Position = Vector3.new(randomX, part.Position.Y, randomZ) end part.Touched:Connect(onTouch)