Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function TakeDamage(hum, dmg)
- end
- wait(0.016666666666666666)
- Effects = {}
- local Player = game.Players.localPlayer
- local Character = Player.Character
- local chr = Character
- local tors = chr.Torso
- local rutprt = chr.HumanoidRootPart
- local hed = chr.Head
- local Humanoid = Character.Humanoid
- local Mouse = Player:GetMouse()
- local LeftArm = Character["Left Arm"]
- local RightArm = Character["Right Arm"]
- local LeftLeg = Character["Left Leg"]
- local RightLeg = Character["Right Leg"]
- local Head = Character.Head
- local Torso = Character.Torso
- local Camera = game.Workspace.CurrentCamera
- local RootPart = Character.HumanoidRootPart
- local RootJoint = RootPart.RootJoint
- local attack = false
- local Anim = "Idle"
- local attacktype = 1
- local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- local velocity = RootPart.Velocity.y
- local sine = 0
- local change = 1
- local Create = LoadLibrary("RbxUtility").Create
- local Axe = false
- local ClearingTheArea = false
- local Combo = false
- local ThreeStage = false
- ypcall(function()
- Character.Shirt:Destroy()
- Character.Pants:Destroy()
- shirt = Instance.new("Shirt", Character)
- shirt.Name = "Shirt"
- pants = Instance.new("Pants", Character)
- pants.Name = "Pants"
- Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=288388204"
- Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=288388251"
- end)
- local m = Create("Model")({
- Parent = Character,
- Name = "WeaponModel"
- })
- Humanoid.Animator.Parent = nil
- Character.Animate.Parent = nil
- local function newMotor(part0, part1, c0, c1)
- local w = Create("Motor")({
- Parent = part0,
- Part0 = part0,
- Part1 = part1,
- C0 = c0,
- C1 = c1
- })
- return w
- end
- function clerp(a, b, t)
- return a:lerp(b, t)
- end
- RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
- NeckCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- 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))
- RootJoint.C1 = CFrame.new(0, 0, 0)
- RootJoint.C0 = CFrame.new(0, 0, 0)
- Torso.Neck.C1 = CFrame.new(0, 0, 0)
- Torso.Neck.C0 = CFrame.new(0, 1.5, 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 = clerp(RootJoint.C0, table[1], speed)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
- RW.C0 = clerp(RW.C0, table[3], speed)
- LW.C0 = clerp(LW.C0, table[4], speed)
- RH.C0 = clerp(RH.C0, table[5], speed)
- LH.C0 = clerp(LH.C0, table[6], 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 Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
- if hit.Parent == nil then
- return
- end
- local h = hit.Parent:FindFirstChildOfClass("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 ~= chr.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
- warn'No R15 allowed'
- hit.Parent:FindFirstChild("Head"):BreakJoints()
- end
- if h ~= nil and hit.Parent.Name ~= chr.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
- if hit.Parent:findFirstChild("DebounceHit") ~= nil then
- if hit.Parent.DebounceHit.Value == true then
- return
- end
- end
- if insta == true then
- hit.Parent:FindFirstChild("Head"):BreakJoints()
- end
- local c = Create("ObjectValue"){
- Name = "creator",
- Value = game:service("Players").LocalPlayer,
- Parent = h,
- }
- game:GetService("Debris"):AddItem(c, .5)
- if HitSound ~= nil and HitPitch ~= nil then
- CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
- end
- local Damage = math.random(minim, maxim)
- local blocked = false
- local block = hit.Parent:findFirstChild("Block")
- if block ~= nil then
- if block.className == "IntValue" then
- if block.Value > 0 then
- blocked = true
- block.Value = block.Value - 1
- print(block.Value)
- end
- end
- end
- if blocked == false then
- h.Health = h.Health - Damage
- ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
- else
- h.Health = h.Health - (Damage / 2)
- ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.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.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
- local bodvol = Create("BodyVelocity"){
- velocity = angle * knockback,
- P = 5000,
- maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
- 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, .5)
- game:GetService("Debris"):AddItem(rl, .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, .5)
- elseif Type == "Up" then
- local bodyVelocity = Create("BodyVelocity"){
- velocity = Vector3.new(0, 20, 0),
- P = 5000,
- maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
- Parent = hit,
- }
- game:GetService("Debris"):AddItem(bodyVelocity, .5)
- elseif Type == "DarkUp" then
- coroutine.resume(coroutine.create(function()
- for i = 0, 1, 0.1 do
- swait()
- Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
- end
- end))
- local bodyVelocity = Create("BodyVelocity"){
- velocity = Vector3.new(0, 20, 0),
- P = 5000,
- maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
- Parent = hit,
- }
- game:GetService("Debris"):AddItem(bodyVelocity, 1)
- 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(4e+005, 4e+005, 4e+005) * math.huge ,
- P = 20e+003,
- Parent = hit.Parent.Torso,
- cframe = 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, .5)
- end
- end
- function ShowDamage(Pos, Text, Time, Color)
- local Rate = (1 / 30)
- local Pos = (Pos or Vector3.new(0, 0, 0))
- local Text = (Text or "")
- local Time = (Time or 2)
- local Color = (Color or Color3.new(1, 0, 1))
- local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
- EffectPart.Anchored = true
- local BillboardGui = Create("BillboardGui"){
- Size = UDim2.new(3, 0, 3, 0),
- Adornee = EffectPart,
- Parent = EffectPart,
- }
- local TextLabel = Create("TextLabel"){
- BackgroundTransparency = 1,
- Size = UDim2.new(1, 0, 1, 0),
- Text = Text,
- Font = "Highway",
- TextColor3 = Color,
- TextScaled = true,
- Parent = BillboardGui,
- }
- game.Debris:AddItem(EffectPart, (Time))
- EffectPart.Parent = game:GetService("Workspace")
- delay(0, function()
- local Frames = (Time / Rate)
- for Frame = 1, Frames do
- wait(Rate)
- local Percent = (Frame / Frames)
- EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
- TextLabel.TextTransparency = Percent
- end
- if EffectPart and EffectPart.Parent then
- EffectPart:Destroy()
- end
- end)
- end
- function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
- for _, c in pairs(workspace:children()) do
- local hum = c:findFirstChild("Humanoid")
- if hum ~= nil then
- local head = c:findFirstChild("Head")
- if head ~= nil then
- local targ = head.Position - Part.Position
- local mag = targ.magnitude
- if magni >= mag and c.Name ~= plr.Name then
- Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=231917784", 1.2)
- end
- end
- end
- end
- end
- function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype)
- Hitboxpart = Instance.new("Part", EffectModel)
- Hitboxpart.Size = Vector3.new(siz1, siz2, siz3)
- Hitboxpart.CanCollide = false
- Hitboxpart.Transparency = 1
- Hitboxpart.Anchored = true
- Hitboxpart.CFrame = Pose
- game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
- MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype)
- end
- ArtificialHB = Create("BindableEvent", script)({Parent = script, Name = "Heartbeat"})
- script:WaitForChild("Heartbeat")
- frame = 0.03333333333333333
- 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
- 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)
- 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 = ""
- 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)
- coroutine.resume(coroutine.create(function()
- local Sound = Create("Sound")({
- Volume = vol,
- Pitch = pit or 1,
- SoundId = "rbxassetid://" .. id,
- Parent = par or workspace
- })
- Sound:play()
- game:GetService("Debris"):AddItem(Sound, 10)
- end))
- end
- },
- Decal = {
- Create = function(Color, Texture, Transparency, Name, Parent)
- local Decal = Create("Decal")({
- Color3 = Color,
- Texture = "rbxassetid://" .. Texture,
- Transparency = Transparency,
- Name = Name,
- Parent = Parent
- })
- return Decal
- end
- },
- BillboardGui = {
- Create = function(Parent, Image, Position, Size)
- local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
- BillPar.CFrame = CFrame.new(Position)
- local Bill = Create("BillboardGui")({
- Parent = BillPar,
- Adornee = BillPar,
- Size = UDim2.new(1, 0, 1, 0),
- SizeOffset = Vector2.new(Size, Size)
- })
- local d = Create("ImageLabel", Bill)({
- Parent = Bill,
- BackgroundTransparency = 1,
- Size = UDim2.new(1, 0, 1, 0),
- Image = "rbxassetid://" .. Image
- })
- return BillPar
- end
- },
- ParticleEmitter = {
- Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
- local Particle = Create("ParticleEmitter")({
- Parent = Parent,
- Color = ColorSequence.new(Color1, Color2),
- LightEmission = LightEmission,
- Size = Size,
- Texture = Texture,
- Transparency = Transparency,
- ZOffset = ZOffset,
- Acceleration = Accel,
- Drag = Drag,
- LockedToPart = LockedToPart,
- VelocityInheritance = VelocityInheritance,
- EmissionDirection = EmissionDirection,
- Enabled = Enabled,
- Lifetime = LifeTime,
- Rate = Rate,
- Rotation = Rotation,
- RotSpeed = RotSpeed,
- Speed = Speed,
- VelocitySpread = VelocitySpread
- })
- return Particle
- 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(Pos, Text, Time, Color)
- local Rate = 0.03333333333333333
- local Pos = Pos or Vector3.new(0, 0, 0)
- local Text = Text or ""
- local Time = Time or 2
- local Color = Color or Color3.new(1, 0, 1)
- local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
- EffectPart.Anchored = true
- local BillboardGui = Create("BillboardGui")({
- Size = UDim2.new(3, 0, 3, 0),
- Adornee = EffectPart,
- Parent = EffectPart
- })
- local TextLabel = Create("TextLabel")({
- BackgroundTransparency = 1,
- Size = UDim2.new(1, 0, 1, 0),
- Text = Text,
- Font = "SciFi",
- TextColor3 = Color,
- TextScaled = true,
- Parent = BillboardGui
- })
- game.Debris:AddItem(EffectPart, Time)
- EffectPart.Parent = game:GetService("Workspace")
- delay(0, function()
- local Frames = Time / Rate
- for Frame = 1, Frames do
- wait(Rate)
- local Percent = Frame / Frames
- EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
- TextLabel.TextTransparency = Percent
- end
- if EffectPart and EffectPart.Parent then
- EffectPart:Destroy()
- end
- end)
- end
- function CamShake(time, freq)
- coroutine.resume(coroutine.create(function()
- local cam = game:GetService("Workspace").CurrentCamera
- local time = 10
- local seed = Vector3.new(math.random(100, 200) / freq, math.random(100, 200) / freq, 0)
- if math.random(1, 2) == 1 then
- seed = Vector3.new(-seed.x, seed.y, 0)
- end
- if math.random(1, 2) == 1 then
- seed = Vector3.new(seed.x, -seed.y, 0)
- end
- cam.CoordinateFrame = CFrame.new(cam.Focus.p) * (cam.CoordinateFrame - cam.CoordinateFrame.p) * CFrame.fromEulerAnglesXYZ(seed.x * time, seed.y * time, 0) * CFrame.new(0, 0, (cam.CoordinateFrame.p - cam.Focus.p).magnitude)
- for i = 1, time do
- cam.CoordinateFrame = CFrame.new(cam.Focus.p) * (cam.CoordinateFrame - cam.CoordinateFrame.p) * CFrame.fromEulerAnglesXYZ(-seed.x, -seed.y, 0) * CFrame.new(0, 0, (cam.CoordinateFrame.p - cam.Focus.p).magnitude)
- wait()
- end
- end))
- end
- local STDamage = false
- local Slamming = false
- local StrongPunch = false
- function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
- if Slamming == false then
- elseif Slamming == true then
- end
- if StrongPunch == true then
- end
- 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
- Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, 0.1, HitSound, HitPitch)
- if STDamage == true then
- for i = 1, 10 do
- CamShake(1, 70000)
- end
- elseif STDamage == false then
- CamShake(1, 90000)
- end
- end
- end
- end
- end
- end
- EffectModel = Create("Model")({Parent = Character, Name = "Effects"})
- Effects = {
- Block = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), 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,
- msh
- })
- elseif Type == 2 then
- table.insert(Effects, {
- prt,
- "Block2",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- end
- },
- Cylinder = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part .. Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 2)
- Effects[#Effects + 1] = {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3
- }
- end
- },
- Head = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- },
- Sphere = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- },
- Elect = {
- Create = function(cff, x, y, z)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1))
- prt.Anchored = true
- prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
- prt.CFrame = CFrame.new(prt.Position)
- game:GetService("Debris"):AddItem(prt, 2)
- local xval = math.random() / 2
- local yval = math.random() / 2
- local zval = math.random() / 2
- local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
- table.insert(Effects, {
- prt,
- "Elec",
- 0.1,
- x,
- y,
- z,
- xval,
- yval,
- zval
- })
- end
- },
- Ring = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- },
- Wave = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- },
- Break = {
- Create = function(brickcolor, cframe, x1, y1, z1)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
- prt.Anchored = true
- prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- local num = math.random(10, 50) / 1000
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Shatter",
- num,
- prt.CFrame,
- math.random() - math.random(),
- 0,
- math.random(50, 100) / 100
- })
- end
- },
- Fire = {
- Create = function(brickcolor, cframe, x1, y1, z1, delay)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Fire",
- delay,
- 1,
- 1,
- 1,
- msh
- })
- end
- },
- FireWave = {
- Create = function(brickcolor, cframe, x1, y1, z1)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- local d = Create("Decal")({
- Parent = prt,
- Texture = "rbxassetid://26356434",
- Face = "Top"
- })
- local d = Create("Decal")({
- Parent = prt,
- Texture = "rbxassetid://26356434",
- Face = "Bottom"
- })
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "FireWave",
- 1,
- 30,
- math.random(400, 600) / 100,
- msh
- })
- end
- },
- Lightning = {
- Create = function(p0, p1, tym, ofs, col, th, tra, last)
- local magz = (p0 - p1).magnitude
- local curpos = p0
- local trz = {
- -ofs,
- ofs
- }
- for i = 1, tym do
- local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
- local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
- local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
- li.Material = "Neon"
- if tym == i then
- local magz2 = (curpos - p1).magnitude
- li.Size = Vector3.new(th, th, magz2)
- li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
- table.insert(Effects, {
- li,
- "Disappear",
- last
- })
- else
- li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
- curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
- game.Debris:AddItem(li, 10)
- table.insert(Effects, {
- li,
- "Disappear",
- last
- })
- end
- end
- end
- },
- EffectTemplate = {}
- }
- AHandleL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright orange", "AHandleL", Vector3.new(0.800000072, 0.800000012, 1.22000003))
- AHandleLWeld = CFuncs.Weld.Create(m, LeftArm, AHandleL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.210014343, 0.00999736786, 1.14440918E-5, -1, 8.19564079E-8, -5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, -5.96046519E-8, 1.41561088E-7, -1.00000024))
- HitboxL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright orange", "HitboxL", Vector3.new(0.800000072, 0.800000012, 1.22000003))
- HitboxLWeld = CFuncs.Weld.Create(m, AHandleL, HitboxL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.700003624, 0, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
- LHandleR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright orange", "LHandleR", Vector3.new(1.02999997, 1.00999999, 1.19000006))
- LHandleRWeld = CFuncs.Weld.Create(m, RightLeg, LHandleR, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00498962402, -0.0950021744, 0.00499534607, -1, 8.19564079E-8, -5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, -5.96046519E-8, 1.41561088E-7, -1.00000024))
- LHandleL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright orange", "LHandleL", Vector3.new(1.02999997, 1.00999999, 1.19000006))
- LHandleLWeld = CFuncs.Weld.Create(m, LeftLeg, LHandleL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00498199463, -0.095000267, 0.00502204895, -1, 8.19564079E-8, -5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, -5.96046519E-8, 1.41561088E-7, -1.00000024))
- function attackone()
- attack = true
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0.367556393, 0.362597108, -0.168814808, 0.659691274, 0.213571444, 0.720555365, 0.428117335, 0.68120575, -0.593864143, -0.617678702, 0.700250089, 0.357951611) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.0925649405, 1.59318888, -0.0951198041, 0.854158282, 0.0900404453, -0.512164593, 0.140092775, 0.908643842, 0.39337799, 0.500796735, -0.407755941, 0.763507843) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.47541833, 0.172845304, 0.55520308, 0.994324088, -0.105229884, -0.0156727433, 0.0849070847, 0.696114421, 0.712891579, -0.0641151518, -0.710172296, 0.701093912) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.70162511, 0.152289137, -0.663924277, 0.948895216, 0.133226007, -0.286092222, -0.313462526, 0.502988875, -0.805446148, 0.0365947783, 0.853963494, 0.519044995) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.62866521, -1.48856974, 0.349410594, 0.593854785, -0.416557252, -0.688348949, 0.800831735, 0.223546296, 0.555612564, -0.0775686428, -0.881198704, 0.466344714) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.32901418, -1.69751668, 1.1098628, 0.65369916, 0.481991321, -0.583407819, 0.205917597, 0.628553271, 0.750014365, 0.728202343, -0.610417604, 0.311633229) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.3, false)
- LH.C1 = clerp(LH.C1, CFrame.new(0, 0, 0), 0.08)
- RH.C1 = clerp(RH.C1, CFrame.new(0, 0, 0), 0.08)
- RW.C1 = clerp(RW.C1, CFrame.new(0, 0, 0), 0.08)
- LW.C1 = clerp(LW.C1, CFrame.new(0, 0, 0), 0.08)
- end
- CFuncs.Sound.Create("200632136", RightLeg, 0.3, math.random(1, 1.2))
- MagnitudeDamage(LHandleR,10, 20, 40, math.random(10, 20), "Normal", "260430117", 1)
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0.36755383, 0.288112044, -0.176250905, 0.659691572, 0.213571161, 0.720555127, 0.530445576, 0.546872735, -0.647732913, -0.532388806, 0.809520125, 0.247479036) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.0925682783, 1.59317803, -0.0951238871, 0.854154587, 0.090043962, -0.512164235, 0.140088409, 0.908640802, 0.393379152, 0.500794768, -0.407754838, 0.763505459) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.47542572, 0.172846794, 0.55522418, 0.994324446, -0.105231136, -0.0156644583, 0.0849018693, 0.69611454, 0.71289295, -0.0641142875, -0.710176826, 0.701097846) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.70162535, 0.152290061, -0.663927674, 0.948894143, 0.133226484, -0.286095619, -0.313465714, 0.502987981, -0.805445552, 0.0365959704, 0.853963614, 0.51904422) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.71297562, -1.68749523, -0.54476285, 0.55140388, -0.754237711, 0.35648185, 0.832835376, 0.522378564, -0.1830208, -0.0481776223, 0.39781028, 0.91620326) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.53493941, -1.32723296, 1.18864489, 0.65253067, 0.577527344, -0.490580291, 0.207690239, 0.486307204, 0.848747611, 0.728746712, -0.655722439, 0.197382882) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.3, false)
- LH.C1 = clerp(LH.C1, CFrame.new(0, 0, 0), 0.08)
- RH.C1 = clerp(RH.C1, CFrame.new(0, 0, 0), 0.08)
- RW.C1 = clerp(RW.C1, CFrame.new(0, 0, 0), 0.08)
- LW.C1 = clerp(LW.C1, CFrame.new(0, 0, 0), 0.08)
- end
- attack = false
- end
- function attacktwo()
- attack = true
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0.367556393, 0.362597108, -0.168814808, 0.659691274, 0.213571444, 0.720555365, 0.428117335, 0.68120575, -0.593864143, -0.617678702, 0.700250089, 0.357951611) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.0925649405, 1.59318888, -0.0951198041, 0.854158282, 0.0900404453, -0.512164593, 0.140092775, 0.908643842, 0.39337799, 0.500796735, -0.407755941, 0.763507843) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.47541833, 0.172845304, 0.55520308, 0.994324088, -0.105229884, -0.0156727433, 0.0849070847, 0.696114421, 0.712891579, -0.0641151518, -0.710172296, 0.701093912) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.70162511, 0.152289137, -0.663924277, 0.948895216, 0.133226007, -0.286092222, -0.313462526, 0.502988875, -0.805446148, 0.0365947783, 0.853963494, 0.519044995) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.13033497, -1.77228749, -0.0829255581, 0.614124715, 0.413170695, -0.672415018, 0.27985999, 0.682634234, 0.675048769, 0.737922788, -0.602746427, 0.303592384) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.32901418, -1.69751668, 1.1098628, 0.65369916, 0.481991321, -0.583407819, 0.205917597, 0.628553271, 0.750014365, 0.728202343, -0.610417604, 0.311633229) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.3, false)
- LH.C1 = clerp(LH.C1, CFrame.new(0, 0, 0), 0.08)
- RH.C1 = clerp(RH.C1, CFrame.new(0, 0, 0), 0.08)
- RW.C1 = clerp(RW.C1, CFrame.new(0, 0, 0), 0.08)
- LW.C1 = clerp(LW.C1, CFrame.new(0, 0, 0), 0.08)
- end
- CFuncs.Sound.Create("200632136", RightLeg, 0.3, math.random(1, 1.2))
- MagnitudeDamage(LHandleR,10, 20, 40, math.random(10, 20), "Up", "260430117", 1)
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0.367556393, 0.362597108, -0.168814808, 0.659691274, 0.213571444, 0.720555365, 0.428117335, 0.68120575, -0.593864143, -0.617678702, 0.700250089, 0.357951611) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.0925649405, 1.59318888, -0.0951198041, 0.854158282, 0.0900404453, -0.512164593, 0.140092775, 0.908643842, 0.39337799, 0.500796735, -0.407755941, 0.763507843) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.47541833, 0.172845304, 0.55520308, 0.994324088, -0.105229884, -0.0156727433, 0.0849070847, 0.696114421, 0.712891579, -0.0641151518, -0.710172296, 0.701093912) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.70162511, 0.152289137, -0.663924277, 0.948895216, 0.133226007, -0.286092222, -0.313462526, 0.502988875, -0.805446148, 0.0365947783, 0.853963494, 0.519044995) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.8327415, -0.849352121, -1.0175364, 0.614122808, -0.78808254, 0.0422270298, 0.279865921, 0.167436779, -0.945327282, 0.73792392, 0.592364311, 0.323383421) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.32901418, -1.69751668, 1.1098628, 0.65369916, 0.481991321, -0.583407819, 0.205917597, 0.628553271, 0.750014365, 0.728202343, -0.610417604, 0.311633229) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.3, false)
- LH.C1 = clerp(LH.C1, CFrame.new(0, 0, 0), 0.08)
- RH.C1 = clerp(RH.C1, CFrame.new(0, 0, 0), 0.08)
- RW.C1 = clerp(RW.C1, CFrame.new(0, 0, 0), 0.08)
- LW.C1 = clerp(LW.C1, CFrame.new(0, 0, 0), 0.08)
- end
- attack = false
- end
- function attackthree()
- attack = true
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0.367556393, 0.362597108, -0.168814808, 0.659691274, 0.213571444, 0.720555365, 0.428117335, 0.68120575, -0.593864143, -0.617678702, 0.700250089, 0.357951611) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.0925649405, 1.59318888, -0.0951198041, 0.854158282, 0.0900404453, -0.512164593, 0.140092775, 0.908643842, 0.39337799, 0.500796735, -0.407755941, 0.763507843) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.47541833, 0.172845304, 0.55520308, 0.994324088, -0.105229884, -0.0156727433, 0.0849070847, 0.696114421, 0.712891579, -0.0641151518, -0.710172296, 0.701093912) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.70162511, 0.152289137, -0.663924277, 0.948895216, 0.133226007, -0.286092222, -0.313462526, 0.502988875, -0.805446148, 0.0365947783, 0.853963494, 0.519044995) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.8327415, -0.849352121, -1.0175364, 0.614122808, -0.78808254, 0.0422270298, 0.279865921, 0.167436779, -0.945327282, 0.73792392, 0.592364311, 0.323383421) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.32901418, -1.69751668, 1.1098628, 0.65369916, 0.481991321, -0.583407819, 0.205917597, 0.628553271, 0.750014365, 0.728202343, -0.610417604, 0.311633229) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.3, false)
- LH.C1 = clerp(LH.C1, CFrame.new(0, 0, 0), 0.08)
- RH.C1 = clerp(RH.C1, CFrame.new(0, 0, 0), 0.08)
- RW.C1 = clerp(RW.C1, CFrame.new(0, 0, 0), 0.08)
- LW.C1 = clerp(LW.C1, CFrame.new(0, 0, 0), 0.08)
- end
- CFuncs.Sound.Create("200632136", RightLeg, 0.3, 0.7)
- MagnitudeDamage(LHandleR,10, 20, 40, math.random(10, 20), "Normal", "260430117", 1)
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0.367552429, 0.0611192845, -1.14263844, 0.65969193, 0.21357365, 0.720554054, -0.338366657, 0.94050312, 0.0310184695, -0.671059132, -0.264273465, 0.69270891) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.0925538838, 1.593171, -0.0951151848, 0.854154706, 0.0900292099, -0.512166619, 0.140100911, 0.908641815, 0.393372297, 0.500791013, -0.407755822, 0.763507485) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.61904371, 0.452465713, 0.340854943, 0.918792784, -0.375160873, -0.122776926, 0.385674596, 0.78689009, 0.481725216, -0.0841125548, -0.489957571, 0.867679) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.84857357, 0.145691067, 0.244089365, 0.92034328, 0.3837955, 0.0752958953, -0.299708635, 0.568375289, 0.766240358, 0.251283377, -0.727770805, 0.638127208) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.52336645, -1.6797477, -0.41034317, 0.600343168, -0.267818987, -0.75356555, 0.257193327, 0.956859648, -0.13517186, 0.757257998, -0.112662517, 0.643325448) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.258456647, -2.31806183, 0.313666105, 0.66308558, -0.278153807, -0.694946289, 0.201684564, 0.960452795, -0.191984385, 0.720863402, -0.012857791, 0.692959726) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.3, false)
- LH.C1 = clerp(LH.C1, CFrame.new(0, 0, 0), 0.08)
- RH.C1 = clerp(RH.C1, CFrame.new(0, 0, 0), 0.08)
- RW.C1 = clerp(RW.C1, CFrame.new(0, 0, 0), 0.08)
- LW.C1 = clerp(LW.C1, CFrame.new(0, 0, 0), 0.08)
- end
- attack = false
- end
- function ReAxe()
- attack = true
- for i = 0, 1, 0.04 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 6.81497383, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(-i * 6, 0, 0),
- CFrame.new(0, 1.42483747, -0.106030189, 1, 0, 0, 0, 0.992494524, 0.122291081, 0, -0.122291081, 0.992494524) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.82669258, 0.354503632, 0.116156459, 0.756644666, -0.65167129, -0.0530415997, 0.525806785, 0.654705048, -0.543036461, 0.38860783, 0.382996023, 0.838032305) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.75994623, 0.14361684, -0.353836894, 0.913797319, 0.406170398, 1.57502609E-6, -0.342963129, 0.771596551, -0.535737872, -0.217602074, 0.489555329, 0.844384372) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.5, -0.952576637, -0.775204659, 1, 0, 0, 0, 0.803800464, 0.594899118, 0, -0.594899118, 0.803800464) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.5, -1.99999714, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.3, false)
- LH.C1 = clerp(LH.C1, CFrame.new(0, 0, 0), 0.08)
- RH.C1 = clerp(RH.C1, CFrame.new(0, 0, 0), 0.08)
- RW.C1 = clerp(RW.C1, CFrame.new(0, 0, 0), 0.08)
- LW.C1 = clerp(LW.C1, CFrame.new(0, 0, 0), 0.08)
- end
- CFuncs.Sound.Create("200632136", RightLeg, 0.3, 0.7)
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0.551365912, -1.56294012, -1.73210359, 0.999917269, 0.0127521465, -0.00284808339, -0.011285089, 0.952679753, 0.303766876, 0.00658703083, -0.303708971, 0.952745557) * CFrame.new(0.5, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.0925273895, 1.5931716, -0.0951160192, 0.999854684, -0.0166062359, 0.00425276998, 0.0120972004, 0.859311283, 0.511312306, -0.0121454326, -0.511184871, 0.859387279) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.61901593, 0.452460289, 0.34085089, 0.918793917, -0.375159234, -0.122774139, 0.385672271, 0.786893129, 0.481722146, -0.0841123983, -0.489953876, 0.867681146) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.84856308, 0.145706683, 0.244082704, 0.920344174, 0.38379246, 0.0753004029, -0.299710006, 0.568375349, 0.766239882, 0.251278222, -0.727772713, 0.638127327) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.628742516, -0.258574307, -1.84686589, 0.996180117, -0.0451973416, 0.0747158825, 0.0556930676, -0.330178082, -0.942272425, 0.0672571212, 0.94284147, -0.3263973) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.416295826, -0.0792745054, -1.22001719, 0.999984026, 0.00104189513, 0.00550700026, 6.8588584E-4, 0.95243454, -0.304742306, -0.00556256576, 0.304741204, 0.952419221) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.3, false)
- LH.C1 = clerp(LH.C1, CFrame.new(0, 0, 0), 0.08)
- RH.C1 = clerp(RH.C1, CFrame.new(0, 0, 0), 0.08)
- RW.C1 = clerp(RW.C1, CFrame.new(0, 0, 0), 0.08)
- LW.C1 = clerp(LW.C1, CFrame.new(0, 0, 0), 0.08)
- MagnitudeDamage(LHandleR, 7, 1, 5, math.random(10, 20), "Normal", "260430117", 1)
- end
- attack = false
- end
- function BoBup()
- attack = true
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 0.0200396311, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 1.42483699, -0.106030054, 1, 0, 0, 0, 0.992494524, 0.122291081, 0, -0.122291081, 0.992494524) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.82670534, 0.178882733, 0.0527216718, 0.905366004, -0.421315581, -0.0530520715, 0.373293847, 0.849214196, -0.373492599, 0.202408165, 0.318343878, 0.926120222) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.65915763, 0.0934458524, -0.285711288, 0.913798392, 0.406168014, 5.67670304E-6, -0.378125191, 0.850712657, -0.365115583, -0.148303077, 0.33363986, 0.930962265) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.607200623, -1.9660548, -0.255543649, 1, 0, 0, 0, 0.990942121, 0.134216279, 0, -0.134216279, 0.990942121) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.769832611, -1.99999738, 0, 1, 0, 0, 0, 0.99486959, 0.101166137, 0, -0.101166129, 0.99486959) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.3, false)
- LH.C1 = clerp(LH.C1, CFrame.new(0, 0, 0), 0.08)
- RH.C1 = clerp(RH.C1, CFrame.new(0, 0, 0), 0.08)
- RW.C1 = clerp(RW.C1, CFrame.new(0, 0, 0), 0.08)
- LW.C1 = clerp(LW.C1, CFrame.new(0, 0, 0), 0.08)
- end
- for i = 1, 10 do
- CFuncs.Sound.Create("423445777", Torso, 1, 1)
- Player.Character.HumanoidRootPart.CFrame = Player.Character.HumanoidRootPart.CFrame * CFrame.new(math.random(-10, 10), 0, math.random(-10, 10))
- wait()
- end
- attack = false
- end
- function LowestHwechook()
- attack = true
- CFuncs.Sound.Create("200632136", RightLeg, 0.3, math.random(0.6, 0.9))
- for i = 0, 1, 0.06 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-6.71386719E-4, -0.716550052, 0, 1, 0, 0, 0, 1.00000238, 0, 0, 0, 1.00000238) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -i * 6, 0),
- CFrame.new(1.36867166E-5, 1.42484498, -0.106025912, 0.787242055, -0.0976274237, -0.608866811, 0.244874239, 0.955692232, 0.163374901, 0.565939367, -0.277711391, 0.776267648) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.912367761, 0.163385704, -1.03982854, 0.767794013, 0.628768086, 0.123057656, -0.148383886, 0.361355215, -0.920547128, -0.623278141, 0.688530743, 0.370745391) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.65915918, 0.093443051, -0.285713732, 0.913798392, 0.406168014, 5.67670304E-6, -0.378126085, 0.850714684, -0.365116447, -0.148303434, 0.333640605, 0.93096447) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.9476912, -1.47111094, -0.222827375, 0.516934752, -0.856025755, -1.97240269E-7, 0.848281682, 0.512259185, 0.134215727, -0.114891902, -0.0693809986, 0.990955055) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.496331096, -1.50212884, 0.298891962, 0.999944925, 0.00114219461, 0.0108861709, -0.0108897667, 0.00322096422, 0.999945939, 0.0011070607, -0.999996722, 0.00323345908) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.3, false)
- LH.C1 = clerp(LH.C1, CFrame.new(0, 0, 0), 0.08)
- RH.C1 = clerp(RH.C1, CFrame.new(0, 0, 0), 0.08)
- RW.C1 = clerp(RW.C1, CFrame.new(0, 0, 0), 0.08)
- LW.C1 = clerp(LW.C1, CFrame.new(0, 0, 0), 0.08)
- MagnitudeDamage(LHandleR, 10, 5, 12, 10, "Normal", "260430117", 1)
- Effects.Fire.Create("Bright orange", LHandleR.CFrame * CFrame.new(0, -1, 0), 30, 30, 30, 0.08)
- end
- attack = false
- end
- function HwechookCombo()
- attack = true
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 0.0200396311, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 1.42483699, -0.106030054, 1, 0, 0, 0, 0.992494524, 0.122291081, 0, -0.122291081, 0.992494524) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.82670534, 0.178882733, 0.0527216718, 0.905366004, -0.421315581, -0.0530520715, 0.373293847, 0.849214196, -0.373492599, 0.202408165, 0.318343878, 0.926120222) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.65915763, 0.0934458524, -0.285711288, 0.913798392, 0.406168014, 5.67670304E-6, -0.378125191, 0.850712657, -0.365115583, -0.148303077, 0.33363986, 0.930962265) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.607200623, -1.9660548, -0.255543649, 1, 0, 0, 0, 0.990942121, 0.134216279, 0, -0.134216279, 0.990942121) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.769832611, -1.99999738, 0, 1, 0, 0, 0, 0.99486959, 0.101166137, 0, -0.101166129, 0.99486959) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.3, false)
- LH.C1 = clerp(LH.C1, CFrame.new(0, 0, 0), 0.08)
- RH.C1 = clerp(RH.C1, CFrame.new(0, 0, 0), 0.08)
- RW.C1 = clerp(RW.C1, CFrame.new(0, 0, 0), 0.08)
- LW.C1 = clerp(LW.C1, CFrame.new(0, 0, 0), 0.08)
- end
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0.367556393, 0.362597108, -0.168814808, 0.659691274, 0.213571444, 0.720555365, 0.428117335, 0.68120575, -0.593864143, -0.617678702, 0.700250089, 0.357951611) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.0925649405, 1.59318888, -0.0951198041, 0.854158282, 0.0900404453, -0.512164593, 0.140092775, 0.908643842, 0.39337799, 0.500796735, -0.407755941, 0.763507843) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.47541833, 0.172845304, 0.55520308, 0.994324088, -0.105229884, -0.0156727433, 0.0849070847, 0.696114421, 0.712891579, -0.0641151518, -0.710172296, 0.701093912) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.70162511, 0.152289137, -0.663924277, 0.948895216, 0.133226007, -0.286092222, -0.313462526, 0.502988875, -0.805446148, 0.0365947783, 0.853963494, 0.519044995) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.62866521, -1.48856974, 0.349410594, 0.593854785, -0.416557252, -0.688348949, 0.800831735, 0.223546296, 0.555612564, -0.0775686428, -0.881198704, 0.466344714) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.32901418, -1.69751668, 1.1098628, 0.65369916, 0.481991321, -0.583407819, 0.205917597, 0.628553271, 0.750014365, 0.728202343, -0.610417604, 0.311633229) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.3, false)
- LH.C1 = clerp(LH.C1, CFrame.new(0, 0, 0), 0.08)
- RH.C1 = clerp(RH.C1, CFrame.new(0, 0, 0), 0.08)
- RW.C1 = clerp(RW.C1, CFrame.new(0, 0, 0), 0.08)
- LW.C1 = clerp(LW.C1, CFrame.new(0, 0, 0), 0.08)
- Effects.Fire.Create("Bright orange", LHandleR.CFrame * CFrame.new(0, -1, 0), 30, 30, 30, 0.08)
- end
- CFuncs.Sound.Create("200632136", RightLeg, 0.3, math.random(1, 1.2))
- MagnitudeDamage(LHandleR, 10, 20, 40, math.random(10, 20), "Normal", "260430117", 1)
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0.36755383, 0.288112044, -0.176250905, 0.659691572, 0.213571161, 0.720555127, 0.530445576, 0.546872735, -0.647732913, -0.532388806, 0.809520125, 0.247479036) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.0925682783, 1.59317803, -0.0951238871, 0.854154587, 0.090043962, -0.512164235, 0.140088409, 0.908640802, 0.393379152, 0.500794768, -0.407754838, 0.763505459) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.47542572, 0.172846794, 0.55522418, 0.994324446, -0.105231136, -0.0156644583, 0.0849018693, 0.69611454, 0.71289295, -0.0641142875, -0.710176826, 0.701097846) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.70162535, 0.152290061, -0.663927674, 0.948894143, 0.133226484, -0.286095619, -0.313465714, 0.502987981, -0.805445552, 0.0365959704, 0.853963614, 0.51904422) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.71297562, -1.68749523, -0.54476285, 0.55140388, -0.754237711, 0.35648185, 0.832835376, 0.522378564, -0.1830208, -0.0481776223, 0.39781028, 0.91620326) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.53493941, -1.32723296, 1.18864489, 0.65253067, 0.577527344, -0.490580291, 0.207690239, 0.486307204, 0.848747611, 0.728746712, -0.655722439, 0.197382882) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.3, false)
- LH.C1 = clerp(LH.C1, CFrame.new(0, 0, 0), 0.08)
- RH.C1 = clerp(RH.C1, CFrame.new(0, 0, 0), 0.08)
- RW.C1 = clerp(RW.C1, CFrame.new(0, 0, 0), 0.08)
- LW.C1 = clerp(LW.C1, CFrame.new(0, 0, 0), 0.08)
- Effects.Fire.Create("Bright orange", LHandleR.CFrame * CFrame.new(0, -1, 0), 30, 30, 30, 0.08)
- end
- CFuncs.Sound.Create("200632136", RightLeg, 0.3, math.random(0.6, 0.9))
- for i = 0, 1, 0.06 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-6.71386719E-4, -0.716550052, 0, 1, 0, 0, 0, 1.00000238, 0, 0, 0, 1.00000238) * CFrame.new(0, 0, 0) * CFrame.Angles(0, i * 6, 0),
- CFrame.new(1.36867166E-5, 1.42484498, -0.106025912, 0.787242055, -0.0976274237, -0.608866811, 0.244874239, 0.955692232, 0.163374901, 0.565939367, -0.277711391, 0.776267648) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.912367761, 0.163385704, -1.03982854, 0.767794013, 0.628768086, 0.123057656, -0.148383886, 0.361355215, -0.920547128, -0.623278141, 0.688530743, 0.370745391) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.65915918, 0.093443051, -0.285713732, 0.913798392, 0.406168014, 5.67670304E-6, -0.378126085, 0.850714684, -0.365116447, -0.148303434, 0.333640605, 0.93096447) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.9476912, -1.47111094, -0.222827375, 0.516934752, -0.856025755, -1.97240269E-7, 0.848281682, 0.512259185, 0.134215727, -0.114891902, -0.0693809986, 0.990955055) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.496331096, -1.50212884, 0.298891962, 0.999944925, 0.00114219461, 0.0108861709, -0.0108897667, 0.00322096422, 0.999945939, 0.0011070607, -0.999996722, 0.00323345908) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.3, false)
- MagnitudeDamage(LHandleR, 10, 20, 40, math.random(10, 20), "Up", "260430117", 1)
- Effects.Fire.Create("Bright orange", LHandleR.CFrame * CFrame.new(0, -1, 0), 30, 30, 30, 0.08)
- end
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 6.81497383, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(-i * 6, 0, 0),
- CFrame.new(0, 1.42483747, -0.106030189, 1, 0, 0, 0, 0.992494524, 0.122291081, 0, -0.122291081, 0.992494524) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.82669258, 0.354503632, 0.116156459, 0.756644666, -0.65167129, -0.0530415997, 0.525806785, 0.654705048, -0.543036461, 0.38860783, 0.382996023, 0.838032305) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.75994623, 0.14361684, -0.353836894, 0.913797319, 0.406170398, 1.57502609E-6, -0.342963129, 0.771596551, -0.535737872, -0.217602074, 0.489555329, 0.844384372) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.5, -0.952576637, -0.775204659, 1, 0, 0, 0, 0.803800464, 0.594899118, 0, -0.594899118, 0.803800464) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.5, -1.99999714, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.3, false)
- Effects.Fire.Create("Bright orange", LHandleR.CFrame * CFrame.new(0, -1, 0), 30, 30, 30, 0.08)
- end
- CFuncs.Sound.Create("200632136", RightLeg, 0.3, 0.7)
- MagnitudeDamage(LHandleR, 10, 20, 40, math.random(10, 20), "Normal", "260430117", 1)
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0.551365912, -1.56294012, -1.73210359, 0.999917269, 0.0127521465, -0.00284808339, -0.011285089, 0.952679753, 0.303766876, 0.00658703083, -0.303708971, 0.952745557) * CFrame.new(0.5, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.0925273895, 1.5931716, -0.0951160192, 0.999854684, -0.0166062359, 0.00425276998, 0.0120972004, 0.859311283, 0.511312306, -0.0121454326, -0.511184871, 0.859387279) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.61901593, 0.452460289, 0.34085089, 0.918793917, -0.375159234, -0.122774139, 0.385672271, 0.786893129, 0.481722146, -0.0841123983, -0.489953876, 0.867681146) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.84856308, 0.145706683, 0.244082704, 0.920344174, 0.38379246, 0.0753004029, -0.299710006, 0.568375349, 0.766239882, 0.251278222, -0.727772713, 0.638127327) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.628742516, -0.258574307, -1.84686589, 0.996180117, -0.0451973416, 0.0747158825, 0.0556930676, -0.330178082, -0.942272425, 0.0672571212, 0.94284147, -0.3263973) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.416295826, -0.0792745054, -1.22001719, 0.999984026, 0.00104189513, 0.00550700026, 6.8588584E-4, 0.95243454, -0.304742306, -0.00556256576, 0.304741204, 0.952419221) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.3, false)
- Effects.Fire.Create("Bright orange", LHandleR.CFrame * CFrame.new(0, -1, 0), 30, 30, 30, 0.08)
- end
- attack = false
- end
- function ThreeStageHwechook()
- attack = true
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0.367556393, 0.362597108, -0.168814808, 0.659691274, 0.213571444, 0.720555365, 0.428117335, 0.68120575, -0.593864143, -0.617678702, 0.700250089, 0.357951611) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.0925649405, 1.59318888, -0.0951198041, 0.854158282, 0.0900404453, -0.512164593, 0.140092775, 0.908643842, 0.39337799, 0.500796735, -0.407755941, 0.763507843) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.47541833, 0.172845304, 0.55520308, 0.994324088, -0.105229884, -0.0156727433, 0.0849070847, 0.696114421, 0.712891579, -0.0641151518, -0.710172296, 0.701093912) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.70162511, 0.152289137, -0.663924277, 0.948895216, 0.133226007, -0.286092222, -0.313462526, 0.502988875, -0.805446148, 0.0365947783, 0.853963494, 0.519044995) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.62866521, -1.48856974, 0.349410594, 0.593854785, -0.416557252, -0.688348949, 0.800831735, 0.223546296, 0.555612564, -0.0775686428, -0.881198704, 0.466344714) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.32901418, -1.69751668, 1.1098628, 0.65369916, 0.481991321, -0.583407819, 0.205917597, 0.628553271, 0.750014365, 0.728202343, -0.610417604, 0.311633229) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.3, false)
- LH.C1 = clerp(LH.C1, CFrame.new(0, 0, 0), 0.08)
- RH.C1 = clerp(RH.C1, CFrame.new(0, 0, 0), 0.08)
- RW.C1 = clerp(RW.C1, CFrame.new(0, 0, 0), 0.08)
- LW.C1 = clerp(LW.C1, CFrame.new(0, 0, 0), 0.08)
- end
- CFuncs.Sound.Create("200632136", RightLeg, 0.3, math.random(1, 1.2))
- MagnitudeDamage(LHandleR, 4, 10, 15, math.random(10, 20), "Normal", "260430117", 1)
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0.36755383, 0.288112044, -0.176250905, 0.659691572, 0.213571161, 0.720555127, 0.530445576, 0.546872735, -0.647732913, -0.532388806, 0.809520125, 0.247479036) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.0925682783, 1.59317803, -0.0951238871, 0.854154587, 0.090043962, -0.512164235, 0.140088409, 0.908640802, 0.393379152, 0.500794768, -0.407754838, 0.763505459) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.47542572, 0.172846794, 0.55522418, 0.994324446, -0.105231136, -0.0156644583, 0.0849018693, 0.69611454, 0.71289295, -0.0641142875, -0.710176826, 0.701097846) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.70162535, 0.152290061, -0.663927674, 0.948894143, 0.133226484, -0.286095619, -0.313465714, 0.502987981, -0.805445552, 0.0365959704, 0.853963614, 0.51904422) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.71297562, -1.68749523, -0.54476285, 0.55140388, -0.754237711, 0.35648185, 0.832835376, 0.522378564, -0.1830208, -0.0481776223, 0.39781028, 0.91620326) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.53493941, -1.32723296, 1.18864489, 0.65253067, 0.577527344, -0.490580291, 0.207690239, 0.486307204, 0.848747611, 0.728746712, -0.655722439, 0.197382882) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.3, false)
- LH.C1 = clerp(LH.C1, CFrame.new(0, 0, 0), 0.08)
- RH.C1 = clerp(RH.C1, CFrame.new(0, 0, 0), 0.08)
- RW.C1 = clerp(RW.C1, CFrame.new(0, 0, 0), 0.08)
- LW.C1 = clerp(LW.C1, CFrame.new(0, 0, 0), 0.08)
- end
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0.113312133, 0.13116172, -0.354558915, 0.649551153, 0.154637128, -0.744426489, -0.534994125, 0.788657904, -0.302985191, 0.540245116, 0.595068097, 0.595003545) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.71661395E-5, 1.42483521, -0.106044486, 1.00000012, 0, 0, 2.98023224E-8, 0.992493987, 0.122293949, -2.98023224E-8, -0.122293979, 0.992493987) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.82667983, 0.178878903, 0.0527277514, 0.905365586, -0.42130667, -0.0530500114, 0.373289913, 0.849209666, -0.37349388, 0.20240593, 0.318345457, 0.926114559) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.65914595, 0.09345413, -0.285713971, 0.913795471, 0.406175107, 8.89599323E-6, -0.37812984, 0.850708246, -0.365121096, -0.148310661, 0.333642572, 0.930960059) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.45908952, -1.66813385, 0.0576419234, 0.79650557, -0.602663875, -0.048830986, 0.558065176, 0.701652765, 0.443001509, -0.23272112, -0.380099148, 0.895192087) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.86138082, -1.34563231, -0.421400368, 0.499536276, 0.816758871, 0.288736284, -0.857176244, 0.417784929, 0.301174074, 0.1253573, -0.397944957, 0.908803999) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.3, false)
- end
- CFuncs.Sound.Create("200632136", RightLeg, 0.3, math.random(1, 1.2))
- MagnitudeDamage(LHandleL, 10, 20, 40, math.random(10, 20), "Normal", "260430117", 1)
- CFuncs.Sound.Create("423445777", Torso, 1, 1)
- Player.Character.HumanoidRootPart.CFrame = Player.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, -9)
- for i = 0, 2, 0.09 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-6.71386719E-4, -0.716550052, 0, 1, 0, 0, 0, 1.00000238, 0, 0, 0, 1.00000238) * CFrame.new(0, 2, 0) * CFrame.Angles(0, i * 6, 0),
- CFrame.new(1.36867166E-5, 1.42484498, -0.106025912, 0.787242055, -0.0976274237, -0.608866811, 0.244874239, 0.955692232, 0.163374901, 0.565939367, -0.277711391, 0.776267648) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.912367761, 0.163385704, -1.03982854, 0.767794013, 0.628768086, 0.123057656, -0.148383886, 0.361355215, -0.920547128, -0.623278141, 0.688530743, 0.370745391) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.65915918, 0.093443051, -0.285713732, 0.913798392, 0.406168014, 5.67670304E-6, -0.378126085, 0.850714684, -0.365116447, -0.148303434, 0.333640605, 0.93096447) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.9476912, -1.47111094, -0.222827375, 0.516934752, -0.856025755, -1.97240269E-7, 0.848281682, 0.512259185, 0.134215727, -0.114891902, -0.0693809986, 0.990955055) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.496331096, -1.50212884, 0.298891962, 0.999944925, 0.00114219461, 0.0108861709, -0.0108897667, 0.00322096422, 0.999945939, 0.0011070607, -0.999996722, 0.00323345908) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.3, false)
- MagnitudeDamage(LHandleR, 10, 20, 40, math.random(10, 20), "Normal", "260430117", 1)
- end
- attack = false
- end
- Mouse.Button1Down:connect(function()
- if attack == false and attacktype == 1 then
- attackone()
- attacktype = 2
- elseif attack == false and attacktype == 2 then
- attacktwo()
- attacktype = 3
- elseif attack == false and attacktype == 3 then
- attackthree()
- attacktype = 1
- end
- end)
- Mouse.KeyDown:connect(function(k)
- k = k:lower()
- if attack == false and k == "r" and Axe == false then
- Axe = true
- ReAxe()
- wait(2)
- Axe = false
- end
- if attack == false and k == "e" and ClearingTheArea == false then
- ClearingTheArea = true
- LowestHwechook()
- wait(4)
- ClearingTheArea = false
- end
- if attack == false and k == "f" and Combo == false then
- Combo = true
- HwechookCombo()
- wait(5)
- Combo = false
- end
- if attack == false and k == "q" and ThreeStage == false then
- ThreeStage = true
- ThreeStageHwechook()
- wait(8)
- ThreeStage = false
- end
- end)
- while true do
- swait()
- for i, v in pairs(Character:GetChildren()) do
- if v:IsA("Part") then
- v.Material = "SmoothPlastic"
- elseif v:IsA("Accessory") then
- v:WaitForChild("Handle").Material = "SmoothPlastic"
- end
- end
- Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- velocity = RootPart.Velocity.y
- sine = sine + change
- sine = sine + change
- local RightLeg = CFrame.new(0.5, -1, 0)
- local LeftLeg = CFrame.new(-0.5, -1, 0)
- local lefth = Torso.CFrame * LeftLeg
- local righth = Torso.CFrame * RightLeg
- local speed = Vector3.new(Torso.Velocity.X, 0, Torso.Velocity.Z)
- local TiltOnAxis = (Torso.CFrame - Torso.CFrame.p):vectorToObjectSpace(speed / 100)
- local AngleThetaR = (righth - righth.p):vectorToObjectSpace(speed / 100)
- local AngleThetaL = (lefth - lefth.p):vectorToObjectSpace(speed / 100)
- 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 then
- PlayAnimationFromTable({
- CFrame.new(0, 0.00872418843, 0.0292903651, 1, 0, 0, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 1.49999177, -1.49011612E-7, 1, 0, 0, 0, 0.98480767, 0.173648626, 0, -0.173648626, 0.98480767) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.64140427, 0.273908556, 0.192029893, 0.946035206, -0.31541416, 0.0743736848, 0.284469575, 0.91821146, 0.275617331, -0.155224368, -0.239586651, 0.958386064) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.59350562, 0.239538491, 0.192243189, 0.935008764, 0.347148597, -0.0724328309, -0.312019885, 0.902400434, 0.297181845, 0.168529674, -0.255267143, 0.952069581) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.602718651, -1.95556056, 0.410092652, 0.978475571, 0.0150757888, -0.205834776, 0.0853612274, 0.878464639, 0.470120817, 0.187906027, -0.477568805, 0.85826844) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.41903314, -1.41877925, -0.229210436, 0.962251842, -0.0299757104, 0.270510197, -0.084186092, 0.912393093, 0.400567293, -0.258819073, -0.408219665, 0.875425339) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.06, false)
- LH.C1 = clerp(LH.C1, CFrame.new(0, 0, 0), 0.06)
- RH.C1 = clerp(RH.C1, CFrame.new(0, 0, 0), 0.06)
- RW.C1 = clerp(RW.C1, CFrame.new(0, 0, 0), 0.06)
- LW.C1 = clerp(LW.C1, CFrame.new(0, 0, 0), 0.06)
- end
- elseif RootPart.Velocity.y < -1 and hit == nil then
- Anim = "Fall"
- if attack == false then
- PlayAnimationFromTable({
- CFrame.new(0, -0.0366669223, -0.0478199311, 1, 0, 0, 0, 0.996194661, 0.087155968, 0, -0.087155968, 0.996194661) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 1.58110774, -0.115850762, 1, 0, 0, 0, 0.98480767, 0.173647821, 0, -0.173647821, 0.98480767) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.72150326, 0.610064566, 0.0891361833, 0.724097908, -0.685675204, 0.0743751749, 0.645872176, 0.711960018, 0.275611937, -0.241932437, -0.151533186, 0.958387375) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.69228244, 0.568353653, 0.082095027, 0.759895504, 0.646005511, -0.0724337399, -0.601845145, 0.741260946, 0.297183931, 0.24567467, -0.182231784, 0.952074111) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.60271728, -1.95556188, 0.410093039, 0.978470623, -0.00292155147, -0.206365243, 0.0853614658, 0.916095972, 0.391767859, 0.187905625, -0.400949359, 0.896622121) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.453899324, -1.81726217, -0.229221463, 0.962255239, -0.00628663599, 0.272094905, -0.0841865242, 0.943832874, 0.319526881, -0.258820891, -0.33037129, 0.90767473) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.06, false)
- LH.C1 = clerp(LH.C1, CFrame.new(0, 0, 0), 0.06)
- RH.C1 = clerp(RH.C1, CFrame.new(0, 0, 0), 0.06)
- RW.C1 = clerp(RW.C1, CFrame.new(0, 0, 0), 0.06)
- LW.C1 = clerp(LW.C1, CFrame.new(0, 0, 0), 0.06)
- end
- elseif Torsovelocity < 1 and hit ~= nil then
- Anim = "Idle"
- if attack == false then
- change = 1
- PlayAnimationFromTable({
- CFrame.new(0, -0.00190299738, -0.0435779989, 1, 0, 0, 0, 0.996194661, 0.087155968, 0, -0.087155968, 0.996194661) * CFrame.new(0, 0 - math.sin(sine / 39) / 16, 0) * CFrame.Angles(0 - 0.5 * math.sin(sine / 39) / 16, 0, 0),
- CFrame.new(0, 1.49999213, 3.27825546E-7, 1, 0, 0, 0, 0.99619478, 0.0871553123, 0, -0.0871553123, 0.99619478) * CFrame.new(0, 0, 0) * CFrame.Angles(math.cos(sine / 39) / 16, 0, 0),
- CFrame.new(1.64141297, 0.173907071, -0.107973814, 0.946035922, -0.270955235, 0.177766502, 0.284470022, 0.957103431, -0.055051513, -0.155224428, 0.102649838, 0.982532144) * CFrame.new(0, 0 - 1 * math.sin(sine / 39) / 16, 0) * CFrame.Angles(math.sin(sine / 39) / 16, 0, -math.cos(sine / 39) / 16),
- CFrame.new(-1.59350157, 0.139536366, -0.107754946, 0.935009062, 0.284010828, -0.212358981, -0.312018842, 0.943447471, -0.11203292, 0.168530986, 0.171011835, 0.970748305) * CFrame.new(0, 0 - 1 * math.sin(sine / 39) / 16, 0) * CFrame.Angles(math.sin(sine / 39) / 16, 0, math.cos(sine / 39) / 16),
- CFrame.new(0.640606463, -2.04178405, -0.149884507, 0.999857128, 0.00922466256, 0.0142093226, -0.00979161169, 0.999138415, 0.0403634124, -0.0138245597, -0.0404968038, 0.999084651) * CFrame.new(0, 0 + 1 * math.sin(sine / 39) / 16, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.669387758, -2.10988212, 0.0830777287, 0.994904816, 0.0294452235, 0.0964424536, -0.0412058383, 0.991637051, 0.12232089, -0.0920340344, -0.125671521, 0.987794578) * CFrame.new(0, 0 + 1 * math.sin(sine / 39) / 16, 0) * CFrame.Angles(0, 0, 0)
- }, 0.08, false)
- LH.C1 = clerp(LH.C1, CFrame.new(0, 0, 0), 0.08)
- RH.C1 = clerp(RH.C1, CFrame.new(0, 0, 0), 0.08)
- RW.C1 = clerp(RW.C1, CFrame.new(0, 0, 0), 0.08)
- LW.C1 = clerp(LW.C1, CFrame.new(0, 0, 0), 0.08)
- end
- elseif Torsovelocity > 2 and hit ~= nil then
- Anim = "Walk"
- if attack == false then
- change = 0.5
- RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0 + 0.12 * math.cos(sine / 2), 0) * CFrame.Angles(math.rad(-4 + 2 * math.cos(sine / 2)), math.rad(0 + 10 * math.cos(sine / 4) / 2.3) + RootPart.RotVelocity.Y / 30, math.rad(0) + RootPart.RotVelocity.Y / 30), 0.4)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.05 * math.cos(sine / 2), math.sin(sine / 4) / 4) * CFrame.Angles(-math.sin(sine / 4) / 2.8, -math.sin(sine / 4) / 3, math.rad(10 + 7 * math.cos(sine / 2)) + RootPart.RotVelocity.Y / 30), 0.4)
- RW.C1 = clerp(RW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.7)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.05 * math.cos(sine / 2), -math.sin(sine / 4) / 4) * CFrame.Angles(math.sin(sine / 4) / 2.8, -math.sin(sine / 4) / 3, math.rad(-10 - 7 * math.cos(sine / 2)) + RootPart.RotVelocity.Y / 30), 0.4)
- LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.7)
- RH.C0 = RH.C0:lerp(CFrame.new(0.5, -1 + math.cos(sine / 4) * 0.3, 0 - math.sin(sine / 4) * 0.1) * CFrame.Angles(math.sin(sine / 4) * 3 * -AngleThetaR.Z, AngleThetaR.X, math.sin(sine / 4) * 3 * AngleThetaR.X - RootPart.RotVelocity.Y / 20), 0.8)
- RH.C1 = RH.C1:lerp(CFrame.new(0, 1, 0), 0.8)
- LH.C0 = LH.C0:lerp(CFrame.new(-0.5, -1 - math.cos(sine / 4) * 0.3, 0 + math.sin(sine / 4) * 0.1) * CFrame.Angles(math.sin(sine / 4) * 3 * AngleThetaL.Z, AngleThetaL.X, math.sin(sine / 4) * 3 * -AngleThetaL.X - RootPart.RotVelocity.Y / 20), 0.8)
- LH.C1 = LH.C1:lerp(CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
- end
- end
- if 0 < #Effects 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]
- local IncZ = Thing[6]
- if Thing[2] == "Shoot" then
- local Look = Thing[1]
- local move = 30
- if Thing[8] == 3 then
- move = 10
- end
- local hit, pos = rayCast(Thing[4], Thing[1], move, m)
- if Thing[10] ~= nil then
- da = pos
- cf2 = CFrame.new(Thing[4], Thing[10].Position)
- cfa = CFrame.new(Thing[4], pos)
- tehCF = cfa:lerp(cf2, 0.2)
- Thing[1] = tehCF.lookVector
- end
- local mag = (Thing[4] - pos).magnitude
- Effects.Head.Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 1, mag * 5, 1, 0.5, 0, 0.5, 0.2)
- if Thing[8] == 2 then
- Effects.Ring.Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 0), 1, 1, 0.1, 0.5, 0.5, 0.1, 0.1, 1)
- end
- Thing[4] = Thing[4] + Look * move
- Thing[3] = Thing[3] - 1
- if 2 < Thing[5] then
- Thing[5] = Thing[5] - 0.3
- Thing[6] = Thing[6] - 0.3
- end
- if hit ~= nil then
- Thing[3] = 0
- if Thing[8] == 1 or Thing[8] == 3 then
- Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
- elseif Thing[8] == 2 then
- Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
- if hit.Parent:findFirstChild("Humanoid") ~= nil or hit.Parent.Parent:findFirstChild("Humanoid") ~= nil then
- ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
- ref.Anchored = true
- ref.CFrame = CFrame.new(pos)
- CFuncs.Sound.Create("161006093", ref, 1, 1.2)
- game:GetService("Debris"):AddItem(ref, 0.2)
- Effects.Block.Create(Torso.BrickColor, CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 10, 10, 10, 0.1, 2)
- Effects.Ring.Create(BrickColor.new("Bright yellow"), CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 0.1, 4, 4, 0.1, 0.1)
- MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1)
- end
- end
- ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
- ref.Anchored = true
- ref.CFrame = CFrame.new(pos)
- Effects.Sphere.Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07)
- game:GetService("Debris"):AddItem(ref, 1)
- end
- if Thing[3] <= 0 then
- table.remove(Effects, e)
- end
- end
- if Thing[2] == "FireWave" then
- if Thing[3] <= Thing[4] then
- Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
- Thing[3] = Thing[3] + 1
- Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
- else
- Part.Parent = nil
- table.remove(Effects, e)
- end
- end
- if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
- 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))
- Mesh = Thing[7]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Block2" then
- Thing[1].CFrame = Thing[1].CFrame
- Mesh = Thing[7]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Fire" then
- Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
- Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Cylinder" then
- Mesh = Thing[7]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Blood" then
- Mesh = Thing[7]
- Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Elec" then
- Mesh = Thing[10]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- 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
Add Comment
Please, Sign In to add comment