Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[Script Made By Pxire]]--
- --[[Dont Remove Credits You Faggot.]]--
- --[[I Swear, if anyone else gets this except from elementman124]]--
- --[[I wanna see dark eccentric get his hands on this.c:]]--
- --[[Update Log: Current Date: 07/07/2017 13:30 UK Time.]]--
- --[[Added 2 More Click Attacks Upper Cut And Punch (Cant Seem Too Add Damage :C)]]--
- --[[Please Dont Look At The Coding Unless You Know What You're Doing]]--
- --[[My Coding/Scripting Is Messy Although I Used A Template I Added A Few More Things]]--
- --[[I Know You're Gonna Remove My Credits Lol]]--
- warn'made by pxire aaa'
- wait(0.1)
- wait(1 / 60)
- Effects = { }
- ree = Instance.new("Sound", game.Players.AgentVK.Character)
- ree.Volume = 3
- ree.SoundId = "rbxassetid://587088667" -- dont even fucking ask element
- ree.Looped = true -- this song just popped up and i picked it
- ree:Play()
- local Player = game.Players.localPlayer
- local Character = Player.Character
- 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 m = Create("Model"){
- Parent = Character,
- Name = "WeaponModel",
- }
- Humanoid.Animator.Parent = nil
- Character.Animate.Parent = nil
- local newMotor = function(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(.5, -2, 0), CFrame.new(0, 0, 0))
- local LH = newMotor(Torso, LeftLeg, CFrame.new(-.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 then
- if 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
- end
- ArtificialHB = Create("BindableEvent", script){
- Parent = script,
- Name = "Heartbeat",
- }
- script:WaitForChild("Heartbeat")
- frame = 1 / 30
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.Heartbeat:Fire()
- warn'Loading...'
- wait(0.50)
- 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 = 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
- FindNearestTorso = function(pos)
- local list = (game.Workspace:children())
- local torso = nil
- local dist = 1000
- local temp, human, temp2 = nil, nil, nil
- 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 (temp.Position - pos).magnitude < dist then
- local dohit = true
- if dohit == true then
- torso = temp
- dist = (temp.Position - pos).magnitude
- end
- end
- end
- end
- return torso, dist
- end
- 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 then
- if hit.Parent.DebounceHit.Value == true then
- return
- end
- 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, BrickColor.new("Really black").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, BrickColor.new("Really black").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 = "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 partt(parent, anchored, cancollide, size, cframe, col3, material, trans)
- local p = Instance.new("Part", parent)
- p.Anchored = anchored
- p.CanCollide = cancollide
- p.Size = size
- p.CFrame = cframe
- p.Color = col3
- p.Material = material
- p.Transparency = trans
- return p
- end
- function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
- 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 mag <= Magnitude and c.Name ~= Player.Name then
- Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
- end
- end
- end
- end
- end
- --thingy--
- local plr=game.Players.LocalPlayer;ch=plr.Character;
- local p = game.Players.LocalPlayer
- local mouse = p:GetMouse()
- local char = p.Character
- local Head = char.Head
- local tor=ch.Torso;local head=ch.Head;local ra=ch['Right Arm'];local la=ch['Left Arm'];local rl=ch['Right Leg'];local ll=ch['Left Leg'];
- local souls=0
- local soulPower=0
- local soulGui=Instance.new("BillboardGui",head)
- soulGui.Adornee=head
- soulGui.AlwaysOnTop=true
- soulGui.Size=UDim2.new(10,0,10,0)
- soulGui.ExtentsOffset=Vector3.new(0,1.5,0)
- local soulimg=Instance.new("ImageLabel",soulGui)
- soulimg.BackgroundTransparency=1
- soulimg.Position=UDim2.new(0.1,0,0,0)
- soulimg.Size=UDim2.new(0.8,0,0.8,0)
- local soulText=Instance.new("TextLabel",soulimg)
- soulText.BackgroundTransparency=1
- soulText.Position=UDim2.new(0,0,0.5,0)
- soulText.Size=UDim2.new(1,0,0.1,0)
- soulText.Font="SciFi"
- soulText.FontSize="Size14"
- soulText.Text="Eka"
- soulText.TextColor3=Color3.new(255,255,255)
- soulText.TextScaled=true
- soulText.TextStrokeColor3=Color3.new(255,255,255)
- soulText.TextStrokeTransparency=0
- soulText.TextWrapped=true
- local soulGui=Instance.new("BillboardGui",head)
- soulGui.Adornee=head
- soulGui.AlwaysOnTop=true
- soulGui.Size=UDim2.new(10,0,10,0)
- soulGui.ExtentsOffset=Vector3.new(0,1.5,0)
- local soulimg=Instance.new("ImageLabel",soulGui)
- soulimg.BackgroundTransparency=1
- soulimg.Position=UDim2.new(0.1,0,0,0)
- soulimg.Size=UDim2.new(0.8,0,0.8,0)
- local soulText=Instance.new("TextLabel",soulimg)
- soulText.BackgroundTransparency=1
- soulText.Position=UDim2.new(0,0,0.5,0)
- soulText.Size=UDim2.new(1,0,0.1,0)
- soulText.Font="SciFi"
- soulText.FontSize="Size14"
- soulText.Text=" nzi"
- soulText.TextColor3=Color3.new(0,0,0)
- soulText.TextScaled=true
- soulText.TextStrokeColor3=Color3.new(0,0,0)
- soulText.TextStrokeTransparency=0
- soulText.TextWrapped=true
- --thingyend--
- warn'Loaded Name...'
- wait(0.15)
- 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
- do
- do
- 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
- end
- end
- };
- EffectTemplate = {
- };
- }
- New = function(Object, Parent, Name, Data)
- local Object = Instance.new(Object)
- for Index, Value in pairs(Data or {}) do
- Object[Index] = Value
- end
- Object.Parent = Parent
- Object.Name = Name
- return Object
- end
- C11 = New("Part",LeftArm,"C1",{CanCollide = false,BrickColor = BrickColor.new("Pastel light blue"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.300000012, 0.800000012, 2),CFrame = CFrame.new(9.60000038, -1.60000706, 11.3599987, -1.43024124e-07, 1.0000093, -5.42291332e-07, -1.51331847e-07, -3.99267464e-07, -1.00000703, -1.00000548, -1.43023485e-07, 2.23470124e-07),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.686275, 0.866667, -1),})
- Mesh11 = New("SpecialMesh",C11,"Mesh",{MeshId = "http://www.roblox.com/asset/?id=1020197814",TextureId = "http://www.roblox.com/asset/?id=10681501",MeshType = Enum.MeshType.FileMesh,})
- moter11 = New("Weld",C11,"mot",{Part0 = LeftArm,Part1 = C11,})--C0 = CFrame.new(0, 0, 0, -5.21534275e-07, 6.73523664e-06, 1, -1, -8.34451669e-07, -5.2153905e-07, -8.34455193e-07, -1, -6.73523618e-06),C1 = CFrame.new(1.1920929e-07, -1.70000935, -0.440010071, 1.00000238, -4.33996348e-07, 1.93715437e-07, 4.1536984e-07, 1.00000048, 6.82473183e-06, 3.53902919e-07, -6.88433647e-06, 1.00000775),})
- C22 = New("Part",RightArm,"C2",{CanCollide = false,BrickColor = BrickColor.new("Pastel light blue"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.300000012, 0.800000012, 2),CFrame = CFrame.new(9.60000038, -1.60000706, 11.3599987, -1.43024124e-07, 1.0000093, -5.42291332e-07, -1.51331847e-07, -3.99267464e-07, -1.00000703, -1.00000548, -1.43023485e-07, 2.23470124e-07),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.686275, 0.866667, -1),})
- Mesh22 = New("SpecialMesh",C22,"Mesh",{MeshId = "http://www.roblox.com/asset/?id=1020197814",TextureId = "http://www.roblox.com/asset/?id=10681501",MeshType = Enum.MeshType.FileMesh,})
- moter22 = New("Weld",C22,"mot",{Part0 = RightArm,Part1 = C22,})--C0 = CFrame.new(0, 0, 0, -5.21534275e-07, 6.73523664e-06, 1, -1, -8.34451669e-07, -5.2153905e-07, -8.34455193e-07, -1, -6.73523618e-06),C1 = CFrame.new(1.1920929e-07, -1.70000935, -0.440010071, 1.00000238, -4.33996348e-07, 1.93715437e-07, 4.1536984e-07, 1.00000048, 6.82473183e-06, 3.53902919e-07, -6.88433647e-06, 1.00000775),})
- Hair = New("Part",Head,"Hair",{CanCollide = false,BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.99999928, 1.79999995, 2.00000024),CFrame = CFrame.new(-0.107289195, 1.59000361, 0.123101406, 1, -7.87137555e-09, 0, 7.87137555e-09, 1, 4.14441839e-16, 0, -4.14441839e-16, 1),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
- Mesh = New("SpecialMesh",Hair,"Mesh",{MeshId = "http://www.roblox.com/asset/?id=76056263",TextureId = "http://www.roblox.com/asset/?id=10681501",MeshType = Enum.MeshType.FileMesh,})
- mot = New("Weld",Hair,"mot",{Part0 = Hair,Part1 = Head,C0 = CFrame.new(0, 0, 0, 1, 7.87137555e-09, -1.40367928e-22, -7.87137555e-09, 1, -4.14441839e-16, 1.37105691e-22, 4.14441839e-16, 1),C1 = CFrame.new(-0.107289195, 0.100000024, 0.123101406, 1, 3.34760534e-22, 2.85593913e-08, -3.34760534e-22, 1, 3.61317985e-22, -2.85593913e-08, -3.61317985e-22, 1),})
- Hai = New("Part",Head,"Hai",{BrickColor = BrickColor.new("Institutional white"),FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(34.0999985, 2.82998228, 4.67002439, 1, -2.36356074e-14, 5.68434189e-13, -1.52967916e-14, 1, -6.85453415e-07, -3.41060513e-13, 6.85453415e-07, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
- Mesh = New("SpecialMesh",Hai,"Mesh",{MeshId = "http://www.roblox.com/asset/?id=0",MeshType = Enum.MeshType.FileMesh,})
- mot = New("Motor",Hai,"mot",{Part0 = Hai,Part1 = Head,C0 = CFrame.new(0, 0, 0, 1, 0, -4.69846384e-13, 0, 1, 6.85453415e-07, 4.69846384e-13, -6.85453415e-07, 1),C1 = CFrame.new(0, -0.670003653, 0.100008488, 1, -4.89879199e-07, 1.83657846e-06, 4.89866977e-07, 1, 6.64606296e-06, -1.83658165e-06, -6.64606205e-06, 1),})
- stick = New("Model",Torso,"stick",{})
- kiss = New("Part",m,"kiss",{CanCollide = false,BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Neon,Transparency = 1,Transparency = 1,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-14.128828, 1.30003333, -44.8742905, 0.999999881, 0.000382690108, -1.93715096e-07, -0.000382690225, 1, 3.49245965e-09, 1.78813934e-07, -3.49245965e-09, 1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
- mot = New("Motor",kiss,"mot",{Part0 = kiss,Part1 = Head,C0 = CFrame.new(0, 0, 0, 0.999999881, -0.000382690225, 1.78813934e-07, 0.000382690108, 1, -3.49245965e-09, -1.93715096e-07, 3.49245965e-09, 1),C1 = CFrame.new(-3.9100647e-05, -0.199961901, -0.5, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
- local p = game.Players.AgentVK
- local char = p.Character
- local hed = char.Head
- hed.face.Texture = "rbxassetid://904714893"
- local EyePart = partt(Character, false, false, Vector3.new(0.15, 0.3, 0.5), Torso.CFrame, Color3.new(0, 0, 0), "Neon", 0)
- EyePart.Name = "EyePart"
- EyePart.Shape = "Ball"
- local EyeWeld = Instance.new("Weld", Character)
- EyeWeld.Part0 = EyePart
- EyeWeld.Part1 = Head
- EyeWeld.C0 = EyeWeld.C0 * CFrame.new(0.2, -0.25, 0.578)
- local EyeSizes = {
- NumberSequenceKeypoint.new(0, 0.4, 0),
- NumberSequenceKeypoint.new(1, 0, 0)
- }
- local EyeTrans = {
- NumberSequenceKeypoint.new(0, 0, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- }
- local PE = Instance.new("ParticleEmitter", EyePart)
- PE.LightEmission = 1
- PE.LockedToPart = true
- PE.Size = NumberSequence.new(EyeSizes)
- PE.Transparency = NumberSequence.new(EyeTrans)
- PE.Acceleration = Vector3.new(2, 0, 0)
- PE.Lifetime = NumberRange.new(2, 2, 2)
- PE.Rate = 70
- PE.Speed = NumberRange.new(4, 4, 4)
- PE.Texture = "rbxassetid://642160265"
- local EyePart2 = partt(Character, false, false, Vector3.new(0.1, 0.55, 0.1), Torso.CFrame, Color3.new(255, 255, 255), "Neon", 0)
- EyePart2.Name = "EyePart2"
- EyePart2.Shape = "Ball"
- local EyeWeld2 = Instance.new("Weld", Character)
- EyeWeld2.Part0 = EyePart2
- EyeWeld2.Part1 = Head
- EyeWeld2.C0 = EyeWeld2.C0 * CFrame.new(0.2, -0.25, 0.578)
- local Models = New("Model",Character,"Model",{})
- local eyesz = New("Part",Models,"eye",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-56.0288696, 1.56154633, -44.8319473, -1.00000036, 3.95500101e-005, -5.96046945e-008, -3.95501265e-005, -1.00000024, -4.44026066e-011, 2.98024041e-008, -3.24078958e-012, 1),CanCollide = false,Color = Color3.new(1, 0, 0),})
- Meshs = New("SpecialMesh",eyesz,"Mesh",{MeshType = Enum.MeshType.Sphere,})
- mots = New("Motor",eyesz,"mot",{Part0 = eyesz,Part1 = Head,C0 = CFrame.new(0, 0, 0, -1.00000036, -3.95501265e-005, 2.98024041e-008, 3.95500101e-005, -1.00000024, -3.24078958e-012, -5.96046945e-008, -4.44026066e-011, 1),C1 = CFrame.new(0.0999984741, 0.230003357, -0.54234314, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
- local eye = New("Part",Models,"eye",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-56.0288696, 1.56154633, -44.791954, 0, 3.89999987e-005, 1, 0, -1, 3.89999987e-005, 1, -0, 0),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
- Mesh = New("SpecialMesh",eye,"Mesh",{Scale = Vector3.new(0.200000003, 1, 1),MeshType = Enum.MeshType.Cylinder,})
- mot = New("Motor",eye,"mot",{Part0 = eye,Part1 = Head,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 3.89999987e-005, -1, 0, 1, 3.89999987e-005, 0),C1 = CFrame.new(0.0999984741, 0.230003357, -0.582336426, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
- local eye = New("Part",Models,"eye",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-56.1781769, 1.47783697, -44.791954, 0, 0.383733064, 0.923444092, 0, -0.923444092, 0.383733094, 1, -0, 0),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
- Mesh = New("SpecialMesh",eye,"Mesh",{Scale = Vector3.new(0.200000003, 0.200000003, 1),MeshType = Enum.MeshType.Wedge,})
- mot = New("Motor",eye,"mot",{Part0 = eye,Part1 = Head,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0.383733064, -0.923444092, 0, 0.923444092, 0.383733094, 0),C1 = CFrame.new(0.249305725, 0.146293998, -0.582336426, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
- local eye = New("Part",Models,"eye",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-56.1935196, 1.51477695, -44.791954, 0, -0.383726001, 0.923447013, 0, 0.923447013, 0.383726001, -1, 0, 0),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
- Mesh = New("SpecialMesh",eye,"Mesh",{Scale = Vector3.new(0.200000003, 0.200000003, 1),MeshType = Enum.MeshType.Wedge,})
- mot = New("Motor",eye,"mot",{Part0 = eye,Part1 = Head,C0 = CFrame.new(0, 0, 0, 0, 0, -1, -0.383726001, 0.923447013, 0, 0.923447013, 0.383726001, 0),C1 = CFrame.new(0.264648438, 0.183233976, -0.582336426, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
- local eye = New("Part",Models,"eye",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-55.8642044, 1.60829198, -44.791954, 0, 0.383726001, -0.923447013, 0, -0.923447013, -0.383726001, -1, -0, 0),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
- Mesh = New("SpecialMesh",eye,"Mesh",{Scale = Vector3.new(0.200000003, 0.200000003, 1),MeshType = Enum.MeshType.Wedge,})
- mot = New("Motor",eye,"mot",{Part0 = eye,Part1 = Head,C0 = CFrame.new(0, 0, 0, 0, 0, -1, 0.383726001, -0.923447013, 0, -0.923447013, -0.383726001, 0),C1 = CFrame.new(-0.064666748, 0.276749015, -0.582336426, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
- local eye = New("Part",Models,"eye",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-55.8795433, 1.64523494, -44.791954, 0, -0.383733064, -0.923444092, 0, 0.923444092, -0.383733094, 1, 0, 0),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
- Mesh = New("SpecialMesh",eye,"Mesh",{Scale = Vector3.new(0.200000003, 0.200000003, 1),MeshType = Enum.MeshType.Wedge,})
- mot = New("Motor",eye,"mot",{Part0 = eye,Part1 = Head,C0 = CFrame.new(0, 0, 0, 0, 0, 1, -0.383733064, 0.923444092, 0, -0.923444092, -0.383733094, 0),C1 = CFrame.new(-0.0493278503, 0.313691974, -0.582336426, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
- local eye1 = New("Part",Models,"eye1",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-56.0288696, 1.56154633, -44.8119507, -1.00000036, 3.95500101e-005, -5.96046945e-008, -3.95501265e-005, -1.00000024, -4.44026066e-011, 2.98024041e-008, -3.24078958e-012, 1),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
- Mesh = New("SpecialMesh",eye1,"Mesh",{Scale = Vector3.new(0.3, 0.8, 0.9),MeshType = Enum.MeshType.Sphere,})
- mot = New("Motor",eye1,"mot",{Part0 = eye1,Part1 = Head,C0 = CFrame.new(0, 0, 0, -1.00000036, -3.95501265e-005, 2.98024041e-008, 3.95500101e-005, -1.00000024, -3.24078958e-012, -5.96046945e-008, -4.44026066e-011, 1),C1 = CFrame.new(0.0999984741, 0.230003357, -0.562339783, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
- for _,v in pairs(stick:children()) do
- if v:IsA("Part") then
- v.CanCollide = false
- v.Transparency = 1
- end
- for _,v in pairs(Knot:children()) do
- if v:IsA("Part") then
- v.CanCollide = false
- v.Transparency = 1
- end
- for _,v in pairs(Milk:children()) do
- if v:IsA("Part") then
- v.CanCollide = false
- v.Transparency = 1
- end
- for _,v in pairs(Biggi:children()) do
- if v:IsA("Part") then
- v.CanCollide = false
- v.Transparency = 1
- end
- end
- end
- end
- end
- for _,v in pairs(Character:children()) do
- if v:IsA("Shirt") then
- v.ShirtTemplate = "rbxassetid://714014435"
- elseif v:IsA("Pants") then
- v.PantsTemplate = "rbxassetid://785139576"
- elseif v:IsA("ShirtGraphic") then
- v:Remove()
- wait(.1)
- Torso.roblox:Remove()
- elseif v:IsA("Accessory") then
- v:Remove()
- end
- end
- Model = New("Model",Character,"Model",{})
- W3d = New("Part",Model,"W3d",{BrickColor = BrickColor.new("Pastel brown"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-45.8999138, 3.90000486, -17.719944, -1, 0, 0, 0, 1, 0, 0, 0, -1),LeftSurface = Enum.SurfaceType.Weld,RightSurface = Enum.SurfaceType.Weld,Color = Color3.new(1, 0.8, 0.6),})
- motr=Instance.new("Weld", W3d)
- attackone = function()
- rest = 0
- attack = true
- local con = RightLeg.Touched:connect(function(hit)
- Damage(RightLeg, hit, 15, 25, math.random(1, 5), "Normal", RootPart, .2, "rbxassetid://199149186", 1)
- end)
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 1.55453968, -0.0703605115, 1, 0, 0, 0, 0.98677212, 0.162114009, 0, -0.162114009, 0.98677212) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.5512929, 0.0850069597, 0, 0.99147135, -0.130325049, 0, 0.130325049, 0.99147135, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.56969881, 0.0500169247, 0, 0.992582738, 0.121570967, 0, -0.121570967, 0.992582738, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.5, -1.82836175, 0.389226913, 1, 0, 0, 0, 0.914989769, 0.403476924, 0, -0.403476924, 0.914989769) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.565449357, -1.99361193, 0, 0.995276093, 0.097085014, 0, -0.097085014, 0.995276093, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- motr.C0 = clerp(motr.C0, CFrame.new(-0.377030611, 2.23529887, 3.38560438, 0.999624133, 0.0181941353, -0.0205119029, -0.017229002, 0.998779655, 0.0462857895, 0.0213290025, -0.0459149815, 0.998717666) * CFrame.new(0- 0.5 * math.cos((sine) / 60),0 + 0.5 * math.cos((sine) / 30), 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- Torso.Velocity = RootPart.CFrame.lookVector * 60
- --Torso.Velocity = Vector3.new(0, 40, 0)
- CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=199145095", RightLeg, 1, 0.8)
- CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=159882477", RootPart, 2.2, 1)
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, -0.00213143881, 0.049953457, 1, 0, -0, 0, 0.995428622, -0.0955089629, 0, 0.0955089629, 0.995428622) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 1.55725658, -0.0331232771, 1, 0, -0, 0, 0.99733007, 0.0730267763, -0, -0.0730267763, 0.99733007) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.53314447, 0.223051548, 0.306677878, 0.991471469, -0.11866843, -0.0538730845, 0.130324632, 0.902787685, 0.409865797, -2.17370689e-006, -0.413391173, 0.910553634) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.5310266, 0.365730882, 0.489296556, 0.992583096, 0.101924911, 0.0662593469, -0.121568866, 0.832199454, 0.540985525, -1.09057873e-006, -0.54502815, 0.838417828) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.559038937, -1.54237294, -0.907594442, 0.998593748, -0.0530143008, 4.13909582e-008, 0.0187391378, 0.352975488, -0.935444951, 0.0495919436, 0.934129536, 0.353472531) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.565448523, -1.99360824, -2.19610229e-007, 0.995276213, 0.0970847905, -2.8573902e-007, -0.0970847979, 0.995276213, 1.88499689e-006, 4.67523932e-007, -1.84774399e-006, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- motr.C0 = clerp(motr.C0, CFrame.new(-0.377030611, 2.23529887, 3.38560438, 0.999624133, 0.0181941353, -0.0205119029, -0.017229002, 0.998779655, 0.0462857895, 0.0213290025, -0.0459149815, 0.998717666) * CFrame.new(0- 0.5 * math.cos((sine) / 60),0 + 0.5 * math.cos((sine) / 30), 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- attack = false
- con:Disconnect()
- end
- function attacktwo()
- attack = true
- local con = C22.Touched:connect(function(hit) Damage(C22, hit, 10, 30, math.random(1, 3), "Normal", RootPart, 0.2, "rbxassetid://199149186", 1) end)
- for i = 0, .7, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0.0606015213, -8.59571264e-06, 0.047188092, 0.692369759, -4.71251354e-07, -0.721542954, 5.16467117e-06, 1, 4.30273849e-06, 0.721542954, -6.70561758e-06, 0.692369759) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(3.46451998e-06, 1.49999845, 1.31353736e-05, 0.716132462, 0.033826679, 0.697144389, 5.75320813e-09, 0.998825073, -0.048464749, -0.697964728, 0.0347071849, 0.715290844) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.9813143, 0.945750177, -0.489478946, 0.407302022, -0.814350605, -0.413446903, -0.911511719, -0.334203005, -0.239697412, 0.0570225567, 0.474490941, -0.878411531) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.60450649, 0.121351957, 0.0540003777, 0.97513783, 0.221227318, 0.0128459036, -0.221227109, 0.968498468, 0.114320949, 0.0128496885, -0.114320531, 0.993360817) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.499993294, -1.99998808, -1.41225646e-05, 0.995873392, -0.0907549858, 2.05636024e-06, 0.0907549933, 0.995873272, -1.77829349e-06, -1.87754631e-06, 1.9595027e-06, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.579068184, -1.9913553, -1.26227069e-05, 0.994092047, 0.108541012, -7.30156898e-06, -0.108540997, 0.994092047, 5.65620041e-07, 7.27176666e-06, 2.30967999e-07, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- end
- CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=338586299", Character, 1, 1.2)
- for i = 0, .7, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0.0330471657, -0.237029687, -0.0910832584, 0.859100997, -0.342716694, 0.380133271, 0.261056364, 0.932259798, 0.250510514, -0.440234423, -0.115976483, 0.890367031) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.154894546, 1.53070056, 0.0517572761, 0.849730134, 0.316177666, -0.421889484, -0.244260654, 0.945248127, 0.216432795, 0.467221558, -0.0808584243, 0.880435169) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.440804392, 0.418828189, -0.673669577, 0.371680558, 0.885258377, -0.279591084, -0.895259976, 0.421490341, 0.144414783, 0.245689303, 0.196630582, 0.9491961) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.44148815, 0.308930486, 0.459791839, 0.726797223, 0.397434771, 0.560188711, -0.473253071, 0.880858779, -0.0109336004, -0.497792542, -0.257164478, 0.828292966) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.359283566, -1.97145414, 0.220806152, 0.992013574, 0.123949811, 0.0233626962, -0.126132488, 0.974834919, 0.183814943, 8.97049904e-06, -0.185293719, 0.98268342) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.973547101, -1.79018593, -0.317437261, 0.890470803, 0.424213171, -0.164635375, -0.455039889, 0.830158472, -0.322143197, 1.58846378e-05, 0.361774832, 0.932265878) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- end
- attack = false
- con:Disconnect()
- end
- function attackthree()
- attack = true
- for i = 0, .7, 0.1 do
- CFuncs.Sound.Create("200632211", RightArm, 1, 0.9)
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 0, -0, 0.806190252, -0.187311426, -0.561223507, 6.62613184e-06, 0.94856596, -0.31657964, 0.591656446, 0.255219638, 0.764725924) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.0407527871, 1.50693643, -0.222932622, 0.978482485, 0.186281174, 0.0887908041, -0.19066751, 0.980685592, 0.0437201113, -0.0789308846, -0.0597088039, 0.99509275) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.78002524, 1.11400044, -0.457782924, 0.707048655, -0.498457879, 0.501619399, 0.350302994, -0.369315952, -0.860751748, 0.614304423, 0.784312248, -0.0865130872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.43853712, 0.0750626996, 0.22486937, 0.572081506, 0.244721666, 0.782837331, -0.443345338, 0.895264447, 0.044120267, -0.690049291, -0.372307688, 0.620660365) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.627915263, -1.89379621, 0.643143058, 0.951368988, 6.62613184e-06, 0.308059663, -0.0975313932, 0.94856596, 0.301182032, -0.292212963, -0.31657964, 0.902436912) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.840924203, -1.99235249, 0.347892702, 0.806190252, 0.150273055, 0.572257936, -0.187311426, 0.982287288, 0.00593562424, -0.561223507, -0.111978531, 0.820060134) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .35, false)
- end
- for i = 0, 2, 0.3 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0, 0, 0, 0.881656945, 0.0199221503, 0.471480906, -0.158535972, 0.953550041, 0.256167442, -0.444475293, -0.300592929, 0.843853176) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.148410931, 1.53110158, 0.0643833578, 0.965264976, -0.0912804902, -0.244808733, 0.088367641, 0.995825887, -0.0228805244, 0.245875075, 0.000453487039, 0.969302654) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.10165071, 0.648932338, -1.12831473, 0.573108494, 0.369820178, 0.731284738, 0.612841427, 0.399010122, -0.682069421, -0.544033527, 0.839061975, 0.00203369558) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.79198205, 0.0215666089, -0.21331051, 0.916679978, 0.372236937, -0.145427167, -0.394452631, 0.901182175, -0.179693967, 0.0641659647, 0.222088978, 0.972915471) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.753449559, -1.90016341, -0.268158644, 0.69710958, -0.0750149488, -0.713035822, -0.0756366402, 0.981274784, -0.177183479, 0.712969542, 0.177447319, 0.678380549) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.559347212, -2.21165109, 0.0788616836, 0.881656945, -0.0484239236, -0.469411433, 0.0199221503, 0.997659326, -0.0654963702, 0.471480906, 0.0483982414, 0.88054961) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .35, false)
- end
- attack = false
- end
- function attackfour()
- attack = true
- local num = 0
- for i = 0, 1, 85 do
- swait()
- num = num + 1
- PlayAnimationFromTable({
- CFrame.new(0.120528281, -0.3674438, 0.575273573, 0.422617197, -2.01519555e-07, -0.906308293, 0.157379076, 0.984807789, 0.073386617, 0.892539442, -0.173648417, 0.416196704) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.06530706e-06, 1.49999368, -5.04337095e-07, 0.4226197, 1.86264515e-06, 0.906308174, -6.03729347e-07, 1.00000119, -1.59442425e-06, -0.906307101, 2.01165676e-07, 0.422620177) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.70849216, 0.0731495917, -0.938899159, 0.478839219, 0.797380328, -0.367284328, -0.877902687, 0.435119689, -0.199895144, 0.000420168042, 0.418157458, 0.908374488) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.853200793, 0.697818339, -0.894996405, 0.703306079, -0.697911978, -0.13520211, -0.467338622, -0.310601294, -0.827720761, 0.535682321, 0.645326018, -0.544608891) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.598105133, -1.97398674, 0.098479867, 0.996195614, -0.08583197, -0.0151341856, 0.087156117, 0.981061995, 0.172987998, 3.27825546e-07, -0.17364879, 0.98480767) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.849928856, -1.54139125, -0.303964674, 0.902859867, 0.0127288699, 0.429747015, -0.0789928585, 0.987457275, 0.136708945, -0.422616571, -0.157375962, 0.892540693) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .35, false)
- end
- for i = 0, 1, 0.12 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0.0335930884, -0.099999629, -0.734836936, 0.342019916, 0, 0.939692736, 0, 1, 0, -0.939692736, 0, 0.342019886) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(4.24683094e-07, 1.49999082, -1.97440386e-07, 0.422614068, -0.0789903402, -0.902862251, -1.90776173e-10, 0.996194601, -0.0871560499, 0.906309783, 0.0368333533, 0.421006471) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.58847451, 1.23953068, -0.394803643, 0.885564029, -0.225449562, -0.406139076, -0.337463975, -0.913065434, -0.228975236, -0.319209129, 0.339829504, -0.884658992) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.64521885, 0.227790251, 0.109685451, 0.768370748, 0.581050038, -0.268304378, -0.639738023, 0.709406912, -0.29576534, 0.0184825659, 0.398902029, 0.916807294) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.70667249, -1.99128199, 0.134036034, 0.763120532, -0.0104867909, -0.646171272, 0.0871564746, 0.992403924, 0.0868248492, 0.640352428, -0.122575805, 0.758237541) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.831737041, -1.97395122, 0.143622071, 0.862182379, 0.121113144, -0.49190858, -0.0943915099, 0.992403567, 0.0788979307, 0.497726619, -0.0215925369, 0.867070317) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .4, false)
- end
- attack = false
- end
- attackfive = function()
- attack = true
- local ref = New("Part",Model,"ref",{Transparency = 1,CanCollide = false, BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-50.8233452, -2.94440603, -41.9271126, -1, -0, 0, 0, -0.0611380227, 0.998129368, 0, 0.998129368, 0.0611380227),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
- local mot = New("Motor",ref,"mot",{Part0 = ref,Part1 = RootPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -0.0611380227, 0.998129368, 0, 0.998129368, 0.0611380227),C1 = CFrame.new(0.16015625, -2.91722918, -7.77282715, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
- CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=199145497", RootPart, 1, 1)
- CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=159882584", RootPart, 1, 1)
- Humanoid.Jump = true
- Torso.Velocity = Vector3.new(0, 90, 0)
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 1.46795857, 0.132517934, 1, 0, -0, 0, 0.972055614, -0.234750897, 0, 0.234750912, 0.972055614) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.69050443, 0.337467134, 0.508190036, 0.790086865, -0.513706088, -0.334467947, 0.612994909, 0.662113965, 0.431094438, 0, -0.545629144, 0.838026762) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.84881663, 0.417017847, 0.309735924, 0.76242888, 0.62015909, 0.184675008, -0.647071958, 0.730718195, 0.217597991, -0, -0.285401046, 0.958408237) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.586394787, -1.3048085, -0.2875247, 0.991395891, -0.130897745, 1.22869665e-006, 0.120959982, 0.916132748, 0.382190466, -0.050028991, -0.378901899, 0.92408365) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.5, -1.91453815, 0.275938064, 1, 0, 0, 0, 0.955236971, 0.295841992, 0, -0.295841992, 0.955236971) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- motr.C0 = clerp(motr.C0, CFrame.new(-0.377030611, 2.23529887, 3.38560438, 0.999624133, 0.0181941353, -0.0205119029, -0.017229002, 0.998779655, 0.0462857895, 0.0213290025, -0.0459149815, 0.998717666) * CFrame.new(0- 0.5 * math.cos((sine) / 60),0 + 0.5 * math.cos((sine) / 30), 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- for i = 0, 1.5, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 0.0446925536, -0.113902621, 1, 0, 0, 0, 0.959784448, 0.280738115, 0, -0.280738115, 0.959784448) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 1.4780724, -0.108031765, 1, 0, 0, 0, 0.980096817, 0.198520318, 0, -0.198520318, 0.980096817) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.52336431, 1.37410688, 0.429173201, 0.961683333, -0.177957356, 0.208558023, -0.239297733, -0.916084111, 0.321755826, 0.133797854, -0.359334648, -0.923567533) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.52519119, 1.33760417, 0.33274734, 0.972769022, 0.161078379, -0.166655868, 0.199760884, -0.947310805, 0.250395894, -0.117541522, -0.276868761, -0.953691661) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.497251898, -1.93572879, 0.243175536, 0.999088347, -0.0412701331, -0.0109227467, 0.0426911041, 0.965871334, 0.25548023, 6.2668696e-006, -0.255713612, 0.966752648) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.613620698, -1.90004504, 0.308153152, 0.99603647, 0.0889458209, 5.18413913e-007, -0.0854247287, 0.956604838, 0.278585613, 0.0247785319, -0.277481496, 0.960411429) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- motr.C0 = clerp(motr.C0, CFrame.new(0.16015625, 6.59590435, 0.365743309, 1, 0, -0, 0, 0.996492445, -0.0836840272, 0, 0.0836840346, 0.996492445) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- coroutine.wrap(function()
- wait(.1)
- MagnitudeDamage(ref, 12, 15, 25, math.random(1, 5), "Normal", "http://www.roblox.com/asset/?id=199145477", 1)
- CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=199145477", ref, 1, 1)
- Effects.Sphere.Create(BrickColor.new("Really black"), ref.CFrame, 1, 1, 1, 7.5, 7.5, 7.5, 0.07)
- Effects.Sphere.Create(BrickColor.new("Really red"), ref.CFrame, 1, 1, 1, 6.5, 6.5, 6.5, 0.07)
- Effects.Wave.Create(BrickColor.new("Really red"), ref.CFrame* CFrame.Angles(math.rad(90),0,0), 1, 1, 1, 1.2, .5, 1.2, 0.07)
- end)()
- for i = 0, 1.2, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, -2.52295923, -0.584590793, 1, 0, 0, 0, -0.0135839973, 0.999907732, 0, -0.999907732, -0.0135839982) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 1.46205437, -0.000206507742, 1, 0, 0, 0, 0.997810066, 0.0661448836, 0, -0.0661448836, 0.997810066) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.58987796, 1.20756996, -0.0198090896, 0.962880969, -0.269926339, -1.14066779e-006, -0.26989004, -0.962751448, -0.0164019652, 0.00442622229, 0.0157934465, -0.999865532) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.62800121, 1.23728025, -0.0652080923, 0.976427615, 0.215845466, -3.47263239e-007, 0.215546325, -0.97507441, -0.0526290238, -0.0113600753, 0.0513883606, -0.998614192) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.494747847, -1.93533611, -0.257378459, 0.996715009, -0.0784583315, 0.0200892054, 0.0809894279, 0.965555847, -0.247270226, 3.16055957e-006, 0.248084933, 0.968738317) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.540820956, -1.81960273, -0.311453491, 0.995794892, 0.0869645029, -0.0288037509, -0.0916104838, 0.945302486, -0.313066721, 2.5635818e-006, 0.31438899, 0.949294269) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .8, false)
- motr.C0 = clerp(motr.C0, CFrame.new(0.16015625, -2.91722918, -7.77282524, 1, 0, 0, 0, -0.0611380227, 0.998129368, 0, -0.998129368, -0.0611380227) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
- end
- attack = false
- wait(1)
- ref:Remove()
- end
- spank = function()
- attack = true
- attack = false
- end
- Mouse.Button1Down:connect(function()
- if attack == false and attacktype == 1 then
- attacktype = 2
- attackone()
- elseif attack == false and attacktype == 2 then
- attacktype = 3
- attackthree()
- elseif attack == false and attacktype == 3 then
- attacktype = 4
- attackfour()
- elseif attack == false and attacktype == 4 then
- attacktype = 1
- attackfive()
- end
- end)
- Mouse.KeyDown:connect(function(k)
- k = k:lower()
- if attack == false and k == 'z' then
- attacktwo()
- end
- end)
- warn'Loaded Ekanzi By Pxire :D'
- wait(0.1)
- 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
- local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
- if RootPart.Velocity.y > 1 and hit == nil then
- Anim = "Jump"
- if attack == false then
- PlayAnimationFromTable({
- CFrame.new(-8.60420997e-008, 0.0903999731, 0.0717497543, 0.999999344, -7.68441396e-007, 9.95312632e-008, -9.23871994e-007, 0.866027236, -0.500000715, -3.7252903e-007, 0.499999225, 0.866028309) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.90734863e-006, 1.61952782, -0.25634706, 1, 0, 0, 0, 0.866025984, 0.499998987, -0, -0.499998987, 0.866025984) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.79112387, 0.991010547, -0.34551996, 0.857188284, -0.515007496, -4.09685754e-006, -0.466755271, -0.776878357, 0.422614634, -0.217652529, -0.362256378, -0.90631187) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.73517203, 1.09069431, 0.126366287, 0.908706844, 0.41093263, -0.0733932331, 0.399825603, -0.806285143, 0.435939968, 0.119966239, -0.425485879, -0.896978498) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.500001311, -1.94823658, 0.19318518, 0.939692855, -1.10619897e-006, 0.342019498, -0.0885189474, 0.965926766, 0.243207395, -0.330366045, -0.258815497, 0.907674372) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.499992847, -1.10274684, -0.291438699, 0.984807611, 1.5922127e-006, -0.173649013, 0.133020341, 0.642797828, 0.754398108, 0.111622408, -0.766035795, 0.633032024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- end
- elseif RootPart.Velocity.y < -1 and hit == nil then
- Anim = "Fall"
- if attack == false then
- PlayAnimationFromTable({
- CFrame.new(-8.60420997e-008, 0.0903999731, 0.0717497543, 0.999999344, -7.68441396e-007, 9.95312632e-008, -9.23871994e-007, 0.866027236, -0.500000715, -3.7252903e-007, 0.499999225, 0.866028309) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.90734863e-006, 1.61952782, -0.25634706, 1, 0, 0, 0, 0.866025984, 0.499998987, -0, -0.499998987, 0.866025984) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.79112387, 0.991010547, -0.34551996, 0.857188284, -0.515007496, -4.09685754e-006, -0.466755271, -0.776878357, 0.422614634, -0.217652529, -0.362256378, -0.90631187) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.73517203, 1.09069431, 0.126366287, 0.908706844, 0.41093263, -0.0733932331, 0.399825603, -0.806285143, 0.435939968, 0.119966239, -0.425485879, -0.896978498) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.500001311, -1.94823658, 0.19318518, 0.939692855, -1.10619897e-006, 0.342019498, -0.0885189474, 0.965926766, 0.243207395, -0.330366045, -0.258815497, 0.907674372) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.499992847, -1.10274684, -0.291438699, 0.984807611, 1.5922127e-006, -0.173649013, 0.133020341, 0.642797828, 0.754398108, 0.111622408, -0.766035795, 0.633032024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- end
- elseif Torsovelocity < 1 and hit ~= nil then
- Anim = "Idle"
- if attack == false then
- change = 1
- PlayAnimationFromTable({
- CFrame.new(-0, -0, 0, 0.592676342, 0, 0.80544132, 0, 1, 0, -0.80544132, 0, 0.592676342) * CFrame.new(0, -0.1 + .1 * math.cos(sine / 20), 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.000515222549, 1.49800241, 0.000700175762, 0.572945476, -0.151653409, -0.80544132, 0.255878955, 0.966708899, 0, 0.778627276, -0.206095487, 0.592676342)* CFrame.Angles(math.rad(0 + 1 * math.cos(sine / 20)), 0, 0),
- CFrame.new(2.00358963, 0.537583113, -0.708621323, 0.558281481, -0.694990158, 0.453113019, 0.335705966, -0.31020695, -0.889422953, 0.758699059, 0.648661137, 0.060129568) * CFrame.new(0, 0, 0 - 0.1 * math.cos(sine / 20)) * CFrame.Angles(0 + 0.1 * math.cos(sine / 20), 0, 0),
- CFrame.new(-1.64158261, 1.10026449e-05, 0.123765111, 0.838911951, 0.357287735, 0.410579622, -0.405504912, 0.913473845, 0.0336345509, -0.363037139, -0.194708437, 0.911204755)* CFrame.new(0, 0, 0) * CFrame.new(0, 0, 0 - 0.1 * math.cos(sine / 20)) * CFrame.Angles(0 + 0.1 * math.cos(sine / 20), 0, 0),
- CFrame.new(0.753307343, -2.00001335, -0.0522760898, 0.592676342, -0.170470461, -0.787200212, 0, 0.977352679, -0.211648524, 0.80544132, 0.125439078, 0.579253793) * CFrame.new(0, 0, 0) * CFrame.new(0 - 0.01 * math.cos(sine / 20), 0 - .1 * math.cos(sine / 20), 0) * CFrame.Angles(0 + 0.02 * math.cos(sine / 20), 0, 0 - 0.01 * math.cos(sine / 20)),
- CFrame.new(-0.826246858, -2.12304688, 0.429552615, 0.948810577, 0.313324243, -0.0398365855, -0.291086078, 0.916401923, 0.274733603, 0.122586936, -0.249074265, 0.960696101) * CFrame.new(0 + 0.01 * math.cos(sine / 20), 0 - .1 * math.cos(sine / 20), 0) * CFrame.Angles(0 - 0.02 * math.cos(sine / 20), 0, 0 + 0.01 * math.cos(sine / 20)),
- }, .3, false)
- end
- elseif Torsovelocity > 2 and hit ~= nil then
- Anim = "Walk"
- if attack == false then
- PlayAnimationFromTable({
- CFrame.new(0, -0.0193441566, -0.137761548, 1, 0, 0, 0, 0.961308897, 0.275472969, 0, -0.275472969, 0.961308897) * CFrame.new(0, 0- .1 * math.cos((sine) / 2), 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 1.44159341, 0.0451771915, 1, 0, 0, 0, 0.98646307, -0.163984656, 0, 0.163984656, 0.98646307) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.63363111, 0.0754526258, -2.72151652e-007, 0.985570133, -0.16926825, 1.56980732e-007, 0.16926825, 0.985570133, 2.38418579e-007, -1.86264515e-007, -1.49011612e-007, 1.00000024) * CFrame.new(0, 0, 0+ 0.5 * math.cos((sine) / 4)) * CFrame.Angles(math.rad(0- 20 * math.cos((sine) / 4)), 0, 0),
- CFrame.new(-1.61827064, 0.111134544, 1.51569429e-006, 0.978242338, 0.207465827, 7.76345075e-007, -0.207465842, 0.978242397, -2.41398811e-006, -1.25542283e-006, 2.20537186e-006, 1.00000012) * CFrame.new(0, 0, 0- 0.5 * math.cos((sine) / 4)) * CFrame.Angles(math.rad(0+ 20 * math.cos((sine) / 4)), 0, 0),
- CFrame.new(0.5, -2.00000334, 2.67028881e-005, 1, 0, 0, 0, 1.00000024, 0, 0, 0, 1.00000024) * CFrame.new(0, 0+ .4 * math.cos((sine) / 2), 0 + 1 * math.cos((sine) / 4)) * CFrame.Angles(math.rad(0 - 50 * math.cos((sine) / 4)), math.rad(0), math.rad(0)),
- CFrame.new(-0.5, -2.00000334, 2.67028881e-005, 1, 0, 0, 0, 1.00000024, 0, 0, 0, 1.00000024) * CFrame.new(0, 0+ .4 * math.cos((sine) / 2), 0 - 1 * math.cos((sine) / 4)) * CFrame.Angles(math.rad(0 + 50 * math.cos((sine) / 4)), math.rad(0), math.rad(0)),
- }, .3, false)
- 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)
- else
- if 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
- 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
- do
- do
- 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]
- else
- if 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]
- else
- if 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]
- else
- if 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]
- else
- if 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]
- else
- if 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]
- else
- if Thing[2] == "Disappear" then
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- end
- end
- end
- end
- end
- end
- end
- else
- Part.Parent = nil
- table.remove(Effects, e)
- end
- end
- end
- end
- end
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement