Please enable JavaScript.
Coggle requires JavaScript to display documents.
needs - Coggle Diagram
needs
-
if humanoid then
humanoid:SetAttribute("Invincible", true)
-
-
-
-
-
-
if enemyRoot then
-
applyKnockback(enemyRoot, direction, 50, 20)
-
-
UIS.InputBegan:Connect(function(input, gp)
-
-
-
-
-
-
-
-
task.delay(DASH_TIME, function()
if humanoid then
humanoid:SetAttribute("Invincible", false)
-
-
local function applyKnockback(enemyRoot, direction, force, upForce)
-
-
bv.MaxForce = Vector3.new(100000, 100000, 100000)
bv.Velocity = direction * force + Vector3.new(0, upForce, 0)
-
game.Debris:AddItem(bv, 0.2)
-
-
-
applyKnockback(enemyRoot, root.CFrame.LookVector, 70, 30)
applyKnockback(enemyRoot, root.CFrame.LookVector, 30, 10)
applyKnockback(enemyRoot, root.CFrame.LookVector, 90, 40)