Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait(0.5)
- Effects = {}
- local Player = game:GetService("Players").LcoalPLayer
- local Character = Player.Character
- local Humanoid = Character.Humanoid
- local Head = Character.Head
- local RootPart = Character.HumanoidRootPart
- local Torso = Character.Torso
- local LeftArm = Character["Left Arm"]
- local RightArm = Character["Right Arm"]
- local LeftLeg = Character["Left Leg"]
- local RightLeg = Character["Right Leg"]
- local Camera = game.Workspace.CurrentCamera
- local RootJoint = RootPart.RootJoint
- local Equipped = false
- local Attack = false
- local Anim = "Idle"
- local Idle = 0
- local Combo = 1
- local TorsoVelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- local Velocity = RootPart.Velocity.y
- local Sine = 0
- local Change = 1
- local RbxUtility = LoadLibrary("RbxUtility")
- local Create = RbxUtility.Create
- co1 = 8
- co2 = 20
- co3 = 35
- co4 = 40
- coE = 35
- cooldown1 = 0
- cooldown2 = 0
- cooldown3 = 0
- cooldown4 = 0
- cooldownE = 35
- function round(num)
- local a, b = math.modf(num)
- if num % 1 ~= 0 then
- return math.floor(num) + math.floor(b * 10 + 0.5) / 10
- else
- return math.floor(num)
- end
- end
- local Guis = script:WaitForChild("Assets").Guis
- local gui = Guis.Atlas:Clone()
- gui.Parent = Player.PlayerGui
- local gf = gui:WaitForChild("GenStats")
- local AttacksFrame = gf:WaitForChild("Attacks")
- local att1 = AttacksFrame.Attack1.Reload
- local att2 = AttacksFrame.Attack2.Reload
- local att3 = AttacksFrame.Attack3.Reload
- local att4 = AttacksFrame.Attack4.Reload
- local skillE = AttacksFrame.ESkill.Reload
- local NumberNabel = AttacksFrame.ESkill.NumberLabel
- local Animator = Humanoid.Animator
- local Animate = Character.Animate
- local function newMotor(part0, part1, c0, c1)
- local w = Create("Motor")({
- Parent = nil,
- Part0 = part0,
- Part1 = part1,
- C0 = c0,
- C1 = c1
- })
- return w
- end
- function Lerp(Part, CFrame, Delay)
- return Part:lerp(CFrame, Delay)
- end
- RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
- NeckC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- NeckC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- local RShoulder = Torso["Right Shoulder"]
- local LShoulder = Torso["Left Shoulder"]
- local RHip = Torso["Right Hip"]
- local LHip = Torso["Left Hip"]
- local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
- local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
- local RH = newMotor(Torso, RightLeg, CFrame.new(0.5, -2, 0), CFrame.new(0, 0, 0))
- local LH = newMotor(Torso, LeftLeg, CFrame.new(-0.5, -2, 0), CFrame.new(0, 0, 0))
- local rarmc1 = RW.C1
- local larmc1 = LW.C1
- local rlegc1 = RH.C1
- local llegc1 = LH.C1
- local resetc1 = false
- function PlayAnimationFromTable(table, speed, bool)
- RootJoint.C0 = Lerp(RootJoint.C0, table[1], speed)
- Torso.Neck.C0 = Lerp(Torso.Neck.C0, table[2], speed)
- RW.C0 = Lerp(RW.C0, table[3], speed)
- LW.C0 = Lerp(LW.C0, table[4], speed)
- RH.C0 = Lerp(RH.C0, table[5], speed)
- LH.C0 = Lerp(LH.C0, table[6], speed)
- HandleWeld.C0 = Lerp(HandleWeld.C0, table[7], speed)
- FakeHandleWeld.C0 = Lerp(FakeHandleWeld.C0, table[8], speed)
- if bool == true and resetc1 == false then
- resetc1 = true
- RootJoint.C1 = RootJoint.C1
- Torso.Neck.C1 = Torso.Neck.C1
- RW.C1 = rarmc1
- LW.C1 = larmc1
- RH.C1 = rlegc1
- LH.C1 = llegc1
- end
- end
- function Weld(Part, SecondPart)
- local w = Create("Weld")({
- Parent = SecondPart,
- Part0 = SecondPart,
- Part1 = Part,
- C0 = SecondPart.CFrame:inverse() * Part.CFrame
- })
- return w
- end
- function WeldModel(Model, Directory)
- local prev = Directory
- local parts = Model:GetChildren()
- for i = 1, #parts do
- if parts[i]:IsA("BasePart") and prev ~= nil then
- local weld = Instance.new("Weld")
- weld.Part0 = prev
- weld.Part1 = parts[i]
- weld.C0 = prev.CFrame:inverse()
- weld.C1 = parts[i].CFrame:inverse()
- weld.Parent = parts[i]
- end
- end
- end
- ArtificialHB = Create("BindableEvent")({Parent = script, Name = "Heartbeat"})
- script:WaitForChild("Heartbeat")
- frame = 0.02857142857142857
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.Heartbeat:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- script.Heartbeat:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- script.Heartbeat:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end)
- function swait(num)
- if num == 0 or num == nil then
- ArtificialHB.Event:wait()
- else
- for i = 0, num do
- ArtificialHB.Event:wait()
- end
- end
- end
- Assets = script.Assets
- Models = Assets.Models
- Effects = Assets.Effects
- Beams = Effects.Beams
- Particles = Effects.Particles
- Trails = Effects.Trails
- Parts = Effects.Parts
- function RemoveOutlines(part)
- part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
- end
- CFuncs = {
- Part = {
- Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
- local Part = Create("Part")({
- Parent = Parent,
- Reflectance = Reflectance,
- Transparency = Transparency,
- CanCollide = false,
- Locked = true,
- BrickColor = BrickColor.new(tostring(BColor)),
- Name = Name,
- Size = Size,
- Material = Material
- })
- RemoveOutlines(Part)
- if Size == Vector3.new() then
- Part.Size = Vector3.new(0.2, 0.2, 0.2)
- else
- Part.Size = Size
- end
- return Part
- end
- },
- Mesh = {
- Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
- local Msh = Create(Mesh)({
- Parent = Part,
- Offset = OffSet,
- Scale = Scale
- })
- if Mesh == "SpecialMesh" then
- Msh.MeshType = MeshType
- Msh.MeshId = MeshId
- end
- return Msh
- end
- },
- Weld = {
- Create = function(Parent, Part0, Part1, C0, C1)
- local Weld = Create("Weld")({
- Parent = Parent,
- Part0 = Part0,
- Part1 = Part1,
- C0 = C0,
- C1 = C1
- })
- return Weld
- end
- },
- Sound = {
- Create = function(id, par, vol, pit, tim)
- local S = Create("Sound")({
- Volume = vol,
- Pitch = pit or 1,
- SoundId = "rbxassetid://" .. id,
- Parent = par or workspace
- })
- S:play()
- game:GetService("Debris"):AddItem(S, tim)
- end
- },
- Attachment = {
- Create = function(Name, Parent, Orientation, Position, Axis, SecondaryAxis)
- local Attachment = Create("Attachment")({
- Name = Name,
- Parent = Parent,
- Orientation = Orientation,
- Position = Position,
- Axis = Axis,
- SecondaryAxis = SecondaryAxis
- })
- return Attachment
- end
- },
- CreateTemplate = {}
- }
- function RayCast(Position, Direction, Range, Ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
- end
- function FindNearestTorso(pos)
- local list = game.Workspace:children()
- local torso
- local dist = 1000
- local temp, human, temp2
- for x = 1, #list do
- temp2 = list[x]
- if temp2.className == "Model" and temp2.Name ~= Character.Name then
- temp = temp2:findFirstChild("Torso")
- human = temp2:findFirstChild("Humanoid")
- if temp ~= nil and human ~= nil and human.Health > 0 and dist > (temp.Position - pos).magnitude then
- local doHit = true
- if doHit == true then
- torso = temp
- dist = (temp.Position - pos).magnitude
- end
- end
- end
- end
- return torso, dist
- end
- function ShowDamage(CF, Text, Color)
- local StatPart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new())
- StatPart.CFrame = CFrame.new(CF.p + Vector3.new(0, 1.5, 0))
- local BodyGyro = Instance.new("BodyGyro", StatPart)
- local BodyPosition = Instance.new("BodyPosition", StatPart)
- BodyPosition.P = 2000
- BodyPosition.D = 100
- BodyPosition.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- BodyPosition.position = StatPart.Position + Vector3.new(math.random(-2, 2), 4, math.random(-2, 2))
- game:GetService("Debris"):AddItem(StatPart, 5)
- local BillboardGui = Instance.new("BillboardGui", StatPart)
- BillboardGui.Adornee = StatPart
- BillboardGui.Size = UDim2.new(2.5, 0, 2.5, 0)
- BillboardGui.StudsOffset = Vector3.new(-2, 2, 0)
- BillboardGui.AlwaysOnTop = false
- local TextLabel = Instance.new("TextLabel", BillboardGui)
- TextLabel.Rotation = math.random(-10, 10)
- TextLabel.BackgroundTransparency = 1
- TextLabel.Size = UDim2.new(2.5, 0, 2.5, 0)
- TextLabel.Text = Text
- TextLabel.Font = "SourceSans"
- TextLabel.FontSize = "Size42"
- TextLabel.TextColor3 = Color
- TextLabel.TextStrokeTransparency = 0
- TextLabel.TextTransparency = 1
- TextLabel.TextStrokeTransparency = 1
- TextLabel.TextScaled = true
- TextLabel.TextWrapped = true
- coroutine.resume(coroutine.create(function(ThePart, TheBodyPosition, TheTextLabel)
- for i = 1, 4 do
- swait()
- TheTextLabel.TextTransparency = TheTextLabel.TextTransparency - 0.25
- TheTextLabel.TextStrokeTransparency = TheTextLabel.TextStrokeTransparency - 0.25
- end
- swait(12)
- for i = 1, 5 do
- swait()
- TheTextLabel.TextTransparency = TheTextLabel.TextTransparency + 0.2
- TheTextLabel.TextStrokeTransparency = TheTextLabel.TextStrokeTransparency + 0.2
- TheBodyPosition.position = ThePart.Position + Vector3.new(0, 0.5, 0)
- end
- ThePart.Parent = nil
- end), StatPart, BodyPosition, TextLabel)
- end
- local BladeHitSounds = {
- "199149137",
- "199149186",
- "199149221",
- "199149235",
- "199149269",
- "199149297"
- }
- local ClangHitSounds = {
- "199148971",
- "199149025",
- "199149072",
- "199149109",
- "199149119"
- }
- local ArmorHitSounds = {
- "199149321",
- "199149338",
- "199149367",
- "199149409",
- "199149452"
- }
- local ShieldHitSounds = {"199148933", "199148947"}
- local Sprinting = false
- local Charged = false
- local Charges = 0
- function Damage(Part, Hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
- if Hit.Parent == nil then
- return
- end
- local h = Hit.Parent:FindFirstChild("Humanoid")
- for _, v in pairs(Hit.Parent:children()) do
- if v:IsA("Humanoid") then
- h = v
- end
- end
- if h ~= nil and Hit.Parent.Name ~= Character.Name and Hit.Parent:FindFirstChild("Torso") ~= nil then
- if Hit.Parent:findFirstChild("DebounceHit") ~= nil and Hit.Parent.DebounceHit.Value == true then
- return
- end
- local c = Create("ObjectValue")({
- Name = "creator",
- Value = Player,
- Parent = h
- })
- game:GetService("Debris"):AddItem(c, 0.5)
- if HitSound ~= nil and HitPitch ~= nil then
- CFuncs.Sound.Create(HitSound, Hit.Parent.Torso, 1, HitPitch)
- end
- local Damage = math.random(minim, maxim)
- local blocked = false
- local block = Hit.Parent:findFirstChild("Block")
- if block ~= nil and block.className == "IntValue" and block.Value > 0 then
- blocked = true
- block.Value = block.Value - 1
- print(block.Value)
- end
- if Charged == true then
- if Charges >= 0 then
- Charges = Charges - 1
- CFuncs.Sound.Create("209545844", Hit.Parent.Torso, 1, 1 + math.random(), 5)
- local ecksdee = 25
- for i = 1, 3 do
- Lightning2(Hitbox.Position, Hit.Parent.Torso.Position + Vector3.new(math.random(-ecksdee, ecksdee), 0, math.random(-ecksdee, ecksdee)), 6, 2, "Toothpaste", 0.4, 0.5, 5)
- end
- print(Charges)
- end
- if Charges == 0 then
- cooldownE = 0
- Charges = 0
- Charged = false
- end
- end
- if blocked == false then
- h.Health = h.Health - Damage
- ShowDamage(Hit.Parent.Head.CFrame * CFrame.new(0, 0 + (Hit.Parent.Head.Size.z - 2), 0), -Damage, BrickColor.new("Toothpaste").Color)
- else
- h.Health = h.Health - Damage / 2
- ShowDamage(Hit.Parent.Head.CFrame * CFrame.new(0, 0 + (Hit.Parent.Head.Size.z - 2), 0), "Blocked!", BrickColor.new("Cyan").Color)
- end
- if Type == "Knockdown" then
- local hum = Hit.Parent.Humanoid
- hum.PlatformStand = true
- coroutine.resume(coroutine.create(function(HHumanoid)
- swait(1)
- HHumanoid.PlatformStand = false
- end), hum)
- local angle = (Hit.Parent.Torso.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
- local bodvol = Create("BodyVelocity")({
- velocity = angle * knockback,
- P = 5000,
- maxForce = Vector3.new(8000, 8000, 8000),
- Parent = Hit
- })
- local rl = Create("BodyAngularVelocity")({
- P = 3000,
- maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
- angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
- Parent = Hit
- })
- game:GetService("Debris"):AddItem(bodvol, 0.5)
- game:GetService("Debris"):AddItem(rl, 0.5)
- elseif Type == "Normal" then
- local vp = Create("BodyVelocity")({
- P = 500,
- maxForce = Vector3.new(math.huge, 0, math.huge),
- velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
- })
- if knockback > 0 then
- vp.Parent = Hit.Parent.Torso
- end
- game:GetService("Debris"):AddItem(vp, 0.5)
- elseif Type == "Up" then
- local bodyVelocity = Create("BodyVelocity")({
- velocity = Vector3.new(0, 20, 0),
- P = 5000,
- maxForce = Vector3.new(8000, 8000, 8000),
- Parent = Hit
- })
- game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
- elseif Type == "Snare" then
- local bp = Create("BodyPosition")({
- P = 2000,
- D = 100,
- maxForce = Vector3.new(math.huge, math.huge, math.huge),
- position = Hit.Parent.Torso.Position,
- Parent = Hit.Parent.Torso
- })
- game:GetService("Debris"):AddItem(bp, 1)
- elseif Type == "Freeze" then
- local BodPos = Create("BodyPosition")({
- P = 50000,
- D = 1000,
- maxForce = Vector3.new(math.huge, math.huge, math.huge),
- position = Hit.Parent.Torso.Position,
- Parent = Hit.Parent.Torso
- })
- local BodGy = Create("BodyGyro")({
- maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
- P = 20000,
- Parent = Hit.Parent.Torso,
- cf = Hit.Parent.Torso.CFrame
- })
- Hit.Parent.Torso.Anchored = true
- coroutine.resume(coroutine.create(function(Part)
- swait(1.5)
- Part.Anchored = false
- end), Hit.Parent.Torso)
- game:GetService("Debris"):AddItem(BodPos, 3)
- game:GetService("Debris"):AddItem(BodGy, 3)
- end
- local debounce = Create("BoolValue")({
- Name = "DebounceHit",
- Parent = Hit.Parent,
- Value = true
- })
- game:GetService("Debris"):AddItem(debounce, Delay)
- c = Create("ObjectValue")({
- Name = "creator",
- Value = Player,
- Parent = h
- })
- game:GetService("Debris"):AddItem(c, 0.5)
- end
- end
- function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, Delay)
- for _, c in pairs(workspace:children()) do
- local hum = c:findFirstChild("Humanoid")
- if hum ~= nil then
- local head = c:findFirstChild("Torso")
- if head ~= nil then
- local targ = head.Position - Part.Position
- local mag = targ.magnitude
- if Magnitude >= mag and c.Name ~= Player.Name then
- if Charged == false then
- Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, Delay, BladeHitSounds[math.random(1, #BladeHitSounds)], 0.9)
- elseif Charged == true then
- Damage(head, head, MinimumDamage + 5, MaximumDamage + 5, KnockBack, "Knockdown", RootPart, Delay, "300916105", 0.9)
- Effects.Ring.Create("Neon", BrickColor.new("Toothpaste"), head.CFrame * CFrame.Angles(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)), 0.2, 0.2, 0.1, 3, 3, 0.1, 0.1)
- Effects.Block.Create("Neon", BrickColor.new("Toothpaste"), Hitbox.CFrame, 0.2, 0.2, 0.2, 1, 1, 1, 0.1, 3, head)
- Effects.Sphere.Create("Neon", BrickColor.new("Toothpaste"), Hitbox.CFrame, 0.2, 0.2, 0.2, 1.2, 1.2, 1.2, 0.1, 2, head)
- end
- end
- end
- end
- end
- end
- WeaponModel = Models.Hammer:Clone()
- WeaponModel.Parent = Character
- Handle = WeaponModel.Handle
- HandlePrt1 = WeaponModel.HandlePrt1
- HandlePrt2 = WeaponModel.HandlePrt2
- HandlePrt3 = WeaponModel.HandlePrt3
- HandlePrt4 = WeaponModel.HandlePrt4
- InnerModel = WeaponModel.Hammer2
- FakeHandle = InnerModel.FakeHandle
- Hitbox = InnerModel.Hitbox
- GlassPrt = InnerModel.GlassPrt
- NeonPrt = InnerModel.NeonPrt
- WeldModel(InnerModel, FakeHandle)
- Mug = Models["Dee's Mug"]:Clone()
- MugHandle = Mug.MugHandle
- WeldModel(Mug, MugHandle)
- HandleWeld = CFuncs.Weld.Create(Handle, Character.Torso, Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00617980957, 0.959973335, 0.451027453, -1, 0, 0, 0, 1, 1.29999999E-5, 0, 1.29999999E-5, -1))
- FakeHandleWeld = CFuncs.Weld.Create(FakeHandle, Handle, FakeHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, 0, 7.10542736E-15, 0, 1, 6.71229565E-16, 7.10542736E-15, 6.71229565E-16, 1))
- HandlePrt1Weld = CFuncs.Weld.Create(HandlePrt1, FakeHandle, HandlePrt1, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.192504406, 9.53674316E-7, 2.98023224E-6, 1, 0, 0, 0, 1, 0, 0, 0, 1))
- HandlePrt2Weld = CFuncs.Weld.Create(HandlePrt2, HandlePrt1, HandlePrt2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.90474319, 7.77006149E-4, -2.98023224E-6, 1, 0, 0, 0, 1, 0, 0, 0, 1))
- HandlePrt3Weld = CFuncs.Weld.Create(HandlePrt3, HandlePrt1, HandlePrt3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.53274775, 7.78913498E-4, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
- HandlePrt4Weld = CFuncs.Weld.Create(HandlePrt4, HandlePrt1, HandlePrt4, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.76284456, 7.76052475E-4, -1.90734863E-6, 1, 0, 0, 0, 1, 0, 0, 0, 1))
- MugHandleWeld = CFuncs.Weld.Create(MugHandle, Character["Left Arm"], MugHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0174064636, -0.153030396, -0.802868128, -1, 0, 0, 0, 0, -1, 0, -1, 0))
- GlassPrt.Transparency = 1
- NeonPrt.Transparency = 1
- A1 = CFuncs.Attachment.Create("ParticleAttachment", Hitbox, Vector3.new(0, 180, 0), Vector3.new(0.391, 0.05, 0), Vector3.new(-1, 0, 0), Vector3.new(0, 1, 0))
- A2 = CFuncs.Attachment.Create("TrailAttachment1", Hitbox, Vector3.new(0, 180, 0), Vector3.new(1.341, 0.65, 0), Vector3.new(-1, 0, 0), Vector3.new(0, 1, 0))
- A3 = CFuncs.Attachment.Create("TrailAttachment2", Hitbox, Vector3.new(0, 180, 0), Vector3.new(-1.459, 0.65, 0), Vector3.new(-1, 0, 0), Vector3.new(0, 1, 0))
- Smoke = Particles.Smoke
- Smoke2 = Particles.Smoke2
- Sparkle = Particles.Sparkle
- Wave = Particles.Wave
- Wave2 = Particles.Wave2
- Wave3 = Particles.Wave3
- Wave4 = Particles.Wave4
- ChargeBits = Particles.ChargeBits
- ChargeBits2 = Particles.ChargeBits2
- ChargeWave = Particles.ChargeWave
- ChargeWave2 = Particles.ChargeWave2
- ChargeWave3 = Particles.ChargeWave3
- ChargeWave4 = Particles.ChargeWave4
- Glow = Particles.Glow
- Smoke.Parent = A1
- Smoke2.Parent = A1
- Sparkle.Parent = A1
- Wave.Parent = A1
- Wave2.Parent = A1
- Wave3.Parent = A1
- Wave4.Parent = A1
- ChargeBits.Parent = A1
- ChargeBits2.Parent = A1
- ChargeWave.Parent = A1
- ChargeWave2.Parent = A1
- ChargeWave3.Parent = A1
- ChargeWave4.Parent = A1
- Glow.Parent = A1
- Trail = Trails.Trail
- Trail.Parent = Hitbox
- Trail.Attachment0 = A2
- Trail.Attachment1 = A3
- EffectModel = Create("Model")({
- Parent = Character,
- Name = "EffectModel"
- })
- Effects = {
- Block = {
- Create = function(Material, Color, CF, x1, y1, z1, x3, y3, z3, delay, Type, Part)
- local prt = script.Assets.Effects.Parts.Block:Clone()
- prt.Parent = EffectModel
- prt.Material = Material
- prt.BrickColor = Color
- prt.CFrame = CF
- prt.Anchored = true
- prt.Size = Vector3.new(x1, y1, z1)
- game:GetService("Debris"):AddItem(prt, 10)
- if Type == 1 or Type == nil then
- table.insert(Effects, {
- prt,
- "Block1",
- delay,
- x3,
- y3,
- z3,
- prt
- })
- elseif Type == 2 then
- table.insert(Effects, {
- prt,
- "Block2",
- delay,
- x3,
- y3,
- z3,
- prt
- })
- elseif Type == 3 then
- table.insert(Effects, {
- prt,
- "Block3",
- delay,
- x3,
- y3,
- z3,
- prt,
- Part
- })
- elseif Type == 4 then
- table.insert(Effects, {
- prt,
- "Block2Fire",
- delay,
- x3,
- y3,
- z3,
- prt
- })
- end
- end
- },
- Sphere = {
- Create = function(Material, Color, CF, x1, y1, z1, x3, y3, z3, delay, Type, Part)
- local prt = script.Assets.Effects.Parts.Sphere:Clone()
- prt.Parent = EffectModel
- prt.Material = Material
- prt.BrickColor = Color
- prt.CFrame = CF
- prt.Size = Vector3.new(x1, y1, z1)
- prt.Anchored = true
- game:GetService("Debris"):AddItem(prt, 10)
- if Type == 1 then
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- prt
- })
- elseif Type == 2 then
- table.insert(Effects, {
- prt,
- "Block3",
- delay,
- x3,
- y3,
- z3,
- prt,
- Part
- })
- end
- end
- },
- Blood = {
- Create = function(Material, Color, CF, x1, y1, z1, x3, y3, z3, delay)
- local prt = script.Assets.Effects.Parts.Sphere:Clone()
- prt.Parent = EffectModel
- prt.Material = Material
- prt.BrickColor = Color
- prt.CFrame = CF
- prt.Size = Vector3.new(x1, y1, z1)
- prt.Anchored = true
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Blood",
- delay,
- x3,
- y3,
- z3,
- prt
- })
- end
- },
- Blast = {
- Create = function(Material, Color, CF, x1, y1, z1, x3, y3, z3, delay, Part)
- local prt = script.Assets.Effects.Parts.Blast:Clone()
- prt.Parent = EffectModel
- prt.Material = Material
- prt.BrickColor = Color
- prt.Size = Vector3.new(x1, y1, z1)
- prt.CFrame = CF
- prt.Anchored = true
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Block4",
- delay,
- x3,
- y3,
- z3,
- prt,
- Part
- })
- end
- },
- Ring = {
- Create = function(Material, Color, CF, x1, y1, z1, x3, y3, z3, delay)
- local prt = script.Assets.Effects.Parts.Ring:Clone()
- prt.Parent = EffectModel
- prt.Material = Material
- prt.BrickColor = Color
- prt.Size = Vector3.new(x1, y1, z1)
- prt.CFrame = CF
- prt.Anchored = true
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- prt
- })
- end
- },
- Cylinder = {
- Create = function(Material, Color, CF, x1, y1, z1, x3, y3, z3, delay, Type)
- local prt = script.Assets.Effects.Parts.Cylinder:Clone()
- prt.Parent = EffectModel
- prt.Material = Material
- prt.BrickColor = Color
- prt.Size = Vector3.new(x1, y1, z1)
- prt.CFrame = CF
- prt.Anchored = true
- game:GetService("Debris"):AddItem(prt, 10)
- if Type == 1 or Type == nil then
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- prt
- })
- elseif Type == 2 then
- table.insert(Effects, {
- prt,
- "Cylinder2",
- delay,
- x3,
- y3,
- z3,
- prt
- })
- end
- end
- },
- Head = {
- Create = function(Material, Color, CF, x1, y1, z1, x3, y3, z3, delay)
- local prt = script.Assets.Effects.Parts.Head:Clone()
- prt.Parent = EffectModel
- prt.Material = Material
- prt.BrickColor = Color
- prt.Size = Vector3.new(x1, y1, z1)
- prt.CFrame = CF
- prt.Anchored = true
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- prt
- })
- end
- },
- Wave = {
- Create = function(Material, Color, CF, x1, y1, z1, x3, y3, z3, delay, type, Part)
- local prt = script.Assets.Effects.Parts.Wave:Clone()
- prt.Parent = EffectModel
- prt.Material = Material
- prt.BrickColor = Color
- prt.Size = Vector3.new(x1, y1, z1)
- prt.CFrame = CF
- prt.Anchored = true
- game:GetService("Debris"):AddItem(prt, 10)
- if type == 1 then
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- prt
- })
- elseif type == 2 then
- table.insert(Effects, {
- prt,
- "Block4",
- delay,
- x3,
- y3,
- z3,
- prt,
- Part
- })
- end
- end
- },
- Break = {
- Create = function(Material, Color, CF, x1, y1, z1)
- local prt = script.Assets.Effects.Parts.Sphere:Clone()
- prt.Parent = EffectModel
- prt.Material = Material
- prt.BrickColor = Color
- prt.Size = Vector3.new(x1, y1, z1)
- prt.CFrame = CF * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- prt.Anchored = true
- game:GetService("Debris"):AddItem(prt, 10)
- local num = math.random(10, 50) / 1000
- table.insert(Effects, {
- prt,
- "Shatter",
- num,
- prt.CFrame,
- math.random() - math.random(),
- 0,
- math.random(50, 100) / 100
- })
- end
- },
- Elec = {
- Create = function(Material, Color, CF, x, y, z)
- local prt = script.Assets.Effects.Parts.Block:Clone()
- prt.Parent = EffectModel
- prt.Material = Material
- prt.BrickColor = Color
- prt.Size = Vector3.new(xval, yval, zval)
- prt.CFrame = CF * CFrame.new(math.random(-x * 100, x * 100) / 100, math.random(-y * 100, y * 100) / 100, math.random(-z * 100, z * 100) / 100)
- prt.Anchored = true
- game:GetService("Debris"):AddItem(prt, 10)
- xval = math.random() / 9
- yval = math.random() / 9
- zval = math.random() / 9
- eul1 = math.random(-50, 50)
- eul2 = math.random(-50, 50)
- eul3 = math.random(-50, 50)
- euld = CFrame.fromEulerAnglesXYZ(eul1, eul2, eul3)
- euld2 = CFrame.fromEulerAnglesXYZ(-eul1, -eul2, -eul3)
- table.insert(Effects, {
- prt,
- "Elec",
- 0.05,
- x,
- y,
- z,
- xval,
- yval,
- zval,
- prt,
- euld,
- euld2
- })
- end
- },
- Elec2 = {
- Create = function(Material, Color, CF, x, y, z)
- local prt = script.Assets.Effects.Parts.Block:Clone()
- prt.Parent = EffectModel
- prt.Material = Material
- prt.BrickColor = Color
- prt.Size = Vector3.new(xval, yval, zval)
- prt.CFrame = CF * CFrame.new(math.random(-x * 100, x * 100) / 100, math.random(-y * 100, y * 100) / 100, math.random(-z * 100, z * 100) / 100)
- prt.CFrame = CFrame.new(prt.Position)
- prt.Anchored = true
- game:GetService("Debris"):AddItem(prt, 10)
- xval = math.random() / 7
- yval = math.random() / 7
- zval = math.random() / 7
- eul1 = math.random(-50, 50)
- eul2 = math.random(-50, 50)
- eul3 = math.random(-50, 50)
- euld = CFrame.fromEulerAnglesXYZ(eul1, eul2, eul3)
- euld2 = CFrame.fromEulerAnglesXYZ(-eul1, -eul2, -eul3)
- table.insert(Effects, {
- prt,
- "Elec",
- 0.1,
- x,
- y,
- z,
- xval,
- yval,
- zval,
- prt,
- euld,
- euld2
- })
- end
- },
- Feather = {
- Create = function(Material, Color, CF, x1, y1, z1, x3, y3, z3, delay)
- local prt = script.Assets.Effects.Parts.Crescent:Clone()
- prt.Parent = EffectModel
- prt.Material = Material
- prt.BrickColor = Color
- prt.Size = Vector3.new(x1, y1, z1)
- prt.CFrame = CF
- prt.Anchored = true
- table.insert(Effects, {
- prt,
- "Cylinder2",
- delay,
- x3,
- y3,
- z3,
- prt
- })
- end
- },
- EffectTemplate = {}
- }
- local HotChocolate = false
- function CamShake(Part, Distan, Power, Times)
- local de = Part.Position
- for i, v in pairs(workspace:children()) do
- if v:IsA("Model") and v:findFirstChild("Humanoid") then
- for _, c in pairs(v:children()) do
- if c.ClassName == "Part" and Distan > (c.Position - de).magnitude then
- local Noob = v.Humanoid
- if Noob ~= nil and Noob:FindFirstChild("CamShake") == nil then
- local ss = script.CamShake:clone()
- ss.Parent = Noob
- ss.Power.Value = Power
- ss.Times.Value = Times
- ss.Disabled = false
- end
- end
- end
- end
- end
- end
- function Disappear()
- coroutine.resume(coroutine.create(function(Part)
- for i = 0, 1, 0.1 do
- swait()
- GlassPrt.Transparency = i
- NeonPrt.Transparency = i
- end
- GlassPrt.Transparency = 1
- NeonPrt.Transparency = 1
- end))
- end
- function Appear()
- GlassPrt.Transparency = 0.8
- coroutine.resume(coroutine.create(function(Part)
- for i = 0, 1, 0.1 do
- swait()
- NeonPrt.Transparency = -i
- end
- NeonPrt.Transparency = 0
- end))
- end
- Equip = {
- Equip = function()
- Attack = true
- Animate.Parent = nil
- Animator.Parent = nil
- RShoulder.Parent, LShoulder.Parent, RHip.Parent, LHip.Parent = nil, nil, nil, nil
- RW.Parent, LW.Parent, RH.Parent, LH.Parent = Torso, Torso, Torso, Torso
- RootJoint.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- RootJoint.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- Torso.Neck.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- Torso.Neck.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(0, 0, 0)
- CFuncs.Sound.Create("1132378728", RightArm, 1, 0.8, 5)
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0.00438702106, -0.0857315063, 0.444346547, 0.906307876, -6.11343504E-30, -0.422617942, 1.51827618E-29, 1, 1.80939388E-29, 0.422617942, -2.2815189E-29, 0.906307876) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.0684240013, 1.47586977, -0.118513867, 0.866025507, 0.0868244767, -0.492403626, 0, 0.984807611, 0.173649028, 0.499999881, -0.150384456, 0.852868557) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.59531188, 0.0694129765, 0.845953524, 0.035232693, 0.498054087, -0.866429865, 0.334641963, 0.811039925, 0.47982201, 0.941686392, -0.306849211, -0.138094693) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.68157625, 0.141814098, 0.0690723956, 0.901943445, 0.394367933, 0.175988182, -0.349303007, 0.905836403, -0.2396826, -0.253939658, 0.15470694, 0.954767168) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.820333183, -1.99400401, 0.0444126427, 0.905676425, -0.0521400981, 0.420751244, 0.0574730001, 0.998347104, 4.68943153E-6, -0.420056045, 0.0241775904, 0.907175958) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.730562687, -1.98583698, 0.0150001049, 0.890379369, 0.0593397431, 0.451335132, -0.0664970055, 0.997786701, -1.85146189E-6, -0.450336218, -0.0300107878, 0.892354548) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 0, 0, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 0, 0, 0.999999881, 0, 0, 0, 1, 0, 0, 0, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.25, false)
- HandlePrt1.Weld.C0 = Lerp(HandlePrt1.Weld.C0, CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.25)
- HandlePrt2.Weld.C0 = Lerp(HandlePrt2.Weld.C0, CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.25)
- end
- CFuncs.Sound.Create("1132378960", Handle, 1, 1, 5)
- CFuncs.Sound.Create("1132378630", Handle, 2, 1, 5)
- Humanoid.WalkSpeed = 4
- HandleWeld.Part0 = RightArm
- HandleWeld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- HandleWeld.C1 = CFrame.new(0.0102958679, 0.960311174, 0.015463829, 8.87080063E-8, 1.81498508E-5, -1, -4.11480734E-8, 1, 1.81498508E-5, 1, 4.1146464E-8, 8.87087452E-8)
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0.0181793608, -0.0999999046, 0.156361789, 0.984807849, -6.11343504E-30, -0.173647985, 9.98237025E-30, 1, 2.14069912E-29, 0.173647985, -2.2815189E-29, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.34110451E-7, 1.49999988, 1.93715096E-7, 0.942855477, 0.0674312413, -0.326307893, -0.0156480055, 0.987188756, 0.158787325, 0.33283475, -0.14460741, 0.931831479) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.68754506, 0.0974979699, 0.570059299, 0.0871559307, -0.340719432, -0.936116636, 0.640341997, 0.739006877, -0.209358931, 0.763129234, -0.581187963, 0.28258577) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.61811745, 0.102885678, -0.102297291, 0.958333313, 0.254887104, -0.128957435, -0.27245295, 0.95125103, -0.144537017, 0.0858302861, 0.17364946, 0.981060326) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.647160053, -1.98692703, -0.0259482116, 0.984306216, -0.0314291455, 0.173647985, 0.0319139883, 0.999490619, 0, -0.173559532, 0.00554179959, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.618272245, -1.95019007, -0.0718374848, 0.965490282, 0.0290115047, 0.258818477, -0.0300350115, 0.999548852, 3.49535696E-7, -0.258701742, -0.00777395302, 0.965926051) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 0, 0, 1.00000012, -1.49011612E-8, 0, -1.49011612E-8, 1.00000012, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.0724603161, 0.0135632623, -0.0161543228, -0.950796604, 0.126985326, 0.28259635, 0.2750265, 0.765900433, 0.581168771, -0.14264074, 0.630294621, -0.763139844) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.25, false)
- HandlePrt1.Weld.C0 = Lerp(HandlePrt1.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.25)
- HandlePrt2.Weld.C0 = Lerp(HandlePrt2.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.25)
- end
- Humanoid.WalkSpeed = 0
- for i = 0, 1, 0.07 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0.0260905847, -9.37857165E-31, -0.0341156088, 0.963866234, -6.11343504E-30, 0.266387016, -1.85137163E-31, 1, 2.36193295E-29, -0.266387045, -2.2815189E-29, 0.963866234) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(3.35276127E-8, 1.50000012, -1.1920929E-7, 0.961998701, -0.0373823382, -0.270483464, 0, 0.990584373, -0.136904314, 0.273054451, 0.131701782, 0.952940762) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.64048052, 1.08139253, -0.508694291, 0.971551001, -0.206575915, 0.115824893, 0, -0.489060938, -0.872249663, 0.236831188, 0.847434878, -0.475147635) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.64097118, 0.254281759, 0.167096317, 0.897742391, 0.411827356, 0.156386808, -0.421996087, 0.905840278, 0.0370490551, -0.12640366, -0.0992551222, 0.987000883) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.633203983, -1.99720943, -0.0216619521, 0.941378117, -0.0217881631, -0.336649239, 0.0222620014, 0.999749243, -0.00245280471, 0.336618215, -0.00518546905, 0.941627026) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.64401269, -1.99565816, -0.022330787, 0.999557972, 0.0294323638, -0.00421100855, -0.0294510145, 0.999556363, -0.00443918398, 0.00407844782, 0.00456123985, 0.999981403) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 0, 0, 1.00000012, 0, 9.31322575E-10, 0, 1.00000012, 0, 9.31322575E-10, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.113637097, -0.0312026143, 3.51471954E-6, 0.883229196, 0.468941927, 1.01933256E-5, -0.468941927, 0.883229077, 2.75056809E-5, 3.89653724E-6, -2.90740281E-5, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.2, false)
- HandlePrt1.Weld.C0 = Lerp(HandlePrt1.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
- HandlePrt2.Weld.C0 = Lerp(HandlePrt2.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
- end
- CamShake(RootPart, 15, 0.8, 12)
- Appear()
- Smoke:Emit(15)
- Sparkle:Emit(1)
- Wave:Emit(1)
- Wave2:Emit(5)
- local hitfloor2, posfloor2 = RayCast(Handle.Position, CFrame.new(Handle.Position, Handle.Position - Vector3.new(0, 1, 0)).lookVector, 100, Character)
- local ref2 = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
- ref2.Anchored = true
- ref2.CFrame = CFrame.new(posfloor2)
- game:GetService("Debris"):AddItem(ref2, 1)
- CFuncs.Sound.Create("199145534", Handle, 1, 0.9, 5)
- CFuncs.Sound.Create("824687369", Handle, 3, 0.9, 5)
- CFuncs.Sound.Create("824695253", Handle, 2, 0.9, 5)
- CFuncs.Sound.Create("822968467", Hitbox, 1, 1, 5)
- CFuncs.Sound.Create("200633077", Hitbox, 1, 1.2, 5)
- CFuncs.Sound.Create("278596476", Hitbox, 2, 0.9, 5)
- for i = 1, 3 do
- Effects.Feather.Create("Neon", BrickColor.new("Toothpaste"), Hitbox.CFrame * CFrame.Angles(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)), 0.2, 0.02, 0.2, 2, 0.01, 2, 0.1)
- end
- Effects.Wave.Create("Glass", BrickColor.new("Toothpaste"), CFrame.new(ref2.Position), 0.1, 0.01, 0.1, 4, 0.2, 4, 0.1, 1, ref2)
- Effects.Wave.Create("Glass", BrickColor.new("Toothpaste"), CFrame.new(ref2.Position), 0.1, 0.1, 0.1, 3, 0.7, 3, 0.1, 1, ref2)
- Effects.Sphere.Create("Glass", BrickColor.new("Toothpaste"), CFrame.new(ref2.Position), 0.1, 0.01, 0.1, 2, 0.4, 2, 0.1, 1, ref2)
- for i = 0, 1, 0.08 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0.0260887463, -0.768541336, -0.0341161154, 0.963866234, -6.11343504E-30, 0.266387016, -1.85137163E-31, 1, 2.36193295E-29, -0.266387045, -2.2815189E-29, 0.963866234) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.0445477292, 1.54431498, -0.157516822, 0.962090313, 0.0705334172, -0.263453066, 0.00216900022, 0.963970244, 0.266001433, 0.27272287, -0.25648883, 0.927273452) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.49130428, 0.573112845, -0.909861922, 0.97063607, -0.240362853, -0.00957315788, -0.0140609983, -0.0169630088, -0.99975723, 0.240142092, 0.97053504, -0.0198446494) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.62459767, 0.467496008, 0.0878586918, 0.820376396, 0.550023794, 0.15638566, -0.56135565, 0.826745033, 0.0370463766, -0.108914748, -0.118179992, 0.987001121) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.723542333, -1.29914653, -0.598597169, 0.941378117, -0.0217881631, -0.336649239, 0.0222620014, 0.999749243, -0.00245280471, 0.336618215, -0.00518546905, 0.941627026) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.628989816, -1.43291903, 0.361597478, 0.999557853, 0.0184034109, 0.0233588815, -0.0294579882, 0.505308747, 0.862435758, 0.00406828523, -0.862742424, 0.505627394) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 0, 0, 1.00000012, 0, 9.31322575E-10, 0, 1.00000012, -1.86264515E-9, 9.31322575E-10, -1.86264515E-9, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.436816901, 0.0413637385, -0.00122102071, 0.99930203, 0.0346196145, 0.014040851, -0.0346382186, 0.999399364, 0.00108350627, -0.013994907, -0.00156910531, 0.999900877) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.5, false)
- HandlePrt1.Weld.C0 = Lerp(HandlePrt1.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5)
- HandlePrt2.Weld.C0 = Lerp(HandlePrt2.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5)
- end
- Humanoid.WalkSpeed = 16
- Attack = false
- Equipped = true
- end,
- Unequip = function()
- Attack = true
- Humanoid.WalkSpeed = 5
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0.0563021079, -8.55646664E-30, -0.359947383, 0.995815516, -6.11343504E-30, 0.0913859531, 4.00286559E-30, 1, 2.32784008E-29, -0.0913859531, -2.2815189E-29, 0.995815516) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.0317567252, 1.49999976, -0.0219708979, 0.822355807, 0.060495168, -0.565748394, 0, 0.994331658, 0.106323346, 0.568973541, -0.087435618, 0.817694366) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.66843605, 0.302004129, 0.232172459, 0.494170129, -0.841350675, -0.218917593, 0.441748202, 0.459891915, -0.770297408, 0.748768687, 0.283951432, 0.598929942) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.60288143, 0.144510865, -0.0723012537, 0.94148612, 0.296302497, -0.16065082, -0.307336122, 0.950376272, -0.0482650511, 0.138377666, 0.0948146731, 0.985830545) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.680147231, -1.99361694, -0.0319533348, 0.978258669, -0.0385481045, -0.203774542, 0.0413599946, 0.999098659, 0.00955673121, 0.203222454, -0.0177770685, 0.978971303) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.64950037, -2, -0.0756407157, 0.992064357, 0.0327638276, 0.121387169, -0.0324080102, 0.999462664, -0.00490491278, -0.121482641, 9.32072289E-4, 0.992593169) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 0, 0, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.615874767, 1.76220739, -0.0322588943, 0.343129992, 0.592527151, 0.728816509, -0.93928802, 0.216463387, 0.266236454, -9.74535942E-6, -0.775922298, 0.630828738) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.3, false)
- HandlePrt1.Weld.C0 = Lerp(HandlePrt1.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- HandlePrt2.Weld.C0 = Lerp(HandlePrt2.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- end
- CFuncs.Sound.Create("200633029", Hitbox, 1, 1.1, 5)
- CFuncs.Sound.Create("1132378960", Handle, 1, 0.6, 5)
- CFuncs.Sound.Create("1132378630", Handle, 2, 0.8, 5)
- Disappear()
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0.0563021079, -8.55646664E-30, -0.359947383, 0.995815516, -6.11343504E-30, 0.0913859531, 4.00286559E-30, 1, 2.32784008E-29, -0.0913859531, -2.2815189E-29, 0.995815516) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.0317567252, 1.49999976, -0.0219708979, 0.822355807, 0.060495168, -0.565748394, 0, 0.994331658, 0.106323346, 0.568973541, -0.087435618, 0.817694366) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.66843605, 0.302004129, 0.232172459, 0.494170129, -0.841350675, -0.218917593, 0.441748202, 0.459891915, -0.770297408, 0.748768687, 0.283951432, 0.598929942) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.60288143, 0.144510865, -0.0723012537, 0.94148612, 0.296302497, -0.16065082, -0.307336122, 0.950376272, -0.0482650511, 0.138377666, 0.0948146731, 0.985830545) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.680147231, -1.99361694, -0.0319533348, 0.978258669, -0.0385481045, -0.203774542, 0.0413599946, 0.999098659, 0.00955673121, 0.203222454, -0.0177770685, 0.978971303) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.64950037, -2, -0.0756407157, 0.992064357, 0.0327638276, 0.121387169, -0.0324080102, 0.999462664, -0.00490491278, -0.121482641, 9.32072289E-4, 0.992593169) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 0, 0, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.615874767, 1.76220739, -0.0322588943, 0.343129992, 0.592527151, 0.728816509, -0.93928802, 0.216463387, 0.266236454, -9.74535942E-6, -0.775922298, 0.630828738) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.3, false)
- HandlePrt1.Weld.C0 = Lerp(HandlePrt1.Weld.C0, CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5)
- HandlePrt2.Weld.C0 = Lerp(HandlePrt2.Weld.C0, CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5)
- end
- CFuncs.Sound.Create("1132378728", RightArm, 1, 0.8, 5)
- for i = 0, 1, 0.07 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0.145560831, -1.14713136E-30, -0.0112755867, 0.988049626, -6.11343504E-30, -0.154135928, 9.55701809E-30, 1, 2.16002387E-29, 0.154135942, -2.2815189E-29, 0.988049626) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-4.84287739E-8, 1.50000036, 1.78813934E-7, 0.976130307, 0.015721539, -0.21661596, 0, 0.997376621, 0.0723875612, 0.217185721, -0.0706596896, 0.973569512) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.14831018, 0.0852671415, 0.794371665, -0.204826787, -0.0756526217, 0.975870132, -0.346486986, 0.9380548, -3.60545118E-6, -0.9154194, -0.338127106, -0.218351394) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.60564482, 0.0384459235, -0.175445795, 0.974547505, 0.201915562, -0.097402513, -0.217276067, 0.957724035, -0.188562423, 0.0552110672, 0.204926282, 0.977218926) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.62239188, -2, -0.0187949017, 0.988442421, 0, 0.151597157, 0, 1, 0, -0.151597142, 0, 0.988442421) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.607923388, -2.00405931, 0.0275797471, 0.967212379, 0.0563355759, 0.2476421, -0.0581489839, 0.998307884, 8.69902306E-6, -0.247222558, -0.0144085456, 0.968851626) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 0, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.02298558, 0.043397665, 0.587206006, 0.980978966, -0.00217291433, -0.194102302, 0.072403267, 0.931872189, 0.355488896, 0.180106044, -0.36278069, 0.914304256) * CFrame.new(-1, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.3, false)
- HandlePrt1.Weld.C0 = Lerp(HandlePrt1.Weld.C0, CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- HandlePrt2.Weld.C0 = Lerp(HandlePrt2.Weld.C0, CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- end
- Humanoid.WalkSpeed = 16
- Animate.Parent = Character
- Animator.Parent = Humanoid
- RW.Parent, LW.Parent, RH.Parent, LH.Parent = nil, nil, nil, nil
- RShoulder.Parent, LShoulder.Parent, RHip.Parent, LHip.Parent = Torso, Torso, Torso, Torso
- RootJoint.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- RootJoint.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- Torso.Neck.C0 = NeckC0
- Torso.Neck.C1 = NeckC1
- FakeHandleWeld.C0 = CFrame.new()
- HandleWeld.Part0 = Torso
- HandleWeld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.Angles(0, 0, 0)
- HandleWeld.C1 = CFrame.new(-0.00617980957, 0.959973335, 0.451027453, -1, 0, 0, 0, 1, 1.29999999E-5, 0, 1.29999999E-5, -1) * CFrame.Angles(0, 0, 0)
- Attack = false
- Equipped = false
- end
- }
- ClickCombo = {
- ["1"] = function()
- Attack = true
- Humanoid.WalkSpeed = 10
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0.0665549561, -0.184942499, 0.260904461, 0.842577159, -1.9774717E-7, -0.538575768, -0.0577830151, 0.994227886, -0.0903992504, 0.535467088, 0.10728886, 0.837713718) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.024227526, 1.51099086, -0.0975070521, 0.969676435, -0.0517281033, 0.238855511, 0.028536763, 0.994623184, 0.0995519683, -0.242720783, -0.0897170454, 0.965938687) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.69279671, 1.20368886, -0.41858381, 0.656214595, -0.550312281, -0.516274154, -0.743745148, -0.587208569, -0.319420338, -0.127379656, 0.593584776, -0.794626892) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.29748428, 0.524334848, -0.785402477, 0.445712447, -0.00549083948, -0.895159483, -0.890980363, 0.0939857587, -0.444208115, 0.0865713432, 0.9955585, 0.0369983912) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.934148014, -1.86132014, 0.233382672, 0.855251253, -0.179025233, 0.486308008, 0.0711145476, 0.970099032, 0.232057452, -0.513311028, -0.163883865, 0.84240967) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.844822466, -1.95213306, -0.0881804228, 0.697618008, -0.00135508412, 0.716468692, -0.0982789025, 0.990364671, 0.0975662544, -0.709697366, -0.138477728, 0.690763116) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 0, 0, 0.99999994, 0, -1.49011612E-8, 0, 1.00000024, -9.31322575E-9, -1.49011612E-8, -9.31322575E-9, 0.99999994) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.47747862, 1.28062272, -0.455777705, 0.729630232, 0.670418918, -0.134827092, -0.659259439, 0.741983056, 0.121813573, 0.181705534, 7.12275505E-6, 0.983352959) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.2, false)
- end
- RootPart.Velocity = RootPart.CFrame.lookVector * 40
- Humanoid.WalkSpeed = 5
- Trail.Enabled = true
- CFuncs.Sound.Create("234365549", Hitbox, 1, 0.6, 5)
- CFuncs.Sound.Create("203691447", Hitbox, 1, 0.96, 5)
- CamShake(RootPart, 5, 0.3, 5)
- for i = 0, 1, 0.11 do
- swait()
- MagnitudeDamage(Hitbox, 7, 5, 10, math.random(1, 5), "Normal", 0.3)
- PlayAnimationFromTable({
- CFrame.new(0.0161325932, -0.602928936, -0.949280977, 0.438432008, -0.194854885, 0.877387583, -0.443948001, 0.801855743, 0.399921924, -0.781464994, -0.564853013, 0.265053809) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.47223473E-5, 1.50001645, -1.76280737E-5, 0.44463551, -0.272446513, -0.853271484, -0.074146986, 0.938153505, -0.338186622, 0.892637491, 0.213637307, 0.396935314) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.708687305, 0.761763871, -1.38039231, 0.552033722, 0.592411399, -0.58677727, -0.813777447, 0.229406357, -0.533984005, -0.181727752, 0.772283435, 0.608731031) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.56217611, 0.344860077, 0.28979665, 0.303951502, 0.674820244, 0.672481358, 0.370265543, 0.566708088, -0.736033559, -0.877791107, 0.472715139, -0.0776108801) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.20208561, -0.855071068, -0.642530799, 0.655695736, -0.456514388, -0.601379931, 0.0721468776, 0.830742002, -0.551962554, 0.751570284, 0.318531841, 0.57765007) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.399105519, -1.90095735, -0.266068459, 0.93827045, 0.040555805, -0.343516767, -0.030138284, 0.998911023, 0.035613507, 0.344587058, -0.0230621099, 0.938471079) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 0, 0, 1.00000012, -2.98023224E-8, -3.7252903E-9, -2.98023224E-8, 1, -1.86264515E-9, -3.7252903E-9, -1.86264515E-9, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.03958654, -0.0043371506, -0.30864197, 0.979702353, 0.167458206, -0.110187747, -0.119968176, 0.930171847, 0.346969754, 0.160596475, -0.326708049, 0.931381106) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.35, false)
- end
- Humanoid.WalkSpeed = 16
- Trail.Enabled = false
- Attack = false
- end,
- ["2"] = function()
- Attack = true
- Humanoid.WalkSpeed = 10
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0.0340179801, -0.65971595, 0.112671107, 0.23382397, -3.48424822E-9, 0.972279012, -0.229029968, 0.971859872, 0.0550795682, -0.944918871, -0.235559955, 0.227244139) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.0266713575, 1.51750851, -0.0480759218, 0.763152361, 0.0653594136, -0.642904997, 0.0264164284, 0.990885377, 0.132093325, 0.64567858, -0.117790572, 0.754469872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.970878959, 0.501977801, -0.665212989, 0.160206035, 0.215078026, 0.963366866, 0.985827506, 0.0143594239, -0.16714704, -0.049783051, 0.976491392, -0.209729388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.45606375, 0.408450752, -0.856636822, 0.277140737, 0.077929005, 0.957663894, 0.935174048, -0.250663549, -0.250234842, 0.22055085, 0.96493274, -0.142346263) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.794200659, -1.39497304, -0.452756345, 0.917407572, -0.159488022, -0.364591539, 0.14066112, 0.986995161, -0.0778140724, 0.372260511, 0.0201033596, 0.927910686) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.81090641, -1.78941345, -0.0892592072, 0.954557538, 0.16277808, -0.249646366, -0.117167234, 0.9751845, 0.187848955, 0.274028957, -0.150062248, 0.949941874) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 0, 0, 1, 9.31322575E-10, 2.98023224E-8, 9.31322575E-10, 1.00000024, -9.31322575E-10, 2.98023224E-8, -9.31322575E-10, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.16085732, -0.25967291, 0.177137613, 0.971839309, 0.233326152, 0.0329749286, -0.233192012, 0.972398639, -0.0079106465, -0.0339105129, -1.60932541E-6, 0.999424875) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.3, false)
- end
- Trail.Enabled = true
- CFuncs.Sound.Create("822966419", Torso, 1, 0.6, 5)
- CFuncs.Sound.Create("199145433", Torso, 1, 0.9, 5)
- Humanoid.WalkSpeed = 5
- CamShake(RootPart, 5, 0.32, 6)
- for i = 0, 1, 0.11 do
- swait()
- RootPart.Velocity = RootPart.CFrame.lookVector * 60
- MagnitudeDamage(Hitbox, 7, 5, 10, math.random(1, 5), "Normal", 0.3)
- PlayAnimationFromTable({
- CFrame.new(-0.0340159237, -0.455236256, -1.52985823, 0.233824104, -5.57480249E-8, 0.972278953, -0.39965418, 0.911613345, 0.0961131901, -0.886342406, -0.411048889, 0.213157147) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.123362988, 1.48799706, -0.00907865912, 0.252159953, -0.180140644, -0.950770676, -0.00342359021, 0.982348084, -0.187031507, 0.96767956, 0.0504169129, 0.247092128) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.02185225, 0.729695082, -0.554418266, -0.0470581353, 0.500806987, 0.864278853, 0.998882771, 0.0273512974, 0.0385382771, -0.00433889776, 0.865126848, -0.501534581) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.44783199, 0.261507213, -0.542955756, 0.277140468, 0.077928558, 0.957664013, 0.935174167, -0.250663251, -0.250234723, 0.220550716, 0.96493274, -0.142345712) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.756569862, -1.56914091, -0.421967208, 0.855612636, 0.208123505, -0.473932147, -0.094945401, 0.963173389, 0.251560271, 0.508834362, -0.170240447, 0.843863726) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.07984817, -1.80126035, 0.171072051, 0.693185568, 0.428673118, -0.579424918, -0.120373592, 0.86147207, 0.49333179, 0.710636437, -0.272223055, 0.648760855) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 0, 0, 0.999999881, -1.49011612E-8, -2.98023224E-8, -1.49011612E-8, 1.00000012, 7.4505806E-9, -2.98023224E-8, 7.4505806E-9, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.0250184089, 0.101048745, 0.260947466, 0.824333131, 0.533173084, 0.190265998, -0.529878974, 0.844996631, -0.0721757412, -0.199256286, -0.0413210914, 0.979075789) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.32, false)
- end
- Trail.Enabled = false
- Humanoid.WalkSpeed = 16
- Attack = false
- end,
- ["3"] = function()
- Attack = true
- Humanoid.WalkSpeed = 10
- for i = 0, 1, 0.07 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-9.95263457E-4, -0.356713831, -0.343811631, 0.421647161, -0.149692878, 0.89431864, -0.210404068, 0.943208396, 0.257076025, -0.882011294, -0.296563625, 0.366205156) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.012703497, 1.5224067, -0.0916073471, 0.923252702, 0.0225188136, -0.383533001, 0.020732522, 0.993905962, 0.108264297, 0.383633703, -0.107906908, 0.917159438) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.03113949, 0.375998408, -1.21733522, -0.359196663, 0.313398093, 0.879067481, 0.900514066, 0.363721043, 0.238288999, -0.245056003, 0.877205193, -0.412866741) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.52890682, 0.0435836539, -0.473066777, -0.169298112, 0.268664032, 0.948239446, 0.707798004, 0.702662528, -0.0727150142, -0.68582809, 0.658851504, -0.309119314) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.981677651, -1.46450436, -0.506846607, 0.83675158, -0.239640921, -0.49236089, 0.152971447, 0.965653658, -0.210030973, 0.525782049, 0.100426599, 0.844670296) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.705997229, -1.96887791, 0.069483012, 0.900152147, 0.108244538, -0.421911538, -0.0456059575, 0.986727178, 0.155851543, 0.433181643, -0.121048391, 0.89314115) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 9.31322575E-10, 0, 9.31322575E-10, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.52258325, -0.210853919, 0.0413353071, 0.992684484, 0.0894600749, 0.0810836852, -0.0965465009, 0.991416812, 0.0881555155, -0.0725013316, -0.0953389108, 0.99280113) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.25, false)
- end
- RootPart.Velocity = RootPart.CFrame.lookVector * 30
- Trail.Enabled = true
- CFuncs.Sound.Create("203691467", Hitbox, 1, 0.9, 5)
- CFuncs.Sound.Create("234365549", Hitbox, 1, 0.6, 5)
- Humanoid.WalkSpeed = 5
- CamShake(RootPart, 5, 0.25, 5)
- for i = 0, 1, 0.1 do
- swait()
- MagnitudeDamage(Hitbox, 7, 5, 10, math.random(1, 5), "Normal", 0.3)
- PlayAnimationFromTable({
- CFrame.new(0.0827158391, -0.431660205, -0.221472621, 0.396513045, -0.0640119016, -0.915794671, -0.198106036, 0.968095839, -0.153441906, 0.89639914, 0.242266163, 0.371181518) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(9.92417336E-6, 1.50000167, 6.92158937E-6, 0.359398037, -0.180999383, 0.915462852, -0.0307139941, 0.978183806, 0.20545803, -0.932678878, -0.101958729, 0.345998108) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.71579444, 0.850375116, 0.625552297, 0.158359349, -0.986507654, -0.0415334105, 0.98158896, 0.161840707, -0.101443961, 0.106797077, -0.0247041881, 0.993973851) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.329022169, 0.358067065, -1.52914762, 0.32024318, -0.740332365, 0.591060281, 0.91105336, 0.069664821, -0.406360328, 0.259665638, 0.66862154, 0.696791887) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.07205665, -1.61642611, 0.439670354, 0.938681126, -0.253307045, 0.233909011, 0.106574625, 0.858359516, 0.501857281, -0.327902049, -0.446155131, 0.832722008) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.650901496, -2.00436831, -0.235267341, 0.841717243, -0.114475906, 0.527643263, 5.27501106E-6, 0.977266133, 0.212016359, -0.539918661, -0.178455025, 0.822582364) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 0, 0, 0.999999881, -2.98023224E-8, 0, -2.98023224E-8, 1, 0, 0, 0, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.90462077, 0.945885122, -0.45939967, 0.874663889, -0.481609076, 0.0549148396, 0.474493116, 0.873839974, 0.106113762, -0.0990921259, -0.066757217, 0.992836595) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.31, false)
- end
- Trail.Enabled = false
- Humanoid.WalkSpeed = 16
- Attack = false
- end,
- ["4"] = function()
- Attack = true
- Humanoid.WalkSpeed = 5
- for i = 0, 1, 0.07 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0.0630185828, -0.489610553, 0.176186547, 0.918316007, 1.36839788E-7, -0.395848095, -0.088225998, 0.974846363, -0.2046725, 0.38589099, 0.222878128, 0.895217061) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.00167241693, 1.52400136, -0.00336959958, 0.895320058, -0.0922970846, 0.435755908, 2.66358256E-6, 0.978297174, 0.20720683, -0.445423365, -0.18551527, 0.87588948) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.18471086, 1.29328787, 0.42868647, 0.897346675, -0.139672607, -0.418641448, -2.6778318E-5, -0.948615372, 0.31643194, -0.441326618, -0.283937931, -0.851240456) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.780820489, 1.07899392, -1.24912989, 0.604390621, -0.462227583, -0.648889601, -0.789608538, -0.45588401, -0.410716832, -0.105973706, 0.760602176, -0.640510798) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.976371765, -1.65881336, 0.330952764, 0.827035189, -0.266684741, 0.494865745, 0.0934763774, 0.933294058, 0.346734345, -0.554323971, -0.240503252, 0.796795607) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.716628075, -1.83640146, 0.101153493, 0.827439308, -0.0363899991, 0.560374916, -0.130501226, 0.958117068, 0.254914463, -0.546181142, -0.284055889, 0.788034618) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 0, 0, 1.00000012, 0, 3.7252903E-9, 0, 1.00000012, -1.86264515E-9, 3.7252903E-9, -1.86264515E-9, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.4848963, 1.17755246, 1.59305255E-5, 0.761023521, 0.648724437, -2.3137778E-5, -0.648724496, 0.761023462, -4.2706728E-5, -1.00955367E-5, 4.75086272E-5, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.2, false)
- end
- Humanoid.WalkSpeed = 0
- CFuncs.Sound.Create("203691492", Hitbox, 1, 1, 5)
- Trail.Enabled = true
- for i = 0, 1, 0.15 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0.211727202, -0.711087704, -1.13575423, 0.493907988, -0.0379241034, 0.868686795, -0.438315004, 0.851969123, 0.286406368, -0.750955999, -0.522216797, 0.404171616) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.00972136855, 1.43298638, -0.0570737869, 0.539564013, -0.269201934, -0.797747493, 1.01700425E-5, 0.947508037, -0.31973213, 0.841944695, 0.172507823, 0.511243939) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.61506772, 0.492749572, -0.48200047, 0.683789432, -0.46405071, -0.563106656, -0.517624676, 0.235433877, -0.822578669, 0.514292598, 0.853948534, -0.0792169571) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.58287859, -0.158723354, -1.00953376, 0.507138729, -0.588082314, -0.630055249, -0.170568094, 0.648095071, -0.742212415, 0.844817817, 0.483871937, 0.228366017) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.14025688, -1.11600804, -0.429702669, 0.568509936, -0.46061936, -0.681635082, 0.0726023614, 0.853416502, -0.516148567, 0.819466591, 0.243947238, 0.518617749) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.487157822, -2.00573635, -0.142733082, 0.88652575, 0.0200313032, -0.462245613, -2.05636024E-6, 0.999062538, 0.043290168, 0.462679446, -0.0383768678, 0.885694683) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 0, 0, 1.00000012, 2.98023224E-8, 2.60770321E-8, 2.98023224E-8, 1.00000012, -1.86264515E-9, 2.60770321E-8, -1.86264515E-9, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.51132059, 0.647999585, -0.505859733, 0.886167109, 0.375624895, 0.271318734, -0.462250352, 0.676032305, 0.573851168, 0.0321325697, -0.633945167, 0.772710383) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.55, false)
- end
- Trail.Enabled = false
- CamShake(RootPart, 10, 0.6, 9)
- local hitfloor2, posfloor2 = RayCast(Hitbox.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 100, Character)
- local ref2 = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
- ref2.Anchored = true
- ref2.CFrame = CFrame.new(posfloor2) * CFrame.new(0, -0.2, 0)
- game:GetService("Debris"):AddItem(ref2, 5)
- CFuncs.Sound.Create("834070282", ref2, 0.7, 0.9, 5)
- CFuncs.Sound.Create("824697277", ref2, 2, 0.85, 5)
- CFuncs.Sound.Create("834070239", ref2, 1, 0.86, 5)
- MagnitudeDamage(ref2, 15, 10, 25, math.random(1, 5), "Knockdown", 0.5)
- for i = 1, 3 do
- Effects.Feather.Create("Glass", BrickColor.new("Toothpaste"), ref2.CFrame * CFrame.Angles(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)), 0.2, 0.02, 0.2, 3, 0.01, 3, 0.1)
- end
- Effects.Wave.Create("Glass", BrickColor.new("Toothpaste"), CFrame.new(ref2.Position), 0.1, 0.01, 0.1, 2, 1, 2, 0.1, 1, ref2)
- Effects.Wave.Create("Glass", BrickColor.new("Toothpaste"), CFrame.new(ref2.Position), 0.1, 0.1, 0.1, 1, 2, 1, 0.1, 1, ref2)
- Effects.Sphere.Create("Glass", BrickColor.new("Toothpaste"), CFrame.new(ref2.Position), 0.1, 0.01, 0.1, 1, 0.4, 1, 0.1, 1, ref2)
- for i = 0, 1, 0.13 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0.211727202, -0.711087704, -1.13575423, 0.493907988, -0.0379241034, 0.868686795, -0.438315004, 0.851969123, 0.286406368, -0.750955999, -0.522216797, 0.404171616) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.00972136855, 1.43298638, -0.0570737869, 0.539564013, -0.269201934, -0.797747493, 1.01700425E-5, 0.947508037, -0.31973213, 0.841944695, 0.172507823, 0.511243939) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.61506772, 0.492749572, -0.48200047, 0.683789432, -0.46405071, -0.563106656, -0.517624676, 0.235433877, -0.822578669, 0.514292598, 0.853948534, -0.0792169571) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.58287859, -0.158723354, -1.00953376, 0.507138729, -0.588082314, -0.630055249, -0.170568094, 0.648095071, -0.742212415, 0.844817817, 0.483871937, 0.228366017) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.14025688, -1.11600804, -0.429702669, 0.568509936, -0.46061936, -0.681635082, 0.0726023614, 0.853416502, -0.516148567, 0.819466591, 0.243947238, 0.518617749) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.487157822, -2.00573635, -0.142733082, 0.88652575, 0.0200313032, -0.462245613, -2.05636024E-6, 0.999062538, 0.043290168, 0.462679446, -0.0383768678, 0.885694683) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 0, 0, 1.00000012, 2.98023224E-8, 2.60770321E-8, 2.98023224E-8, 1.00000012, -1.86264515E-9, 2.60770321E-8, -1.86264515E-9, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.51132059, 0.647999585, -0.505859733, 0.886167109, 0.375624895, 0.271318734, -0.462250352, 0.676032305, 0.573851168, 0.0321325697, -0.633945167, 0.772710383) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.45, false)
- end
- Humanoid.WalkSpeed = 16
- Attack = false
- end
- }
- function Lightning2(Part0, Part1, Times, Offset, Color, Thickness, Trans, V)
- local magz = (Part0 - Part1).magnitude
- local curpos = Part0
- local trz = {
- -Offset,
- Offset
- }
- for i = 1, Times do
- do
- local li = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, Color, "Lightning", Vector3.new(Thickness, Thickness, magz / Times))
- li.Anchored = true
- li.Transparency = Trans
- local ora = Instance.new("BlockMesh", li)
- ora.Scale = Vector3.new(Thickness, Thickness, 1)
- local Offzet = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
- local trolpos = CFrame.new(curpos, Part1) * CFrame.new(0, 0, magz / Times).p + Offzet
- if Times == i then
- local magz2 = (curpos - Part1).magnitude
- li.Size = Vector3.new(Thickness, Thickness, magz2)
- li.CFrame = CFrame.new(curpos, Part1) * CFrame.new(0, 0, -magz2 / 2)
- else
- li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / Times / 2)
- end
- curpos = li.CFrame * CFrame.new(0, 0, magz / Times / 2).p
- coroutine.resume(coroutine.create(function()
- for i = 1, V do
- swait()
- li.Transparency = i / V
- end
- li:Destroy()
- end))
- end
- end
- end
- Skills = {
- E = function()
- Attack = true
- ChargeBits.Enabled = true
- ChargeWave.Enabled = true
- ChargeWave2.Enabled = true
- CFuncs.Sound.Create("1614535601", Head, 2, 1, 5)
- Humanoid.WalkSpeed = 4
- CFuncs.Sound.Create("300916082", Hitbox, 1, 1.2, 5)
- for i = 0, 1, 0.07 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0.266697705, -0.211599946, 0.130362794, 0.855487585, -0.0190758761, -0.51747179, -0.0315909833, 0.995537221, -0.0889254808, 0.516858757, 0.0924220979, 0.851067066) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.0303249434, 1.4953934, -0.0794907063, 0.817190766, -0.0551990755, 0.573718071, -0.0385621451, 0.987936914, 0.149979293, -0.575075924, -0.144685477, 0.805204272) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.877077103, 1.34950185, 0.774489403, 0.908336043, 0.406796336, 0.0971720815, 0.350186676, -0.866757452, 0.355107069, 0.228680849, -0.288528264, -0.929761589) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.522989988, 1.17179799, -0.961153626, -0.777674675, -0.57943207, -0.243886322, 0.438653737, -0.778026164, 0.449731588, -0.450338781, 0.242763191, 0.85922128) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.845042229, -1.83017659, 0.0710492283, 0.900673032, -0.154870331, 0.405959755, 0.104521252, 0.984110117, 0.143536389, -0.421738625, -0.0868479162, 0.902548611) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.687669039, -1.9060123, 0.0942255557, 0.750445604, -0.0487671271, 0.659130573, -0.0663864613, 0.986668944, 0.148584276, -0.657589614, -0.155261755, 0.737203896) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 0, 0, 1.00000012, 2.23517418E-8, 2.98023224E-8, 2.23517418E-8, 1.00000012, -1.49011612E-8, 2.98023224E-8, -1.49011612E-8, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.4508574, 0.950321555, 0.0422772169, 0.783466816, 0.58874619, 0.198891342, -0.577034891, 0.808027804, -0.118836306, -0.230674058, -0.0216629356, 0.972789764) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.25, false)
- end
- for i = 0, 1, 0.07 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0.266696483, -0.19689706, 0.110607758, 0.855488002, -0.0190759748, -0.517471194, -0.0516339988, 0.991198361, -0.121901147, 0.515241981, 0.131004065, 0.8469733) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.0303218439, 1.49539328, -0.0794886649, 0.816428423, 0.00115705281, 0.577445626, -0.0309221372, 0.998650849, 0.0417185798, -0.576618254, -0.0519160852, 0.815362692) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.862307787, 1.59006572, 0.741201282, 0.923586845, 0.364748776, 0.118091941, 0.285133541, -0.859401584, 0.424414933, 0.256293267, -0.358312011, -0.897734106) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.665583074, 1.44887292, -1.01020098, -0.834212184, -0.417310953, -0.360474288, 0.354536742, -0.906559765, 0.229027122, -0.422366947, 0.0632558614, 0.904215097) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.845040858, -1.83017504, 0.0710488856, 0.907654762, -0.105138026, 0.40633601, 0.046959348, 0.987477362, 0.150610656, -0.417082459, -0.117621198, 0.901225626) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.687670171, -1.90601075, 0.0942220092, 0.748608649, -0.0825275332, 0.657855928, -0.027892258, 0.987424493, 0.155611694, -0.662425339, -0.134841338, 0.736892521) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 0, 0, 1, -1.49011612E-8, 0, -1.49011612E-8, 0.99999994, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.873622537, 0.5251773, -0.127683192, 0.783467531, 0.588745475, 0.198890597, -0.577034116, 0.808028162, -0.118836448, -0.230673641, -0.0216621459, 0.972790062) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.15, false)
- end
- ChargeBits.Enabled = false
- ChargeWave.Enabled = false
- ChargeWave2.Enabled = false
- ChargeBits2:Emit(20)
- ChargeWave3:Emit(2)
- ChargeWave4:Emit(5)
- Smoke2:Emit(20)
- Wave3:Emit(1)
- CFuncs.Sound.Create("300916105", Hitbox, 1, 0.9, 5)
- CFuncs.Sound.Create("300916014", Hitbox, 1, 1, 5)
- CFuncs.Sound.Create("301031757", Hitbox, 1, 1, 5)
- CamShake(RootPart, 15, 0.9, 12)
- Humanoid.WalkSpeed = 0
- for i = 0, 1, 0.07 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0.266694129, -0.622656584, 0.255405098, 0.855488002, -0.0190763772, -0.517471254, 0.0850469992, 0.990927041, 0.104070269, 0.510791004, -0.133040234, 0.849348485) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.075704366, 1.53773868, -0.146817595, 0.817193449, -0.151981741, 0.55596453, -0.0385638252, 0.94802779, 0.315842152, -0.57507205, -0.279544234, 0.768860996) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.02546072, 1.03335798, 0.669255257, 0.908336163, 0.406796664, 0.0971708, 0.350185841, -0.866755247, 0.355113268, 0.228682131, -0.288534284, -0.929759443) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.401787937, 0.843678594, -1.16011322, -0.687109292, -0.715794623, -0.124575645, 0.545103192, -0.621235609, 0.56296438, -0.480357587, 0.318911493, 0.817038536) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.763648331, -1.5767628, -0.292806178, 0.996835709, -0.0484557487, -0.0630138516, 0.0440192074, 0.996576548, -0.0699837282, 0.0661891997, 0.0669884533, 0.995555878) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.10323668, -1.30660725, -0.440535545, 0.750444949, 0.107946798, 0.652058363, -0.0663867816, 0.9938941, -0.0881332904, -0.657590628, 0.0228511132, 0.75302881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 0, 0, 1.00000024, 3.7252903E-9, 5.96046448E-8, 3.7252903E-9, 0.99999994, -1.49011612E-8, 5.96046448E-8, -1.49011612E-8, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.64415967, 1.09268916, 0.0991941392, 0.78346777, 0.588745415, 0.198890567, -0.577032566, 0.80802846, -0.118842468, -0.230677158, -0.0216570497, 0.972789288) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.42, false)
- end
- print(Charges)
- Charges = 3
- Charged = true
- Humanoid.WalkSpeed = 16
- Attack = false
- end,
- C = function()
- Attack = true
- cooldown3 = 0
- Humanoid.WalkSpeed = 5
- local no = 0
- local ecksdee = 15
- local ref = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
- game:GetService("Debris"):AddItem(ref, 5)
- CFuncs.Sound.Create("822950046", ref, 2, 1.2, 5)
- for i = 0, 1, 0.04 do
- swait()
- no = no + 1
- if no == 6 then
- no = 0
- CFuncs.Sound.Create("206083232", ref, 0.5, 2)
- for i = 1, 2 do
- Lightning2(LeftLeg.Position, Torso.Position + Vector3.new(math.random(-ecksdee, ecksdee), 0, math.random(-ecksdee, ecksdee)), 6, 2, "Cyan", 0.1, 0.5, 5)
- end
- Effects.Block.Create("SmoothPlastic", BrickColor.new("Cyan"), CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 0, 0, 0, 0.2, 0.2, 0.2, 0.07, 3, ref)
- Effects.Sphere.Create("Neon", BrickColor.new("Toothpaste"), CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 0, 0, 0, 0.15, 0.15, 0.15, 0.07, 2, ref)
- end
- ref.CFrame = LeftLeg.CFrame * CFrame.new(0, -0.8, 0)
- PlayAnimationFromTable({
- CFrame.new(-0.107274182, -0.0652196705, 0.165030107, 0.888410091, -7.87681756E-7, -0.459050745, -0.0687980056, 0.988705516, -0.133147866, 0.453866065, 0.149871677, 0.878375947) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.069534272, 1.53135335, -0.123537272, 0.879119754, -0.156619295, 0.450132221, -4.78560105E-6, 0.944460452, 0.32862553, -0.476601124, -0.288903356, 0.830293059) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.75511181, 0.568878531, -0.105572924, 0.71002388, -0.702813327, 0.0438138768, 0.355274796, 0.303809702, -0.884013295, 0.607985377, 0.643236518, 0.465404004) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.55200505, 0.242930666, 0.264319837, 0.917827487, 0.374675333, -0.131191701, -0.33608973, 0.909269273, 0.245506331, 0.21127373, -0.181240261, 0.960476756) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.682046235, -1.96377659, -0.00666022301, 0.990204275, -0.139626473, 1.29938126E-5, 0.13732335, 0.973887861, 0.180789739, -0.0252556801, -0.179017022, 0.983521879) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.867114425, -0.59998405, -0.571169972, 0.841233909, 0.0736081302, 0.535637438, 9.91858542E-7, 0.990689218, -0.13614361, -0.540671468, 0.114529178, 0.833401322) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 0, 0, 1.00000024, 0, 0, 0, 1.00000012, -2.98023224E-8, 0, -2.98023224E-8, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.481871754, 0.0505170971, 0.123012505, 0.0466884002, -0.980957091, -0.188530445, 0.998909533, 0.0458494201, 0.00881099701, 8.04662704E-7, -0.18873623, 0.982027948) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.1, false)
- end
- CFuncs.Sound.Create("203691467", LeftLeg, 1, 0.9, 5)
- Humanoid.WalkSpeed = 0
- for i = 0, 1, 0.25 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0.107280195, -0.312153757, -0.559508681, 0.888410211, 8.14158284E-7, -0.459050626, 0.0857470185, 0.982399285, 0.165949717, 0.450971127, -0.186793625, 0.87277329) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.0695299506, 1.53134918, -0.123543441, 0.879119992, -0.15662007, 0.450131625, -4.22028825E-6, 0.944460154, 0.328626364, -0.476600796, -0.288903773, 0.830292881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.733845, 0.573240042, -0.0267722979, 0.704455554, -0.709446728, 0.0206889808, 0.1714046, 0.141767204, -0.974947572, 0.688740134, 0.690353334, 0.221471041) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.81225157, 0.513196826, 0.226800188, 0.668622911, 0.734704971, -0.114683032, -0.740331113, 0.672166646, -0.0100982487, 0.0696668327, 0.0916553289, 0.993350804) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.679998755, -1.8252598, 0.0117866248, 0.999038994, -0.0153980777, 0.041038692, 0.0199625194, 0.993366718, -0.113244332, -0.0390227139, 0.113954738, 0.992719352) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.03717327, -1.54277754, -0.835801482, 0.841243505, 0.113741875, 0.528556943, -1.31875277E-6, 0.97762084, -0.210375279, -0.540656686, 0.1769761, 0.82241714) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 0, 0, 1, 0, -2.98023224E-8, 0, 0.999999881, -1.49011612E-8, -2.98023224E-8, -1.49011612E-8, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.481862098, 0.0505440496, 0.123008423, 0.0466890335, -0.980956912, -0.188530415, 0.998909473, 0.045849923, 0.00881187618, 0, -0.188736245, 0.982027829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.5, false)
- end
- MagnitudeDamage(Torso, 14, 5, 10, math.random(-5, -2), "Normal", 0.1)
- CamShake(RootPart, 25, 0.8, 20)
- local hitfloor2, posfloor2 = RayCast(LeftLeg.Position, CFrame.new(LeftLeg.Position, LeftLeg.Position - Vector3.new(0, 1, 0)).lookVector, 100, Character)
- local ref2 = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
- ref2.Anchored = true
- ref2.CFrame = CFrame.new(posfloor2) * CFrame.new(0, -0.2, 0)
- game:GetService("Debris"):AddItem(ref2, 5)
- CFuncs.Sound.Create("824697277", ref2, 2, 0.95, 5)
- CFuncs.Sound.Create("834070239", ref2, 1, 0.96, 5)
- Effects.Wave.Create("Glass", BrickColor.new("Toothpaste"), CFrame.new(ref2.Position), 0.1, 0.01, 0.1, 3, 1, 3, 0.1, 1, ref2)
- Effects.Wave.Create("Glass", BrickColor.new("Toothpaste"), CFrame.new(ref2.Position), 0.1, 0.01, 0.1, 2.5, 2, 2.5, 0.1, 1, ref2)
- local num1 = -1.57
- local num2 = 2
- local num3 = 0.785
- local dammin = 5
- local dammax = 20
- for i = num1, num2, num3 do
- coroutine.resume(coroutine.create(function(MagicCF)
- for i = 5, 25, 10 do
- local CeEf = MagicCF * CFrame.new(0, 0, -i)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "Effect", Vector3.new(0.2, 0.2, 0.2))
- prt.Parent = nil
- prt.Anchored = true
- prt.CFrame = CeEf
- local hit, pos = RayCast(prt.Position, CFrame.new(prt.Position, prt.Position - Vector3.new(0, 1, 0)).lookVector, 500, Character)
- if hit ~= nil then
- prt.CFrame = CFrame.new(pos)
- prt.Parent = EffectModel
- game:GetService("Debris"):AddItem(prt, 2)
- CFuncs.Sound.Create("834070340", prt, 1, 1)
- CFuncs.Sound.Create("822969951", prt, 1.2, 1)
- MagnitudeDamage(prt, 8, dammin, dammax, math.random(20, 40), "Knockdown", 0.1)
- local eul = CFrame.fromEulerAnglesXYZ(math.random(-50, 50) / 100, 0, math.random(-50, 50) / 100)
- Effects.Block.Create("Glass", BrickColor.new("Toothpaste"), CFrame.new(pos) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 0, 0, 0, 1.3, 1.3, 1.3, 0.1, 3, prt)
- Effects.Sphere.Create("SmoothPlastic", BrickColor.new("Toothpaste"), CFrame.new(pos) * eul, 0, 0, 0, 1.3, 4, 1.3, 0.1, 1, prt)
- Effects.Sphere.Create("Neon", BrickColor.new("Cyan"), CFrame.new(pos) * eul, 0, 0, 0, 1, 3, 1, 0.1, 1, prt)
- Effects.Wave.Create("Glass", BrickColor.new("Toothpaste"), CFrame.new(pos), 0.1, 0.01, 0.1, 3, 1, 3, 0.15, 1, prt)
- end
- swait(7)
- end
- end), RootPart.CFrame * CFrame.fromEulerAnglesXYZ(0, i, 0))
- end
- for i = 0, 1, 0.05 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0.107280195, -0.312153757, -0.559508681, 0.888410211, 8.14158284E-7, -0.459050626, 0.0857470185, 0.982399285, 0.165949717, 0.450971127, -0.186793625, 0.87277329) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.0695299506, 1.53134918, -0.123543441, 0.879119992, -0.15662007, 0.450131625, -4.22028825E-6, 0.944460154, 0.328626364, -0.476600796, -0.288903773, 0.830292881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.733845, 0.573240042, -0.0267722979, 0.704455554, -0.709446728, 0.0206889808, 0.1714046, 0.141767204, -0.974947572, 0.688740134, 0.690353334, 0.221471041) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.81225157, 0.513196826, 0.226800188, 0.668622911, 0.734704971, -0.114683032, -0.740331113, 0.672166646, -0.0100982487, 0.0696668327, 0.0916553289, 0.993350804) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.679998755, -1.8252598, 0.0117866248, 0.999038994, -0.0153980777, 0.041038692, 0.0199625194, 0.993366718, -0.113244332, -0.0390227139, 0.113954738, 0.992719352) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.03717327, -1.54277754, -0.835801482, 0.841243505, 0.113741875, 0.528556943, -1.31875277E-6, 0.97762084, -0.210375279, -0.540656686, 0.1769761, 0.82241714) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 0, 0, 1, 0, -2.98023224E-8, 0, 0.999999881, -1.49011612E-8, -2.98023224E-8, -1.49011612E-8, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.481862098, 0.0505440496, 0.123008423, 0.0466890335, -0.980956912, -0.188530415, 0.998909473, 0.045849923, 0.00881187618, 0, -0.188736245, 0.982027829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.5, false)
- end
- Humanoid.WalkSpeed = 16
- Attack = false
- end,
- X = function()
- Attack = true
- cooldown2 = 0
- CamShake(RootPart, 5, 0.15, 15)
- Humanoid.WalkSpeed = 5
- CFuncs.Sound.Create("300916082", Hitbox, 1, 1.2, 5)
- ChargeBits.Enabled = true
- ChargeWave.Enabled = true
- ChargeWave2.Enabled = true
- local ecksdee = 27
- local no = 0
- for i = 0, 1, 0.04 do
- swait()
- no = no + 1
- if no == 5 then
- no = 0
- Lightning2(Hitbox.Position, Torso.Position + Vector3.new(math.random(-ecksdee, ecksdee), 0, math.random(-ecksdee, ecksdee)), 6, 2, "Toothpaste", 0.35, 0.5, 5)
- CFuncs.Sound.Create("206083232", Hitbox, 1, 1)
- CFuncs.Sound.Create("206083232", Hitbox, 1, 2)
- end
- PlayAnimationFromTable({
- CFrame.new(-0.271033704, -0.204682887, -0.505019307, 0.592095315, 2.02926856E-7, -0.80586797, 0.152473077, 0.981937945, 0.112026766, 0.791312337, -0.189203694, 0.581400812) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.0550705865, 1.51035261, -0.0398256034, 0.570951879, -0.0853554159, 0.816534579, -0.0524211675, 0.988761008, 0.140013784, -0.819308341, -0.122744814, 0.560060501) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.58584845, 0.682932138, -0.172696769, 0.241750926, -0.758836329, -0.604751348, -0.965475202, -0.250429392, -0.071714744, -0.0970277488, 0.601209283, -0.793179154) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.02794719, 0.609892249, -1.09767711, 0.385595441, -0.404885828, -0.829086185, -0.919316173, -0.245115638, -0.307857513, -0.0785747766, 0.880900621, -0.466733545) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.492733985, -1.98481548, 0.205348969, 0.884854078, 0.123789147, -0.449121088, -0.078728497, 0.989919186, 0.117736727, 0.459168106, -0.0688211769, 0.885679603) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.09586644, -1.67286193, -0.519937396, 0.893780351, 0.206185326, 0.398302048, -0.182666183, 0.978418946, -0.0965904817, -0.409621775, 0.0135743497, 0.912154496) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 0, 0, 1, 1.49011612E-8, 2.98023224E-8, 1.49011612E-8, 1.00000012, -7.4505806E-9, 2.98023224E-8, -7.4505806E-9, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.42383099, 0.880835176, 6.99316786E-7, 0.848629117, 0.528988481, 4.47034836E-7, -0.528988421, 0.848629177, -1.04308128E-7, -4.17232513E-7, -1.34110451E-7, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.2, false)
- end
- ChargeBits.Enabled = false
- ChargeWave.Enabled = false
- ChargeWave2.Enabled = false
- ChargeBits2:Emit(20)
- ChargeWave3:Emit(2)
- ChargeWave4:Emit(5)
- Smoke2:Emit(20)
- Wave3:Emit(1)
- CFuncs.Sound.Create("300916105", Hitbox, 1, 1, 5)
- CFuncs.Sound.Create("300916014", Hitbox, 1, 1.2, 5)
- CFuncs.Sound.Create("301031757", Hitbox, 1, 1.2, 5)
- local num2 = 0
- Humanoid.WalkSpeed = 0
- CamShake(RootPart, 15, 0.4, 15)
- for i = 0, 1, 0.08 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0.271034062, -0.581023455, -0.459244579, 0.592095017, -5.58909865E-29, -0.805868208, 0.288827986, 0.933565855, 0.212210417, 0.752331018, -0.358405977, 0.552759647) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.0550758019, 1.51035285, -0.0398334563, 0.566870749, -0.00597774982, 0.823785186, -0.0496912748, 0.997904778, 0.0414353013, -0.822306871, -0.0644233376, 0.565385938) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.76738882, 0.691155076, 0.197695911, 0.241753027, -0.871159911, -0.427359402, -0.965474725, -0.259994566, -0.0161680579, -0.0970261991, 0.416513354, -0.903937221) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.637141824, 0.776321471, -1.1271081, 0.38559261, -0.685977042, -0.617052734, -0.919317245, -0.34258917, -0.193619788, -0.078576833, 0.641925514, -0.76273036) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.608532429, -1.73569775, -0.132499397, 0.884304523, 0.101325393, -0.455783755, -0.00939744711, 0.979833603, 0.199594349, 0.466816127, -0.172218964, 0.867423475) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.00897551, -1.20835018, -0.537475944, 0.893776298, 0.267159581, 0.360263377, -0.182662487, 0.950427353, -0.251639247, -0.409631997, 0.159102619, 0.898269475) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 0, 0, 1.00000024, 0, -2.98023224E-8, 0, 1, -1.49011612E-8, -2.98023224E-8, -1.49011612E-8, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.843224347, 0.63113749, -0.213439614, 0.848629057, 0.5289886, 1.81794167E-6, -0.528988481, 0.848628998, 1.90734863E-6, -5.36441803E-7, -2.59280205E-6, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.35, false)
- end
- for i = 0, 1, 0.12 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0.184920281, -0.13470155, -0.70915246, 0.822610676, -0.0327313021, 0.567662179, -0.115219958, 0.968034923, 0.222784281, -0.556808829, -0.248670757, 0.792544544) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.0578408539, 1.49271989, -0.0444760695, 0.839568079, -0.0305012614, -0.542397738, -0.00155685376, 0.998283565, -0.0585474372, 0.543252468, 0.0499989688, 0.838079393) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.495738626, 0.556718171, -1.13458633, -0.140229255, 0.754078686, 0.641639471, 0.9812814, 0.0194537304, 0.191594705, 0.131995186, 0.656495929, -0.742691338) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.77242398, 0.306706488, -0.574737847, 0.0666475594, 0.586956799, 0.806870461, 0.863337994, 0.371478111, -0.341543019, -0.500205755, 0.719364882, -0.4819839) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.908449888, -1.76839364, -0.334151775, 0.934085369, -0.169040382, -0.314499438, 0.107751094, 0.973218143, -0.203067034, 0.34040302, 0.155794278, 0.927283168) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.735063374, -1.94055176, -0.389303803, 0.958843231, 0.0166913122, 0.283445358, -0.0650274754, 0.984647214, 0.161992803, -0.276389748, -0.173757434, 0.945207477) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 0, 0, 0.99999994, 0, 3.7252903E-9, 0, 1.00000012, -7.4505806E-9, 3.7252903E-9, -7.4505806E-9, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.07435524, -0.898124754, 0.0121428818, 0.647516131, 0.739669383, -0.183335751, -0.752422571, 0.658680797, 1.34855509E-6, 0.120760724, 0.137945086, 0.983050346) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.35, false)
- end
- Trail.Enabled = true
- Humanoid.WalkSpeed = 25
- for i = 1, 8 do
- Torso.Velocity = RootPart.CFrame.lookVector * 150
- MagnitudeDamage(Torso, 15, 2, 8, math.random(-5, -2), "Normal", 0.1)
- Effects.Wave.Create("Glass", BrickColor.new("Toothpaste"), CFrame.new(Torso.Position), 0.1, 0.01, 0.1, 4, 1, 4, 0.09, 1, Torso)
- Effects.Feather.Create("Glass", BrickColor.new("Toothpaste"), Torso.CFrame * CFrame.Angles(0, math.random(-10, 10), 0), 0.2, 0.1, 0.2, 2, 0.1, 2, 0.07)
- Effects.Feather.Create("Neon", BrickColor.new("Toothpaste"), Torso.CFrame * CFrame.Angles(0, math.random(-5, 5), 0), 0.2, 0.1, 0.2, 1, 0.1, 1, 0.07)
- CFuncs.Sound.Create("234365549", Hitbox, 1, 0.4, 5)
- CFuncs.Sound.Create("203691447", Hitbox, 1, 0.86, 5)
- for i = 0, 1, 0.1 do
- swait()
- RootPart.Velocity = Torso.CFrame.lookVector * 70
- PlayAnimationFromTable({
- CFrame.new(0, -0.17491293, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -6 * i, 0),
- CFrame.new(-2.0591554E-29, 1.49283361, -0.081883207, 1, -2.86879663E-29, 1.37185025E-28, 6.11343504E-30, 0.986823618, 0.161799937, -1.40019127E-28, -0.161799937, 0.986823618) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.495722234, 0.556721628, -1.13456321, -0.140230015, 0.754078805, 0.641639054, 0.981280088, 0.0194484647, 0.191601843, 0.132004008, 0.656495988, -0.742689669) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.77243161, 0.306706339, -0.574731529, 0.0666459948, 0.586957991, 0.806869686, 0.863340855, 0.371474385, -0.34153977, -0.500200927, 0.719365776, -0.481987506) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.728156149, -1.90905309, -0.408895075, 0.983684897, -0.127427742, -0.126989156, 0.0827729926, 0.947318435, -0.309413105, 0.159726977, 0.29385373, 0.942410469) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.735070527, -1.94055605, -0.389316916, 0.958840609, 0.151988581, 0.239842162, -0.0650210381, 0.939761996, -0.335588574, -0.276400179, 0.306181133, 0.910964429) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 0, 0, 1.00000012, 2.98023224E-8, 1.49011612E-8, 2.98023224E-8, 1.00000024, -7.4505806E-9, 1.49011612E-8, -7.4505806E-9, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.07433212, -0.898120582, 0.0121379644, 0.647515953, 0.739669204, -0.183337793, -0.75242269, 0.658680797, 9.43895429E-7, 0.120761774, 0.137946889, 0.983050108) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.3, false)
- end
- end
- Trail.Enabled = false
- Humanoid.WalkSpeed = 16
- Attack = false
- end,
- Z = function()
- Attack = true
- cooldown1 = 0
- local no = 0
- Effects.Wave.Create("Glass", BrickColor.new("Toothpaste"), RootPart.CFrame * CFrame.Angles(math.rad(90), 0, 0), 0, 0, 0, 3, 1, 3, 0.08, 1, RootPart)
- CFuncs.Sound.Create("822966419", Torso, 1, 0.6, 5)
- CFuncs.Sound.Create("199145433", Torso, 1, 0.9, 5)
- for i = 0, 1, 0.1 do
- swait()
- no = no + 1
- if no == 2 then
- no = 0
- Effects.Feather.Create("Glass", BrickColor.new("Toothpaste"), RootPart.CFrame * CFrame.Angles(math.rad(90), 0, 0), 0, 0, 0, 2, 0.1, 2, 0.09)
- end
- RootPart.Velocity = RootPart.CFrame.lookVector * 120
- PlayAnimationFromTable({
- CFrame.new(0.129669785, -0.665138662, -0.92136848, 0.405922145, 0.0395309702, -0.91305232, 0.44574216, 0.863612592, 0.235557184, 0.79783529, -0.502603769, 0.33293885) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(5.06639481E-6, 1.49999142, -4.17232513E-6, 0.443343639, 0.313770682, 0.839639425, 3.67686152E-6, 0.936729193, -0.350054771, -0.896351814, 0.155197605, 0.415291786) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.49923801, 0.0531132221, -0.67177844, -0.27534163, -0.410131484, -0.869470596, -0.420721352, 0.864627481, -0.274614155, 0.864396095, 0.290192127, -0.410618991) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.18016124, 1.14220369, -0.543485224, -0.445107281, -0.668085575, -0.596272826, -0.641693592, -0.226472929, 0.732761502, -0.624586999, 0.708781958, -0.327901483) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.702166259, -1.96289086, -0.190708295, 0.728885651, -0.341361463, 0.593462825, 0.137116253, 0.922053218, 0.361962616, -0.670764327, -0.182455987, 0.718877614) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.928682148, -1.31489909, -0.0986025929, 0.32291922, -0.113528848, 0.939592719, -0.180263981, 0.967226982, 0.178820878, -0.929100752, -0.227119446, 0.291871011) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 0, 0, 0.999999881, 2.98023224E-8, 1.49011612E-8, 2.98023224E-8, 1, 1.49011612E-8, 1.49011612E-8, 1.49011612E-8, 0.99999994) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.994382024, 1.32220793, -0.145234957, 0.598924875, 0.689367056, -0.407506943, -0.789642155, 0.593063474, -0.157292962, 0.133244872, 0.415991336, 0.899553835) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.3, false)
- end
- local ref2 = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
- ref2.Anchored = true
- ref2.CFrame = RootPart.CFrame * CFrame.new(0, -2.6, -7)
- CFuncs.Sound.Create("824695253", ref2, 1, 0.8, 5)
- CFuncs.Sound.Create("834070239", ref2, 1, 0.8, 5)
- CFuncs.Sound.Create("822966721", ref2, 2, 1, 5)
- CFuncs.Sound.Create("822969951", ref2, 1, 1, 5)
- MagnitudeDamage(ref2, 12, 5, 15, math.random(10, 20), "Knockdown", 0.1)
- Effects.Sphere.Create("SmoothPlastic", BrickColor.new("Cyan"), ref2.CFrame * CFrame.Angles(math.rad(-50), 0, 0), 0.1, 0.01, 0.1, 0.6, 2, 0.6, 0.08, 1, ref2)
- Effects.Sphere.Create("Neon", BrickColor.new("Toothpaste"), ref2.CFrame * CFrame.Angles(math.rad(-50), 0, 0), 0.1, 0.01, 0.1, 0.4, 1.8, 0.4, 0.08, 1, ref2)
- Effects.Wave.Create("Glass", BrickColor.new("Toothpaste"), ref2.CFrame * CFrame.Angles(math.rad(-50), 0, 0), 0.1, 0.01, 0.1, 1, 2, 1, 0.08, 1, ref2)
- Effects.Wave.Create("Neon", BrickColor.new("Cyan"), ref2.CFrame * CFrame.Angles(math.rad(-50), 0, 0), 0.1, 0.01, 0.1, 1.3, 0.7, 1.3, 0.08, 1, ref2)
- game:GetService("Debris"):AddItem(ref2, 5)
- CamShake(RootPart, 15, 0.15, 10)
- Trail.Enabled = true
- CFuncs.Sound.Create("203691492", Hitbox, 1, 1.1, 5)
- for i = 0, 1, 0.1 do
- swait()
- MagnitudeDamage(Hitbox, 7, 15, 25, math.random(1, 5), "Normal", 0.3)
- RootPart.Velocity = RootPart.CFrame.lookVector * -10
- PlayAnimationFromTable({
- CFrame.new(-0.191391021, -0.451611787, -0.904046178, 0.0640180185, 0.179750025, 0.981627047, 0.280464083, 0.940759182, -0.190557346, -0.957727373, 0.287510216, 0.00981211383) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.042436868, 1.48425114, -0.189227045, 0.603658736, 0.107429802, -0.78997165, 0.120646447, 0.967158079, 0.223718002, 0.78806144, -0.230356544, 0.570872307) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.788605094, 0.815591812, -1.43796802, -0.0350032002, 0.415358514, -0.908984244, -0.956254125, -0.27824527, -0.0903201848, -0.290435791, 0.86605823, 0.406927764) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.6520828, 0.527174473, -0.199228644, 0.7826882, 0.621407568, -0.0353810787, -0.346727252, 0.38809815, -0.853908658, -0.516893983, 0.680611789, 0.519218802) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.53927803, -1.96448135, -0.0686130524, 0.848114848, 0.242917508, -0.470842242, -0.02553837, 0.906406879, 0.421633035, 0.52919662, -0.345568627, 0.774940848) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.00509846, -1.54768705, 0.559674382, 0.913536072, 0.282666594, 0.292492181, -0.406757981, 0.634841442, 0.656905115, -1.03376806E-6, -0.719079971, 0.694927394) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 0, 0, 1, 2.98023224E-8, -2.98023224E-8, 2.98023224E-8, 1.00000024, 2.23517418E-8, -2.98023224E-8, 2.23517418E-8, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.48701119, 0.0260481536, 0.182092682, 0.994939268, 0.07915923, 0.0618851185, -0.064024061, 0.974132717, -0.21671778, -0.0774395466, 0.211658925, 0.974270821) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.45, false)
- end
- Trail.Enabled = false
- Attack = false
- end,
- V = function()
- Attack = true
- cooldown4 = 0
- local hitfloor2, posfloor2 = RayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 100, Character)
- local ref2 = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
- ref2.Anchored = true
- ref2.CFrame = CFrame.new(posfloor2) * CFrame.new(0, -0.2, 0)
- game:GetService("Debris"):AddItem(ref2, 5)
- Humanoid.WalkSpeed = 0
- CFuncs.Sound.Create("300916082", Hitbox, 1, 0.7, 5)
- CFuncs.Sound.Create("300915867", Hitbox, 1, 0.9, 5)
- CFuncs.Sound.Create("300915902", Hitbox, 1, 0.9, 5)
- ChargeBits.Enabled = true
- ChargeWave.Enabled = true
- ChargeWave2.Enabled = true
- local ecksdee = 27
- local no = 0
- local no2 = 0
- CamShake(RootPart, 15, 0.5, 50)
- for i = 1, 2 do
- for i = 0, 1, 0.03 do
- swait()
- no2 = no2 + 5
- no = no + 1
- if no == 3 then
- no = 0
- Effects.Wave.Create("Neon", BrickColor.new("Toothpaste"), CFrame.new(ref2.Position) * CFrame.Angles(0, 0 + no2, 0), 0.1, 0.01, 0.1, 3, 1, 3, 0.15, 1, ref2)
- Effects.Wave.Create("Neon", BrickColor.new("Toothpaste"), CFrame.new(ref2.Position) * CFrame.Angles(0, 0 - no2, 0), 0.1, 0.01, 0.1, 2.5, 2, 2.5, 0.15, 1, ref2)
- CFuncs.Sound.Create("206083232", Hitbox, 1, 0.8)
- CFuncs.Sound.Create("206083232", Hitbox, 1, 2)
- end
- Lightning2(Hitbox.Position, Torso.Position + Vector3.new(math.random(-ecksdee, ecksdee), 0, math.random(-ecksdee, ecksdee)), 6, 2, "Toothpaste", 0.5, 0.5, 5)
- PlayAnimationFromTable({
- CFrame.new(-0.0190803409, -0.280589163, 0.17728886, 0.643556058, -0.0453877971, -0.764052212, -0.0789130256, 0.988986194, -0.125217706, 0.761320293, 0.14087829, 0.63288641) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.0748345628, 1.53442001, -0.0714365691, 0.686907411, -0.109603286, 0.718432784, -0.0145645523, 0.986287594, 0.164392412, -0.726599336, -0.123385966, 0.675892055) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.28274, 1.45621324, -0.0381636024, 0.820530176, 0.174172238, 0.544421375, 0.342797458, -0.912103772, -0.224848732, 0.457406491, 0.371121407, -0.808114409) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.166140333, 1.28882647, -1.38791645, 0.891926527, -0.286954045, -0.349463344, -0.435789108, -0.751697898, -0.495013565, -0.120644718, 0.593807936, -0.795510769) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.811502218, -1.66536462, 0.300970852, 0.880723357, -0.122004554, 0.457647741, 5.62518835E-7, 0.966253757, 0.257593095, -0.473631203, -0.226867959, 0.851002455) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.857407451, -1.90167356, -0.0811855197, 0.710502028, -0.0138915572, 0.703558266, -0.10933537, 0.985484242, 0.12987262, -0.69514966, -0.169198513, 0.698669791) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 0, 0, 1.00000024, 1.3038516E-8, 2.98023224E-8, 1.3038516E-8, 1, 4.47034836E-8, 2.98023224E-8, 4.47034836E-8, 1.00000036) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.884094, -0.114113867, -1.2737751, 0.749549031, 0.0185115263, -0.661690176, 0.108738318, 0.982586443, 0.150665432, 0.652956963, -0.184882164, 0.734483778) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.1, false)
- end
- end
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0.0351538993, -0.141551584, 0.0408745259, 0.503565848, -0.068858996, -0.861208379, -0.131991953, 0.97898525, -0.155454338, 0.853814721, 0.191954091, 0.483894706) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.0748296976, 1.53441608, -0.0714384615, 0.686905563, -0.109604083, 0.718434215, -0.0145653188, 0.986287296, 0.164393783, -0.726600766, -0.123387218, 0.67588979) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.13129449, 1.55930364, -0.168894231, 0.838326454, 0.0285281297, 0.544421792, 0.178617001, -0.957882464, -0.224849045, 0.515077651, 0.285739839, -0.808113754) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.298477888, 1.41978407, -1.41128218, 0.891926289, -0.286954105, -0.34946382, -0.435789555, -0.751697242, -0.495014012, -0.120644659, 0.593808711, -0.795510054) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.821559072, -1.80050313, 0.296708941, 0.970388174, -0.138881594, 0.197633386, 0.0793377459, 0.956044853, 0.282283545, -0.228150278, -0.258244783, 0.938752949) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.849092066, -1.98829532, -0.0590792894, 0.710504472, -0.092658557, 0.697565734, -0.109334394, 0.964718819, 0.239507243, -0.695147157, -0.246438876, 0.675306201) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 0, 0, 1.00000012, -1.76951289E-8, -1.86264515E-9, -1.76951289E-8, 1, 0, -1.86264515E-9, 0, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.884108424, -0.114119977, -1.27377367, 0.749551594, 0.0185126737, -0.661687255, 0.108737521, 0.982586086, 0.150667399, 0.652953923, -0.184883177, 0.734485924) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.25, false)
- end
- Effects.Wave.Create("Neon", BrickColor.new("Toothpaste"), CFrame.new(ref2.Position) * CFrame.Angles(0, 0 + no2, 0), 0.1, 0.01, 0.1, 3, 1, 3, 0.08, 1, ref2)
- Effects.Wave.Create("Neon", BrickColor.new("Toothpaste"), CFrame.new(ref2.Position) * CFrame.Angles(0, 0 - no2, 0), 0.1, 0.01, 0.1, 2.5, 2, 2.5, 0.08, 1, ref2)
- for i = 1, 3 do
- Effects.Feather.Create("Neon", BrickColor.new("Toothpaste"), Hitbox.CFrame * CFrame.Angles(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)), 0.5, 0.02, 0.5, 5, 0.01, 5, 0.1)
- end
- ChargeBits.Enabled = false
- ChargeWave.Enabled = false
- ChargeWave2.Enabled = false
- ChargeBits2:Emit(20)
- ChargeWave3:Emit(2)
- ChargeWave4:Emit(5)
- Smoke2:Emit(20)
- Wave3:Emit(1)
- CFuncs.Sound.Create("300916105", Hitbox, 1, 0.8, 5)
- CFuncs.Sound.Create("300916014", Hitbox, 1, 1, 5)
- CFuncs.Sound.Create("301031757", Hitbox, 1, 1, 5)
- CFuncs.Sound.Create("161006182", Hitbox, 1, 0.7, 5)
- CFuncs.Sound.Create("324867021", Hitbox, 1, 0.8, 5)
- CamShake(RootPart, 15, 0.7, 12)
- for i = 0, 1, 0.05 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0.0190817621, -0.626589179, 0.058165811, 0.643555999, -0.045388151, -0.764052153, 0.113466002, 0.992867887, 0.036590822, 0.756941974, -0.110242173, 0.644116163) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.0748347268, 1.53441858, -0.0714319125, 0.686907709, -0.109602667, 0.718432367, -0.0145647116, 0.986287713, 0.164391771, -0.726598799, -0.12338575, 0.675892353) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.25400198, 1.16005373, 0.257371038, 0.823101699, -0.161584139, 0.544421077, -0.0423820838, -0.973471403, -0.224849492, 0.566310465, 0.162000284, -0.80811429) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.146665037, 1.296736, -1.32605767, 0.839912176, -0.463713288, -0.28198874, -0.538565576, -0.776327074, -0.32751137, -0.0670441091, 0.426950246, -0.901786447) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.742291093, -1.45301855, 0.172273636, 0.99271673, -0.10735938, -0.054658711, 0.119340725, 0.938394845, 0.324304163, 0.0164743364, -0.328465164, 0.944372654) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.9002707, -1.1916548, -0.236666232, 0.710502267, 0.140737399, 0.689477801, -0.109337643, 0.989975989, -0.0894038752, -0.695148945, -0.0118642114, 0.71876806) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 0, 0, 1.00000024, -1.49011612E-8, 0, -1.49011612E-8, 1.00000012, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.803951204, 0.0755712986, -1.24046636, 0.732709169, 0.159068733, -0.661690772, -0.07789886, 0.985512674, 0.150655061, 0.676068902, -0.0588413887, 0.734485328) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.4, false)
- end
- CFuncs.Sound.Create("1614535100", Head, 2, 1, 5)
- Humanoid.WalkSpeed = 60
- Humanoid.Jump = true
- RootPart.Velocity = RootPart.CFrame.upVector * 120
- CFuncs.Sound.Create("822966419", Torso, 1, 0.6, 5)
- CFuncs.Sound.Create("199145433", Torso, 1, 0.9, 5)
- local hitfloor2, posfloor2 = RayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 100, Character)
- local ref2 = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
- ref2.Anchored = true
- ref2.CFrame = CFrame.new(posfloor2) * CFrame.new(0, -0.2, 0)
- game:GetService("Debris"):AddItem(ref2, 5)
- Effects.Wave.Create("Glass", BrickColor.new("Toothpaste"), CFrame.new(ref2.Position), 0.1, 0.01, 0.1, 3, 1, 3, 0.1, 1, ref2)
- Effects.Wave.Create("Glass", BrickColor.new("Toothpaste"), CFrame.new(ref2.Position), 0.1, 0.01, 0.1, 2.5, 2, 2.5, 0.1, 1, ref2)
- for i = 0, 1, 0.2 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0.103175297, 0.0806090236, 0.343574822, 0.893112779, -0.102749951, -0.437940747, 0.10274899, 0.99442327, -0.0237714648, 0.437940925, -0.023767367, 0.898689568) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.0489639714, 1.50584114, -0.159462333, 0.917611539, -0.0212566666, 0.396909863, -0.0808075443, 0.967738926, 0.238645718, -0.389177918, -0.251057357, 0.88629055) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.47468996, 1.32399917, 0.219472021, 0.895446956, -0.22061184, -0.386659205, -0.109079421, -0.950824082, 0.289888918, -0.431597739, -0.217403531, -0.875476599) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.113010496, 0.89773041, -1.32594466, 0.553194046, -0.717549801, -0.423200577, -0.775997639, -0.628629804, 0.0515023172, -0.302991927, 0.299911916, -0.904571176) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.867811084, -1.71833193, 0.309154332, 0.948808134, -0.268522114, 0.166310176, 0.151782319, 0.849384427, 0.505478561, -0.276993394, -0.454359174, 0.84665972) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.804791272, -1.30039334, -0.143787146, 0.713350534, -0.0571845397, 0.698470473, -0.38523373, 0.800579727, 0.45898509, -0.585428119, -0.596491575, 0.549064577) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 0, 0, 1.00000012, 0, -4.65661287E-10, 0, 1, 4.65661287E-10, -4.65661287E-10, 4.65661287E-10, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.927955568, 0.717632592, 1.4129522E-6, 0.786211729, 0.617957413, -3.1250529E-6, -0.617957413, 0.786211729, -3.34973447E-6, 3.85567546E-7, 4.56458656E-6, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.2, false)
- end
- local hitfloor
- while hitfloor == nil do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0.103175297, 0.0806090236, 0.343574822, 0.893112779, -0.102749951, -0.437940747, 0.10274899, 0.99442327, -0.0237714648, 0.437940925, -0.023767367, 0.898689568) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.0489639714, 1.50584114, -0.159462333, 0.917611539, -0.0212566666, 0.396909863, -0.0808075443, 0.967738926, 0.238645718, -0.389177918, -0.251057357, 0.88629055) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.47468996, 1.32399917, 0.219472021, 0.895446956, -0.22061184, -0.386659205, -0.109079421, -0.950824082, 0.289888918, -0.431597739, -0.217403531, -0.875476599) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.113010496, 0.89773041, -1.32594466, 0.553194046, -0.717549801, -0.423200577, -0.775997639, -0.628629804, 0.0515023172, -0.302991927, 0.299911916, -0.904571176) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.867811084, -1.71833193, 0.309154332, 0.948808134, -0.268522114, 0.166310176, 0.151782319, 0.849384427, 0.505478561, -0.276993394, -0.454359174, 0.84665972) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.804791272, -1.30039334, -0.143787146, 0.713350534, -0.0571845397, 0.698470473, -0.38523373, 0.800579727, 0.45898509, -0.585428119, -0.596491575, 0.549064577) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 0, 0, 1.00000012, 0, -4.65661287E-10, 0, 1, 4.65661287E-10, -4.65661287E-10, 4.65661287E-10, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.927955568, 0.717632592, 1.4129522E-6, 0.786211729, 0.617957413, -3.1250529E-6, -0.617957413, 0.786211729, -3.34973447E-6, 3.85567546E-7, 4.56458656E-6, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.2, false)
- hitfloor, posfloor = RayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 6, Character)
- end
- Humanoid.WalkSpeed = 0
- for i = 0, 1, 0.2 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0.680794418, -1.34196782, -1.35754502, 0.26213792, -8.39823997E-8, 0.965030432, -0.121110953, 0.992093682, 0.0328982957, -0.95740062, -0.125499636, 0.260065347) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.0698575079, 1.49525535, -0.130194128, 0.472510725, 0.0857421607, -0.877144277, 0.0320668593, 0.99292469, 0.114334047, 0.880741417, -0.0821513087, 0.466418087) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.65827823, 0.392011642, -0.86671114, 0.542660236, -0.343087137, -0.766688466, -0.455404401, 0.646795273, -0.611770034, 0.705780864, 0.681136668, 0.194746718) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.60624743, 0.283210725, -0.375073671, 0.330699682, 0.306227177, -0.892671764, -0.446683615, 0.884019494, 0.137780398, 0.831331193, 0.353177875, 0.429131597) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.491029203, -1.10130107, 0.698020339, 0.937855303, 0.293870389, -0.184574857, 0.0601726063, 0.386108577, 0.920488775, 0.341770291, -0.874391437, 0.344430983) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.681176841, -0.930848837, -0.184899256, 0.95235455, 0.0446866453, 0.301702023, -0.0432672203, 0.998998702, -0.0113892872, -0.301908851, -0.00220716745, 0.953334212) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 0, 0, 1, 0, 1.49011612E-8, 0, 1.00000024, 4.47034836E-8, 1.49011612E-8, 4.47034836E-8, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.680045187, 0.450660825, -0.44566977, 0.896210074, 0.443254888, 0.0182429031, -0.40747866, 0.806221783, 0.428914607, 0.175410658, -0.3918311, 0.903160989) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.6, false)
- end
- local num2 = 0
- local num = 0
- CamShake(RootPart, 10, 1, 25)
- local hitfloor2, posfloor2 = RayCast(Hitbox.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 100, Character)
- local ref2 = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
- ref2.Anchored = true
- ref2.CFrame = CFrame.new(posfloor2) * CFrame.new(0, -0.2, 0)
- game:GetService("Debris"):AddItem(ref2, 5)
- CFuncs.Sound.Create("838393216", ref2, 2, 0.8, 5)
- CFuncs.Sound.Create("834070282", ref2, 2, 0.8, 5)
- CFuncs.Sound.Create("824697277", ref2, 2, 0.75, 5)
- CFuncs.Sound.Create("834070239", ref2, 2, 0.76, 5)
- Effects.Wave.Create("Glass", BrickColor.new("Toothpaste"), CFrame.new(ref2.Position) * CFrame.Angles(0, math.rad(-5, 5), 0), 0.5, 0.01, 0.5, 4, 1, 4, 0.1, 1, ref2)
- Effects.Wave.Create("Glass", BrickColor.new("Toothpaste"), CFrame.new(ref2.Position) * CFrame.Angles(0, math.rad(-10, 10), 0), 0.5, 0.1, 0.5, 3, 2, 3, 0.1, 1, ref2)
- Effects.Sphere.Create("Glass", BrickColor.new("Toothpaste"), CFrame.new(ref2.Position), 0.5, 0.01, 0.5, 3, 0.5, 3, 0.1, 1, ref2)
- for i = 0, 1, 0.025 do
- swait()
- num = num + 5
- num2 = num2 + 1
- if num2 == 8 then
- num2 = 0
- for i = 1, 3 do
- Effects.Feather.Create("Glass", BrickColor.new("Toothpaste"), ref2.CFrame * CFrame.Angles(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), 0.5, 0.02, 0.5, 5, 0.01, 5, 0.1)
- end
- for i = 1, 3 do
- Effects.Feather.Create("Neon", BrickColor.new("Toothpaste"), ref2.CFrame * CFrame.Angles(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)), 0.1, 0.02, 0.1, 3, 0.01, 3, 0.1)
- end
- CFuncs.Sound.Create("834070340", ref2, 0.7, 0.8, 5)
- CFuncs.Sound.Create("824697277", ref2, 0.7, 0.8, 5)
- MagnitudeDamage(ref2, 25, 5, 15, math.random(1, 5), "Knockdown", 0.2)
- Effects.Wave.Create("Glass", BrickColor.new("Toothpaste"), CFrame.new(ref2.Position) * CFrame.Angles(0, 0 - num, 0), 0.5, 0.01, 0.5, 4, 1, 4, 0.1, 1, ref2)
- Effects.Wave.Create("Glass", BrickColor.new("Toothpaste"), CFrame.new(ref2.Position) * CFrame.Angles(0, 0 - num, 0), 0.5, 0.1, 0.5, 3, 2, 3, 0.1, 1, ref2)
- Effects.Wave.Create("Glass", BrickColor.new("Toothpaste"), CFrame.new(ref2.Position) * CFrame.Angles(0, 0 + num, 0), 1, 0.01, 1, 6, 1, 6, 0.1, 1, ref2)
- Effects.Wave.Create("Neon", BrickColor.new("Toothpaste"), CFrame.new(ref2.Position) * CFrame.Angles(0, 0 + num, 0), 1, 0.1, 1, 4, 2, 4, 0.1, 1, ref2)
- Effects.Wave.Create("Neon", BrickColor.new("Toothpaste"), CFrame.new(ref2.Position) * CFrame.Angles(0, 0 - num, 0), 1, 0.1, 1, 7, 1, 7, 0.1, 1, ref2)
- Effects.Sphere.Create("Glass", BrickColor.new("Toothpaste"), CFrame.new(ref2.Position), 1, 0.01, 1, 5, 0.5, 5, 0.1, 1, ref2)
- end
- PlayAnimationFromTable({
- CFrame.new(0.680794418, -1.34196782, -1.35754502, 0.26213792, -8.39823997E-8, 0.965030432, -0.121110953, 0.992093682, 0.0328982957, -0.95740062, -0.125499636, 0.260065347) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.0698575079, 1.49525535, -0.130194128, 0.472510725, 0.0857421607, -0.877144277, 0.0320668593, 0.99292469, 0.114334047, 0.880741417, -0.0821513087, 0.466418087) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.65827823, 0.392011642, -0.86671114, 0.542660236, -0.343087137, -0.766688466, -0.455404401, 0.646795273, -0.611770034, 0.705780864, 0.681136668, 0.194746718) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.60624743, 0.283210725, -0.375073671, 0.330699682, 0.306227177, -0.892671764, -0.446683615, 0.884019494, 0.137780398, 0.831331193, 0.353177875, 0.429131597) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.491029203, -1.10130107, 0.698020339, 0.937855303, 0.293870389, -0.184574857, 0.0601726063, 0.386108577, 0.920488775, 0.341770291, -0.874391437, 0.344430983) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.681176841, -0.930848837, -0.184899256, 0.95235455, 0.0446866453, 0.301702023, -0.0432672203, 0.998998702, -0.0113892872, -0.301908851, -0.00220716745, 0.953334212) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 0, 0, 1, 0, 1.49011612E-8, 0, 1.00000024, 4.47034836E-8, 1.49011612E-8, 4.47034836E-8, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.680045187, 0.450660825, -0.44566977, 0.896210074, 0.443254888, 0.0182429031, -0.40747866, 0.806221783, 0.428914607, 0.175410658, -0.3918311, 0.903160989) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.5, false)
- end
- Attack = false
- end,
- T = function(Mode)
- Attack = true
- if HotChocolate == false and Mode == "Equip" then
- Humanoid.WalkSpeed = 5
- for i = 0, 1, 0.05 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0.144982129, -0.0543930531, 0.290406853, 0.8961097, -6.11343504E-30, 0.443832844, -4.64782191E-30, 1, 2.31582558E-29, -0.443832844, -2.2815189E-29, 0.8961097) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.0137862787, 1.48489678, -0.0785279572, 0.854742229, -0.103415251, 0.508646488, 0, 0.979951143, 0.19923836, -0.519052923, -0.170297444, 0.837605596) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.64116085, 0.459898472, 0.0939864814, 0.592685103, -0.799643993, -0.0964060053, 0.0778490156, 0.176007971, -0.981305659, 0.801663399, 0.574100077, 0.166568786) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.28194547, 0.0685342103, 0.60214293, 0.89462018, 0.0489674807, -0.444136471, 0.0608869791, 0.97134614, 0.229738161, 0.442659885, -0.232570514, 0.866004348) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.72146529, -1.97756302, -0.189664334, 0.889358401, -0.0576422885, -0.453562915, 0.0427729972, 0.998159766, -0.0429834388, 0.455205977, 0.0188274346, 0.890187204) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.764986753, -1.98597372, 0.128485292, 0.908346355, 0.037190266, -0.41656214, -0.0307920109, 0.999282122, 0.0220705532, 0.417083919, -0.00722092018, 0.908839464) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 0, 0, 1, 0, 0, 0, 1.00000012, -2.98023224E-8, 0, -2.98023224E-8, 0.99999994) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.465316415, 0.234848887, -0.109344482, 0.126012757, -0.989975452, -0.0637924671, 0.988414705, 0.130777851, -0.0770306289, 0.0846010447, -0.0533465594, 0.994985819) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.2, false)
- end
- Mug.Parent = Character
- HotChocolate = true
- elseif HotChocolate == true and Mode == "Chug" then
- Humanoid.WalkSpeed = 2
- CFuncs.Sound.Create("1255349866", Head, 5, 1, 5)
- for i = 0, 1, 0.01 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, -0.0543932915, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(4.83369897E-30, 1.49443936, 0.0997710377, 1, 1.47387446E-29, 1.39375397E-28, 6.11343504E-30, 0.988921463, -0.148440078, -1.40019127E-28, 0.148440078, 0.988921463) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.64117444, 0.459899426, 0.0939853564, 0.592685103, -0.799643755, -0.0964059979, 0.0778490156, 0.176008001, -0.981305659, 0.80166316, 0.574100137, 0.166568816) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.48844874, 0.778069854, -0.573535144, 0.483993053, -0.874866545, -0.0189584959, -0.555563033, -0.290465266, -0.779089034, 0.676092029, 0.387606323, -0.62662667) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.624835432, -1.98672044, -6.97560608E-7, 0.993490994, -0.0576418377, -0.0982501656, 0.0554959998, 0.998159766, -0.0244375691, 0.0994779989, 0.0188260116, 0.994861662) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.596176028, -1.99311066, 0.010477297, 0.978542984, 0.037199311, 0.202656999, -0.0378899984, 0.999281883, -4.71732637E-4, -0.202528998, -0.00721706357, 0.979249656) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 0, 0, 1, 7.4505806E-9, -1.49011612E-8, 7.4505806E-9, 1.00000012, 2.98023224E-8, -1.49011612E-8, 2.98023224E-8, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.465318471, 0.23487708, -0.109372929, 0.126014709, -0.989975095, -0.0637930036, 0.988414645, 0.130779743, -0.077029109, 0.0845997632, -0.0533471256, 0.994985938) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.15, false)
- end
- Mug.Parent = nil
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0.144982129, -0.0543930531, 0.290406853, 0.8961097, -6.11343504E-30, 0.443832844, -4.64782191E-30, 1, 2.31582558E-29, -0.443832844, -2.2815189E-29, 0.8961097) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.0137862787, 1.48489678, -0.0785279572, 0.854742229, -0.103415251, 0.508646488, 0, 0.979951143, 0.19923836, -0.519052923, -0.170297444, 0.837605596) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.64116085, 0.459898472, 0.0939864814, 0.592685103, -0.799643993, -0.0964060053, 0.0778490156, 0.176007971, -0.981305659, 0.801663399, 0.574100077, 0.166568786) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.28194547, 0.0685342103, 0.60214293, 0.89462018, 0.0489674807, -0.444136471, 0.0608869791, 0.97134614, 0.229738161, 0.442659885, -0.232570514, 0.866004348) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.72146529, -1.97756302, -0.189664334, 0.889358401, -0.0576422885, -0.453562915, 0.0427729972, 0.998159766, -0.0429834388, 0.455205977, 0.0188274346, 0.890187204) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.764986753, -1.98597372, 0.128485292, 0.908346355, 0.037190266, -0.41656214, -0.0307920109, 0.999282122, 0.0220705532, 0.417083919, -0.00722092018, 0.908839464) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 0, 0, 1, 0, 0, 0, 1.00000012, -2.98023224E-8, 0, -2.98023224E-8, 0.99999994) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.465316415, 0.234848887, -0.109344482, 0.126012757, -0.989975452, -0.0637924671, 0.988414705, 0.130777851, -0.0770306289, 0.0846010447, -0.0533465594, 0.994985819) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.3, false)
- end
- HotChocolate = false
- end
- Humanoid.WalkSpeed = 16
- Attack = false
- end
- }
- Mouse.Button1Down:connect(function()
- if Attack == false and Equipped == true and Combo == 1 and Sprinting == false and HotChocolate == false then
- Combo = Combo + 1
- ClickCombo["1"]()
- elseif Attack == false and Equipped == true and Combo == 2 and Sprinting == false and HotChocolate == false then
- Combo = Combo + 1
- ClickCombo["2"]()
- elseif Attack == false and Equipped == true and Combo == 3 and Sprinting == false and HotChocolate == false then
- Combo = Combo + 1
- ClickCombo["3"]()
- elseif Attack == false and Equipped == true and Combo == 4 and Sprinting == false and HotChocolate == false then
- Combo = Combo - 3
- ClickCombo["4"]()
- end
- coroutine.resume(coroutine.create(function()
- for i = 1, 50 do
- if Attack == false then
- swait()
- end
- end
- if Attack == false then
- Combo = 1
- end
- end))
- end)
- Mouse.KeyDown:connect(function(Key)
- Key = Key:lower()
- if Attack == false and Equipped == false and Key == "f" and Sprinting == false and HotChocolate == false then
- Equip.Equip()
- elseif Attack == false and Equipped == true and Key == "f" and Sprinting == false and HotChocolate == false then
- Equip.Unequip()
- elseif Attack == false and Equipped == true and Key == "e" and Sprinting == false and Charged == false and cooldownE >= coE and HotChocolate == false then
- Skills.E()
- elseif Attack == false and Equipped == true and Key == "t" and Sprinting == false and HotChocolate == false then
- Skills.T("Equip")
- elseif Attack == false and Equipped == true and Key == "t" and Sprinting == false and HotChocolate == true then
- Skills.T("Chug")
- elseif Attack == false and Equipped == true and Key == "z" and Sprinting == false and cooldown1 >= co1 and HotChocolate == false then
- Skills.Z()
- elseif Attack == false and Equipped == true and Key == "x" and Sprinting == false and cooldown2 >= co2 and HotChocolate == false then
- Skills.X()
- elseif Attack == false and Equipped == true and Key == "c" and Sprinting == false and cooldown3 >= co3 and HotChocolate == false then
- Skills.C()
- elseif Attack == false and Equipped == true and Key == "v" and Sprinting == false and cooldown4 >= co4 and HotChocolate == false then
- Skills.V()
- end
- end)
- Mouse.KeyUp:connect(function(Key)
- end)
- function updateskills()
- if cooldown1 <= co1 then
- cooldown1 = cooldown1 + 0.03333333333333333
- end
- if cooldown2 <= co2 then
- cooldown2 = cooldown2 + 0.03333333333333333
- end
- if cooldown3 <= co3 then
- cooldown3 = cooldown3 + 0.03333333333333333
- end
- if cooldown4 <= co4 then
- cooldown4 = cooldown4 + 0.03333333333333333
- end
- if cooldownE <= coE then
- cooldownE = cooldownE + 0.03333333333333333
- end
- end
- local num1 = 0
- local num2 = 0
- local Idle = 0
- ArtificialHB.Event:connect(function()
- updateskills()
- NumberNabel.Text = "(" .. Charges .. ")"
- att4:TweenSize(UDim2.new(1 * (cooldown4 / co4), 0, 1, 0), "Out", "Quad", 0.5)
- att3:TweenSize(UDim2.new(1 * (cooldown3 / co3), 0, 1, 0), "Out", "Quad", 0.5)
- att1:TweenSize(UDim2.new(1 * (cooldown1 / co1), 0, 1, 0), "Out", "Quad", 0.5)
- att2:TweenSize(UDim2.new(1 * (cooldown2 / co2), 0, 1, 0), "Out", "Quad", 0.5)
- skillE:TweenSize(UDim2.new(1 * (cooldownE / coE), 0, 1, 0), "Out", "Quad", 0.5)
- if Charged == true and Equipped == true then
- num1 = num1 + 1
- if num1 == 15 then
- num1 = 0
- Glow.Enabled = true
- Wave4.Enabled = true
- end
- elseif Charged == false and Equipped == true then
- Glow.Enabled = false
- Wave4.Enabled = false
- end
- if Sprinting == true and Attack == false then
- Humanoid.WalkSpeed = 30
- elseif Sprinting == false and Attack == false then
- Humanoid.WalkSpeed = 16
- end
- for i, v in pairs(Character:GetChildren()) do
- if v:IsA("BasePart") then
- v.Material = "SmoothPlastic"
- elseif v:IsA("Accessory") then
- v:WaitForChild("Handle").Material = "SmoothPlastic"
- end
- end
- for i, v in pairs(Character:GetChildren()) do
- if v:IsA("Model") then
- for _, c in pairs(v:GetChildren()) do
- if c:IsA("BasePart") then
- c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
- end
- end
- end
- end
- for i, v in pairs(InnerModel:GetChildren()) do
- if v:IsA("BasePart") then
- v.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
- end
- end
- TorsoVelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- Velocity = RootPart.Velocity.y
- Sine = Sine + Change
- local Hit, pos = RayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
- if 1 < RootPart.Velocity.y and Hit == nil then
- Anim = "Jump"
- if Attack == false and Equipped == true and HotChocolate == false then
- Change = 1
- PlayAnimationFromTable({
- CFrame.new(-0.0274927709, 0.21937117, -0.0510279536, 0.900237024, -1.40853004E-7, -0.435400218, -0.0843020007, 0.981076658, -0.17430383, 0.427161008, 0.193619862, 0.88320148) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.0460833162, 1.51987338, -0.0952871442, 0.916015565, -0.110861942, 0.385519385, 0.00484909769, 0.964042723, 0.26570338, -0.401113451, -0.241519004, 0.883615673) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.42945409, 0.799360335, -0.411998004, 0.502704203, -0.171164155, -0.847343802, -0.858971238, -0.209173158, -0.467349172, -0.0972481668, 0.962782204, -0.252177328) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.47013378, 0.874914885, -0.410976887, 0.235080078, 0.373714209, -0.897259831, -0.896327972, -0.273699582, -0.348833531, -0.375943661, 0.886242747, 0.270629227) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.984357595, -1.76956046, 0.301810026, 0.804436922, -0.306579411, 0.508812666, 0.0343034305, 0.879076958, 0.475444019, -0.593046784, -0.365010738, 0.717678726) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.907797515, -1.3705337, -0.255137146, 0.780938208, -0.122315392, 0.612514973, -0.0516595617, 0.964630306, 0.258494973, -0.622468472, -0.233510822, 0.746997774) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 0, 0, 0.99999994, -2.98023224E-8, 9.31322575E-9, -2.98023224E-8, 1.00000012, 1.11758709E-8, 9.31322575E-9, 1.11758709E-8, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.43611586, 0.280921549, -0.845455408, 0.939902544, 0.15253222, -0.305478513, -0.163774729, 0.986432433, -0.0113576651, 0.299601525, 0.0607047752, 0.952131271) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.3, false)
- HandlePrt1.Weld.C0 = Lerp(HandlePrt1.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- HandlePrt2.Weld.C0 = Lerp(HandlePrt2.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- elseif Attack == false and Equipped == true and HotChocolate == true then
- Change = 1
- PlayAnimationFromTable({
- CFrame.new(3.47839852E-31, 0.0196196362, 0.00334085221, 1, 1.46486773E-29, 1.39384895E-28, 6.11343504E-30, 0.989017129, -0.147800997, -1.40019127E-28, 0.147801012, 0.989017129) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 1.54453588, -0.160235062, 1, 0, 0, 0, 0.974547744, 0.224180326, 0, -0.224180311, 0.974547744) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.76083958, 0.710659146, 0.111540474, 0.536122143, -0.814865828, 0.220378816, 0.212927043, -0.122084789, -0.969410896, 0.816844702, 0.566647232, 0.108054593) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.1412164, 0.25268954, -0.674227059, 0.517715871, -0.855373859, -0.0174897388, 0.154453218, 0.113550618, -0.9814533, 0.841495514, 0.505412579, 0.190902174) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.751418352, -1.81905162, 0.279249936, 0.969890773, -0.14491488, -0.195733741, 0.202510983, 0.926331162, 0.317647576, 0.135282427, -0.347721636, 0.927786827) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.623396039, -1.53911889, -0.205893815, 0.946982741, -0.0177490916, 0.320793897, -0.0691830069, 0.963784337, 0.257552981, -0.313747436, -0.266091675, 0.911459208) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 0, 0, 1.00000024, -1.86264515E-8, 0, -1.86264515E-8, 1.00000012, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.46531713, 0.234888345, -0.109387472, 0.126019284, -0.989974678, -0.0637920275, 0.988413811, 0.130784303, -0.0770311356, 0.0846018493, -0.0533454977, 0.994985819) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.2, false)
- HandlePrt1.Weld.C0 = Lerp(HandlePrt1.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
- HandlePrt2.Weld.C0 = Lerp(HandlePrt2.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
- elseif Attack == false and Equipped == false and HotChocolate == false then
- Change = 1
- HandleWeld.C0 = Lerp(HandleWeld.C0, CFrame.new(1.3, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- HandlePrt1.Weld.C0 = Lerp(HandlePrt1.Weld.C0, CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- HandlePrt2.Weld.C0 = Lerp(HandlePrt2.Weld.C0, CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- end
- elseif RootPart.Velocity.y < -1 and Hit == nil then
- Anim = "Fall"
- if Attack == false and Equipped == true and HotChocolate == false then
- Change = 1
- PlayAnimationFromTable({
- CFrame.new(-0.0274898838, 0.388155729, -0.0312597714, 0.900236785, -8.71947009E-7, -0.435400724, 0.0895989761, 0.978597581, 0.185253367, 0.426081896, -0.205783337, 0.880969644) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.0460886881, 1.51987743, -0.0952962637, 0.916015446, -0.0828983709, 0.39248395, 0.00484738313, 0.980629861, 0.195810199, -0.401113838, -0.177462637, 0.898673892) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.63392329, 0.804011881, -0.428579718, 0.528447866, -0.0524461269, -0.847344279, -0.788960814, -0.398908585, -0.467346549, -0.313502401, 0.915489793, -0.252180338) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.35854971, 0.799372673, -0.138400257, 0.297937214, 0.325811267, -0.897262871, -0.9307639, -0.109523848, -0.348831266, -0.211924851, 0.939069629, 0.270622164) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.772426426, -1.83609092, -0.376343131, 0.974063814, -0.212318122, 0.078235656, 0.207656786, 0.976129413, 0.063640818, -0.089880228, -0.0457440615, 0.994901657) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.0672518, -1.38919103, -0.453640372, 0.780939758, 0.207659841, 0.589076161, -0.0516600423, 0.961358249, -0.270410091, -0.622466564, 0.180742294, 0.761490524) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 0, 0, 1.00000012, -2.98023224E-8, 1.86264515E-8, -2.98023224E-8, 1, 0, 1.86264515E-8, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.43611097, 0.280927509, -0.845453143, 0.939902663, 0.152526826, -0.305481225, -0.163770765, 0.986433029, -0.0113626793, 0.299603701, 0.0607087016, 0.952130318) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.3, false)
- HandlePrt1.Weld.C0 = Lerp(HandlePrt1.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- HandlePrt2.Weld.C0 = Lerp(HandlePrt2.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- elseif Attack == false and Equipped == true and HotChocolate == true then
- Change = 1
- PlayAnimationFromTable({
- CFrame.new(1.86108764E-29, -0.078636542, 0.129483283, 1, -3.15237056E-29, 1.36561301E-28, 6.11343504E-30, 0.983260095, 0.182208017, -1.40019127E-28, -0.182208017, 0.983260095) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 1.53475773, -0.0598594248, 1, 0, 0, 0, 0.989017248, 0.147801131, 0, -0.147801131, 0.989017248) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.8767395, 0.739583552, 0.0959399492, 0.558409154, -0.795617104, 0.234888703, 0.263630658, -0.0982716158, -0.959605098, 0.786560953, 0.597776115, 0.154873312) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.992145002, 0.448814422, -0.705394924, 0.471656829, -0.880355537, -0.0501405001, -0.177079991, -0.0388608426, -0.983429074, 0.863818705, 0.472719908, -0.174222335) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.63266933, -1.86463571, -0.146403193, 0.993491769, -0.0626441911, -0.0951307565, 0.0554979295, 0.995562613, -0.0759951398, 0.0994692668, 0.0702209696, 0.99255991) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.725492597, -1.5021981, -0.706171095, 0.978542745, 0.0892720893, 0.185700208, -0.0378896482, 0.963860393, -0.263700247, -0.202530131, 0.251005828, 0.946561038) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 0, 0, 1, 0, 2.98023224E-8, 0, 1.00000012, -2.98023224E-8, 2.98023224E-8, -2.98023224E-8, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.4653036, 0.234840721, -0.109349005, 0.12601772, -0.989975214, -0.0637866706, 0.988414228, 0.130782172, -0.0770287514, 0.0845986903, -0.0533407032, 0.994986296) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.2, false)
- HandlePrt1.Weld.C0 = Lerp(HandlePrt1.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
- HandlePrt2.Weld.C0 = Lerp(HandlePrt2.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
- elseif Attack == false and Equipped == false and HotChocolate == false then
- Change = 1
- HandleWeld.C0 = Lerp(HandleWeld.C0, CFrame.new(1.3, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- HandlePrt1.Weld.C0 = Lerp(HandlePrt1.Weld.C0, CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- HandlePrt2.Weld.C0 = Lerp(HandlePrt2.Weld.C0, CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- end
- elseif TorsoVelocity < 1 and Hit ~= nil then
- Anim = "Idle"
- if Attack == false and Equipped == true and HotChocolate == false then
- Change = 1
- PlayAnimationFromTable({
- CFrame.new(-0.0274939425, -0.145706117, -0.134886444, 0.900237024, 3.689008E-7, -0.435400307, 0.0291269999, 0.997759879, 0.0602240451, 0.434424996, -0.066897817, 0.898220241) * CFrame.new(0, 0 - 0.1 * math.cos(Sine / 25), 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.15483999E-6, 1.49999201, -3.96370888E-6, 0.916150928, -0.0563836023, 0.396848381, -2.90060416E-6, 0.990056276, 0.140672371, -0.400833726, -0.128878236, 0.907040715) * CFrame.new(0, 0, 0 + 0.05 * math.cos(Sine / 25)) * CFrame.Angles(0 + 0.1 * math.cos(Sine / 25), 0, 0),
- CFrame.new(1.53845167, 0.599175274, -0.407200664, 0.445906848, -0.288399786, -0.847344637, -0.884051144, 0.00624460727, -0.467348725, 0.140074551, 0.957489729, -0.25217554) * CFrame.new(0, 0, 0) * CFrame.Angles(0 - 0.1 * math.cos(Sine / 25), 0 - 0.1 * math.cos(Sine / 25), 0),
- CFrame.new(-1.4091543, 0.398346066, -0.823092222, 0.330762148, 0.292448342, -0.897257328, -0.937126875, -0.0103569143, -0.348835289, -0.111309089, 0.956225276, 0.270635486) * CFrame.new(0, 0, 0) * CFrame.Angles(0 - 0.1 * math.cos(Sine / 25), 0 - 0.1 * math.cos(Sine / 25), 0),
- CFrame.new(0.727466404, -1.95815933, -0.057563208, 0.968764424, -0.0359124467, 0.245369121, 0.0370447598, 0.999313772, 5.96046448E-7, -0.245200649, 0.00908906758, 0.969429791) * CFrame.new(0, 0 + 0.1 * math.cos(Sine / 25), 0) * CFrame.Angles(0, 0 - 0.1 * math.cos(Sine / 25), 0 - 0.04 * math.cos(Sine / 25)),
- CFrame.new(-0.844141662, -1.87255275, -0.133616924, 0.858743906, 0.0739646628, 0.507038772, -0.0585709922, 0.997210383, -0.0462703332, -0.509046674, 0.0100366082, 0.860680401) * CFrame.new(0, 0 + 0.1 * math.cos(Sine / 25), 0) * CFrame.Angles(0, 0 + 0.1 * math.cos(Sine / 25), 0 + 0.04 * math.cos(Sine / 25)),
- CFrame.new(0, 0, 0, 1.00000024, 2.98023224E-8, -4.47034836E-8, 2.98023224E-8, 1.00000012, 0, -4.47034836E-8, 0, 1) * CFrame.new(0 + 0.1 * math.cos(Sine / 25), 0 + 0.05 * math.cos(Sine / 25), 0) * CFrame.Angles(0 + 0.1 * math.cos(Sine / 25), 0 + 0.1 * math.cos(Sine / 25), 0),
- CFrame.new(-1.43611443, 0.280924916, -0.845453739, 0.939904571, 0.152533174, -0.305472285, -0.163774967, 0.986432493, -0.0113569796, 0.299595356, 0.0607031584, 0.952133298) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.3, false)
- HandlePrt1.Weld.C0 = Lerp(HandlePrt1.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- HandlePrt2.Weld.C0 = Lerp(HandlePrt2.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- elseif Attack == false and Equipped == true and HotChocolate == true then
- Idle = Idle + 1
- if Idle == 550 then
- Idle = 0
- end
- Change = 0.6
- if Idle <= 450 then
- PlayAnimationFromTable({
- CFrame.new(0, -0.0543932915, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 - 0.1 * math.cos(Sine / 25), 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-9.17015519E-30, 1.50000048, -3.42227941E-29, 1, -6.11343504E-30, 1.39302681E-28, 6.11343504E-30, 1, 2.2815189E-29, -1.39230266E-28, -2.2815189E-29, 1) * CFrame.new(0, 0, -0.05 - 0.05 * math.cos(Sine / 25)) * CFrame.Angles(math.rad(-5) - 0.1 * math.cos(Sine / 25), 0, 0),
- CFrame.new(1.64117587, 0.459899724, 0.0939937383, 0.592685103, -0.799643755, -0.0964059979, 0.0778490156, 0.176008001, -0.981305659, 0.80166316, 0.574100137, 0.166568816) * CFrame.new(0, 0 + 0.05 * math.cos(Sine / 25), 0) * CFrame.Angles(0 + 0.05 * math.cos(Sine / 25), 0, 0),
- CFrame.new(-1.14336538, 0.255015373, -0.678383112, 0.500623822, -0.85537672, -0.133065686, -0.0694229752, 0.113548957, -0.991103947, 0.862876713, 0.505408108, -0.00253748544) * CFrame.new(0, 0 - 0.05 * math.cos(Sine / 25), 0) * CFrame.Angles(0 + 0.05 * math.cos(Sine / 25), 0 - 0.05 * math.cos(Sine / 25), 0),
- CFrame.new(0.624835253, -1.98672044, 1.19954348E-6, 0.993490994, -0.0576418377, -0.0982501656, 0.0554959998, 0.998159766, -0.0244375691, 0.0994779989, 0.0188260116, 0.994861662) * CFrame.new(0 + 0.01 * math.cos(Sine / 25), 0 + 0.1 * math.cos(Sine / 25), 0) * CFrame.Angles(0, 0 - 0.05 * math.cos(Sine / 25), 0 + 0.01 * math.cos(Sine / 25)),
- CFrame.new(-0.596175253, -1.99311042, 0.0104810372, 0.978542984, 0.037199311, 0.202656999, -0.0378899984, 0.999281883, -4.71732637E-4, -0.202528998, -0.00721706357, 0.979249656) * CFrame.new(0 - 0.01 * math.cos(Sine / 25), 0 + 0.1 * math.cos(Sine / 25), 0) * CFrame.Angles(0, 0 + 0.05 * math.cos(Sine / 25), 0 - 0.01 * math.cos(Sine / 25)),
- CFrame.new(0, 0, 0, 1, 7.4505806E-9, -1.49011612E-8, 7.4505806E-9, 1.00000012, 2.98023224E-8, -1.49011612E-8, 2.98023224E-8, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.465317518, 0.234880388, -0.109365053, 0.126014709, -0.989975095, -0.0637930036, 0.988414645, 0.130779743, -0.077029109, 0.0845997632, -0.0533471256, 0.994985938) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.2, false)
- elseif Idle >= 450 then
- PlayAnimationFromTable({
- CFrame.new(0, -0.0543932915, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 - 0.1 * math.cos(Sine / 25), 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.61695105E-29, 1.49443984, -0.0502313524, 1, -2.14842932E-29, 1.38496054E-28, 6.11343504E-30, 0.993927002, 0.110041998, -1.40019127E-28, -0.110041998, 0.993927002) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.64117754, 0.45989874, 0.093983151, 0.592685103, -0.799643755, -0.0964059979, 0.0778490156, 0.176008001, -0.981305659, 0.80166316, 0.574100137, 0.166568816) * CFrame.new(0, 0 + 0.05 * math.cos(Sine / 25), 0) * CFrame.Angles(0 + 0.05 * math.cos(Sine / 25), 0, 0),
- CFrame.new(-1.50132322, 0.694287181, -0.433155239, 0.504928887, -0.859635532, -0.0779337212, -0.406801909, -0.157365054, -0.899860263, 0.761287808, 0.486069053, -0.429159492) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.624835432, -1.98672044, -6.97560608E-7, 0.993490994, -0.0576418377, -0.0982501656, 0.0554959998, 0.998159766, -0.0244375691, 0.0994779989, 0.0188260116, 0.994861662) * CFrame.new(0 + 0.01 * math.cos(Sine / 25), 0 + 0.1 * math.cos(Sine / 25), 0) * CFrame.Angles(0, 0 - 0.05 * math.cos(Sine / 25), 0 + 0.01 * math.cos(Sine / 25)),
- CFrame.new(-0.596174479, -1.99311042, 0.0104847699, 0.978542984, 0.037199311, 0.202656999, -0.0378899984, 0.999281883, -4.71732637E-4, -0.202528998, -0.00721706357, 0.979249656) * CFrame.new(0 - 0.01 * math.cos(Sine / 25), 0 + 0.1 * math.cos(Sine / 25), 0) * CFrame.Angles(0, 0 + 0.05 * math.cos(Sine / 25), 0 - 0.01 * math.cos(Sine / 25)),
- CFrame.new(0, 0, 0, 1, 7.4505806E-9, -1.49011612E-8, 7.4505806E-9, 1.00000012, 2.98023224E-8, -1.49011612E-8, 2.98023224E-8, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.465317518, 0.234875903, -0.109357744, 0.126014709, -0.989975095, -0.0637930036, 0.988414645, 0.130779743, -0.077029109, 0.0845997632, -0.0533471256, 0.994985938) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.1, false)
- end
- HandlePrt1.Weld.C0 = Lerp(HandlePrt1.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
- HandlePrt2.Weld.C0 = Lerp(HandlePrt2.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
- elseif Attack == false and Equipped == false and HotChocolate == false then
- Change = 1
- HandleWeld.C0 = Lerp(HandleWeld.C0, CFrame.new(1.3, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- HandlePrt1.Weld.C0 = Lerp(HandlePrt1.Weld.C0, CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- HandlePrt2.Weld.C0 = Lerp(HandlePrt2.Weld.C0, CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- end
- elseif TorsoVelocity > 2 and Hit ~= nil then
- Anim = "Walk"
- if Attack == false and Equipped == true and Sprinting == false and HotChocolate == false then
- Change = 2.2
- PlayAnimationFromTable({
- CFrame.new(-0.0570193529, -0.0866228044, -0.269750923, 0.76604414, -2.85373716E-8, -0.642788112, 0.0515330061, 0.996781111, 0.0614145286, 0.640719056, -0.0801710263, 0.763578355) * CFrame.new(0, 0 - 0.1 * math.cos(Sine / 5), 0) * CFrame.Angles(0, 0 - 0.1 * math.cos(Sine / 10), 0),
- CFrame.new(-0.0336059332, 1.49374294, -0.0410972536, 0.77413559, -0.0740856007, 0.628669798, 9.55769792E-8, 0.993127763, 0.117035031, -0.633020103, -0.0906009153, 0.768815577) * CFrame.new(0, 0, 0 - 0.005 * math.cos(Sine / 5)) * CFrame.Angles(math.rad(3) - 0.01 * math.cos(Sine / 5), 0 + 0.1 * math.cos(Sine / 10), 0),
- CFrame.new(1.40797424, 0.546426535, 0.0613539219, 0.192165062, -0.567650139, -0.800528646, -0.979104817, -0.0555967167, -0.195608571, 0.0665304661, 0.821390629, -0.566472769) * CFrame.new(0, 0, 0) * CFrame.Angles(0 - 0.1 * math.cos(Sine / 10), 0, 0),
- CFrame.new(-1.25865018, 0.344390363, -0.765005469, 0.37408638, -0.0229729116, -0.92710948, -0.916214108, 0.145603552, -0.373298019, 0.143566191, 0.989076316, 0.0334202349) * CFrame.new(0, 0, 0) * CFrame.Angles(0.2 - 0.1 * math.cos(Sine / 10), 0, 0),
- CFrame.new(0.745035887, -1.99999499, 0.0326879621, 0.76604414, 3.7252903E-8, 0.642788112, -2.85373716E-8, 1, -2.98023224E-8, -0.642788112, 0, 0.76604414) * CFrame.new(0.05, 0.15 + 0.25 * math.cos(Sine / 10), 0 - 0.65 * math.sin(Sine / 10)) * CFrame.Angles(math.rad(40) * math.sin(Sine / 10), math.rad(-5), 0),
- CFrame.new(-0.675758719, -1.99999464, -0.0780076683, 0.70710665, -2.08616257E-7, 0.707107127, 3.19909304E-7, 1, -1.49011612E-8, -0.707107127, 2.4586916E-7, 0.70710665) * CFrame.new(-0.05, 0.15 + -0.15 * math.cos(Sine / 10), 0.1 + 0.65 * math.sin(Sine / 10)) * CFrame.Angles(math.rad(-40) * math.sin(Sine / 10), math.rad(5), 0),
- CFrame.new(0, 0, 0, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + 0.1 * math.cos(Sine / 10), 0, 0),
- CFrame.new(-1.4337008, 0.489752144, -0.109488308, 0.940220475, 0.294532895, 0.170985073, -0.289780319, 0.955641508, -0.0526973829, -0.178921551, -9.68575478E-7, 0.983863413) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.3, false)
- HandlePrt1.Weld.C0 = Lerp(HandlePrt1.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- HandlePrt2.Weld.C0 = Lerp(HandlePrt2.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- elseif Attack == false and Equipped == true and Sprinting == false and HotChocolate == true then
- Change = 2
- PlayAnimationFromTable({
- CFrame.new(-3.00767935E-29, -0.105914138, -0.219429284, 1, -2.64377128E-29, 1.37636391E-28, 6.11343504E-30, 0.989340782, 0.145618975, -1.40019127E-28, -0.145618975, 0.989340782) * CFrame.new(0, 0 - 0.1 * math.cos(Sine / 5), 0) * CFrame.Angles(0, 0 + 0.05 * math.cos(Sine / 10), 0),
- CFrame.new(0, 1.49658871, 0.0391186401, 1, 0, 0, 0, 0.99622643, -0.0867936164, 0, 0.0867936164, 0.99622643) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0 - 0.05 * math.cos(Sine / 10), 0),
- CFrame.new(1.62375188, 0.448580325, 0.376748979, 0.358886898, -0.924232244, -0.130365476, 0.0670671761, 0.164843842, -0.984036922, 0.930968463, 0.344414711, 0.121145934) * CFrame.new(0 - 0.05 * math.cos(Sine / 5), 0 - 0.05 * math.cos(Sine / 5), 0) * CFrame.Angles(0 + 0.05 * math.cos(Sine / 5), 0 - 0.05 * math.cos(Sine / 5), 0),
- CFrame.new(-1.01762652, 0.254960984, -0.627272189, 0.51302588, -0.856237769, -0.0605102181, -0.17419824, -0.034827251, -0.98409456, 0.840511441, 0.515406728, -0.167022362) * CFrame.new(0 - 0.05 * math.cos(Sine / 5), 0, 0) * CFrame.Angles(0 + 0.05 * math.cos(Sine / 5), 0, 0),
- CFrame.new(0.5, -1.99999905, 3.81469727E-6, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0.07, 0.1 + 0.2 * math.cos(Sine / 10), 0 - 0.6 * math.sin(Sine / 10)) * CFrame.Angles(math.rad(40) * math.sin(Sine / 10), 0 + 0.05 * math.cos(Sine / 10), math.rad(2)),
- CFrame.new(-0.5, -1.99999905, 3.81469727E-6, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(-0.07, 0.1 - 0.2 * math.cos(Sine / 10), 0 + 0.6 * math.sin(Sine / 10)) * CFrame.Angles(math.rad(-40) * math.sin(Sine / 10), 0 + 0.05 * math.cos(Sine / 10), math.rad(-2)),
- CFrame.new(0, 0, 0, 1.00000012, -1.49011612E-8, 1.49011612E-8, -1.49011612E-8, 1, -2.98023224E-8, 1.49011612E-8, -2.98023224E-8, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.481275588, 0.329017371, -0.083250463, 0.0896562785, -0.991810918, -0.090956986, 0.985589564, 0.101503432, -0.135315716, 0.143440038, -0.0775143504, 0.986618876) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.2, false)
- HandlePrt1.Weld.C0 = Lerp(HandlePrt1.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
- HandlePrt2.Weld.C0 = Lerp(HandlePrt2.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
- elseif Attack == false and Equipped == true and Sprinting == true and HotChocolate == false then
- Change = 3
- PlayAnimationFromTable({
- CFrame.new(0.0623563975, -0.340262055, 0.00248126686, 0.867089689, -0.0608406998, -0.494422764, 0.298986882, 0.857428432, 0.418835789, 0.398449838, -0.510994077, 0.761657953) * CFrame.new(0, -0.2 - 0.2 * math.cos(Sine / 5), 0) * CFrame.Angles(0, 0 - 0.05 * math.cos(Sine / 10), 0),
- CFrame.new(0.117828026, 1.47632885, 0.0293634236, 0.860120177, 0.19259043, 0.472336829, -0.0353811234, 0.946280003, -0.32140708, -0.508862793, 0.259737015, 0.82072866) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0 + 0.05 * math.cos(Sine / 10), 0),
- CFrame.new(1.71113753, 0.636361897, 0.260536194, 0.19216235, -0.910650492, -0.365772069, -0.979105711, -0.152639091, -0.134363443, 0.0665269792, 0.383949131, -0.920954525) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.809507251, 0.487178922, -1.02421522, 0.374081224, -0.605117321, -0.702777505, -0.916216254, -0.123831049, -0.381069273, 0.143565953, 0.786447048, -0.600741267) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.676813602, -1.99999321, 0.0372357965, 0.866025984, 7.59959221E-7, 0.499999255, -9.64850187E-7, 1.00000012, 1.1920929E-7, -0.499999285, -5.66244125E-7, 0.866025984) * CFrame.new(0.01, 0.15 + 0.25 * math.cos(Sine / 10), -0.1 - 0.65 * math.sin(Sine / 10)) * CFrame.Angles(math.rad(55) * math.sin(Sine / 10), 0, 0),
- CFrame.new(-0.644591153, -1.99998295, 0.0331146717, 0.819152713, -7.4505806E-8, 0.573575437, -4.84287739E-8, 1, 1.78813934E-7, -0.573575437, -1.78813934E-7, 0.819152832) * CFrame.new(-0.01, 0.7 + -0.15 * math.cos(Sine / 10), -0.2 + 0.8 * math.sin(Sine / 10)) * CFrame.Angles(math.rad(-70) * math.sin(Sine / 10), 0, 0),
- CFrame.new(0, 0, 0, 1, -9.77888703E-9, -5.96046448E-8, -9.77888703E-9, 1, -5.12227416E-9, -5.96046448E-8, -5.12227416E-9, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.34785247, 1.01227283, 0.0688567162, 0.763132215, 0.645287156, 0.035123229, -0.646080315, 0.760595798, 0.0638308674, 0.0144746602, -0.0714038312, 0.997342467) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.3, false)
- HandlePrt1.Weld.C0 = Lerp(HandlePrt1.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- HandlePrt2.Weld.C0 = Lerp(HandlePrt2.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- elseif Attack == false and Equipped == false and HotChocolate == false then
- Change = 1
- HandleWeld.C0 = Lerp(HandleWeld.C0, CFrame.new(1.3, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- HandlePrt1.Weld.C0 = Lerp(HandlePrt1.Weld.C0, CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- HandlePrt2.Weld.C0 = Lerp(HandlePrt2.Weld.C0, CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- end
- end
- if #Effects > 0 then
- for e = 1, #Effects do
- if Effects[e] ~= nil then
- local Thing = Effects[e]
- if Thing ~= nil then
- local Part = Thing[1]
- local Mode = Thing[2]
- local Delay = Thing[3]
- local IncX = Thing[4]
- local IncY = Thing[5]
- if Thing[1].Transparency <= 1 then
- if Thing[2] == "Block1" then
- Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- Thing[1].Size = Thing[1].Size + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Ice" then
- if Thing[6] <= Thing[5] then
- Thing[6] = Thing[6] + 0.05
- Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.4, 0)
- else
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- end
- elseif Thing[2] == "Shatter" then
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
- Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
- Thing[6] = Thing[6] + Thing[5]
- elseif Thing[2] == "Block2" then
- Thing[1].CFrame = Thing[1].CFrame
- Thing[1].Size = Thing[1].Size + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Block3" then
- Thing[1].CFrame = Thing[8].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- Thing[1].Size = Thing[1].Size + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Block4" then
- Thing[1].CFrame = Thing[8].CFrame * CFrame.new(0, -Thing[1].Size.Y, 0) * CFrame.fromEulerAnglesXYZ(3.14, 0, 0)
- Thing[1].Size = Thing[1].Size + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Block2Fire" then
- Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- Thing[1].Size = Thing[1].Size + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- if Thing[1].Transparency >= 0.3 then
- Thing[1].BrickColor = BrickColor.new("Bright red")
- else
- Thing[1].BrickColor = BrickColor.new("Bright yellow")
- end
- elseif Thing[2] == "Cylinder" then
- Thing[1].Size = Thing[1].Size + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Cylinder2" then
- Thing[1].CFrame = Thing[1].CFrame * CFrame.Angles(0, 0.5, 0)
- Thing[1].Size = Thing[1].Size + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Blood" then
- Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, -0.5, 0)
- Thing[1].Size = Thing[1].Size + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Elec" then
- Thing[1].Size = Thing[1].Size + Vector3.new(Thing[7], Thing[8], Thing[9])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- Thing[1].CFrame = Thing[1].CFrame * Thing[11] * CFrame.new(0, 0, 0.2)
- Thing[1].Rotation = Vector3.new(0, 0, 0)
- elseif Thing[2] == "Disappear" then
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- end
- else
- Part.Parent = nil
- table.remove(Effects, e)
- end
- end
- end
- end
- end
- end)
- -- End.
- print(script.Name .. "Initiated.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement