Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait(2)
- coroutine.wrap(function()
- local old = hitHum.JumpPower
- hitHum.JumpPower = 0
- task.wait(debuff)
- hitHum.JumpPower = old
- end)()
- print("begin")
- local newbg = Instance.new("AlignOrientation", hit)
- local att0 = Instance.new("Attachment", hit)
- local att1 = Instance.new("Attachment", workspace.Invis)
- print("1")
- newbg.RigidityEnabled, newbg.Mode, newbg.Attachment0, newbg.Attachment1
- = true, Enum.OrientationAlignmentMode.TwoAttachment, att0, att1
- workspace.Invis.CFrame = hit.CFrame * CFrame.new(0, 0, -7)
- workspace.Invis.CFrame *= CFrame.Angles(math.rad(270), 0, 0)
- hit:ApplyImpulse(hit.AssemblyLinearVelocity*hit.AssemblyMass*-1)
- hit:ApplyAngularImpulse(hit.AssemblyAngularVelocity*hit.AssemblyMass*-1)
- hitHum:ChangeState(Enum.HumanoidStateType.FallingDown)
- print("2")
- if newbg then print("3") end
- task.wait(4)
- newbg:Destroy()
- att0:Destroy()
- print("done")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement