local RunService = game:GetService("RunService") local Debris = game:GetService("Debris") -- Tornado Settings local TORNADO_RADIUS = 75 -- How far the tornado pulls blocks and players local TORNADO_HEIGHT = 110 -- Height of the funnel local PULL_SPEED = 45 -- Suction inward speed local SPIN_SPEED = 70 -- Swirl speed around the tornado local LIFT_SPEED = 35 -- Upward lift speed local MOVE_SPEED = 18 -- How fast the tornado roams around the map local FLING_INTERVAL = 4 -- Seconds before spinning objects get flung/spread outward local FLING_FORCE = 130 -- How far blocks and players get launched -- 1. Build the Tornado Funnel Visual local tornadoFolder = Instance.new("Folder") tornadoFolder.Name = "TornadoSystem" tornadoFolder.Parent = workspace local centerPart = Instance.new("Part") centerPart.Name = "TornadoCore" centerPart.Size = Vector3.new(4, 4, 4) centerPart.Position = Vector3.new(0, 5, 0) centerPart.Anchored = true centerPart.CanCollide = false centerPart.Transparency = 1 centerPart.Parent = tornadoFolder -- Create stacked spinning funnel rings local rings = {} local RING_COUNT = 12 for i = 1, RING_COUNT do local progress = i / RING_COUNT local ring = Instance.new("Part") ring.Name = "FunnelRing_" .. i ring.Shape = Enum.PartType.Cylinder local width = 8 + (progress * 42) ring.Size = Vector3.new(10, width, width) ring.Material = Enum.Material.SmoothPlastic ring.Color = Color3.fromRGB(115, 120, 130) ring.Transparency = 0.45 ring.Anchored = true ring.CanCollide = false ring.Parent = tornadoFolder table.insert(rings, { part = ring, heightOffset = i * (TORNADO_HEIGHT / RING_COUNT), angle = i * 0.6 }) end -- Dust / Debris Particle Effect at the base local dust = Instance.new("ParticleEmitter") dust.Texture = "rbxassetid://243660364" dust.Color = ColorSequence.new(Color3.fromRGB(140, 130, 115)) dust.Size = NumberSequence.new({ NumberSequenceKeypoint.new(0, 6), NumberSequenceKeypoint.new(1, 18) }) dust.Transparency = NumberSequence.new({ NumberSequenceKeypoint.new(0, 0.3), NumberSequenceKeypoint.new(1, 1) }) dust.Lifetime = NumberRange.new(1, 2) dust.Rate = 60 dust.Speed = NumberRange.new(15, 35) dust.SpreadAngle = Vector2.new(360, 45) dust.Parent = centerPart -- 2. Track caught objects and fling timer local caughtTimes: { [BasePart]: number } = {} local moveDirection = Vector3.new(math.random(-10, 10), 0, math.random(-10, 10)).Unit local directionTimer = 0 -- Helper: Unanchor loose map blocks (ignores Baseplate/Terrain) local function tryGrabPart(part: BasePart) if part.Name == "Baseplate" or part:IsDescendantOf(tornadoFolder) then return false end if part.Size.Magnitude > 60 then return false -- Skip giant map floors/walls end if part.Anchored then part.Anchored = false part:BreakJoints() end return true end -- 3. Main Tornado Loop RunService.Heartbeat:Connect(function(dt) -- Roam randomly across the map directionTimer += dt if directionTimer >= 3 then directionTimer = 0 moveDirection = Vector3.new(math.random(-100, 100), 0, math.random(-100, 100)).Unit end centerPart.Position += moveDirection * MOVE_SPEED * dt -- Animate funnel rings for _, ringData in ipairs(rings) do ringData.angle += dt * 6 local wobble = Vector3.new(math.cos(ringData.angle) * 2.5, ringData.heightOffset, math.sin(ringData.angle) * 2.5) ringData.part.CFrame = CFrame.new(centerPart.Position + wobble) * CFrame.Angles(0, ringData.angle, math.rad(90)) end -- Find all blocks and player limbs in radius local overlapParams = OverlapParams.new() overlapParams.FilterDescendantsInstances = { tornadoFolder } overlapParams.FilterType = Enum.RaycastFilterType.Exclude local partsInRange = workspace:GetPartBoundsInRadius(centerPart.Position + Vector3.new(0, TORNADO_HEIGHT * 0.4, 0), TORNADO_RADIUS, overlapParams) for _, part in ipairs(partsInRange) do if part:IsA("BasePart") and tryGrabPart(part) then caughtTimes[part] = (caughtTimes[part] or 0) + dt local offset = part.Position - centerPart.Position local flatOffset = Vector3.new(offset.X, 0, offset.Z) local distance = math.max(flatOffset.Magnitude, 1) local inwardDir = -flatOffset.Unit local tangentDir = Vector3.new(-inwardDir.Z, 0, inwardDir.X) -- Swirl sideways -- If caught long enough, fling and spread outward! if caughtTimes[part] >= FLING_INTERVAL then caughtTimes[part] = 0 local spreadOutDir = (flatOffset.Unit + Vector3.new(0, 0.85, 0)).Unit part.AssemblyLinearVelocity = spreadOutDir * FLING_FORCE else -- Pull inward, spin around, and lift up into the funnel local targetVel = (inwardDir * PULL_SPEED) + (tangentDir * SPIN_SPEED) + Vector3.new(0, LIFT_SPEED, 0) part.AssemblyLinearVelocity = part.AssemblyLinearVelocity:Lerp(targetVel, 0.25) end end end end)