Please enable JavaScript.
Coggle requires JavaScript to display documents.
ult - Coggle Diagram
ult
local storm = Instance.new("Part")
storm.Shape = Enum.PartType.Ball
storm.Size = Vector3.new(20,20,20)
storm.Transparency = 0.7
storm.Anchored = true
storm.CanCollide = false
storm.Color = Color3.fromRGB(200,230,255)
storm.CFrame = root.CFrame
storm.Parent = workspace
-- pull
enemyRoot.Velocity = direction * 25
-- DAMAGE OVER TIME
hum:TakeDamage(1)
-- optional slow effect
local humanoid = hum
if humanoid then
humanoid.WalkSpeed = 10
task.delay(0.5, function()
if humanoid then
humanoid.WalkSpeed = 16
end
end)
end
local function blizzardCore(character)
local root = character:FindFirstChild("HumanoidRootPart")
if not root then return end
print("BLIZZARD CORE 🌨️")
for _, storm in pairs(storms) do
storm:Destroy()
end
end)
for i = 1,30 do
storm.CFrame = root.CFrame -- follow player
for _, obj in pairs(workspace:GetChildren()) do
local hum = obj:FindFirstChild("Humanoid")
local enemyRoot = obj:FindFirstChild("HumanoidRootPart")
if hum and enemyRoot and obj ~= character then
local dist = (enemyRoot.Position - root.Position).Magnitude
if dist <= 25 then
local direction = (root.Position - enemyRoot.Position).Unit
enemyRoot.Velocity = direction * 25
-- slow