Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- params : ...
- wait(2)
- Player = game.Players.LocalPlayer
- Mouse = Player:GetMouse()
- Character = Player.Character
- Humanoid = Character.Humanoid
- local Idle = false
- local rad = math.rad
- local attack = false
- local attacktype = 1
- local hitted = false
- Character:FindFirstChild("Animate"):Destroy()
- Humanoid.WalkSpeed = 5
- Humanoid.Animator.Parent = nil
- Character.Shirt.ShirtTemplate = "rbxassetid://246082851"
- Character.Pants.PantsTemplate = "rbxassetid://246083258"
- Character.Head.face.Texture = "rbxassetid://710492060"
- Humanoid.JumpPower = 120
- Humanoid.BodyDepthScale.Value = 1.1
- Humanoid.BodyHeightScale.Value = 1.18
- Humanoid.BodyWidthScale.Value = 1.06
- Humanoid.HeadScale.Value = 1
- Humanoid.MaxHealth = 5000
- wait(0.01)
- Humanoid.Health = 5000
- v3 = Vector3.new
- bc = BrickColor.new
- for i,v in pairs(Character:children()) do
- if v:IsA("Hat") then
- v:Destroy()
- end
- end
- for i,v in pairs(Character:children()) do
- if v:IsA("Accessory") then
- v:Destroy()
- end
- end
- for i,v in pairs(Character:children()) do
- if v:IsA("Hair") then
- v:Destroy()
- end
- end
- ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "Heartbeat"
- script:WaitForChild("Heartbeat")
- frame = 0.016666666666667
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.Heartbeat:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if frame <= tf 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)
- swait = function(num)
- if num == 0 or num == nil then
- ArtificialHB.Event:wait()
- else
- for i = 0, num do
- ArtificialHB.Event:wait()
- end
- end
- end
- local LeftUpperArm = Character.LeftUpperArm
- local LeftShoulder = Character.LeftUpperArm.LeftShoulder
- local LeftLowerArm = Character.LeftLowerArm
- local LeftElbow = Character.LeftLowerArm.LeftElbow
- local LeftUpperLeg = Character.LeftUpperLeg
- local LeftHip = Character.LeftUpperLeg.LeftHip
- local LeftLowerLeg = Character.LeftLowerLeg
- local LeftKnee = Character.LeftLowerLeg.LeftKnee
- local RightUpperArm = Character.RightUpperArm
- local RightShoulder = Character.RightUpperArm.RightShoulder
- local RightLowerArm = Character.RightLowerArm
- local RightElbow = Character.RightLowerArm.RightElbow
- local RightUpperLeg = Character.RightUpperLeg
- local RightHip = Character.RightUpperLeg.RightHip
- local RightLowerLeg = Character.RightLowerLeg
- local RightKnee = Character.RightLowerLeg.RightKnee
- local UpperTorso = Character.UpperTorso
- local LowerTorso = Character.LowerTorso
- local Root = Character.LowerTorso.Root
- local Head = Character.Head
- local Neck = Character.Head.Neck
- local RootPart = Character.HumanoidRootPart
- local LeftHand = Character.LeftHand
- local RightHand = Character.RightHand
- local LeftFoot = Character.LeftFoot
- local RightFoot = Character.RightFoot
- local Waist = Character.UpperTorso.Waist
- local canfly1 = false
- local canfly = true
- local flying1 = true
- local kicharging = false
- local ki = 100
- local kigo = 2.3
- local ColorsArray = {ColorSequenceKeypoint.new(0, Color3.new(0, 0.66666666666667, 1)), ColorSequenceKeypoint.new(1, Color3.new(0, 0.66666666666667, 1))}
- newRay = function(start, face, range, wat)
- local rey = Ray.new(start.p, face.p - start.p.Unit * range)
- hit = Workspace:FindPartOnRayWithIgnoreList(rey, wat)
- return rey, hit, pos
- end
- local Hair = Instance.new("Part", Character)
- Hair.Size = Vector3.new(1, 1, 1)
- Hair.Material = "SmoothPlastic"
- Hair.BrickColor = BrickColor.new("Really black")
- Hair.CanCollide = false
- local Hair2 = Instance.new("SpecialMesh", Hair)
- Hair2.MeshId = "rbxassetid://738716276"
- Hair2.Scale = Vector3.new(0.5, 0.5, 0.5)
- local Hair3 = Instance.new("Weld", Hair)
- Hair3.Part0 = Character.Head
- Hair3.Part1 = Hair
- Hair3.C0 = CFrame.new(-0.06, 0.78, 0.24)
- local SS2Hair = Instance.new("Part", Character)
- SS2Hair.Size = Vector3.new(1, 1, 1)
- SS2Hair.Material = "SmoothPlastic"
- SS2Hair.BrickColor = BrickColor.new("Daisy orange")
- SS2Hair.CanCollide = false
- SS2Hair.Transparency = 1
- local SS2Hair2 = Instance.new("SpecialMesh", SS2Hair)
- SS2Hair2.MeshId = "rbxassetid://1141408580"
- SS2Hair2.Scale = Vector3.new(0.05, 0.05, 0.05)
- local SS2Hair3 = Instance.new("Weld", SS2Hair)
- SS2Hair3.Part0 = Character.Head
- SS2Hair3.Part1 = SS2Hair
- SS2Hair3.C0 = CFrame.new(0, 0.98, 0.35)
- local SSHair = Instance.new("Part", Character)
- SSHair.Size = Vector3.new(1, 1, 1)
- SSHair.Material = "SmoothPlastic"
- SSHair.BrickColor = BrickColor.new("Daisy orange")
- SSHair.CanCollide = false
- SSHair.Transparency = 1
- local SSHair2 = Instance.new("SpecialMesh", SSHair)
- SSHair2.MeshId = "rbxassetid://1141407897"
- SSHair2.Scale = Vector3.new(0.05, 0.05, 0.05)
- local SSHair3 = Instance.new("Weld", SSHair)
- SSHair3.Part0 = Character.Head
- SSHair3.Part1 = SSHair
- SSHair3.C0 = CFrame.new(0, 0.98, 0.35)
- local SS3Hair = Instance.new("Part", Character)
- SS3Hair.Size = Vector3.new(1, 1, 1)
- SS3Hair.Material = "SmoothPlastic"
- SS3Hair.BrickColor = BrickColor.new("Daisy orange")
- SS3Hair.CanCollide = false
- SS3Hair.Transparency = 1
- local SS3Hair2 = Instance.new("SpecialMesh", SS3Hair)
- SS3Hair2.MeshId = "rbxassetid://1189305160"
- SS3Hair2.Scale = Vector3.new(1, 1, 1)
- local SS3Hair3 = Instance.new("Weld", SS3Hair)
- SS3Hair3.Part0 = Character.Head
- SS3Hair3.Part1 = SS3Hair
- SS3Hair3.C0 = CFrame.new(0, -0.79, 0.98)
- local Four = Instance.new("Part", Character)
- Four.Size = Vector3.new(1, 1, 1)
- Four.Material = "SmoothPlastic"
- Four.BrickColor = BrickColor.new("Really black")
- Four.CanCollide = false
- Four.Transparency = 1
- local Four2 = Instance.new("SpecialMesh", Four)
- Four2.MeshId = "rbxassetid://1286381480"
- Four2.Scale = Vector3.new(1.2, 1.2, 1.2)
- local Blue3 = Instance.new("Weld", Four)
- Blue3.Part0 = Character.Head
- Blue3.Part1 = Four
- Blue3.C0 = CFrame.new(0, 0.1, 0.1)
- local Blue = Instance.new("Part", Character)
- Blue.Size = Vector3.new(1, 1, 1)
- Blue.Material = "SmoothPlastic"
- Blue.BrickColor = BrickColor.new("Cyan")
- Blue.CanCollide = false
- Blue.Transparency = 1
- local Blue2 = Instance.new("SpecialMesh", Blue)
- Blue2.MeshId = "rbxassetid://1141407897"
- Blue2.Scale = Vector3.new(0.05, 0.05, 0.05)
- local Blue3 = Instance.new("Weld", Blue)
- Blue3.Part0 = Character.Head
- Blue3.Part1 = Blue
- Blue3.C0 = CFrame.new(0, 0.98, 0.35)
- local HairG = Instance.new("Part", Character)
- HairG.Size = Vector3.new(1, 1, 1)
- HairG.Material = "SmoothPlastic"
- HairG.BrickColor = BrickColor.new("Persimmon")
- HairG.CanCollide = false
- HairG.Transparency = 1
- local HairG2 = Instance.new("SpecialMesh", HairG)
- HairG2.MeshId = "rbxassetid://738716276"
- HairG2.Scale = Vector3.new(0.5, 0.5, 0.5)
- local HairG3 = Instance.new("Weld", HairG)
- HairG3.Part0 = Character.Head
- HairG3.Part1 = HairG
- HairG3.C0 = CFrame.new(-0.06, 0.78, 0.24)
- local RbxUtility = LoadLibrary("RbxUtility")
- local Create = RbxUtility.Create
- RemoveOutlines = function(part)
- part.TopSurface = 10
- end
- Damagefunc = function(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 ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
- if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
- return
- end
- local c = Create("ObjectValue")({Name = "creator", Value = game:service("Players").LocalPlayer, Parent = h})
- game:GetService("Debris"):AddItem(c, 0.5)
- if HitSound ~= nil and HitPitch ~= nil then
- CreateSound(HitSound, hit, 1, HitPitch)
- end
- local Damage = math.random(minim, maxim)
- local blocked = false
- local block = hit.Parent:findFirstChild("Block")
- if block ~= nil and block.className == "IntValue" and block.Value > 0 then
- blocked = true
- block.Value = block.Value - 1
- print(block.Value)
- end
- if 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, Part.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, Part.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), hu)
- local angle = hit.Position - Property.Position + Vector3.new(, 0, 0).unit
- local bodvol = Create("BodyVelocity)({velocity = angle * knockback, P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit)
- local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit})
- game:GetService("Debris"):AddItem(bodvol, 0.5)
- game:GetService("Debris"):AddItem(rl, 0.5)
- else
- do
- if Type == "Normal" then
- local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.hug, 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(v, 0.5)
- else
- do
- if Type == "Impale" then
- local Spike = CreateSpike(Services.Workspace, "Ice Spike", "Pastel light blue, Vector3.new(1, 1, 1), "Neon", 0.7, Vector3.new(1, 25, 1))
- Spike.Anchored = true
- Spike.Rotation = Vector3.new(math.random(-1, 10), , math.random(-10, 10))
- Spike.Position = hit.Parent.Torso.Position
- for i = 1, 5 do
- IcePartFunk(hit.Parent.Torso, 0.55, 0.1, 1)
- end
- Services.Debris:AddItem(Spik, 4)
- CFuncs.Sound.Create("http://www.roblox.com/asset/?id=268249319", Spik, 0.8, 2)
- hit.Parent.Humanoid.PlatformStand = true
- swait(1)
- hit.Parent.Humanoid.PlatformStand = false
- else
- do
- if Type == "Up" then
- local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(, 20, 0), P = 5000, maxForce = Vector3.new(800, 8000, 8000), Parent = hit})
- game:GetService("Debris):AddItem(bodyVelocit, 0.5)
- local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
- game:GetService("Debris"):AddItem(bodyVelocity, 1)
- else
- do
- if Type == "Snare" then
- local bp = Create("BodyPosition")({P = 900, D = 1000, maxForce = Vector3.new(math.hug, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
- game:GetService("Debris):AddItem(b, 1)
- else
- do
- if Type == "Slowness" then
- local SpeedSave = hit.Parent.Humanoid.WalkSpeed
- for i = 1, 25 do
- hit.Parent.Humanoid.WalkSpeed = 4
- IcePartFunk(hit.Parent.Torso, 0.55, 0.1, 1)
- end
- wait(4)
- hit.Parent.Humanoid.WalkSpeed = SpeedSave
- else
- do
- if Type == "FireDmg" then
- for i = 1, math.random(60, 15) do
- BlockEffect(BrickColor.new("Really red"), hit.Parent.Torso.CFrame, 20, 20, 20, 1.5, 1.5, 1.5, 0.05, 3)
- BlockEffect(BrickColor.new("Gold"), hit.Parent.Torso.CFrame, 20, 20, 20, 2, 2, 2, 0.05, 3)
- BlockEffect(BrickColor.new("Really black"), hit.Parent.Torso.CFrame, 0, 0, 0, 2, 2, 2, 0.035, 3)
- wait(0.1)
- MagniDamage(hit.Parent.Torso, 12304, 1, 8, 0, "Normal")
- end
- else
- do
- if Type == "Freeze" then
- local bp = Create("BodyPosition")({P = 900, D = 1000, maxForce = Vector3.new(math.hug, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
- game:GetService("Debris):AddItem(b, 4)
- for i = 1, 25 do
- IcePartFunk(hit.Parent.Torso, 1, 1.5, 2)
- end
- else
- do
- if Type == "Freeze2" then
- local BodPos = Create("BodyPosition")({P = 50000, D = 1000, maxForce = Vector3.new(math.hug, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
- local BodGy = Create("BodyGyro")({maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, P = 20000, Parent = hit.Parent.Torso, 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.Tors)
- game:GetService("Debris):AddItem(BodPo, 3)
- game:GetService("Debris):AddItem(BodG, 3)
- end
- do
- local debounce = Create("BoolValue")({Name = "DebounceHit", Parent = hit.Parent, Value = true})
- game:GetService("Debris):AddItem(debounc, Dela)
- c = Instance.new("ObjectValue")
- c.Name = "creator"
- c.Value = Player
- c.Parent = h
- game:GetService("Debris):AddItem(, 0.)
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- ShowDamage = function(Pos, Text, Time, Color)
- local Rate = 0.033333333333333
- do
- if not Pos then
- local Pos = Vector3.new(0, 0, 0)
- end
- local Text = Text or ""
- local Time = Time or 2
- do
- if not Color then
- local Color = Color3.new(1, 0, 1)
- end
- local EffectPart = CreatePart(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, TextColor3 = Color, TextScaled = true, Font = Enum.Font.ArialBold, Parent = BillboardGui})
- game.Debris:AddItem(EffectPart, Time + 0.1)
- 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
- end
- end
- MagniDamage = function(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 mag <= magni and c.Name ~= Player.Name then
- Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "http://www.roblox.com/asset/?id=231917784", 1)
- end
- end
- end
- end
- end
- MagniKILL = function(Part, magni, 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 mag <= magni and c.Name ~= Player.Name then
- hum.Health = 0
- end
- end
- end
- end
- end
- local angles = CFrame.Angles
- CreatePart = function(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
- local Part = Create("Part")({formFactor = FormFactor, 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
- CreateMesh = 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
- CreateWeld = function(Parent, Part0, Part1, C0, C1)
- local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
- return Weld
- end
- EffectModel = Instance.new("Model", Character)
- EffectModel.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})
- else
- if Type == 2 then
- table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
- else
- table.insert(Effects, {prt, "Block3", delay, x3, y3, z3, msh})
- end
- end
- 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
- }
- ,
- Cylinder = {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
- }
- ,
- 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("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", 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
- }
- }
- BlockEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
- local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CreateMesh("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})
- else
- if Type == 2 then
- table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
- else
- if Type == 3 then
- table.insert(Effects, {prt, "Block3", delay, x3, y3, z3, msh})
- end
- end
- end
- end
- CreateSound = function(id, par, vol, pit)
- coroutine.resume(coroutine.create(function()
- local sou = Instance.new("Sound", par or workspace)
- sou.Volume = vol
- sou.Pitch = pit or 1
- sou.SoundId = id
- swait()
- sou:play()
- game:GetService("Debris"):AddItem(sou, 6)
- end))
- end
- Laser = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
- prt.Anchored = true
- prt.CFrame = cframe
- prt.Material = "Neon"
- local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- coroutine.resume(coroutine.create(function(Part, Mesh)
- for i = 0, 6, delay do
- swait()
- Part.Transparency = i
- Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
- end
- Part.Parent = nil
- end), pr, msh)
- end
- shoottraildd = function(mouse, partt, SpreadAmount, dmg)
- local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
- local MainPos = partt.Position
- local MainPos2 = mouse + SpreadVectors
- local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
- local speed = 1000
- local num = 1
- coroutine.resume(coroutine.create(function()
- repeat
- swait()
- local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
- local mag = MainPos - pos.magnitude
- Laser(BrickColor.new("New Yeller"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -2.175, 0, -2.175, 0.15)
- MainPos = MainPos + MouseLook.lookVector * speed
- num = num - 1
- MouseLook = MouseLook * angles(math.rad(-1), 0, 0)
- if hit ~= nil then
- num = 0
- local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
- refpart.Anchored = true
- refpart.CFrame = CFrame.new(pos)
- game:GetService("Debris"):AddItem(refpart, 2)
- end
- do
- if num <= 0 then
- local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
- refpart.Anchored = true
- refpart.CFrame = CFrame.new(pos)
- if hit ~= nil then
- CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 2, 1)
- BlockEffect(BrickColor.new("New Yeller"), refpart.CFrame, 1, 1, 1, 6.5, 6.5, 6.5, 0.05)
- BlockEffect(BrickColor.new("Gold"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.05)
- BlockEffect(BrickColor.new("New Yeller"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.05)
- MagniDamage(refpart, 40, dmg, dmg, 0, "FireDmg")
- end
- game:GetService("Debris"):AddItem(refpart, 0)
- end
- end
- until num <= 0
- end))
- end
- shoottraildd2 = function(mouse, partt, SpreadAmount)
- local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
- local MainPos = partt.Position
- local MainPos2 = mouse + SpreadVectors
- local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
- local speed = 1000
- local num = 1
- coroutine.resume(coroutine.create(function()
- repeat
- swait()
- local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
- local mag = MainPos - pos.magnitude
- Laser(BrickColor.new("New Yeller"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -8.175, 0, -8.175, 0.15)
- MainPos = MainPos + MouseLook.lookVector * speed
- num = num - 1
- MouseLook = MouseLook * angles(math.rad(-1), 0, 0)
- if hit ~= nil then
- num = 0
- local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
- refpart.Anchored = true
- refpart.CFrame = CFrame.new(pos)
- game:GetService("Debris"):AddItem(refpart, 2)
- end
- do
- if num <= 0 then
- local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
- refpart.Anchored = true
- refpart.CFrame = CFrame.new(pos)
- if hit ~= nil then
- CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 2, 1)
- BlockEffect(BrickColor.new("New Yeller"), refpart.CFrame, 1, 1, 1, 86.5, 86.5, 86.5, 0.05)
- BlockEffect(BrickColor.new("Gold"), refpart.CFrame, 1, 1, 1, 87, 87, 87, 0.05)
- BlockEffect(BrickColor.new("New Yeller"), refpart.CFrame, 1, 1, 1, 87, 87, 87, 0.05)
- MagniKILL(refpart, 80, 0, "Normal")
- end
- game:GetService("Debris"):AddItem(refpart, 0)
- end
- end
- until num <= 0
- end))
- end
- shoottraildd22 = function(mouse, partt, SpreadAmount)
- local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
- local MainPos = partt.Position
- local MainPos2 = mouse + SpreadVectors
- local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
- local speed = 900
- local num = 1
- coroutine.resume(coroutine.create(function()
- repeat
- swait()
- local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
- local mag = MainPos - pos.magnitude
- Laser(BrickColor.new("New Yeller"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -8.175, 0, -8.175, 0.15)
- MainPos = MainPos + MouseLook.lookVector * speed
- num = num - 1
- MouseLook = MouseLook * angles(math.rad(-1), 0, 0)
- if hit ~= nil then
- num = 0
- local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
- refpart.Anchored = true
- refpart.CFrame = CFrame.new(pos)
- game:GetService("Debris"):AddItem(refpart, 2)
- end
- do
- if num <= 0 then
- local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
- refpart.Anchored = true
- refpart.CFrame = CFrame.new(pos)
- if hit ~= nil then
- CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 2, 1)
- BlockEffect(BrickColor.new("Gold"), refpart.CFrame, 1, 1, 1, 86.5, 86.5, 86.5, 0.05)
- BlockEffect(BrickColor.new("New Yeller"), refpart.CFrame, 1, 1, 1, 87, 87, 87, 0.05)
- BlockEffect(BrickColor.new("Gold"), refpart.CFrame, 1, 1, 1, 87, 87, 87, 0.05)
- MagniKILL(refpart, 80, 0, "Normal")
- end
- game:GetService("Debris"):AddItem(refpart, 0)
- end
- end
- until num <= 0
- end))
- end
- shoottraildd3 = function(mouse, partt, SpreadAmount, dmg)
- local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
- local MainPos = partt.Position
- local MainPos2 = mouse + SpreadVectors
- local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
- local speed = 200
- local num = 0
- coroutine.resume(coroutine.create(function()
- repeat
- swait()
- local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
- local mag = MainPos - pos.magnitude
- Laser(BrickColor.new("White"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.375, 0, -0.375, 0.05)
- MainPos = MainPos + MouseLook.lookVector * speed
- num = num - 1
- MouseLook = MouseLook * angles(math.rad(-1), 0, 0)
- if hit ~= nil then
- num = 0
- local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
- refpart.Anchored = true
- refpart.CFrame = CFrame.new(pos)
- BlockEffect(BrickColor.new("Pastel light blue"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.05)
- game:GetService("Debris"):AddItem(refpart, 2)
- end
- do
- if num <= 0 then
- local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
- refpart.Anchored = true
- refpart.CFrame = CFrame.new(pos)
- if hit ~= nil then
- CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 2, 1)
- BlockEffect(BrickColor.new("White"), refpart.CFrame, 1, 1, 1, 6.5, 6.5, 6.5, 0.05)
- BlockEffect(BrickColor.new("Pastel light blue"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.05)
- MagniDamage(refpart, 6, dmg, dmg, 0, "Slowness")
- end
- game:GetService("Debris"):AddItem(refpart, 0)
- end
- end
- until num <= 0
- end))
- end
- shoottraildd4 = function(mouse, partt, SpreadAmount, dmg)
- local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
- local MainPos = partt.Position
- local MainPos2 = mouse + SpreadVectors
- local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
- local speed = 500
- local num = 1
- coroutine.resume(coroutine.create(function()
- repeat
- swait()
- local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
- local mag = MainPos - pos.magnitude
- Laser(BrickColor.new("New Yeller"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -1.175, 0, -1.175, 0.15)
- MainPos = MainPos + MouseLook.lookVector * speed
- num = num - 1
- MouseLook = MouseLook * angles(math.rad(-1), 0, 0)
- if hit ~= nil then
- num = 0
- local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
- refpart.Anchored = true
- refpart.CFrame = CFrame.new(pos)
- game:GetService("Debris"):AddItem(refpart, 2)
- end
- do
- if num <= 0 then
- local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
- refpart.Anchored = true
- refpart.CFrame = CFrame.new(pos)
- if hit ~= nil then
- CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 2, 1)
- BlockEffect(BrickColor.new("New Yeller"), refpart.CFrame, 1, 1, 1, 6.5, 6.5, 6.5, 0.05)
- BlockEffect(BrickColor.new("New Yeller"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.05)
- BlockEffect(BrickColor.new("Gold"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.05)
- MagniDamage(refpart, 4, dmg, 40, 0, "Normal")
- end
- game:GetService("Debris"):AddItem(refpart, 0)
- end
- end
- until num <= 0
- end))
- end
- vt = Vector3.new
- bc = BrickColor.new
- br = BrickColor.random
- local cam = game.Workspace.CurrentCamera
- Damagefunc = function(hit, minim, maxim, knockback, Type, Property, Delay, KnockbackType, decreaseblock)
- if hit.Parent == nil then
- return
- end
- h = hit.Parent:FindFirstChildOfClass("Humanoid")
- for _,v in pairs(hit.Parent:children()) do
- if v:IsA("Humanoid") then
- h = v
- end
- end
- if hit.Parent.Parent:FindFirstChild("Torso") ~= nil then
- h = hit.Parent.Parent:FindFirstChildOfClass("Humanoid")
- end
- if hit.Parent.className == "Hat" then
- hit = hit.Parent.Parent:findFirstChild("Head")
- end
- if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
- if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
- return
- end
- c = Instance.new("ObjectValue")
- c.Name = "creator"
- c.Value = game:service("Players").LocalPlayer
- c.Parent = h
- game:GetService("Debris"):AddItem(c, 0.5)
- Damage = math.random(minim, maxim)
- blocked = false
- block = hit.Parent:findFirstChild("Block")
- if block ~= nil then
- print(block.className)
- if block.className == "NumberValue" and block.Value > 0 then
- blocked = true
- if decreaseblock == nil then
- block.Value = block.Value - 1
- end
- end
- if block.className == "IntValue" and block.Value > 0 then
- blocked = true
- if decreaseblock ~= nil then
- block.Value = block.Value - 1
- end
- end
- end
- if blocked == false then
- h.Health = h.Health - Damage
- showDamage(hit.Parent, Damage, 0.5, BrickColor.new("Really red"))
- else
- h.Health = h.Health - Damage / 2
- showDamage(hit.Parent, Damage / 2, 0.5, BrickColor.new("Bright blue"))
- end
- if Type == "Knockdown" then
- Humanoid = hit.Parent.Humanoid
- Humanoid.PlatformStand = true
- coroutine.resume(coroutine.create(function(HHumanoid)
- swait(1)
- HHumanoid.PlatformStand = false
- end), Humanoi)
- local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
- hit.CFrame = CFrame.new(hit.Positio, Vector3.new(angle.x, hit.Position.y, angle.z)) * CFrame.fromEulerAnglesXYZ(math.pi / 4, 0, 0)
- local bodvol = Instance.new("BodyVelocity)
- bodvol.velocity = angle * knockback
- bodvol.P = 5000
- bodvol.maxForce = Vector3.new(8000, 8000, 8000)
- bodvol.Parent = hit
- rl = Instance.new("BodyAngularVelocity")
- rl.P = 3000
- rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000
- rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
- rl.Parent = hit
- game:GetService("Debris"):AddItem(bodvol, 0.5)
- game:GetService("Debris"):AddItem(rl, 0.5)
- else
- do
- if Type == "Normal" then
- bp = Instance.new("BodyVelocity")
- bp.P = 100000
- bp.maxForce = Vector3.new(math.hug, 0, math.huge)
- if KnockbackType == 1 then
- bp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
- else
- if KnockbackType == 2 then
- bp.velocity = Property.CFrame.lookVector * knockback
- end
- end
- if knockback > 0 then
- bp.Parent = hit.Parent.Torso
- end
- game:GetService("Debris):AddItem(b, 0.5)
- else
- if Type == "Up" then
- local bodyVelocity = Instance.new("BodyVelocity")
- bodyVelocity.velocity = vt(, 60, 0)
- bodyVelocity.P = 5000
- bodyVelocity.maxForce = Vector3.new(800, 8000, 8000)
- bodyVelocity.Parent = hit
- game:GetService("Debris"):AddItem(bodyVelocity, 1)
- rl = Instance.new("BodyAngularVelocity)
- rl.P = 3000
- rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000
- rl.angularvelocity = Vector3.new(math.random(-30, 30), math.random(-30, 30), math.random(-30, 30))
- rl.Parent = hit
- game:GetService("Debris"):AddItem(rl, 0.5)
- else
- do
- if Type == "Snare" then
- bp = Instance.new("BodyPosition")
- bp.P = 2000
- bp.D = 100
- bp.maxForce = Vector3.new(math.hug, math.huge, math.huge)
- bp.position = hit.Parent.Torso.Position
- bp.Parent = hit.Parent.Torso
- game:GetService("Debris):AddItem(b, 1)
- else
- if Type == "Target" and Targetting == false then
- ZTarget = hit.Parent.Torso
- coroutine.resume(coroutine.create(function(Part)
- so("http://www.roblox.com/asset/?id=15666462", Part, 1, 1.5)
- swait(1)
- so("http://www.roblox.com/asset/?id=15666462", Part, 1, 1.5)
- end), ZTarge)
- TargHum = ZTarget.Parent:findFirstChild("Humanoid)
- targetgui = Instance.new("BillboardGui")
- targetgui.Parent = ZTarget
- targetgui.Size = UDim2.new(1, 100, 10, 100)
- targ = Instance.new("ImageLabel")
- targ.Parent = targetgui
- targ.BackgroundTransparency = 1
- targ.Image = "rbxassetid://4834067"
- targ.Size = UDim2.new(, 0, 1, 0)
- cam.CameraType = "Scriptable"
- cam.CoordinateFrame = CFrame.new(Head.CFrame., ZTarget.Position)
- dir = Vector3.new(cam.CoordinateFrame.lookVector.x, , cam.CoordinateFrame.lookVector.z)
- workspace.CurrentCamera.CoordinateFrame = CFrame.new(Head.CFrame., ZTarget.Position)
- Targetting = true
- RocketTarget = ZTarget
- for i = 1, Property do
- if Humanoid.Health > 0 and Character.Parent ~= nil and TargHum.Health > 0 and TargHum.Parent ~= nil and Targetting == true then
- swait()
- end
- cam.CoordinateFrame = CFrame.new(Head.CFrame.p, ZTarget.Position)
- dir = Vector3.new(cam.CoordinateFrame.lookVector.x, 0, cam.CoordinateFrame.lookVector.z)
- cam.CoordinateFrame = CFrame.new(Head.CFrame.p, ZTarget.Position) * cf(0, 5, 10) * euler(-0.3, 0, 0)
- end
- Targetting = true
- RocketTarget = true
- targetgui.Parent = true
- cam.CameraType = "Custom"
- end
- end
- debounce = Instance.new("BoolValue")
- debounce.Name = "DebounceHit"
- debounce.Parent = hit.Parent
- debounce.Value = true
- game:GetService("Debris):AddItem(debounc, Delay)
- c = Instance.new("ObjectValue")
- c.Name = "creator"
- c.Value = Player
- c.Parent = h
- game:GetService("Debris):AddItem(, 0.5)
- CRIT = true
- hitDeb = true
- AttackPos = 6
- end
- end
- end
- end
- end
- end
- end
- showDamage = function(Char, Dealt, du, Color)
- m = Instance.new("Model")
- m.Name = tostring(Dealt)
- h = Instance.new("Humanoid")
- h.Health = 0
- h.MaxHealth = 0
- h.Parent = m
- c = Instance.new("Part")
- c.Transparency = 0
- c.BrickColor = Color
- c.Transparency = 1
- c.Name = "Head"
- c.TopSurface = 0
- c.BottomSurface = 0
- c.formFactor = "Plate"
- c.Size = Vector3.new(1, 0.4, 1)
- local txt = Instance.new("BillboardGui", c)
- txt.Adornee = c
- txt.Name = "_status"
- txt.Size = UDim2.new(2, 0, 1.2, 0)
- txt.StudsOffset = Vector3.new(-9, 8, 0)
- local text = Instance.new("TextLabel", txt)
- text.Size = UDim2.new(10, 0, 7, 0)
- text.FontSize = "Size12"
- text.TextScaled = true
- text.TextTransparency = 0.5
- text.BackgroundTransparency = 1
- text.TextTransparency = 0.5
- text.TextStrokeTransparency = 0.5
- text.Font = "SciFi"
- text.TextStrokeColor3 = Color3.new(0, 0, 0)
- v = Instance.new("Part")
- v.Name = "ColorBrick"
- v.Parent = c
- v.FormFactor = "Symmetric"
- v.Anchored = true
- v.CanCollide = false
- v.BottomSurface = "Smooth"
- v.TopSurface = "Smooth"
- v.Size = Vector3.new(10, 5, 3)
- v.Transparency = 1
- v.CFrame = c.CFrame
- v.BrickColor = BrickColor.random()
- v.Transparency = 1
- text.TextColor3 = t.BrickColor.Color
- v.Shape = "Block"
- text.Text = tostring(Dealt)
- ms = Instance.new("CylinderMesh")
- ms.Scale = Vector3.new(0.8, 0.8, 0.8)
- if CRIT == true then
- ms.Scale = Vector3.new(1, 1.25, 1)
- end
- ms.Parent = c
- c.Reflectance = 0
- Instance.new("BodyGyro").Parent = c
- c.Parent = m
- if Char:findFirstChild("Head") ~= nil then
- c.CFrame = CFrame.new(Char.Head.CFrame.p + Vector3.new(0, 1.5, 0))
- else
- if Char.Parent:findFirstChild("Head") ~= nil then
- c.CFrame = CFrame.new(Char.Parent.Head.CFrame.p + Vector3.new(0, 1.5, 0))
- end
- end
- f = Instance.new("BodyPosition")
- f.P = 200000
- f.D = 100
- f.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- f.position = c.Position + Vector3.new(0, 3, 0)
- f.Parent = c
- game:GetService("Debris"):AddItem(m, 0.5 + du)
- c.CanCollide = false
- m.Parent = workspace
- c.CanCollide = false
- end
- rayCast = function(Pos, Dir, Max, Ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
- end
- dmgstart = function(dmg, what)
- hitcon = what.Touched:connect(function(hit)
- local hum = hit.Parent:FindFirstChild("Humanoid")
- if hum and not hum:IsDescendantOf(Character) then
- hum:TakeDamage(dmg)
- end
- end)
- end
- dmgstop = function()
- hitcon:disconnect()
- end
- hito = function(dm, X, c, dn, dp, dq)
- for I,dr in pairs(workspace:GetChildren()) do
- if dr:FindFirstChild("Humanoid") and dr:FindFirstChild("HumanoidRootPart") and dr ~= chr and dr:FindFirstChild("HumanoidRootPart").Position - dm.Position.magnitude < X and dr:FindFirstChild("HumanoidRootPart"):FindFirstChild("alabo") == nil then
- local ds = dr:FindFirstChild("Humanoid")
- do
- local dt = dr:FindFirstChild("HumanoidRootPart")
- TakeDamage(ds, c)
- ds.Parent:BreakJoints()
- end
- end
- do
- ds:SetStateEnabled(16, true)
- delay(dn, function()
- ds:SetStateEnabled(16, true)
- end)
- local du = Instance.new("StringValue")
- du.Name = "alabo"
- du.Parent = dt
- game.Debris:AddItem(du, dn)
- local dv = Instance.new("Part)
- nooutline(dv)
- dv.Size = Vector3.new(0.2, 0.2, 0.2)
- dv.Transparency = 0.25
- dv.Anchored = true
- dv.CanCollide = false
- dv.BrickColor = BrickColor.new("White")
- dv.Material = "Neon"
- dv.Locked = true
- dv.CFrame = dt.CFrame * CFrame.new(rd2(-1, 1), rd2(-2, 2), rd2(-1, 1))
- dv.Parent = modz
- local dw = Instance.new("SpecialMesh")
- dw.MeshType = "Sphere"
- dw.Scale = Vector3.new(0.5, 0.5, 0.5)
- dw.Parent = dv
- game.Debris:AddItem(dv, 1)
- local dx = Instance.new("Model")
- dx.Name = c
- dx.Parent = workspace
- game.Debris:AddItem(dx, 0.5 + c / 75)
- local dy = Instance.new("Humanoid")
- dy.MaxHealth = 0
- dy.Parent = dx
- local dz = Instance.new("Part")
- dz.Name = "Head"
- dz.Locked = true
- dz.Size = Vector3.new(0.2, 0.2, 0.2)
- dz.Position = dt.Position
- dz.BrickColor = BrickColor.new("New Yeller")
- dz.Material = "Neon"
- dz.Transparency = 1
- dz.CanCollide = false
- dz.Parent = dx
- local dA = Instance.new("BodyPosition")
- dA.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- dA.P = 20000
- dA.D = 300
- dA.Position = dz.Position + Vector3.new(0, 5, 0)
- dA.Parent = dz
- local dB = Instance.new("CylinderMesh")
- dB.Parent = dz
- coroutine.resume(coroutine.create(function()
- while dB do
- swait()
- dB.Scale = dB.Scale:lerp(Vector3.new(2.5 + c / 10, 1.25 + c / 35, 2.5 + c / 10), 0.4)
- end
- end))
- do
- if dp then
- local dC = Instance.new("BodyVelocity")
- dC.MaxForce = Vector3.new(99999999999, 9999999999999, 9999999999999)
- dC.P = 9999999999
- dC.Velocity = dp
- dC.Parent = dt
- game.Debris:AddItem(dC, dn)
- end
- do
- if dq then
- local dD = Instance.new("BodyAngularVelocity")
- dD.MaxTorque = Vector3.new(9999, 999999, 999999)
- dD.P = math.huge
- dD.AngularVelocity = dq
- dD.Parent = dt
- game.Debris:AddItem(dD, dn)
- end
- do
- local dE = Instance.new("Sound")
- dE.Pitch = rd2(1, 11) / 10
- dE.Volume = rd2(1, 13) / 10
- dE.EmitterSize = 10
- dE.SoundId = "rbxassetid://"
- dE.Parent = dv
- dE:Play()
- coroutine.resume(coroutine.create(function()
- for I = 1, 5 do
- swait()
- dv.Transparency = dv.Transparency + 0.175
- dw.Scale = dw.Scale + Vector3.new(0.8 * c, 0.8 * c, 0.8 * c)
- end
- end)
- -- DECOMPILER ERROR at PC299: LeaveBlock: unexpected jumping out DO_STMT
- -- DECOMPILER ERROR at PC299: LeaveBlock: unexpected jumping out DO_STMT
- -- DECOMPILER ERROR at PC299: LeaveBlock: unexpected jumping out DO_STMT
- end
- end
- end
- end
- end
- end
- Del = function()
- if not D then
- D = true
- Idle = true
- for i = 0, 2, 0.1 do
- LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p) * CFrame.Angles(rad(180), rad(0), rad(0)), 0.1)
- RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0.p) * CFrame.Angles(rad(180), rad(0), rad(0)), 0.1)
- LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p) * CFrame.Angles(rad(0), rad(0), rad(0)), 1)
- RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p) * CFrame.Angles(rad(0), rad(0), rad(0)), 0.1)
- LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p) * CFrame.Angles(rad(0), rad(0), rad(0)), 0.1)
- RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p) * CFrame.Angles(rad(0), rad(0), rad(0)), 0.1)
- LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new(LeftKnee.C0.p) * CFrame.Angles(rad(0), rad(0), rad(0)), 0.1)
- RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p) * CFrame.Angles(rad(0), rad(0), rad(0)), 0.1)
- Root.C0 = Root.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(rad(0), rad(0), rad(0)), 0.1)
- Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p) * CFrame.Angles(rad(0), rad(0), rad(0)), 0.1)
- game:GetService("RunService").RenderStepped:wait()
- end
- local Sound = Instance.new("Sound", Character.UpperTorso)
- Sound.SoundId = "rbxassetid://"
- Sound.Volume = 10
- Sound.Pitch = 1
- Sound.Looped = false
- Sound:Play()
- wait(0.5)
- local Bq = Instance.new("Part", UpperTorso)
- Bq.Size = Vector3.new(1, 1, 1)
- Bq.BrickColor = BrickColor.new("White")
- Bq.Material = "Neon"
- Bq.Anchored = false
- Bq.CanCollide = false
- Bq.Transparency = math.huge
- Bq.CFrame = RootPart.CFrame * CFrame.new(0, 0, -12)
- local Bq2 = Instance.new("SpecialMesh", Bq)
- Bq2.MeshType = "Sphere"
- Bq2.Scale = Vector3.new(1, 1, 1)
- Bq.Touched:connect(function(hit)
- if hitted == false then
- hitted = true
- for i = 1, 1000 do
- game:GetService("RunService").RenderStepped:wait()
- end
- end
- end)
- local Fl = Instance.new("BodyVelocity", B)
- Fl.maxForce = Vector3.new(math.hug, math.huge, math.huge)
- Fl.velocity = Mouse.hit.lookVector * 120
- for i = 0, 2, 0.1 do
- LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p) * CFrame.Angles(rad(80), rad(0), rad(0)), 0.1)
- RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0.p) * CFrame.Angles(rad(80), rad(0), rad(0)), 0.1)
- LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p) * CFrame.Angles(rad(0), rad(0), rad(0)), 0.1)
- RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p) * CFrame.Angles(rad(0), rad(0), rad(0)), 0.1)
- LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p) * CFrame.Angles(rad(60), rad(0), rad(0)), 0.1)
- RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p) * CFrame.Angles(rad(60), rad(0), rad(0)), 0.1)
- LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new(LeftKnee.C0.p) * CFrame.Angles(rad(0), rad(0), rad(0)), 0.1)
- RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p) * CFrame.Angles(rad(0), rad(0), rad(0)), 0.1)
- Root.C0 = Root.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(rad(-20), rad(0), rad(0)), 0.1)
- Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p) * CFrame.Angles(rad(0), rad(0), rad(0)), 0.1)
- game:GetService("RunService").RenderStepped:wait()
- end
- longpunch()
- wait()
- Idle = false
- hitted = false
- wait()
- D = false
- end
- end
- FindNearestTorso = function(Position, Distance, SinglePlayer)
- if SinglePlayer.Torso.CFrame.p - Position.magnitude >= Distance then
- do return not SinglePlayer end
- do
- local List = {}
- for i,v in pairs(workspace:GetChildren()) do
- if v:IsA("Model") and v:findFirstChild("Torso") and v ~= Character and v.Torso.Position - Position.magnitude <= Distance then
- table.insert(List, v)
- end
- end
- do return List end
- -- DECOMPILER ERROR: 3 unprocessed JMP targets
- end
- end
- end
- superpunch = function()
- local Sound = Instance.new("Sound", Character.UpperTorso)
- Sound.SoundId = "rbxassetid://157878578"
- Sound.Pitch = 1
- Sound.Looped = false
- Sound.Volume = 10
- Sound:play()
- local rng = Instance.new("Part", Mouse)
- rng.Anchored = true
- rng.BrickColor = BrickColor.new("White")
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = RootPart.CFrame
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
- local rng2 = rng:Clone()
- rng2.Parent = Character
- local rng2m = rng2.Mesh
- local rng3 = rng:Clone()
- rng3.Parent = Character
- local rng3m = rng3.Mesh
- local rng4 = rng:Clone()
- rng4.Parent = Character
- local rng4m = rng4.Mesh
- local rng5 = rng:Clone()
- rng5.Parent = Character
- local rng5m = rng5.Mesh
- local rng6 = rng:Clone()
- rng6.Material = "Plastic"
- rng6.Parent = Character
- local rng6m = rng6.Mesh
- rng6m.Scale = vt(2.5, 2.5, 2)
- rng6m.MeshType = "FileMesh"
- rng6m.MeshId = "rbxassetid://437347603"
- local hita = rng6.Touched:connect(function(hit)
- Damagefunc(hit, 27, 37, math.random(20, 30), "Normal", RootPart, 0.2, 1)
- end)
- rng2.CFrame = RootPart.CFrame
- rng3.CFrame = RootPart.CFrame
- rng4.CFrame = RootPart.CFrame
- rng5.CFrame = RootPart.CFrame
- rng6.CFrame = RootPart.CFrame
- wait()
- local Sound = Instance.new("Sound, rng6)
- Sound.SoundId = "rbxassetid://136847657"
- Sound.Pitch = 1
- Sound.Looped = false
- Sound.Volume = 10
- Sound:play()
- local scaler = 2
- local scaler2 = 2
- for i = 0, 10, 0.1 do
- swait()
- rng.CFrame = rng.CFrame + rng.CFrame.lookVector * scaler2
- rng2.CFrame = rng2.CFrame + rng2.CFrame.lookVector * scaler2 / 0.25
- rng3.CFrame = rng3.CFrame + rng3.CFrame.lookVector * scaler2 / 0.5
- rng4.CFrame = rng4.CFrame + rng4.CFrame.lookVector * scaler2 / 0.75
- rng5.CFrame = rng5.CFrame + rng5.CFrame.lookVector * scaler2 / 5
- rng6.Size = rng6.Size + Vector3.new(scaler2 / 2.5, scaler2 / 2.5, scaler2 / 2.5)
- rng6.CFrame = rng3.CFrame
- rng.Transparency = rng.Transparency + 0.1
- rng2.Transparency = rng2.Transparency + 1.01
- rng3.Transparency = rng3.Transparency + 0.01
- rng4.Transparency = rng4.Transparency + 0.01
- rng5.Transparency = rng5.Transparency + 0.01
- rng6.Transparency = rng6.Transparency + 0.021
- scaler = scaler - 0.025
- scaler2 = scaler2 - 0.02
- rng2m.Scale = rng2m.Scale + Vector3.new((scaler2) / 2.5, (scaler2) / 2.5, 1.5)
- rng3m.Scale = rng3m.Scale + Vector3.new((scaler2) / 2, (scaler2) / 2, 1)
- rng4m.Scale = rng4m.Scale + Vector3.new((scaler2) / 1.5, (scaler2) / 1.5, 0.5)
- rng5m.Scale = rng5m.Scale + Vector3.new(scaler2, scaler2, 0)
- rngm.Scale = rngm.Scale + Vector3.new((scaler2) / 9, (scaler2) / 9, 9)
- game:GetService("Debris"):AddItem(bv, 1)
- end
- hita:disconnect()
- game:GetService("Debris"):AddItem(rng, 1)
- game:GetService("Debris"):AddItem(rng2, 1)
- game:GetService("Debris"):AddItem(rng3, 1)
- game:GetService("Debris"):AddItem(rng4, 1)
- game:GetService("Debris"):AddItem(rng5, 1)
- attack = false
- end
- wam = function()
- local rng = Instance.new("Part", Mouse)
- rng.Anchored = true
- rng.BrickColor = BrickColor.new("White")
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = RootPart.CFrame
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
- local rng2 = rng:Clone()
- rng2.Parent = Character
- local rng2m = rng2.Mesh
- local rng3 = rng:Clone()
- rng3.Parent = Character
- local rng3m = rng3.Mesh
- local rng4 = rng:Clone()
- rng4.Parent = Character
- local rng4m = rng4.Mesh
- local rng5 = rng:Clone()
- rng5.Parent = Character
- local rng5m = rng5.Mesh
- local rng6 = rng:Clone()
- rng6.Material = "Plastic"
- rng6.Parent = Character
- local rng6m = rng6.Mesh
- rng6m.Scale = vt(2.5, 2.5, 2)
- rng6m.MeshType = "FileMesh"
- rng6m.MeshId = "rbxassetid://0"
- local hita = rng6.Touched:connect(function(hit)
- Damagefunc(hit, 1, 1, math.random(2, 2), "Normal", RootPart, 0.2, 1)
- end)
- rng2.CFrame = RootPart.CFrame
- rng3.CFrame = RootPart.CFrame
- rng4.CFrame = RootPart.CFrame
- rng5.CFrame = RootPart.CFrame
- rng6.CFrame = RootPart.CFrame
- wait()
- local Sound = Instance.new("Sound, rng6)
- Sound.SoundId = "rbxassetid://"
- Sound.Pitch = 1
- Sound.Looped = false
- Sound.Volume = 10
- Sound:play()
- local scaler = 2
- local scaler2 = 2
- for i = 0, 10, 0.1 do
- swait()
- rng.CFrame = rng.CFrame + rng.CFrame.lookVector * scaler2
- rng2.CFrame = rng2.CFrame + rng2.CFrame.lookVector * scaler2 / 2.25
- rng3.CFrame = rng3.CFrame + rng3.CFrame.lookVector * scaler2 / 3.2
- rng4.CFrame = rng4.CFrame + rng4.CFrame.lookVector * scaler2 / 3.9
- rng5.CFrame = rng5.CFrame + rng5.CFrame.lookVector * scaler2 / 5
- rng6.Size = rng6.Size + Vector3.new(scaler2 / 2.5, scaler2 / 2.5, scaler2 / 2.5)
- rng6.CFrame = rng3.CFrame
- rng.Transparency = rng.Transparency + 0.1
- rng2.Transparency = rng2.Transparency + 1.01
- rng3.Transparency = rng3.Transparency + 0.01
- rng4.Transparency = rng4.Transparency + 0.01
- rng5.Transparency = rng5.Transparency + 0.01
- rng6.Transparency = rng6.Transparency + 0.021
- scaler = scaler - 0.025
- scaler2 = scaler2 - 0.02
- rng2m.Scale = rng2m.Scale + Vector3.new((scaler2) / 3.5, (scaler2) / 3.5, 0.7)
- rng3m.Scale = rng3m.Scale + Vector3.new((scaler2) / 3, (scaler2) / 3, 0.7)
- rng4m.Scale = rng4m.Scale + Vector3.new((scaler2) / 2.5, (scaler2) / 2.5, 0.7)
- rng5m.Scale = rng5m.Scale + Vector3.new(scaler2, scaler2, 0)
- rngm.Scale = rngm.Scale + Vector3.new((scaler2) / 9, (scaler2) / 9, 9)
- game:GetService("Debris"):AddItem(bv, 1)
- end
- hita:disconnect()
- game:GetService("Debris"):AddItem(rng, 1)
- game:GetService("Debris"):AddItem(rng2, 1)
- game:GetService("Debris"):AddItem(rng3, 1)
- game:GetService("Debris"):AddItem(rng4, 1)
- game:GetService("Debris"):AddItem(rng5, 1)
- attack = false
- end
- fcpunch = function()
- local Sound = Instance.new("Sound", Character.UpperTorso)
- Sound.SoundId = "rbxassetid://157878578"
- Sound.Pitch = 1
- Sound.Looped = false
- Sound.Volume = 10
- Sound:play()
- local rng = Instance.new("Part", Mouse)
- rng.Anchored = true
- rng.BrickColor = BrickColor.new("White")
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = RootPart.CFrame
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
- local rng2 = rng:Clone()
- rng2.Parent = Character
- local rng2m = rng2.Mesh
- local rng3 = rng:Clone()
- rng3.Parent = Character
- local rng3m = rng3.Mesh
- local rng4 = rng:Clone()
- rng4.Parent = Character
- local rng4m = rng4.Mesh
- local rng5 = rng:Clone()
- rng5.Parent = Character
- local rng5m = rng5.Mesh
- local rng6 = rng:Clone()
- rng6.Material = "Plastic"
- rng6.Parent = Character
- local rng6m = rng6.Mesh
- rng6m.Scale = vt(0, 0, 0)
- rng6m.MeshType = "FileMesh"
- rng6m.MeshId = "rbxassetid://0"
- local hita = rng6.Touched:connect(function(hit)
- Damagefunc(hit, 70024207, 20000500007, math.random(70000000, 20000000000), "Normal", RootPart, 0.2, 1)
- end)
- rng2.CFrame = RootPart.CFrame
- rng3.CFrame = RootPart.CFrame
- rng4.CFrame = RootPart.CFrame
- rng5.CFrame = RootPart.CFrame
- rng6.CFrame = RootPart.CFrame
- wait()
- local FZZ = Instance.new("ParticleEmitter, rng6)
- FZZ.Texture = "rbxassetid://0"
- FZZ.Color = ColorSequence.new(Color3.fromRGB(131, 255, 150))
- FZZ.EmissionDirection = "Top"
- FZZ.Speed = NumberRange.new(0)
- FZZ.Size = NumberSequence.new(14, 18)
- FZZ.Drag = 2
- FZZ.LockedToPart = true
- FZZ.Lifetime = NumberRange.new(0.2)
- FZZ.Rate = 1000
- FZZ.LightEmission = 0.75
- FZZ.Rotation = NumberRange.new(-100, 100)
- FZZ.VelocitySpread = 70
- local Sound = Instance.new("Sound", rng6)
- Sound.SoundId = "rbxassetid://136847657"
- Sound.Pitch = 1
- Sound.Looped = false
- Sound.Volume = 10
- Sound:play()
- local scaler = 2
- local scaler2 = 2
- for i = 0, 10, 0.1 do
- swait()
- rng.CFrame = rng.CFrame + rng.CFrame.lookVector * scaler2
- rng2.CFrame = rng2.CFrame + rng2.CFrame.lookVector * scaler2 / 0.25
- rng3.CFrame = rng3.CFrame + rng3.CFrame.lookVector * scaler2 / 0.5
- rng4.CFrame = rng4.CFrame + rng4.CFrame.lookVector * scaler2 / 0.75
- rng5.CFrame = rng5.CFrame + rng5.CFrame.lookVector * scaler2 / 5
- rng6.Size = rng6.Size + Vector3.new(scaler2 / 0.9, scaler2 / 0.9, scaler2 / 0.9)
- rng6.CFrame = rng3.CFrame
- rng.Transparency = rng.Transparency + 0.1
- rng2.Transparency = rng2.Transparency + 1.01
- rng3.Transparency = rng3.Transparency + 0.01
- rng4.Transparency = rng4.Transparency + 0.01
- rng5.Transparency = rng5.Transparency + 0.01
- rng6.Transparency = rng6.Transparency + 0.021
- scaler = scaler - 0.025
- scaler2 = scaler2 - 0.02
- rng2m.Scale = rng2m.Scale + Vector3.new((scaler2) / 0.5, (scaler2) / 0.5, 1)
- rng3m.Scale = rng3m.Scale + Vector3.new((scaler2) / 0.6, (scaler2) / 0.6, 1)
- rng4m.Scale = rng4m.Scale + Vector3.new((scaler2) / 0.7, (scaler2) / 0.7, 1)
- rng5m.Scale = rng5m.Scale + Vector3.new(scaler2, scaler2, 0)
- rngm.Scale = rngm.Scale + Vector3.new((scaler2) / 9, (scaler2) / 9, 9)
- game:GetService("Debris"):AddItem(bv, 1)
- end
- hita:disconnect()
- game:GetService("Debris"):AddItem(rng, 1)
- game:GetService("Debris"):AddItem(rng2, 1)
- game:GetService("Debris"):AddItem(rng3, 1)
- game:GetService("Debris"):AddItem(rng4, 1)
- game:GetService("Debris"):AddItem(rng5, 1)
- attack = false
- FZZ:Destroy()
- end
- detroitsmash = function()
- local rng = Instance.new("Part", Mouse)
- rng.Anchored = true
- rng.BrickColor = BrickColor.new("White")
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = RootPart.CFrame
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
- local rng2 = rng:Clone()
- rng2.Parent = Character
- local rng2m = rng2.Mesh
- local rng3 = rng:Clone()
- rng3.Parent = Character
- local rng3m = rng3.Mesh
- local rng4 = rng:Clone()
- rng4.Parent = Character
- local rng4m = rng4.Mesh
- local rng5 = rng:Clone()
- rng5.Parent = Character
- local rng5m = rng5.Mesh
- local rng6 = rng:Clone()
- rng6.Material = "Plastic"
- rng6.Parent = Character
- local rng6m = rng6.Mesh
- rng6m.Scale = vt(2.5, 2.5, 2)
- rng6m.MeshType = "FileMesh"
- rng6m.MeshId = "rbxassetid://437347603"
- local hita = rng6.Touched:connect(function(hit)
- Damagefunc(hit, 27, 37, math.random(20, 30), "Normal", RightHand, 0.2, 1)
- end)
- rng2.CFrame = RightHand.CFrame
- rng3.CFrame = RightHand.CFrame
- rng4.CFrame = RightHand.CFrame
- rng5.CFrame = RightHand.CFrame
- rng6.CFrame = RightHand.CFrame
- wait()
- local scaler = 2
- local scaler2 = 2
- for i = 0, 10, 0.1 do
- swait()
- rng.CFrame = rng.CFrame + rng.CFrame.lookVector * scaler2
- rng2.CFrame = rng2.CFrame + rng2.CFrame.lookVector * scaler2 / 1.4
- rng3.CFrame = rng3.CFrame + rng3.CFrame.lookVector * scaler2 / 1.6
- rng4.CFrame = rng4.CFrame + rng4.CFrame.lookVector * scaler2 / 2
- rng5.CFrame = rng5.CFrame + rng5.CFrame.lookVector * scaler2 / 5
- rng6.Size = rng6.Size + Vector3.new(scaler2 / 2.5, scaler2 / 2.5, scaler2 / 2.5)
- rng6.CFrame = rng3.CFrame
- rng.Transparency = rng.Transparency + 0.1
- rng2.Transparency = rng2.Transparency + 1.01
- rng3.Transparency = rng3.Transparency + 0.01
- rng4.Transparency = rng4.Transparency + 0.01
- rng5.Transparency = rng5.Transparency + 0.01
- rng6.Transparency = rng6.Transparency + 0.021
- scaler = scaler - 0.025
- scaler2 = scaler2 - 0.02
- rng2m.Scale = rng2m.Scale + Vector3.new((scaler2) / 2.5, (scaler2) / 2.5, 1.5)
- rng3m.Scale = rng3m.Scale + Vector3.new((scaler2) / 2, (scaler2) / 2, 1)
- rng4m.Scale = rng4m.Scale + Vector3.new((scaler2) / 1.5, (scaler2) / 1.5, 0.5)
- rng5m.Scale = rng5m.Scale + Vector3.new(scaler2, scaler2, 0)
- rngm.Scale = rngm.Scale + Vector3.new((scaler2) / 9, (scaler2) / 9, 9)
- game:GetService("Debris"):AddItem(bv, 1)
- end
- hita:disconnect()
- game:GetService("Debris"):AddItem(rng, 1)
- game:GetService("Debris"):AddItem(rng2, 1)
- game:GetService("Debris"):AddItem(rng3, 1)
- game:GetService("Debris"):AddItem(rng4, 1)
- game:GetService("Debris"):AddItem(rng5, 1)
- attack = false
- end
- longpunch = function()
- local Sound = Instance.new("Sound", Character.UpperTorso)
- Sound.SoundId = "rbxassetid://157878578"
- Sound.Pitch = 1
- Sound.Looped = false
- Sound.Volume = 10
- Sound:play()
- local rng = Instance.new("Part", Mouse)
- rng.Anchored = true
- rng.BrickColor = BrickColor.new("White")
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = RootPart.CFrame
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
- local rng2 = rng:Clone()
- rng2.Parent = Character
- local rng2m = rng2.Mesh
- local rng3 = rng:Clone()
- rng3.Parent = Character
- local rng3m = rng3.Mesh
- local rng4 = rng:Clone()
- rng4.Parent = Character
- local rng4m = rng4.Mesh
- local rng5 = rng:Clone()
- rng5.Parent = Character
- local rng5m = rng5.Mesh
- local rng6 = rng:Clone()
- rng6.Material = "Plastic"
- rng6.Parent = Character
- local rng6m = rng6.Mesh
- rng6m.Scale = vt(3.5, 3.5, 3)
- rng6m.MeshType = "FileMesh"
- rng6m.MeshId = "rbxassetid://437347603"
- local hita = rng6.Touched:connect(function(hit)
- Damagefunc(hit, 27, 37, math.random(20, 30), "Normal", RootPart, 0.2, 1)
- end)
- rng2.CFrame = RootPart.CFrame
- rng3.CFrame = RootPart.CFrame
- rng4.CFrame = RootPart.CFrame
- rng5.CFrame = RootPart.CFrame
- rng6.CFrame = RootPart.CFrame
- wait()
- local Sound = Instance.new("Sound, rng6)
- Sound.SoundId = "rbxassetid://136847657"
- Sound.Pitch = 1.1
- Sound.Looped = false
- Sound.Volume = 10
- Sound:play()
- local scaler = 2
- local scaler2 = 2
- for i = 0, 10, 0.1 do
- swait()
- rng.CFrame = rng.CFrame + rng.CFrame.lookVector * scaler2
- rng2.CFrame = rng2.CFrame + rng2.CFrame.lookVector * scaler2 / 0.15
- rng3.CFrame = rng3.CFrame + rng3.CFrame.lookVector * scaler2 / 0.2
- rng4.CFrame = rng4.CFrame + rng4.CFrame.lookVector * scaler2 / 0.25
- rng5.CFrame = rng5.CFrame + rng5.CFrame.lookVector * scaler2 / 5
- rng6.Size = rng6.Size + Vector3.new(scaler2 / 1.3, scaler2 / 1.3, scaler2 / 1.3)
- rng6.CFrame = rng3.CFrame
- rng.Transparency = rng.Transparency + 0.1
- rng2.Transparency = rng2.Transparency + 1.01
- rng3.Transparency = rng3.Transparency + 0.01
- rng4.Transparency = rng4.Transparency + 0.01
- rng5.Transparency = rng5.Transparency + 0.01
- rng6.Transparency = rng6.Transparency + 0.021
- scaler = scaler - 0.025
- scaler2 = scaler2 - 0.02
- rng2m.Scale = rng2m.Scale + Vector3.new((scaler2) / 2.5, (scaler2) / 2.5, 1.5)
- rng3m.Scale = rng3m.Scale + Vector3.new((scaler2) / 2, (scaler2) / 2, 1)
- rng4m.Scale = rng4m.Scale + Vector3.new((scaler2) / 1.5, (scaler2) / 1.5, 0.5)
- rng5m.Scale = rng5m.Scale + Vector3.new(scaler2, scaler2, 0)
- rngm.Scale = rngm.Scale + Vector3.new((scaler2) / 9, (scaler2) / 9, 9)
- game:GetService("Debris"):AddItem(bv, 1)
- end
- hita:disconnect()
- game:GetService("Debris"):AddItem(rng, 1)
- game:GetService("Debris"):AddItem(rng2, 1)
- game:GetService("Debris"):AddItem(rng3, 1)
- game:GetService("Debris"):AddItem(rng4, 1)
- game:GetService("Debris"):AddItem(rng5, 1)
- attack = false
- end
- Smash = function()
- if not D then
- D = false
- Idle = true
- for i = 0, 2, 0.1 do
- swait()
- LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, -1), 0.1)
- RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0.p) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 1.55), 0.1)
- LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.1)
- RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 1), 0.1)
- LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.1)
- RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p) * CFrame.new(0, 0, 0) * CFrame.Angles(-1, 0, 0), 0.1)
- LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new(LeftKnee.C0.p) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.1)
- RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.1)
- RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new(RightFoot.RightAnkle.C0.p) * CFrame.new(0, 0, 0) * CFrame.Angles(rad(0), rad(0), rad(0)), 0.1)
- LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new(LeftFoot.LeftAnkle.C0.p) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.1)
- RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new(RightHand.RightWrist.C0.p) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.1)
- LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new(LeftHand.LeftWrist.C0.p) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.1)
- Waist.C0 = Waist.C0:lerp(CFrame.new(Waist.C0.p) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -1, 0), 0.1)
- end
- wait(0.7)
- coroutine.resume(coroutine.create(function()
- for i = 1, 1000 do
- game:GetService("RunService").RenderStepped:wait()
- end
- end))
- for i = 0, 2, 0.1 do
- LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p) * CFrame.new(0, 0, 0) * CFrame.Angles(-1, 0, 0), 0.1)
- RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0.p) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, -1), 0.1)
- LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.1)
- RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.1)
- LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.1)
- RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.1)
- LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new(LeftKnee.C0.p) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.1)
- RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.1)
- Root.C0 = Root.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.1)
- RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new(RightFoot.RightAnkle.C0.p) * CFrame.new(0, 0, 0) * CFrame.Angles(rad(0), rad(0), rad(0)), 0.1)
- LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new(LeftFoot.LeftAnkle.C0.p) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.1)
- RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new(RightHand.RightWrist.C0.p) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.1)
- LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new(LeftHand.LeftWrist.C0.p) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.1)
- Waist.C0 = Waist.C0:lerp(CFrame.new(Waist.C0.p) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0.4, 0), 0.1)
- game:GetService("RunService").RenderStepped:wait()
- end
- superpunch()
- Idle = false
- wait(0.7)
- D = false
- end
- end
- fade = function(obj, dest, grow)
- spawn(function()
- local oldcf = obj.CFrame
- for i = 0, 10 do
- if grow then
- obj.Size = obj.Size + Vector3.new(1, 1, 1)
- obj.CFrame = oldcf
- end
- obj.Transparency = obj.Transparency + 0.1
- swait()
- end
- if dest then
- obj:Destroy()
- end
- end)
- end
- FCSmash = function()
- if not D then
- D = false
- Idle = true
- for i = 0, 2, 0.1 do
- swait()
- LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, -1), 0.1)
- RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0.p) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 1.55), 0.1)
- LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.1)
- RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 1), 0.1)
- LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.1)
- RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p) * CFrame.new(0, 0, 0) * CFrame.Angles(-1, 0, 0), 0.1)
- LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new(LeftKnee.C0.p) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.1)
- RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.1)
- Root.C0 = Root.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.1)
- Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p) * CFrame.Angles(0, 0.6, 0.3), 0.1)
- RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new(RightFoot.RightAnkle.C0.p) * CFrame.new(0, 0, 0) * CFrame.Angles(rad(0), rad(0), rad(0)), 0.1)
- LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new(LeftFoot.LeftAnkle.C0.p) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.1)
- RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new(RightHand.RightWrist.C0.p) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.1)
- LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new(LeftHand.LeftWrist.C0.p) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.1)
- Waist.C0 = Waist.C0:lerp(CFrame.new(Waist.C0.p) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -1, 0), 0.1)
- end
- local FZcharge = Instance.new("ParticleEmitter", RightHand)
- FZcharge.Texture = "rbxassetid://31727915"
- FZcharge.Color = ColorSequence.new(Color3.fromRGB(248, 248, 248))
- FZcharge.EmissionDirection = "Bottom"
- FZcharge.Speed = NumberRange.new(5)
- FZcharge.Size = NumberSequence.new(2, 1)
- FZcharge.Drag = 2
- FZcharge.LockedToPart = false
- FZcharge.Lifetime = NumberRange.new(0.5)
- FZcharge.Rate = 150
- FZcharge.LightEmission = 0
- FZcharge.Rotation = NumberRange.new(-100, 100)
- FZcharge.VelocitySpread = 100
- coroutine.resume(coroutine.create(function()
- for i = 1, 15 do
- local HQ = Instance.new("Part", Character)
- do
- HQ.Size = Vector3.new(1, 0, 1)
- HQ.BrickColor = BrickColor.new("White")
- HQ.Material = "Neon"
- HQ.Anchored = true
- HQ.CanCollide = false
- HQ.CFrame = RootPart.CFrame * CFrame.new(0, -2, 0) * CFrame.Angles(0, 0, 0)
- local HQ2 = Instance.new("SpecialMesh", HQ)
- HQ2.MeshId = "rbxassetid://20329976"
- HQ2.Scale = Vector3.new(1, 1, 1)
- coroutine.resume(coroutine.create(function()
- for i = 1, 200 do
- HQ2.Scale = HQ2.Scale + Vector3.new(2, 0, 2)
- HQ.Transparency = HQ.Transparency + 0.09
- wait(1e-11)
- end
- end))
- wait(0.3)
- end
- end
- end))
- coroutine.resume(coroutine.create(function()
- for i = 1, 12 do
- local HQ = Instance.new("Part", RightHand)
- do
- HQ.Size = Vector3.new(1, 1, 1)
- HQ.BrickColor = BrickColor.new("White")
- HQ.Material = "Neon"
- HQ.Anchored = true
- HQ.CanCollide = false
- HQ.Transparency = 0.4
- HQ.CFrame = Character.RightHand.CFrame * CFrame.new(0, 0, 0)
- local HQ2 = Instance.new("SpecialMesh", HQ)
- HQ2.MeshType = "Sphere"
- HQ2.Scale = Vector3.new(1, 1, 1)
- local ZQW = Instance.new("Part", RightHand)
- ZQW.Size = Vector3.new(1, 1, 1)
- ZQW.BrickColor = BrickColor.new("White")
- ZQW.Material = "Neon"
- ZQW.Transparency = 0.4
- ZQW.Anchored = true
- ZQW.CanCollide = false
- ZQW.CFrame = Character.RightHand.CFrame * CFrame.new(0, 0, 0)
- local ZQW2 = Instance.new("SpecialMesh", ZQW)
- ZQW2.MeshType = "Sphere"
- ZQW2.Scale = Vector3.new(1, 1, 1)
- local H = Instance.new("Part", RightHand)
- H.Size = Vector3.new(1, 1, 1)
- H.BrickColor = BrickColor.new("White")
- H.CanCollide = false
- H.Anchored = true
- H.CFrame = Character.RightHand.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- local H2 = Instance.new("SpecialMesh", H)
- H2.MeshId = "rbxassetid://9982590"
- coroutine.resume(coroutine.create(function()
- for i = 1, 200 do
- ZQW2.Scale = ZQW2.Scale + Vector3.new(0.3, 0.3, 0.3)
- ZQW.Transparency = ZQW.Transparency + 0.1
- HQ2.Scale = HQ2.Scale + Vector3.new(0.3, 0.3, 0.3)
- HQ.Transparency = HQ.Transparency + 0.1
- H2.Scale = H2.Scale + Vector3.new(0.3, 0.3, 0.3)
- H.Transparency = H.Transparency + 0.2
- wait(1e-11)
- end
- HQ:Destroy()
- H2:Destroy()
- H:Destroy()
- HQ2:Destroy()
- ZQW:Destroy()
- ZQW2:Destroy()
- end))
- wait(0.3)
- end
- end
- end))
- wait(0.5)
- wait(4.5)
- for i = 0, 1.5, 0.1 do
- LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p) * CFrame.new(0, 0, 0) * CFrame.Angles(-1.2, 0, 0.5), 0.1)
- RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0.p) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, -0.8), 0.1)
- LeftElbow.C0 = LeftElbow.C0:lerp(CFrame.new(LeftElbow.C0.p) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.1)
- RightElbow.C0 = RightElbow.C0:lerp(CFrame.new(RightElbow.C0.p) * CFrame.new(0, 0, 0) * CFrame.Angles(0.6, 0, -0.6), 0.1)
- LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(LeftHip.C0.p) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.1)
- RightHip.C0 = RightHip.C0:lerp(CFrame.new(RightHip.C0.p) * CFrame.new(0, 0, 0) * CFrame.Angles(-1, 0, 0), 0.1)
- LeftKnee.C0 = LeftKnee.C0:lerp(CFrame.new(LeftKnee.C0.p) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.1)
- RightKnee.C0 = RightKnee.C0:lerp(CFrame.new(RightKnee.C0.p) * CFrame.new(0, 0, 0) * CFrame.Angles(-1, 0, 0), 0.1)
- Root.C0 = Root.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(0, 5, 1), 0.1)
- Neck.C0 = Neck.C0:lerp(CFrame.new(Neck.C0.p) * CFrame.Angles(0.5, 0.2, 0.3), 0.1)
- RightFoot.RightAnkle.C0 = RightFoot.RightAnkle.C0:lerp(CFrame.new(RightFoot.RightAnkle.C0.p) * CFrame.new(0, 0, 0) * CFrame.Angles(rad(0), rad(0), rad(0)), 0.1)
- LeftFoot.LeftAnkle.C0 = LeftFoot.LeftAnkle.C0:lerp(CFrame.new(LeftFoot.LeftAnkle.C0.p) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.1)
- RightHand.RightWrist.C0 = RightHand.RightWrist.C0:lerp(CFrame.new(RightHand.RightWrist.C0.p) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.1)
- LeftHand.LeftWrist.C0 = LeftHand.LeftWrist.C0:lerp(CFrame.new(LeftHand.LeftWrist.C0.p) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.1)
- Waist.C0 = Waist.C0:lerp(CFrame.new(Waist.C0.p) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3, 1, 0), 0.1)
- game:GetService("RunService").RenderStepped:wait()
- end
- coroutine.resume(coroutine.create(function()
- for i = 1, 3 do
- local HQ = Instance.new("Part", Character)
- do
- HQ.Size = Vector3.new(1, 1, 1)
- HQ.BrickColor = BrickColor.new("White")
- HQ.Material = "Neon"
- HQ.Anchored = true
- HQ.CanCollide = false
- HQ.CFrame = RootPart.CFrame * CFrame.new(0, -3, 0) * CFrame.Angles(1.55, 0, 0)
- local HQ2 = Instance.new("SpecialMesh", HQ)
- HQ2.MeshId = "rbxassetid://20329976"
- HQ2.Scale = Vector3.new(1, 1, 1)
- coroutine.resume(coroutine.create(function()
- for i = 1, 200 do
- HQ2.Scale = HQ2.Scale + Vector3.new(20, 20, 20)
- HQ.Transparency = HQ.Transparency + 0.09
- wait(1e-11)
- end
- end))
- wait(0.3)
- end
- end
- end))
- coroutine.resume(coroutine.create(function()
- for i = 3, 5 do
- local HQ = Instance.new("Part", Character)
- do
- HQ.Size = Vector3.new(1, 0, 1)
- HQ.BrickColor = BrickColor.new("White")
- HQ.Material = "Neon"
- HQ.Anchored = true
- HQ.CanCollide = false
- HQ.CFrame = RootPart.CFrame * CFrame.new(0, -2, 0) * CFrame.Angles(0, 0, 0)
- local HQ2 = Instance.new("SpecialMesh", HQ)
- HQ2.MeshId = "rbxassetid://20329976"
- HQ2.Scale = Vector3.new(1, 1, 1)
- local HQR = Instance.new("Part", Character)
- HQR.Size = Vector3.new(1, 0, 1)
- HQR.BrickColor = BrickColor.new("White")
- HQR.Material = "Neon"
- HQR.Anchored = true
- HQR.CanCollide = false
- HQR.CFrame = RootPart.CFrame * CFrame.new(0, -2, 0) * CFrame.Angles(0, 0, 0)
- local HQR2 = Instance.new("SpecialMesh", HQR)
- HQR2.MeshId = "rbxassetid://3270017"
- HQR2.Scale = Vector3.new(1, 1, 1)
- coroutine.resume(coroutine.create(function()
- for i = 1, 200 do
- HQ2.Scale = HQ2.Scale + Vector3.new(7, 0, 7)
- HQ.Transparency = HQ.Transparency + 0.09
- HQR2.Scale = HQR2.Scale + Vector3.new(30, 34, 0)
- HQR.Transparency = HQR.Transparency + 0.09
- wait(1e-11)
- end
- HQ:Destroy()
- HQ2:Destroy()
- HQR:Destroy()
- HQR2:Destroy()
- end))
- wait(0.3)
- end
- end
- end))
- FZcharge:Destroy()
- killbrick2 = Instance.new("Part", Characte)
- killbrick2.Size = Vector3.new(8, 80, 9000)
- killbrick2.Transparency = 1
- killbrick2.CanCollide = true
- wait(0.001)
- killbrick2.CanCollide = false
- killbrick2.Anchored = true
- killbrick2.CFrame = RootPart.CFrame * CFrame.new(0, 0, -1005)
- killbrick2.Touched:connect(function(h)
- local x = h.Parent:FindFirstChildOfClass("Humanoid")
- if x then
- if x.Parent.Name == game.Players.LocalPlayer.Name then
- safe = true
- else
- safe = false
- end
- if x and safe == false then
- h.Parent.Torso.Velocity = CFrame.new(Character.Head.Position, h.Parent.Torso.Position).lookVector * 0
- local bodyforc = Instance.new("BodyForce", h.Parent.Torso)
- bodyforc.force = Vector3.new(0, h.Parent.Torso:GetMass() * 0, 0)
- wait(0)
- x.Parent:BreakJoints()
- wait(1)
- x.Parent:Destroy()
- wait()
- safe = true
- end
- end
- end)
- fcpunch()
- wait(0.7)
- Idle = false
- killbrick2:Destroy()
- wait(0.2)
- D = false
- end
- end
- KickBoom = function()
- local Sound = Instance.new("Sound", Character.UpperTorso)
- Sound.SoundId = "rbxassetid://142070127"
- Sound.Pitch = 1
- Sound.Looped = false
- Sound.Volume = 10
- Sound:play()
- local Sound = Instance.new("Sound", Character.UpperTorso)
- Sound.SoundId = "rbxassetid://169628396"
- Sound.Pitch = 1
- Sound.Looped = false
- Sound.Volume = 10
- Sound:play()
- local effspwn = Instance.new("Part")
- local model = Instance.new("Model")
- game.Debris:AddItem(model, 20)
- model.Name = "smasheffects"
- model.Parent = Character
- effspwn.Name = "spwnr"
- effspwn.Size = Vector3.new(1, 1, 1)
- effspwn.Anchored = true
- effspwn.CanCollide = false
- effspwn.Transparency = 1
- effspwn.CFrame = Head.CFrame * CFrame.Angles(math.rad(180), 0, 0)
- effspwn.Parent = model
- for i = 1, 15 do
- local gtrace = Instance.new("Part", game.Workspace)
- do
- gtrace.BrickColor = BrickColor.new("Grey")
- gtrace.Material = "Slate"
- gtrace.Size = Vector3.new(31, 31, 31)
- gtrace.Anchored = true
- gtrace.CanCollide = true
- gtrace.CFrame = (Character.HumanoidRootPart.CFrame + Vector3.new(math.random(-70, 70), -6, math.random(-70, 70))) * CFrame.fromEulerAnglesXYZ(math.random(0, math.rad(359)), math.random(0, math.rad(359)), math.random(0, math.rad(359)))
- local gdisp = coroutine.wrap(function()
- wait(12)
- for i = 1, 9 do
- wait(0.1)
- gtrace.Transparency = gtrace.Transparency + 0.1
- end
- gtrace:Destroy()
- end)
- gdisp()
- end
- end
- for i,v in pairs(FindNearestTorso(UpperTorso.CFrame.p, 50)) do
- if v:FindFirstChild("Humanoid") then
- v.Humanoid:TakeDamage(math.random(12040, 12040))
- v.Humanoid.PlatformStand = true
- v:FindFirstChild("Torso").Velocity = UpperTorso.CFrame.lookVector * 250
- end
- end
- local H33 = Instance.new("Part", Character)
- H33.Size = Vector3.new(1, 1, 1)
- H33.BrickColor = BrickColor.new("White")
- H33.CanCollide = false
- H33.Anchored = true
- H33.CFrame = Character.UpperTorso.CFrame * CFrame.new(0, -3, 0) * CFrame.Angles(1.55, 0, 0)
- local H233 = Instance.new("SpecialMesh", H33)
- H233.MeshId = "rbxassetid://3270017"
- local H333 = Instance.new("Part", Character)
- H333.Size = Vector3.new(1, 1, )
- H333.BrickColor = BrickColor.new("White")
- H333.CanCollide = false
- H333.Anchored = true
- H333.CFrame = Character.UpperTorso.CFrame * CFrame.new(0, -, 0) * CFrame.Angles(0, 1.5, 0)
- local H2333 = Instance.new("SpecialMesh", H333)
- H2333.MeshId = "rbxassetid://3270017"
- local H4 = Instance.new("Part", Characte)
- H4.Size = Vector3.new(, 1, 1)
- H4.BrickColor = BrickColor.new("White)
- H4.CanCollide = false
- H4.Anchored = true
- H4.CFrame = Character.UpperTorso.CFrame * CFrame.new(0, -3, 0) * CFrame.Angles(0, 0, 1.75)
- local H24 = Instance.new("SpecialMesh, H4)
- H24.MeshId = "rbxassetid://3270017"
- coroutine.resume(coroutine.create(function()
- for i = 1, 200 do
- H233.Scale = H233.Scale + Vector3.new(16, 16, 16)
- H33.Transparency = H33.Transparency + 0.02
- H2333.Scale = H2333.Scale + Vector3.new(17, 17, 17)
- H333.Transparency = H333.Transparency + 0.02
- H24.Scale = H24.Scale + Vector3.new(17, 17, 17)
- H4.Transparency = H4.Transparency + 0.02
- wait(1e-11)
- end
- end))
- coroutine.resume(coroutine.create(function()
- local shok = Instance.new("Part")
- shok.Name = "shock3"
- shok.BrickColor = BrickColor.new("Institutional white")
- shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
- shok.Size = Vector3.new(1, 1, 1)
- shok.Anchored = true
- shok.Material = "Neon"
- shok.Transparency = 0.35
- shok.CanCollide = false
- shok.Parent = model
- game.Debris:AddItem(shok, 12)
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "rbxassetid://"
- mesh.Scale = Vector3.new(1, 1, 1)
- mesh.Parent = shok
- for e = 1, 15 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(1, 2.6, 1)
- shok.Transparency = shok.Transparency + 0.004
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
- end
- for e = 1, 16 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(1, 2, 1)
- shok.Transparency = shok.Transparency + 0.004
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
- end
- for e = 1, 12 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(1, 2, 1)
- shok.Transparency = shok.Transparency + 0.06
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
- end
- end))
- coroutine.resume(coroutine.create(function()
- local shok = Instance.new("Part")
- shok.Name = "shock3"
- shok.BrickColor = BrickColor.new("Lily white")
- shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
- shok.Size = Vector3.new(1, 1, 1)
- shok.Anchored = true
- shok.Material = "Neon"
- shok.Transparency = 0.1
- shok.CanCollide = false
- shok.Parent = model
- game.Debris:AddItem(shok, 12)
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "rbxassetid://1095708"
- mesh.Scale = Vector3.new(47, 47, 47)
- mesh.Parent = shok
- for e = 1, 15 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(3, 4.6, 3)
- shok.Transparency = shok.Transparency + 0.04
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
- end
- for e = 1, 16 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(3, 4.6, 3)
- shok.Transparency = shok.Transparency + 0.04
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
- shok.BrickColor = BrickColor.new("Grey")
- end
- for e = 1, 12 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(3, -1, 3)
- shok.Transparency = shok.Transparency + 0.004
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
- end
- end))
- coroutine.resume(coroutine.create(function()
- local shok = Instance.new("Part")
- shok.Name = "shock3"
- shok.BrickColor = BrickColor.new("Institutional white")
- shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- shok.Size = Vector3.new(1, 1, 1)
- shok.Anchored = true
- shok.Material = "Neon"
- shok.Transparency = 0.35
- shok.CanCollide = false
- shok.Parent = model
- game.Debris:AddItem(shok, 12)
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "rbxassetid://549734488"
- mesh.Scale = Vector3.new(1, 1, 1)
- mesh.Parent = shok
- for e = 1, 15 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(0.2, 0.2, 0.2)
- shok.Transparency = shok.Transparency + 0.004
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- end
- for e = 1, 16 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(0.2, 0.2, 0.2)
- shok.Transparency = shok.Transparency + 0.004
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
- end
- for e = 1, 12 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(0.2, 0.2, 0.2)
- shok.Transparency = shok.Transparency + 0.06
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
- end
- end))
- end
- chow = function()
- local Sound = Instance.new("Sound", hit)
- Sound.SoundId = "rbxassetid://142070127"
- Sound.Pitch = 1
- Sound.Looped = false
- Sound.Volume = 10
- Sound:play()
- local Sound = Instance.new("Sound", hit)
- Sound.SoundId = "rbxassetid://169628396"
- Sound.Pitch = 1
- Sound.Looped = false
- Sound.Volume = 10
- Sound:play()
- local effspwn = Instance.new("Part")
- local model = Instance.new("Model")
- game.Debris:AddItem(model, 20)
- model.Name = "smasheffects"
- model.Parent = Character
- effspwn.Name = "spwnr"
- effspwn.Size = Vector3.new(1, 1, 1)
- effspwn.Anchored = true
- effspwn.CanCollide = false
- effspwn.Transparency = 1
- effspwn.CFrame = Head.CFrame * CFrame.Angles(math.rad(180), 0, 0)
- effspwn.Parent = model
- for i = 1, 15 do
- local gtrace = Instance.new("Part", game.Workspace)
- do
- gtrace.BrickColor = BrickColor.new("Grey")
- gtrace.Material = "Slate"
- gtrace.Size = Vector3.new(31, 31, 31)
- gtrace.Anchored = true
- gtrace.CanCollide = true
- gtrace.CFrame = (hit.CFrame + Vector3.new(math.random(-70, 70), -6, math.random(-70, 70))) * CFrame.fromEulerAnglesXYZ(math.random(0, math.rad(359)), math.random(0, math.rad(359)), math.random(0, math.rad(359)))
- local gdisp = coroutine.wrap(function()
- wait(12)
- for i = 1, 9 do
- wait(0.1)
- gtrace.Transparency = gtrace.Transparency + 0.1
- end
- gtrace:Destroy()
- end)
- gdisp()
- end
- end
- for i,v in pairs(FindNearestTorso(UpperTorso.CFrame.p, 50)) do
- if v:FindFirstChild("Humanoid") then
- v.Humanoid:TakeDamage(math.random(12040, 12040))
- v.Humanoid.PlatformStand = true
- v:FindFirstChild("Torso").Velocity = UpperTorso.CFrame.lookVector * 250
- end
- end
- local H33 = Instance.new("Part", Character)
- H33.Size = Vector3.new(1, 1, 1)
- H33.BrickColor = BrickColor.new("White")
- H33.CanCollide = false
- H33.Anchored = true
- H33.CFrame = hit.CFrame * CFrame.new(0, -3, 0) * CFrame.Angles(1.55, 0, 0)
- local H233 = Instance.new("SpecialMesh", H33)
- H233.MeshId = "rbxassetid://3270017"
- local H333 = Instance.new("Part", Character)
- H333.Size = Vector3.new(1, 1, )
- H333.BrickColor = BrickColor.new("White")
- H333.CanCollide = false
- H333.Anchored = true
- H333.CFrame = hit.CFrame * CFrame.new(0, -, 0) * CFrame.Angles(0, 1.5, 0)
- local H2333 = Instance.new("SpecialMesh", H333)
- H2333.MeshId = "rbxassetid://3270017"
- local H4 = Instance.new("Part", Characte)
- H4.Size = Vector3.new(, 1, 1)
- H4.BrickColor = BrickColor.new("White)
- H4.CanCollide = false
- H4.Anchored = true
- H4.CFrame = hit.CFrame * CFrame.new(0, -3, 0) * CFrame.Angles(0, 0, 1.75)
- local H24 = Instance.new("SpecialMesh, H4)
- H24.MeshId = "rbxassetid://3270017"
- coroutine.resume(coroutine.create(function()
- for i = 1, 200 do
- H233.Scale = H233.Scale + Vector3.new(16, 16, 16)
- H33.Transparency = H33.Transparency + 0.02
- H2333.Scale = H2333.Scale + Vector3.new(17, 17, 17)
- H333.Transparency = H333.Transparency + 0.02
- H24.Scale = H24.Scale + Vector3.new(17, 17, 17)
- H4.Transparency = H4.Transparency + 0.02
- wait(1e-11)
- end
- end))
- coroutine.resume(coroutine.create(function()
- local shok = Instance.new("Part")
- shok.Name = "shock3"
- shok.BrickColor = BrickColor.new("Institutional white")
- shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
- shok.Size = Vector3.new(1, 1, 1)
- shok.Anchored = true
- shok.Material = "Neon"
- shok.Transparency = 0.35
- shok.CanCollide = false
- shok.Parent = model
- game.Debris:AddItem(shok, 12)
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "rbxassetid://"
- mesh.Scale = Vector3.new(1, 1, 1)
- mesh.Parent = shok
- for e = 1, 15 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(1, 2.6, 1)
- shok.Transparency = shok.Transparency + 0.004
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
- end
- for e = 1, 16 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(1, 2, 1)
- shok.Transparency = shok.Transparency + 0.004
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
- end
- for e = 1, 12 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(1, 2, 1)
- shok.Transparency = shok.Transparency + 0.06
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
- end
- end))
- coroutine.resume(coroutine.create(function()
- local shok = Instance.new("Part")
- shok.Name = "shock3"
- shok.BrickColor = BrickColor.new("Lily white")
- shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
- shok.Size = Vector3.new(1, 1, 1)
- shok.Anchored = true
- shok.Material = "Neon"
- shok.Transparency = 0.1
- shok.CanCollide = false
- shok.Parent = model
- game.Debris:AddItem(shok, 12)
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "rbxassetid://1095708"
- mesh.Scale = Vector3.new(47, 47, 47)
- mesh.Parent = shok
- for e = 1, 15 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(3, 4.6, 3)
- shok.Transparency = shok.Transparency + 0.04
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
- end
- for e = 1, 16 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(3, 4.6, 3)
- shok.Transparency = shok.Transparency + 0.04
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
- shok.BrickColor = BrickColor.new("Grey")
- end
- for e = 1, 12 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(3, -1, 3)
- shok.Transparency = shok.Transparency + 0.004
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
- end
- end))
- coroutine.resume(coroutine.create(function()
- local shok = Instance.new("Part")
- shok.Name = "shock3"
- shok.BrickColor = BrickColor.new("Institutional white")
- shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- shok.Size = Vector3.new(1, 1, 1)
- shok.Anchored = true
- shok.Material = "Neon"
- shok.Transparency = 0.35
- shok.CanCollide = false
- shok.Parent = model
- game.Debris:AddItem(shok, 12)
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "rbxassetid://549734488"
- mesh.Scale = Vector3.new(1, 1, 1)
- mesh.Parent = shok
- for e = 1, 15 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(0.2, 0.2, 0.2)
- shok.Transparency = shok.Transparency + 0.004
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- end
- for e = 1, 16 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(0.2, 0.2, 0.2)
- shok.Transparency = shok.Transparency + 0.004
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
- end
- for e = 1, 12 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(0.2, 0.2, 0.2)
- shok.Transparency = shok.Transparency + 0.06
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
- end
- end))
- end
- Mouse.KeyDown:connect(function(k)
- if k:byte() == 48 then
- Humanoid.WalkSpeed = 200
- end
- end)
- Mouse.KeyUp:connect(function(k)
- if k:byte() == 48 then
- Humanoid.WalkSpeed = 16
- end
- end)
- SeriousSlam = function()
- local Sound = Instance.new("Sound", Character.UpperTorso)
- Sound.SoundId = "rbxassetid://142070127"
- Sound.Pitch = 1
- Sound.Looped = false
- Sound.Volume = 10
- Sound:play()
- local Sound = Instance.new("Sound", Character.UpperTorso)
- Sound.SoundId = "rbxassetid://169628396"
- Sound.Pitch = 1
- Sound.Looped = false
- Sound.Volume = 10
- Sound:play()
- local effspwn = Instance.new("Part")
- local model = Instance.new("Model")
- game.Debris:AddItem(model, 20)
- model.Name = "smasheffects"
- model.Parent = Character
- effspwn.Name = "spwnr"
- effspwn.Size = Vector3.new(1, 1, 1)
- effspwn.Anchored = true
- effspwn.CanCollide = false
- effspwn.Transparency = 1
- effspwn.CFrame = Head.CFrame * CFrame.Angles(math.rad(180), 0, 0)
- effspwn.Parent = model
- for i = 1, 15 do
- local gtrace = Instance.new("Part", game.Workspace)
- do
- gtrace.BrickColor = BrickColor.new("Grey")
- gtrace.Material = "Slate"
- gtrace.Size = Vector3.new(91, 91, 91)
- gtrace.Anchored = true
- gtrace.CanCollide = true
- gtrace.CFrame = (Character.HumanoidRootPart.CFrame + Vector3.new(math.random(-240, 240), -6, math.random(-240, 240))) * CFrame.fromEulerAnglesXYZ(math.random(0, math.rad(76)), math.random(0, math.rad(90)), math.random(0, math.rad(360)))
- local gdisp = coroutine.wrap(function()
- wait(18)
- for i = 1, 9 do
- wait(0.1)
- gtrace.Transparency = gtrace.Transparency + 0.1
- end
- gtrace:Destroy()
- end)
- gdisp()
- end
- end
- local exp = Instance.new("Explosion", Character)
- exp.BlastRadius = 147.5
- exp.BlastPressure = 200
- exp.Position = Character.HumanoidRootPart.Position
- exp.Visible = false
- for i,v in pairs(FindNearestTorso(UpperTorso.CFrame.p, 50)) do
- if v:FindFirstChild("Humanoid") then
- v.Humanoid:TakeDamage(math.random(1.1294319249192e+15, 1.1294319249192e+15))
- v.Humanoid.PlatformStand = true
- v:FindFirstChild("Torso").Velocity = UpperTorso.CFrame.lookVector * 5
- end
- end
- local H33 = Instance.new("Part", Character)
- H33.Size = Vector3.new(1, 1, 1)
- H33.BrickColor = BrickColor.new("White")
- H33.CanCollide = false
- H33.Anchored = true
- H33.CFrame = Character.UpperTorso.CFrame * CFrame.new(0, -3, ) * CFrame.Angles(1.55, 0, )
- local H233 = Instance.new("SpecialMesh", H33)
- H233.MeshId = "rbxassetid://3270017"
- local H333 = Instance.new("Part", Character)
- H333.Size = Vector3.new(1, , 1)
- H333.BrickColor = BrickColor.new("White")
- H333.CanCollide = false
- H333.Anchored = true
- H333.CFrame = Character.UpperTorso.CFrame * CFrame.new(, -3, 0) * CFrame.Angles(, 1.55, 0)
- local H2333 = Instance.new("SpecialMesh", H33)
- H2333.MeshId = "rbxassetid://3270017"
- local H4 = Instance.new("Part, Character)
- H4.Size = Vector3.new(1, 1, 1)
- H4.BrickColor = BrickColor.new("White")
- H4.CanCollide = false
- H4.Anchored = true
- H4.CFrame = Character.UpperTorso.CFrame * CFrame.new(0, -3, 0) * CFrame.Angles(0, 0, 1.75)
- local H24 = Instance.new("SpecialMesh", H4)
- H24.MeshId = "rbxassetid://3270017"
- coroutine.resume(coroutine.create(function()
- for i = 1, 200 do
- H233.Scale = H233.Scale + Vector3.new(36, 36, 36)
- H33.Transparency = H33.Transparency + 0.02
- H2333.Scale = H2333.Scale + Vector3.new(37, 37, 37)
- H333.Transparency = H333.Transparency + 0.02
- H24.Scale = H24.Scale + Vector3.new(37, 37, 37)
- H4.Transparency = H4.Transparency + 0.02
- wait(1e-11)
- end
- end))
- coroutine.resume(coroutine.create(function()
- local shok = Instance.new("Part")
- shok.Name = "shock3"
- shok.BrickColor = BrickColor.new("Institutional white")
- shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
- shok.Size = Vector3.new(1, 1, 1)
- shok.Anchored = true
- shok.Material = "Neon"
- shok.Transparency = 0.35
- shok.CanCollide = false
- shok.Parent = model
- game.Debris:AddItem(shok, 12)
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "rbxassetid://"
- mesh.Scale = Vector3.new(1, 1, 1)
- mesh.Parent = shok
- for e = 1, 15 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(15, 20.6, 15)
- shok.Transparency = shok.Transparency + 0.004
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
- end
- for e = 1, 16 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(1, 2, 1)
- shok.Transparency = shok.Transparency + 0.004
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
- end
- for e = 1, 12 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(1, 2, 1)
- shok.Transparency = shok.Transparency + 0.06
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
- end
- end))
- coroutine.resume(coroutine.create(function()
- local shok = Instance.new("Part")
- shok.Name = "shock3"
- shok.BrickColor = BrickColor.new("Lily white")
- shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
- shok.Size = Vector3.new(1, 1, 1)
- shok.Anchored = true
- shok.Material = "Neon"
- shok.Transparency = 0.1
- shok.CanCollide = false
- shok.Parent = model
- game.Debris:AddItem(shok, 12)
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "rbxassetid://1095708"
- mesh.Scale = Vector3.new(67, 67, 47)
- mesh.Parent = shok
- for e = 1, 15 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(3, 4.6, 3)
- shok.Transparency = shok.Transparency + 0.04
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
- end
- for e = 1, 16 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(3, 4.6, 3)
- shok.Transparency = shok.Transparency + 0.04
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
- shok.BrickColor = BrickColor.new("Grey")
- end
- for e = 1, 12 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(3, -1, 3)
- shok.Transparency = shok.Transparency + 0.004
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
- end
- end))
- coroutine.resume(coroutine.create(function()
- local shok = Instance.new("Part")
- shok.Name = "shock3"
- shok.BrickColor = BrickColor.new("Institutional white")
- shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- shok.Size = Vector3.new(1, 1, 1)
- shok.Anchored = true
- shok.Material = "Neon"
- shok.Transparency = 0.35
- shok.CanCollide = false
- shok.Parent = model
- game.Debris:AddItem(shok, 12)
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "rbxassetid://549734488"
- mesh.Scale = Vector3.new(1, 1, 1)
- mesh.Parent = shok
- for e = 1, 15 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(0.2, 0.2, 0.2)
- shok.Transparency = shok.Transparency + 0.004
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- end
- for e = 1, 16 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(0.2, 0.2, 0.2)
- shok.Transparency = shok.Transparency + 0.004
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
- end
- for e = 1, 12 do
- wait()
- mesh.Scale = mesh.Scale + Vector3.new(0.2, 0.2, 0.2)
- shok.Transparency = shok.Transparency + 0.06
- shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
- shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
- end
- end))
- end
- Jump = function()
- if not D then
- D = true
- Idle = true
- do
- for i = 0, 2, 0.1 do
- LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(LeftShoulder.C0.p) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.1)
- RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(RightShoulder.C0.p) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.1)
- LeftElbow.C0 = LeftElbow.C0:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement