Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- if you logged this give credit
- if i traded, give credit
- made by EpuX_Legitness69
- Darwin#6725
- --]]
- Player=game:GetService('Players').LocalPlayer
- Blacklisted={"Player3"}
- function swait(num)
- if num==0 or num==nil then
- game:service'RunService'.Heartbeat:wait(0)
- else
- for i=0,num do
- game:service'RunService'.Heartbeat:wait(0)
- end
- end
- end
- function Label(text, color3, cf)
- local t=Instance.new("Part",workspace)
- t.Transparency=1
- t.Anchored=true
- t.CanCollide=false
- t.Size=Vector3.new(1,1,1)
- t.CFrame=cf
- local bil=Instance.new('BillboardGui',t)
- bil.Size=UDim2.new(0, 9, 0, 9)
- local tex=Instance.new('TextLabel',bil)
- tex.Size=UDim2.new(0, 5 , 0, 5)
- tex.BackgroundTransparency=1
- tex.Text=text
- tex.TextSize=25
- t.Anchored=true
- tex.TextColor3=color3
- local move=coroutine.create(function()
- for i=1, 30 do
- t.CFrame=t.CFrame*CFrame.new(0, 0.2, 0)
- tex.TextTransparency=tex.TextTransparency+1/30
- swait()
- end
- t:Destroy()
- end)
- coroutine.resume(move)
- end
- repeat swait() until Player.Character~=nil
- Character=Player.Character
- Torso=Character:FindFirstChild("Torso")
- RootPart=Character:FindFirstChild("HumanoidRootPart")
- Humanoid=Character.Humanoid
- Humanoid.MaxHealth=1500
- Humanoid.Health=1499
- if Character:FindFirstChild("sword") and Character:FindFirstChild("thing lol") then
- Character["sword"]:remove()
- Character["thing lol"]:remove()
- end
- Energy=100
- magic = false
- local engui=Instance.new("ScreenGui",Player.PlayerGui)
- engui.Parent=nil
- Energy=7429384729384729834892374293847293472983749234729374928
- local frame2=Instance.new("Frame",engui)
- frame2.Size=UDim2.new(0, Energy*5, 0, 75)
- frame2.Position=UDim2.new(0, 0, 0.783, 0)
- frame2.BorderSizePixel=0
- frame2.BackgroundColor3=frame2.BorderColor3
- frame2.Name="back"
- local frame=Instance.new("Frame",engui)
- frame.Name='Energy'
- frame.Size=UDim2.new(0, Energy*5, 0, 10)
- frame.BorderSizePixel=0
- frame.BackgroundColor3=Color3.fromRGB(0, 255, 255)
- frame.Position=UDim2.new(0, 0,0.79, 0)
- local BlastInformation={
- "160";
- false;
- false;
- "EffectPart";
- }
- o1 = Instance.new("Model")
- o2 = Instance.new("Part")
- o3 = Instance.new("Part")
- o4 = Instance.new("Part")
- o5 = Instance.new("Part")
- o6 = Instance.new("Part")
- o7 = Instance.new("Part")
- o8 = Instance.new("Part")
- o9 = Instance.new("Part")
- o10 = Instance.new("Part")
- o11 = Instance.new("Part")
- o12 = Instance.new("Part")
- o13 = Instance.new("Part")
- o14 = Instance.new("WedgePart")
- o15 = Instance.new("WedgePart")
- o16 = Instance.new("WedgePart")
- o17 = Instance.new("Part")
- o1.Name = "sword"
- o1.Parent = Character
- o1.PrimaryPart = o2
- o2.Name = "handle"
- o2.Parent = o1
- o2.Material = Enum.Material.SmoothPlastic
- o2.BrickColor = BrickColor.new("Really black")
- o2.Position = Vector3.new(3.50303364, 0.503615558, -3.90036798)
- o2.Rotation = Vector3.new(-0.209999993, 0.379999995, -2.27999997)
- o2.Anchored = false
- o2.Size = Vector3.new(1.81374133, 0.290198565, 0.217648908)
- o2.CFrame = CFrame.new(3.50303364, 0.503615558, -3.90036798, 0.999187946, 0.0397325605, 0.00669376971, -0.039758075, 0.999202371, 0.0037228961, -0.00654051034, -0.00398600427, 0.999970675)
- o2.BottomSurface = Enum.SurfaceType.Smooth
- o2.TopSurface = Enum.SurfaceType.Smooth
- o2.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o2.Position = Vector3.new(3.50303364, 0.503615558, -3.90036798)
- o3.Name = "handle2"
- o3.Parent = o1
- o3.Material = Enum.Material.SmoothPlastic
- o3.BrickColor = BrickColor.new("Black")
- o3.Position = Vector3.new(3.52630687, 0.175960317, -3.89930344)
- o3.Rotation = Vector3.new(-0.209999993, 0.379999995, -2.27999997)
- o3.Anchored = false
- o3.Size = Vector3.new(1.88629055, 0.362748176, 0.21764873)
- o3.CFrame = CFrame.new(3.52630687, 0.175960317, -3.89930344, 0.999187946, 0.0397325605, 0.00669376971, -0.039758075, 0.999202371, 0.0037228961, -0.00654051034, -0.00398600427, 0.999970675)
- o3.BottomSurface = Enum.SurfaceType.Smooth
- o3.TopSurface = Enum.SurfaceType.Smooth
- o3.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o3.Position = Vector3.new(3.52630687, 0.175960317, -3.89930344)
- o4.Name = "blade"
- o4.Parent = o1
- o4.Material = Enum.Material.SmoothPlastic
- o4.BrickColor = BrickColor.new("Dark stone grey")
- o4.Position = Vector3.new(5.35154724, 0.430062562, -3.91246772)
- o4.Rotation = Vector3.new(-0.209999993, 0.379999995, -2.27999997)
- o4.Anchored = false
- o4.Size = Vector3.new(1.88629091, 0.290198594, 0.21764873)
- o4.CFrame = CFrame.new(5.35154724, 0.430062562, -3.91246772, 0.999187946, 0.0397325605, 0.00669376971, -0.039758075, 0.999202371, 0.0037228961, -0.00654051034, -0.00398600427, 0.999970675)
- o4.BottomSurface = Enum.SurfaceType.Smooth
- o4.TopSurface = Enum.SurfaceType.Smooth
- o4.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o4.Position = Vector3.new(5.35154724, 0.430062562, -3.91246772)
- o5.Name = "blade"
- o5.Parent = o1
- o5.Material = Enum.Material.SmoothPlastic
- o5.BrickColor = BrickColor.new("Dark stone grey")
- o5.Position = Vector3.new(6.55340576, 0.527451813, -3.92087579)
- o5.Rotation = Vector3.new(-0.209999993, 0.379999995, -2.27999997)
- o5.Anchored = false
- o5.Size = Vector3.new(0.507847428, 0.145099297, 0.21764873)
- o5.CFrame = CFrame.new(6.55340576, 0.527451813, -3.92087579, 0.999187946, 0.0397325605, 0.00669376971, -0.039758075, 0.999202371, 0.0037228961, -0.00654051034, -0.00398600427, 0.999970675)
- o5.BottomSurface = Enum.SurfaceType.Smooth
- o5.TopSurface = Enum.SurfaceType.Smooth
- o5.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o5.Position = Vector3.new(6.55340576, 0.527451813, -3.92087579)
- o6.Name = "blade"
- o6.Parent = o1
- o6.Material = Enum.Material.SmoothPlastic
- o6.BrickColor = BrickColor.new("Dark stone grey")
- o6.Position = Vector3.new(7.17390108, 0.611671805, -3.9253428)
- o6.Rotation = Vector3.new(-0.209999993, 0.379999995, -2.27999997)
- o6.Anchored = false
- o6.Size = Vector3.new(1.01569629, 0.217648968, 0.21764873)
- o6.CFrame = CFrame.new(7.17390108, 0.611671805, -3.9253428, 0.999187946, 0.0397325605, 0.00669376971, -0.039758075, 0.999202371, 0.0037228961, -0.00654051034, -0.00398600427, 0.999970675)
- o6.BottomSurface = Enum.SurfaceType.Smooth
- o6.TopSurface = Enum.SurfaceType.Smooth
- o6.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o6.Position = Vector3.new(7.17390108, 0.611671805, -3.9253428)
- o7.Name = "blade"
- o7.Parent = o1
- o7.Material = Enum.Material.SmoothPlastic
- o7.BrickColor = BrickColor.new("Royal purple")
- o7.Position = Vector3.new(4.48941326, 0.314249277, -3.90626526)
- o7.Rotation = Vector3.new(-0.209999993, 0.379999995, -2.27999997)
- o7.Anchored = false
- o7.Size = Vector3.new(0.172549665, 0.88039726, 0.362748176)
- o7.CFrame = CFrame.new(4.48941326, 0.314249277, -3.90626526, 0.999187946, 0.0397325605, 0.00669376971, -0.039758075, 0.999202371, 0.0037228961, -0.00654051034, -0.00398600427, 0.999970675)
- o7.BottomSurface = Enum.SurfaceType.Smooth
- o7.TopSurface = Enum.SurfaceType.Smooth
- o7.Color = Color3.new(0.384314, 0.145098, 0.819608)
- o7.Position = Vector3.new(4.48941326, 0.314249277, -3.90626526)
- o8.Name = "blade"
- o8.Parent = o1
- o8.Material = Enum.Material.SmoothPlastic
- o8.BrickColor = BrickColor.new("Dark stone grey")
- o8.Position = Vector3.new(7.86256742, 0.584287167, -3.92984986)
- o8.Rotation = Vector3.new(-0.209999993, 0.379999995, -2.27999997)
- o8.Anchored = false
- o8.Size = Vector3.new(0.943146408, 0.217648908, 0.21764873)
- o8.CFrame = CFrame.new(7.86256742, 0.584287167, -3.92984986, 0.999187946, 0.0397325605, 0.00669376971, -0.039758075, 0.999202371, 0.0037228961, -0.00654051034, -0.00398600427, 0.999970675)
- o8.BottomSurface = Enum.SurfaceType.Smooth
- o8.TopSurface = Enum.SurfaceType.Smooth
- o8.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o8.Position = Vector3.new(7.86256742, 0.584287167, -3.92984986)
- o9.Name = "blade"
- o9.Parent = o1
- o9.Material = Enum.Material.SmoothPlastic
- o9.Position = Vector3.new(7.23774481, 0.391329765, -3.92494988)
- o9.Rotation = Vector3.new(-0.209999993, 0.379999995, -2.27999997)
- o9.Anchored = false
- o9.Size = Vector3.new(1.01569629, 0.217648968, 0.0725494251)
- o9.CFrame = CFrame.new(7.23774481, 0.391329765, -3.92494988, 0.999187946, 0.0397325605, 0.00669376971, -0.039758075, 0.999202371, 0.0037228961, -0.00654051034, -0.00398600427, 0.999970675)
- o9.BottomSurface = Enum.SurfaceType.Smooth
- o9.TopSurface = Enum.SurfaceType.Smooth
- o9.Position = Vector3.new(7.23774481, 0.391329765, -3.92494988)
- o10.Name = "blade"
- o10.Parent = o1
- o10.Material = Enum.Material.SmoothPlastic
- o10.Position = Vector3.new(6.54764175, 0.382485986, -3.92029738)
- o10.Rotation = Vector3.new(-0.209999993, 0.379999995, -2.27999997)
- o10.Anchored = false
- o10.Size = Vector3.new(0.507847428, 0.145099297, 0.0725494251)
- o10.CFrame = CFrame.new(6.54764175, 0.382485986, -3.92029738, 0.999187946, 0.0397325605, 0.00669376971, -0.039758075, 0.999202371, 0.0037228961, -0.00654051034, -0.00398600427, 0.999970675)
- o10.BottomSurface = Enum.SurfaceType.Smooth
- o10.TopSurface = Enum.SurfaceType.Smooth
- o10.Position = Vector3.new(6.54764175, 0.382485986, -3.92029738)
- o11.Name = "blade"
- o11.Parent = o1
- o11.Material = Enum.Material.SmoothPlastic
- o11.Position = Vector3.new(5.34001732, 0.140111372, -3.91131139)
- o11.Rotation = Vector3.new(-0.209999993, 0.379999995, -2.27999997)
- o11.Anchored = false
- o11.Size = Vector3.new(1.88629091, 0.290198594, 0.0725494251)
- o11.CFrame = CFrame.new(5.34001732, 0.140111372, -3.91131139, 0.999187946, 0.0397325605, 0.00669376971, -0.039758075, 0.999202371, 0.0037228961, -0.00654051034, -0.00398600427, 0.999970675)
- o11.BottomSurface = Enum.SurfaceType.Smooth
- o11.TopSurface = Enum.SurfaceType.Smooth
- o11.Position = Vector3.new(5.34001732, 0.140111372, -3.91131139)
- o12.Name = "blade"
- o12.Parent = o1
- o12.Material = Enum.Material.SmoothPlastic
- o12.Position = Vector3.new(6.54187584, 0.237497687, -3.91971898)
- o12.Rotation = Vector3.new(-0.209999993, 0.379999995, -2.27999997)
- o12.Anchored = false
- o12.Size = Vector3.new(0.507847428, 0.145099297, 0.0725494251)
- o12.CFrame = CFrame.new(6.54187584, 0.237497687, -3.91971898, 0.999187946, 0.0397325605, 0.00669376971, -0.039758075, 0.999202371, 0.0037228961, -0.00654051034, -0.00398600427, 0.999970675)
- o12.BottomSurface = Enum.SurfaceType.Smooth
- o12.TopSurface = Enum.SurfaceType.Smooth
- o12.Position = Vector3.new(6.54187584, 0.237497687, -3.91971898)
- o13.Name = "blade"
- o13.Parent = o1
- o13.Material = Enum.Material.SmoothPlastic
- o13.Position = Vector3.new(7.85391998, 0.366829038, -3.92898273)
- o13.Rotation = Vector3.new(-0.209999993, 0.379999995, -2.27999997)
- o13.Anchored = false
- o13.Size = Vector3.new(0.943146408, 0.217648908, 0.0725494251)
- o13.CFrame = CFrame.new(7.85391998, 0.366829038, -3.92898273, 0.999187946, 0.0397325605, 0.00669376971, -0.039758075, 0.999202371, 0.0037228961, -0.00654051034, -0.00398600427, 0.999970675)
- o13.BottomSurface = Enum.SurfaceType.Smooth
- o13.TopSurface = Enum.SurfaceType.Smooth
- o13.Position = Vector3.new(7.85391998, 0.366829038, -3.92898273)
- o14.Name = "blade"
- o14.Parent = o1
- o14.Material = Enum.Material.SmoothPlastic
- o14.Position = Vector3.new(8.54688454, 0.448131114, -3.93391848)
- o14.Rotation = Vector3.new(-80.659996, -87.6899948, 99.5599976)
- o14.Anchored = false
- o14.Size = Vector3.new(0.0725493357, 0.435297847, 0.435297698)
- o14.CFrame = CFrame.new(8.54688454, 0.448131114, -3.93391848, -0.00669376971, -0.0397325605, -0.999187946, -0.0037228961, -0.999202371, 0.039758075, -0.999970675, 0.00398600427, 0.00654051034)
- o14.BottomSurface = Enum.SurfaceType.Smooth
- o14.Position = Vector3.new(8.54688454, 0.448131114, -3.93391848)
- o15.Name = "blade"
- o15.Parent = o1
- o15.Material = Enum.Material.SmoothPlastic
- o15.BrickColor = BrickColor.new("Dark stone grey")
- o15.Position = Vector3.new(8.54934502, 0.498366147, -3.86156535)
- o15.Rotation = Vector3.new(-80.659996, -87.6899948, 99.5599976)
- o15.Anchored = false
- o15.Size = Vector3.new(0.0725493357, 0.335297853, 0.435297698)
- o15.CFrame = CFrame.new(8.54934502, 0.498366147, -3.86156535, -0.00669376971, -0.0397325605, -0.999187946, -0.0037228961, -0.999202371, 0.039758075, -0.999970675, 0.00398600427, 0.00654051034)
- o15.BottomSurface = Enum.SurfaceType.Smooth
- o15.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o15.Position = Vector3.new(8.54934502, 0.498366147, -3.86156535)
- o16.Name = "blade"
- o16.Parent = o1
- o16.Material = Enum.Material.SmoothPlastic
- o16.BrickColor = BrickColor.new("Dark stone grey")
- o16.Position = Vector3.new(8.54836464, 0.497818381, -4.00666428)
- o16.Rotation = Vector3.new(-80.659996, -87.6899948, 99.5599976)
- o16.Anchored = false
- o16.Size = Vector3.new(0.0725493357, 0.335297853, 0.435297698)
- o16.CFrame = CFrame.new(8.54836464, 0.497818381, -4.00666428, -0.00669376971, -0.0397325605, -0.999187946, -0.0037228961, -0.999202371, 0.039758075, -0.999970675, 0.00398600427, 0.00654051034)
- o16.BottomSurface = Enum.SurfaceType.Smooth
- o16.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o16.Position = Vector3.new(8.54836464, 0.497818381, -4.00666428)
- o17.Name = "hitbox"
- o17.Parent = o1
- o17.Material = Enum.Material.SmoothPlastic
- o17.BrickColor = BrickColor.new("Dark stone grey")
- o17.Transparency = 1
- o17.Position = Vector3.new(6.65000057, 0.450003982, -3.89999652)
- o17.Anchored = false
- o17.Size = Vector3.new(4.29999971, 0.899999976, 0.399999678)
- o17.CFrame = CFrame.new(6.65000057, 0.450003982, -3.89999652, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o17.BottomSurface = Enum.SurfaceType.Smooth
- o17.TopSurface = Enum.SurfaceType.Smooth
- o17.Color = Color3.new(0.388235, 0.372549, 0.384314)
- o17.Position = Vector3.new(6.65000057, 0.450003982, -3.89999652)
- handle=o2
- prim=o1.PrimaryPart
- parts=o1:GetChildren()
- for i=1, #parts do
- if parts[i]:IsA"BasePart" then
- local weld=Instance.new("Weld")
- weld.Part0=prim
- weld.Part1=parts[i]
- weld.C0=prim.CFrame:inverse()
- weld.C1=parts[i].CFrame:inverse()
- weld.Parent=prim
- end
- end
- o1.Parent=Character
- local handleweld=Instance.new("Weld",handle)
- handleweld.Part0=handle
- handleweld.Part1=Character:FindFirstChild("Right Arm")
- handleweld.C0=CFrame.new(0, 2, 0)
- handleweld.C1=CFrame.new(0, 1, 0)*CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0))
- handleweld.Parent=nil
- local holder=Instance.new("Part",Character)
- holder.Material="SmoothPlastic"
- holder.Name='thing lol'
- holder.Anchored=false
- holder.CanCollide=false
- holder.Size=Vector3.new(0.6, 0.3, 1.5)
- holder.TopSurface="Smooth"
- holder.BottomSurface="Smooth"
- holder.BackSurface="Smooth"
- holder.RightSurface="Smooth"
- holder.LeftSurface="Smooth"
- holder.BrickColor=BrickColor.new("Rust")
- local holderweld=Instance.new("Weld",holder)
- holderweld.Part0=holder
- holderweld.Part1=Torso
- holderweld.C0=CFrame.new(1.5, 0, 0)
- holderweld.C1=CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(10), 0, math.rad(50))
- local swordweld=Instance.new("Weld",handle)
- swordweld.Part0=handle
- swordweld.Part1=holder
- swordweld.C0=CFrame.Angles(0, math.rad(90), 0)
- swordweld.C1=CFrame.new(0, -0.1, 0)
- Anim="Idle"
- active=false
- can=false
- hat = Instance.new("Part")
- hatmesh = Instance.new("SpecialMesh")
- hat.Name = "Handle"
- hat.Parent = Character
- hat.Position = Vector3.new(14.3999977, 0.400000006, -18.7000008)
- hat.Rotation = Vector3.new(-180, 0, -180)
- hat.Anchored = false
- hat.FormFactor = Enum.FormFactor.Plate
- hat.Size = Vector3.new(2, 0.800000012, 2)
- hat.CFrame = CFrame.new(14.3999977, 0.400000006, -18.7000008, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- hat.BottomSurface = Enum.SurfaceType.Smooth
- hat.TopSurface = Enum.SurfaceType.Smooth
- hat.Position = Vector3.new(14.3999977, 0.400000006, -18.7000008)
- hatmesh.Parent = hat
- hatmesh.MeshId = "http://www.roblox.com/asset/?id=1028713"
- hatmesh.TextureId = "http://www.roblox.com/asset/?id=116269570"
- hatmesh.MeshType = Enum.MeshType.FileMesh
- local hatcyl=Instance.new("Part",hat)
- hatcyl.Anchored=false
- hatcyl.Size=Vector3.new(1, 0.05, 1)
- hatcyl.BrickColor=BrickColor.new("Royal purple")
- hatcyl.Material="Neon"
- hatcyl.CanCollide=false
- local hatcylmesh=Instance.new("CylinderMesh",hatcyl)
- hatcylmesh.Scale=Vector3.new(1.5, 1, 1.5)
- local cylweld=Instance.new("Weld",hatcyl)
- cylweld.Part0=hatcyl
- cylweld.Part1=hat
- cylweld.C0=CFrame.new(0, 0.2, 0)
- local hatweld=Instance.new("Weld",hat)
- hatweld.Part0=hat
- hatweld.Part1=Character.Head
- hatweld.C0=CFrame.new(0, -0.7,0)
- hatweld.C1=CFrame.Angles(0, 0, -0.2)
- eye1 = Instance.new("Part", Character.Head)
- eye1.Anchored = false
- eye1.Parent = Character.Head
- eye1.TopSurface = 0
- eye1.BrickColor = BrickColor.new("Royal purple")
- eye1.Material="Neon"
- eye1.BottomSurface = 0
- eye1m = Instance.new("SpecialMesh", eye1)
- eye1m.MeshType = Enum.MeshType.Sphere
- eye1m.Scale = Vector3.new(0.02,0.12,0.03)
- ogsize = eye1m.Scale
- weld = Instance.new("Weld", Character.Head)
- weld.Part0 = eye1
- weld.Part1 = Character.Head
- weld.C1 = CFrame.new(-.17,.14,-.57)
- eye2 = Instance.new("Part", workspace)
- eye2.Anchored = false
- eye2.Parent = Character.Head
- eye2.TopSurface = 0
- eye2.BrickColor = BrickColor.new("Royal purple")
- eye2.BottomSurface = 0
- eye2.Material="Neon"
- eye2m = Instance.new("SpecialMesh", eye2)
- eye2m.MeshType = Enum.MeshType.Sphere
- eye2m.Scale = Vector3.new(0.02,0.12,0.03)
- ogsize = eye2m.Scale
- weld = Instance.new("Weld", Character.Head)
- weld.Part0 = eye2
- weld.Part1 = Character.Head
- weld.C1 = CFrame.new(.17,.14,-.57)
- local band=Instance.new("Part",Character)
- band.Anchored=false
- band.CanCollide=false
- band.BrickColor=BrickColor.new("Really black")
- band.Size=Vector3.new(1,1,1)
- band.Name="Band"
- local bandmesh=Instance.new("SpecialMesh",band)
- bandmesh.Scale=Character.Head.Mesh.Scale+Vector3.new(0.1,0,0.1)-Vector3.new(0,0.3,0)
- local bandweld=Instance.new('Weld',band)
- bandweld.Part0=band
- bandweld.Part1=Character.Head
- bandweld.C0=CFrame.new(0,0.3,0)
- local hsnd = Instance.new("Sound");hsnd.SoundId="rbxassetid://429400881";hsnd.Volume=1.5
- local fire=Instance.new("Part",o1)
- fire.Name="Flame"
- fire.CanCollide=false
- fire.Anchored=false
- fire.BrickColor = BrickColor.new("CGA brown")
- fire.Material="Neon"
- fire.Shape = "Ball"
- fire.Size = Vector3.new(2, 2, 2)
- fire.Transparency = 0.5
- fire.Parent = nil
- local fWeld=Instance.new("Weld",fire)
- fWeld.Part0=fire
- fWeld.Part1=Character:FindFirstChild("Left Arm")
- fWeld.C0=CFrame.new(0, 1.5, 0)
- sword = {
- o1,
- o2,
- o3,
- o4,
- o5,
- o6,
- o7,
- o8,
- o9,
- o10,
- o11,
- o12,
- o13,
- o14,
- o15,
- o16,
- o17,
- band,
- " "
- }
- function Infect(part)
- if (part:getMass() < 300) then
- part.Color=Color3.fromRGB(50, 50, 50)
- part.Material="Neon"
- end
- end
- if Torso:FindFirstChild("Left Shoulder") and Torso:FindFirstChild("Right Shoulder") then
- Torso["Right Shoulder"]:Destroy()
- Torso["Left Shoulder"]:Destroy()
- end
- NewSound=function(id, par, vol,pit)
- local sound=Instance.new("Sound",par)
- sound.Volume=vol
- sound.Pitch=pit
- sound.SoundId=id
- sound:Play()
- coroutine.wrap(function()
- wait(10)
- sound:Destroy()
- end)()
- end
- Damage=function(min, max, hum, hitsound, parnt, attype)
- if active==true and hum.Health~=0 and can==true then
- local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
- local ran=math.random(1, #hitsounds)
- local r=ran
- if hitsound==true then
- NewSound("rbxassetid://"..hitsounds[r], parnt, 1,1)
- end
- local dam=math.random(min, max)
- if shout==true then
- dam=dam*math.random(2, 5)
- end
- hum:TakeDamage(dam)
- local t=Instance.new('Part',workspace)
- t.Size=Vector3.new(1, 1, 1)
- t.Transparency=1
- if hum.Parent==nil then
- can=false
- active=false
- return
- end
- if hum.Parent:FindFirstChild('Torso') then
- t.CFrame=hum.Parent.Torso.CFrame*CFrame.new(math.random(-5, 5), 0, math.random(-5, 5))
- elseif hum.Parent:FindFirstChild("HumanoidRootPart") then
- t.CFrame=hum.Parent.HumanoidRootPart.CFrame*CFrame.new(math.random(-5, 5), 0, math.random(-5, 5))
- elseif hum.Parent:FindFirstChild("Torso")==nil and hum.Parent:FindFirstChild("HumanoidRootPart")==nil then
- t.CFrame=Torso.CFrame*CFrame.new(math.random(-5,5), 0, math.random(-5, 5))
- end
- hum.Died:connect(function()
- Label("+"..hum.MaxHealth/200, Color3.fromRGB(0, 255, 0), Torso.CFrame)
- Humanoid.Health=Humanoid.Health+hum.MaxHealth/200
- end)
- local bil=Instance.new('BillboardGui',t)
- bil.Size=UDim2.new(0, 9, 0, 9)
- local tex=Instance.new('TextLabel',bil)
- tex.Size=UDim2.new(0, 5 , 0, 5)
- tex.BackgroundTransparency=1
- tex.Text="-"..dam
- tex.TextSize=45
- tex.FontSize=Enum.FontSize.Size28
- tex.Font = Enum.Font.ArialBold
- t.Anchored=true
- tex.TextColor3=Color3.fromRGB(30, 30, 30)
- t.CanCollide=false
- game:GetService("Debris"):AddItem(t, 5)
- if attype=="critical" then
- tex.TextColor3=Color3.fromRGB(255, 0, 0)
- tex.Text="Critical hit! -"..dam
- elseif attype=="magic" or attype=="magni" then
- tex.TextColor3=Color3.fromRGB(0, 255, 0)
- tex.Text="Magic hit! -"..dam
- t.CFrame=Torso.CFrame*CFrame.new(math.random(-5,5), 0, math.random(-5, 5))
- elseif attype=="knockback" or attype=="push" then
- local bodvel=Instance.new("BodyVelocity")
- bodvel.MaxForce=Vector3.new(500000, 500000, 500000)
- bodvel.Velocity = Torso.CFrame.lookVector*40+Vector3.new(0, -50, 0)
- hum.PlatformStand=true
- wait(0.3)
- coroutine.wrap(function()
- wait(0.5)
- hum.PlatformStand=false
- bodvel:Destroy()
- end)()
- elseif attype=="shock" then
- if hum.Parent==nil then
- active=false
- can=false
- return
- end
- Label("-"..dam, Color3.fromRGB(255,0,0),hum.Parent.Head.CFrame)
- for i=1, 20 do
- swait()
- for i,v in pairs(hum.Parent:GetChildren()) do
- if v:IsA("Part") then
- coroutine.wrap(function()
- hum:TakeDamage(dam)
- v.BrickColor=BrickColor.Black()
- wait(0.5)
- v.Reflectance=1
- wait(0.5)
- v.Reflectance=0
- end)()
- end
- end
- end
- end
- coroutine.wrap(function()
- for i=1, 100 do
- t.CFrame=t.CFrame*CFrame.new(0, 0.01, 0)
- swait()
- end
- t:Destroy()
- end)()
- end
- end
- rot=0
- angle=1
- function clerp(a,b,t)
- local qa = {QuaternionFromCFrame(a)}
- local qb = {QuaternionFromCFrame(b)}
- local ax, ay, az = a.x, a.y, a.z
- local bx, by, bz = b.x, b.y, b.z
- local _t = 1-t
- return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
- end
- function QuaternionFromCFrame(cf)
- local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
- local trace = m00 + m11 + m22
- if trace > 0 then
- local s = math.sqrt(1 + trace)
- local recip = 0.5/s
- return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
- else
- local i = 0
- if m11 > m00 then
- i = 1
- end
- if m22 > (i == 0 and m00 or m11) then
- i = 2
- end
- if i == 0 then
- local s = math.sqrt(m00-m11-m22+1)
- local recip = 0.5/s
- return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
- elseif i == 1 then
- local s = math.sqrt(m11-m22-m00+1)
- local recip = 0.5/s
- return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
- elseif i == 2 then
- local s = math.sqrt(m22-m00-m11+1)
- local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
- end
- end
- end
- function QuaternionToCFrame(px, py, pz, x, y, z, w)
- local xs, ys, zs = x + x, y + y, z + z
- local wx, wy, wz = w*xs, w*ys, w*zs
- local xx = x*xs
- local xy = x*ys
- local xz = x*zs
- local yy = y*ys
- local yz = y*zs
- local zz = z*zs
- return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
- end
- function QuaternionSlerp(a, b, t)
- local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
- local startInterp, finishInterp;
- if cosTheta >= 0.0001 then
- if (1 - cosTheta) > 0.0001 then
- local theta = math.acos(cosTheta)
- local invSinTheta = 1/math.sin(theta)
- startInterp = math.sin((1-t)*theta)*invSinTheta
- finishInterp = math.sin(t*theta)*invSinTheta
- else
- startInterp = 1-t
- finishInterp = t
- end
- else
- if (1+cosTheta) > 0.0001 then
- local theta = math.acos(-cosTheta)
- local invSinTheta = 1/math.sin(theta)
- startInterp = math.sin((t-1)*theta)*invSinTheta
- finishInterp = math.sin(t*theta)*invSinTheta
- else
- startInterp = t-1
- finishInterp = t
- end
- end
- return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
- end
- equipped=false
- attack=false
- attacktype=1
- for i,v in pairs(Blacklisted) do
- if Player.Name==v then
- o1:Destroy()
- wait(2)
- Label("This script is now going to be deleted because your blacklisted",Color3.fromRGB(0, 0, 255),Torso.CFrame*CFrame.new(0, 0, 5))
- Character:BreakJoints()
- end
- end
- function Elebrick(cf)
- local bri=Instance.new("Part",workspace)
- bri.CanCollide=false
- bri.Anchored=true
- bri.Size=Vector3.new(1,1,1)
- bri.CFrame=cf
- bri.Transparency=1
- game:GetService("Debris"):AddItem(bri, 5.4+math.pi/(1+Vector3.new(3, 1, 1)).magnitude)
- bri.Touched:connect(function(hit)
- MagniDamage(hit)
- end)
- for i=1, 80 do
- bri.Size=bri.Size+Vector3.new(5,5,5)
- bri.CFrame=cf
- swait()
- end
- bri:Destroy()
- end
- function blueshock()
- active=true
- attack=true
- coroutine.resume(coroutine.create(function()
- Elebrick(Torso.CFrame)
- end))
- local ring=Instance.new("Part",workspace)
- ring.CFrame=Torso.CFrame
- ring.Anchored=true
- ring.Transparency=0.5
- ring.CanCollide=false
- ring.BrickColor=BrickColor.new("Black")
- ring.Reflectance=1
- ring.Material="Neon"
- local ringmesh=Instance.new("FileMesh",ring)
- ringmesh.MeshId="rbxassetid://3270017"
- ring.Size=Vector3.new(0.1, 0.1, 0.1)
- ringmesh.Scale=Vector3.new(0.1, 0.1, 0.1)
- coroutine.wrap(function()
- wait(0.5)
- for i=1, 50 do
- ring.CFrame=CFrame.new(Torso.Position)*CFrame.Angles(math.rad(90),0,0)
- ring.Transparency=ring.Transparency+1/50
- ringmesh.Scale=ringmesh.Scale+Vector3.new(10, 10, 5)
- swait()
- end
- end)()
- ring.Rotation=Vector3.new(90, 0, 0)
- for i=1, 80 do
- ringmesh.Scale=ringmesh.Scale+Vector3.new(10, 10, 5)
- ring.Size=ring.Size+Vector3.new(10, 10, 10)
- swait()
- end
- active=false
- attack=false
- wait(3)
- ring:Destroy()
- end
- RW, LW=Instance.new("Weld"), Instance.new("Weld")
- RW.Parent=Torso
- RW.Part0=Torso
- RW.Part1=Character:FindFirstChild("Right Arm")
- RW.C0=CFrame.new(1.5, 0.5, 0)
- RW.C1=CFrame.new(0, 0.5, 0)
- LW.Parent=Torso
- LW.Part0=Torso
- LW.Part1=Character:FindFirstChild("Left Arm")
- LW.C0=CFrame.new(-1.5, 0.5,0)
- LW.C1=CFrame.new(0,0.5,0)
- LW.Name="Left Shoulder"
- RW.Name="Right Shoulder"
- o2.CanCollide=false
- o3.CanCollide=false
- o4.CanCollide=false
- o5.CanCollide=false
- o6.CanCollide=false
- o7.CanCollide=false
- o8.CanCollide=false
- o9.CanCollide=false
- o10.CanCollide=false
- o11.CanCollide=false
- o12.CanCollide=false
- o13.CanCollide=false
- o14.CanCollide=false
- o15.CanCollide=false
- o16.CanCollide=false
- o17.CanCollide=false
- function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
- return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
- end
- sine=0
- change=1
- mouse=Player:GetMouse()
- h0=handleweld.C0
- RJ=RootPart.RootJoint
- rcf=CFrame.fromEulerAnglesXYZ(-1.57,0,3.14)
- BladeDamage=function(hit)
- if hit.Parent.Name==Character.Name or hit.Parent.Name=="Soldier" then
- swait()
- else
- if hit.Parent==nil then
- can=false
- active=false
- return
- end
- for _,v in pairs(hit.Parent:GetChildren()) do
- if v:IsA("Humanoid") then
- if can==false then
- can=true
- local criti=math.random(1, 5)
- if dec == true then
- Damage(9999, 10000, v, true, hit, "crititcal")
- return
- end
- if criti==5 then
- Damage(30, 450, v, true, hit, "critical")
- Damage(0, 0.1, v, false, hit, "push")
- else
- Damage(30, 86, v, true, hit, "normal")
- end
- wait(0.1)
- can=false
- end
- end
- end
- end
- end
- InfectDamage=function(hit)
- if hit.Parent.Name==Character.Name or hit.Parent.Name=="Soldier" or hit.Parent.Name==o1.Name then
- swait()
- else
- Infect(hit)
- end
- end
- --[[
- ok so around here the script decides to just
- stop working for some reason, so if your attack doesn't do any damage,
- reload the script/rejoin
- --]]
- MagniDamage=function(hit)
- if hit.Parent.Name==Character.Name or hit.Parent.Name=="Soldier" or hit.Parent.Name==o1.Name then
- swait()
- else
- if hit.Parent==nil then
- can=false
- active=false
- return
- end
- for _,v in pairs(hit.Parent:GetChildren()) do
- if v:IsA("Humanoid") then
- if can==false then
- can=true
- Damage(54, 97, v, false, hit, "magni")
- Damage(0, 0.1, v, false, hit, "push")
- wait(0.2)
- can=false
- end
- end
- end
- end
- end
- function Equip()
- attack=true
- for i=0, 1, 0.1 do
- swait()
- neck.C0=clerp(neck.C0, necko*CFrame.Angles(math.rad(30),math.rad(0),math.rad(20)),0.3)
- RW.C0=clerp(RW.C0, CFrame.new(1, 0.1,-0.5)*CFrame.Angles(math.rad(60), math.rad(0), math.rad(-70)),0.3)
- end
- NewSound("rbxassetid://436161856",handle,1,1)
- handleweld.Parent=handle
- swordweld.Parent=nil
- wait(0.2)
- for i=0, 1, 0.1 do
- swait()
- handleweld.C1=clerp(handleweld.C1, CFrame.new(0, 1, 0)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)),0.3)
- RW.C0=clerp(RW.C0,CFrame.new(1.5, 0.5, 0)*CFrame.Angles(math.rad(30), 0, math.rad(20)),0.3)
- end
- wait(0.3)
- attack=false
- equipped=true
- Label("Equipped", Color3.fromRGB(255, 0, 0),hitbox.CFrame)
- end
- function Unequip()
- attack=true
- equipped=false
- NewSound('rbxassetid://481731911',handle,1,1)
- for i=0, 1, 0.1 do
- wait()
- neck.C0=clerp(neck.C0, necko*CFrame.Angles(math.rad(30),math.rad(0),math.rad(20)),0.3)
- handleweld.C1=clerp(handleweld.C1, CFrame.new(0, 1, 0)*CFrame.Angles(math.rad(0),math.rad(-90),math.rad(0)),0.3)
- RW.C0=clerp(RW.C0, CFrame.new(1, 0.1,-0.5)*CFrame.Angles(math.rad(60), math.rad(0), math.rad(-70)),0.3)
- end
- handleweld.Parent=nil
- swordweld.Parent=handle
- wait(0.2)
- for i=0, 1, 0.1 do
- swait()
- handleweld.C1=clerp(handleweld.C1, CFrame.new(0, 1, 0)*CFrame.Angles(math.rad(0),math.rad(-90),math.rad(0)),0.3)
- RW.C0=clerp(RW.C0,CFrame.new(1.5, 0.5, 0)*CFrame.Angles(0, 0, 0),0.3)
- end
- attack=false
- Label("Unequipped", Color3.fromRGB(255, 0, 0),hitbox.CFrame)
- end
- necko=Torso.Neck.C0
- neck=Torso.Neck
- hitbox=o17
- for i,v in pairs(o1:GetChildren()) do
- if v:IsA("Part") or v:IsA("WedgePart") then
- print(v.Name)
- v.Anchored=false
- v.CanCollide=false
- if v.BrickColor==BrickColor.Gray() then
- print(v.Name..' GREY')
- v.BrickColor=BrickColor.new("Pearl")
- v.Material="Metal"
- elseif v.BrickColor==BrickColor.DarkGray() then
- print(v.Name.. ' DARK GReY')
- v.Material="Metal"
- elseif v.BrickColor==BrickColor.new("Royal purple") then
- print(v.Name.. ' PURplE')
- v.Material="Neon"
- end
- end
- end
- function attackone()
- attack=true
- attacktype=2
- for i=0, 1, 0.1 do
- swait()
- RJ.C0=clerp(RJ.C0, rcf*CFrame.Angles(math.rad(0),math.rad(0),math.rad(50)),0.4)
- neck.C0=clerp(neck.C0, necko*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-50)),0.4)
- RW.C0=clerp(RW.C0, CFrame.new(1.5, 0.5, 0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)),0.4)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-60)),0.4)
- handleweld.C1=clerp(handleweld.C1, CFrame.new(0, 1, 0)*CFrame.Angles(math.rad(0),math.rad(-180),math.rad(0)),.4)
- end
- active=true
- NewSound('rbxassetid://199145841',handle,1,1)
- local spec = 5
- hitbox.Touched:connect(BladeDamage)
- for i=0, 1, 0.1 do
- swait()
- RJ.C0=clerp(RJ.C0, rcf*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-50)),0.4)
- neck.C0=clerp(neck.C0, necko*CFrame.Angles(math.rad(0),math.rad(0),math.rad(50)),0.4)
- LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5,0)*CFrame.Angles(math.rad(4),math.rad(0),math.rad(-10)),0.4)
- RW.C0=clerp(RW.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(90)),.4)
- end
- swait()
- active=false
- attack=false
- end
- function attacktwo()
- attack=true
- attacktype=3
- for i=0, 1, 0.1 do
- swait()
- LW.C0=clerp(LW.C0,CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(0)),.4)
- handleweld.C1=clerp(handleweld.C1,CFrame.new(0,1,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.4)
- neck.C0=clerp(neck.C0, necko*CFrame.Angles(math.rad(0),math.rad(0),math.rad(50)),0.4)
- RJ.C0=clerp(RJ.C0, rcf*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-50)),0.4)
- RW.C0=clerp(RW.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)),0.4)
- end
- active=true
- NewSound('rbxassetid://199145887',handle,1,1)
- hitbox.Touched:connect(BladeDamage)
- for i=0, 1, 0.1 do
- swait()
- neck.C0=clerp(neck.C0, necko*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-50)),0.4)
- RJ.C0=clerp(RJ.C0, rcf*CFrame.Angles(math.rad(0),math.rad(0),math.rad(50)),0.4)
- RW.C0=clerp(RW.C0,CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(10),math.rad(-50)),0.4)
- end
- active=false
- attack=false
- end
- function attackthree()
- attack=true
- local angles = CFrame.Angles
- for i=0, 1, 0.1 do
- swait()
- RJ.C0=clerp(RJ.C0,rcf*CFrame.Angles(0,0,0.1),0.4)
- Torso.Neck.C0=clerp(neck.C0, necko*CFrame.Angles(0, 0, -0.1),0.3)
- handleweld.C1=clerp(handleweld.C1,CFrame.new(0,1,0)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)),0.4)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(20)),0.4)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(25), math.rad(0), math.rad(-30)),0.4)
- end
- active=true
- NewSound('rbxassetid://199145913',handle,1,1)
- hitbox.Touched:connect(BladeDamage)
- for i=0,1,0.1 do
- swait()
- RJ.C0=clerp(RJ.C0,rcf*CFrame.Angles(0,0,-0.4),0.3)
- Torso.Neck.C0=clerp(neck.C0, necko*CFrame.Angles(0, 0, 0.4),0.3)
- handleweld.C1=clerp(handleweld.C1,CFrame.new(0, 1, 0)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(-10)),0.4)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)),0.4)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)),0.4)
- end
- swait(5)
- active=false
- attack=false
- attacktype=4
- end
- RH, LH=Torso["Right Hip"], Torso["Left Hip"]
- function attackfour()
- attack=true
- attacktype=1
- for i=0,1,0.1 do
- swait()
- RW.C0=clerp(RW.C0, CFrame.new(1.5,0.5,0.7)*CFrame.Angles(math.rad(-90),math.rad(-15),math.rad(45)),0.4)
- LW.C0=clerp(LW.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(30),math.rad(0),math.rad(-20)),0.4)
- end
- active=true
- hitbox.Touched:connect(BladeDamage)
- local v=Instance.new("BodyVelocity",Torso)
- v.maxForce=Vector3.new(4e+005,4e+005,4e+005)*1
- v.velocity=RootPart.CFrame.lookVector*50
- NewSound('rbxassetid://199145433',handle,1,1)
- for i=0,1,0.1 do
- swait()
- handleweld.C1=clerp(handleweld.C1,CFrame.new(0,-1,-2)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(-90)),0.4)
- LW.C0=clerp(LW.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(30),math.rad(0),math.rad(0)),0.4)
- RW.C0=clerp(RW.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(60),math.rad(100)),0.4)
- end
- v:Destroy()
- active=false
- attack=false
- end
- function attackfive()
- attack=true
- attacktype=1
- for i=0,1,0.1 do
- swait()
- RW.C0=clerp(RW.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-90),math.rad(5),math.rad(0)),0.4)
- LW.C0=clerp(LW.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(5),math.rad(15),math.rad(-90)),0.4)
- handleweld.C1=clerp(handleweld.C1, CFrame.new(0,1,0)*CFrame.Angles(math.rad(0),math.rad(-180),math.rad(0)),0.4)
- end
- active=true
- hitbox.Touched:connect(BladeDamage)
- NewSound('rbxassetid://199145841',handle,1,1)
- for i=0,1,0.1 do
- swait()
- RW.C0=clerp(RW.C0,CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-5),math.rad(50)),0.4)
- LW.C0=clerp(LW.C0,CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-5),math.rad(20),math.rad(-20)),0.4)
- handleweld.C1=clerp(handleweld.C1,CFrame.new(0,1,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
- end
- active=false
- attack=false
- end
- function ShockWave(part1, color)
- active=true
- local ring=Instance.new("Part",workspace)
- ring.CFrame=Torso.CFrame
- ring.Anchored=true
- ring.CanCollide=false
- ring.BrickColor=BrickColor.new(color)
- ring.Material="Neon"
- ring.Transparency=1
- ring.Touched:connect(function(hit)
- coroutine.wrap(function()
- MagniDamage(hit)
- end)()
- end)
- coroutine.wrap(function()
- wait(0.5)
- for i=1, 50 do
- ring.CFrame=CFrame.new(Torso.Position)
- swait()
- end
- end)()
- coroutine.wrap(function()
- makeShockwave(4, BrickColor.new(color),10, 2000, 1, true)
- end)()
- for i=1,80 do
- ring.Size=ring.Size+Vector3.new(10, 10, 10)
- swait()
- end
- active=false
- wait(3)
- ring:Destroy()
- end
- function fireEquip()
- if magic==false and equipped==true then
- magic=true
- fire.Parent = o1
- else
- fire.Parent = nil
- magic=false
- end
- end
- function Wave(color, cframe, maxsize)
- local wave = Instance.new("Part",workspace)
- wave.CanCollide = false
- wave.Anchored = true
- wave.CFrame = cframe
- wave.Material = "Neon"
- wave.Size = Vector3.new(1, 1, 1)
- wave.BrickColor = BrickColor.new(color)
- local mesh = Instance.new("FileMesh",wave)
- mesh.MeshId = "rbxassetid://20329976"
- mesh.Scale = Vector3.new(0.01, 0.01, 0.01)
- game:GetService("Debris"):AddItem(wave,10)
- wave.CFrame = wave.CFrame * CFrame.Angles(0, math.random(-360, 360), 0)
- local Size1 = coroutine.create(function()
- for i = 1, 30 do
- mesh.Scale = mesh.Scale + Vector3.new(0.8, 0.4, 0.8)
- wave.Transparency = wave.Transparency + 1 / 31
- swait()
- end
- end)
- local Size2 = coroutine.create(function()
- for i = 1, 30 do
- mesh.Scale = mesh.Scale + Vector3.new(0.4, 0.2, 0.4)
- wave.Transparency = wave.Transparency + 1/30
- swait()
- end
- end)
- coroutine.resume(Size1)
- coroutine.resume(Size2)
- end
- function shockDamage(hit)
- if hit.Parent.Name==Character.Name then
- swait()
- else
- for _,v in pairs(hit.Parent:GetChildren()) do
- if v:IsA("Humanoid") then
- Damage(0,0.1, v, false, hit, "shock")
- end
- end
- end
- end
- function makeShockwave(height,color,speed,range,pulse)
- local range = range or 2000
- local p = Instance.new("Part")
- p.Anchored = true
- p.CanCollide = false
- p.FormFactor = "Custom"
- p.BrickColor = color
- p.Parent = workspace
- local m = Instance.new("SpecialMesh",p)
- m.MeshId = "rbxassetid://3270017"
- local estimateSurvival = math.floor(range/speed) * 0.03
- game:GetService("Debris"):AddItem(p,estimateSurvival)
- spawn(function ()
- for i = 1,range,speed do
- p.Transparency = 1-math.min(0.5,3-(i/500))
- m.Scale = Vector3.new(i,i,i*height)
- p.CFrame = CFrame.new(Torso.Position) * CFrame.Angles(math.rad(90),0,0)
- wait()
- end
- p:Destroy()
- end)
- end
- function smoothWave(cframe, color, range, speed, height)
- local range = range or 50
- local p = Instance.new("Part")
- p.Anchored = true
- p.CanCollide = false
- p.FormFactor = "Custom"
- p.BrickColor = color
- p.Parent = workspace
- local m = Instance.new("SpecialMesh",p)
- m.MeshId = "rbxassetid://20329976"
- p.Material = "Neon"
- game:GetService("Debris"):AddItem(p, 10)
- local xi=0
- spawn(function()
- for i = 1, 100 do
- swait()
- xi=xi+0.01
- p.Transparency=p.Transparency+1/100
- print(xi)
- p.CFrame = CFrame.new(Torso.Position)
- m.Scale = m.Scale + Vector3.new(xi, xi/2, xi)
- end
- end)
- end
- shout = false
- smoothWave(Torso.CFrame, BrickColor.new("Black"))
- function FUSRODAH()
- attack=true
- shout = true
- for i=0,1,0.1 do
- swait()
- RW.C0=clerp(RW.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-10), 0, math.rad(5)),.3)
- LW.C0=clerp(LW.C0,CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-10),0, math.rad(-5)),.3)
- neck.C0=clerp(neck.C0, necko*CFrame.Angles(0,0,0),.3)
- RJ.C0=clerp(RJ.C0,rcf*CFrame.Angles(0,0,0),.3)
- end
- Humanoid.WalkSpeed = 0
- NewSound("rbxassetid://149576324",Character,2,1)
- wait(1)
- for i=0,1,0.1 do
- swait()
- RJ.C0=clerp(RJ.C0,rcf*CFrame.Angles(0,0,math.rad(30)),.3)
- LH.C0=clerp(LH.C0, l0*CFrame.Angles(0, 0, math.rad(10)),.3)
- RH.C0=clerp(RH.C0, r0*CFrame.Angles(0, 0, math.rad(-10)),.3)
- RW.C0=clerp(RW.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-40), 0, math.rad(30)),.3)
- LW.C0=clerp(LW.C0,CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-40),0, math.rad(-30)),.3)
- neck.C0=clerp(neck.C0, necko*CFrame.Angles(0,0,0),.3)
- RJ.C0=clerp(RJ.C0,rcf*CFrame.Angles(0,0,0),.3)
- end
- local p=Instance.new("Part",workspace)
- p.Transparency=0.5
- p.CanCollide=false
- p.Material="Neon"
- p.CFrame=Torso.CFrame*CFrame.new(0, 0, -1.6)
- p.Size = Vector3.new(0.2, 1, 1)
- p.Shape = 'Cylinder'
- p.CFrame=Torso.CFrame*CFrame.Angles(0, math.rad(90), 0)
- p:BreakJoints()
- p.BrickColor = BrickColor.Blue()
- local pv = Instance.new("BodyVelocity",p)
- pv.MaxForce=Vector3.new(9e9,9e9,9e9)
- pv.Velocity=Torso.CFrame.lookVector*50
- game:GetService("Debris"):AddItem(p, 10)
- active=true
- coroutine.wrap(function()
- for i=1, 10 do
- local re = p.CFrame
- p.CFrame = re
- p.Size = p.Size + Vector3.new(0,2,2)
- wait()
- end
- active=false
- for i = 1, 10 do
- p.Size = p.Size + Vector3.new(0,2,2)
- p.Transparency=p.Transparency+1/10
- wait()
- end
- p:Destroy()
- end)()
- p.Touched:connect(function(hit)
- MagniDamage(hit)
- end)
- wait(0.6)
- attack = false
- cooldown = true
- can = false
- Humanoid.WalkSpeed = 16
- shout=false
- wait(2)
- cooldown=false
- end
- cooldown = false
- function PortalRelease()
- attack=true
- Humanoid.WalkSpeed=0
- Character.Archivable=true
- coroutine.wrap(function()
- for i=1, 1000, 10 do
- Energy=Energy-1
- swait()
- end
- end)()
- coroutine.resume(coroutine.create(function()
- for i=1, 30 do
- Wave("Royal purple", Torso.CFrame, 30)
- swait(2)
- end
- end))
- local Blocks=coroutine.create(function()
- for i=1, 15 do
- local p=Instance.new('Part',handle)
- p.CanCollide=false
- p.Anchored=true
- p.BrickColor=BrickColor.Black()
- p.Material=('Neon')
- p.Name='eff'
- local Mesh=Instance.new('SpecialMesh',p)
- Mesh.MeshType="Brick"
- p.Size=Vector3.new(0.01, 0.01, 0.01)
- p.CFrame=handle.CFrame
- game:GetService('Debris'):AddItem(p, 10)
- coroutine.wrap(function()
- for i=1, 30 do
- p.CFrame=p.CFrame*CFrame.Angles(math.random(0, 0.6), math.random(0, 0.6), math.random(0, 0.6))
- Mesh.Scale=Mesh.Scale+Vector3.new(2.8, 2.8, 2.8)
- p.Transparency=p.Transparency+1/30
- swait()
- end
- p:Destroy()
- end)()
- swait(8)
- end
- end)
- local rad = math.rad -- used for legs only lol
- local ii= 199145446
- NewSound('rbxassetid://'..ii,handle,1,1)
- coroutine.resume(Blocks)
- for i=0,1,0.1 do
- swait()
- RH.C0=clerp(RH.C0,r0*CFrame.Angles(rad(-10),0,0),.3)
- LH.C0=clerp(LH.C0,l0*CFrame.Angles(rad(-10),0,0),.3)
- handleweld.C1=clerp(handleweld.C1, CFrame.new(-0.5, 1, 0)*CFrame.Angles(math.rad(0),math.rad(-80),math.rad(0)),0.3)
- RW.C0=clerp(RW.C0,CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-40)),.3)
- LW.C0=clerp(LW.C0,CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(80),0,math.rad(40)),.3)
- end
- wait(2)
- local id=110284742
- local id2=280247455
- NewSound('rbxassetid://'..id2,workspace,1,1)
- NewSound('rbxassetid://'..id,workspace,0,1)
- smoothWave(Torso.CFrame, BrickColor.new("Royal purple"), 49, 1, 3)
- makeShockwave(0.5,BrickColor.new("Royal purple"),30,1000,0)
- wait(0.5)
- coroutine.wrap(function()
- Humanoid.WalkSpeed=9
- for i=0,1,0.1 do
- swait()
- neck.C0=clerp(neck.C0, necko*CFrame.Angles(0.4, 0, -0.3),0.3)
- RJ.C0=clerp(RJ.C0, rcf*CFrame.Angles(0, 0, 0.3),0.3)
- handleweld.C1=clerp(handleweld.C1, CFrame.new(0, 1, 0)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)),0.3)
- RW.C0=clerp(RW.C0, CFrame.new(1.5, 0.5, 0)*CFrame.Angles(0.3,0,0),0.3)
- LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5,0)*CFrame.Angles(-0.2,0,0),0.3)
- end
- wait(2)
- attack=false
- wait(3)
- Character.Archivable=false
- end)()
- wait(1)
- ShockWave(Torso, "Really red")
- blueshock(Torso.CFrame)
- Energy=0
- Humanoid.WalkSpeed=16
- for i=1, 50 do
- Energy=Energy+2
- swait()
- end
- end
- mouse.Button1Down:connect(function()
- if attack==false and attacktype==1 and equipped==true and Energy>0 then
- attackone()
- elseif attack==false and attacktype==2 and equipped==true and Energy>0 then
- attacktwo()
- elseif attack==false and attacktype==3 and equipped==true and Energy>0 then
- attackthree()
- elseif attack==false and attacktype==4 and equipped==true and Energy>0 then
- attackfour()
- elseif attack==false and attacktype==5 and equipped==true and Energy>0 then
- attacktype=1
- attackone()
- end
- end)
- dec = false
- function computeDirection(vec)
- local lenSquared = vec.magnitude * vec.magnitude
- local invSqrt = 1 / math.sqrt(lenSquared)
- return Vector3.new(vec.x * invSqrt, vec.y * invSqrt, vec.z * invSqrt)
- end
- function blast()
- attack=true
- local EffectPart=Instance.new("Part",workspace)
- EffectPart.CanCollide=BlastInformation[2]
- EffectPart.Anchored=BlastInformation[3]
- EffectPart.BrickColor=BrickColor.new("Black")
- EffectPart.Name=BlastInformation[4]
- EffectPart.Material="Neon"
- EffectPart.Shape="Ball"
- EffectPart.FormFactor="Custom"
- EffectPart.Size=Vector3.new(2,2,2)
- local Weld=Instance.new("Weld",EffectPart)
- Weld.Part0=EffectPart
- Weld.Part1=Character:FindFirstChild("Left Arm")
- Weld.C0=CFrame.new(0, 1.5, 0)
- local rad=math.rad
- local Speed=BlastInformation[1]
- game:GetService("Debris"):AddItem(EffectPart, 9)
- for i=0,1,0.1 do
- swait()
- RH.C0 = clerp(RH.C0,r0*CFrame.Angles(math.rad(0),math.rad(0),math.rad(30)),.3)
- LH.C0=clerp(LH.C0,l0*CFrame.Angles(math.rad(0),math.rad(0.2),math.rad(25)),.3)
- neck.C0=clerp(neck.C0,necko*CFrame.Angles(rad(0),rad(0),rad(-50)),0.3)
- RW.C0=clerp(RW.C0,CFrame.new(1.5,0.5,0)*CFrame.Angles(rad(50),rad(0),rad(15)),0.3)
- LW.C0=clerp(LW.C0,CFrame.new(-1.5,0.5,0)*CFrame.Angles(rad(-75),rad(0),rad(-50)),0.3)
- RJ.C0=clerp(RJ.C0,rcf*CFrame.Angles(rad(0),rad(0),rad(50)),0.3)
- end
- local Blocks=coroutine.create(function()
- for i=1, 90 do
- local p=Instance.new('Part',EffectPart)
- p.CanCollide=false
- p.Anchored=true
- p.BrickColor=BrickColor.Black()
- p.Material=('Neon')
- p.Name='eff'
- local Mesh=Instance.new('SpecialMesh',p)
- Mesh.MeshType="Brick"
- p.Size=Vector3.new(0.01, 0.01, 0.01)
- p.CFrame=EffectPart.CFrame
- coroutine.wrap(function()
- for i=1, 30 do
- p.CFrame=p.CFrame*CFrame.Angles(math.random(0, 0.6), math.random(0, 0.6), math.random(0, 0.6))
- Mesh.Scale=Mesh.Scale+Vector3.new(2.8, 2.8, 2.8)
- p.Transparency=p.Transparency+1/30
- swait()
- end
- p:Destroy()
- end)()
- swait(8)
- end
- end)
- NewSound("rbxassetid://199145659",EffectPart,1,1)
- coroutine.resume(Blocks)
- wait(0.4)
- for i=0, 1, 0.1 do
- swait()
- neck.C0=clerp(neck.C0,necko*CFrame.Angles(rad(0),rad(0),rad(50)),0.3)
- RJ.C0=clerp(RJ.C0,rcf*CFrame.Angles(rad(0),rad(0),rad(-50)),0.3)
- RW.C0=clerp(RW.C0,CFrame.new(1.5,0.5,0)*CFrame.Angles(rad(-50),rad(0),rad(30)),0.3)
- LW.C0=clerp(LW.C0,CFrame.new(-1.5,0.5,0)*CFrame.Angles(rad(75),rad(0),rad(-20)),0.3)
- end
- NewSound('rbxassetid://199145534',handle,1,1)
- EffectPart:BreakJoints()
- local efprt=EffectPart
- local Target=mouse.Hit.p
- local direction = Target - handle.Position
- direction = computeDirection(direction)
- local pos = handle.Position + (direction * 10.0)
- efprt.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles(math.pi/2, 0, 0)
- local floatForce = Instance.new("BodyForce")
- floatForce.force = Vector3.new(0, efprt:GetMass() * 196.1, 0.0)
- floatForce.Parent = efprt
- efprt.Velocity = direction * 160
- local rootVector=RootPart.CFrame.lookVector
- EffectPart.Touched:connect(function(Hit)
- if Hit.Parent.Name==Character.Name or Hit.Name=='TrailEffect' then
- swait()
- print('HitChar')
- elseif Hit.Name~='eff' then
- coroutine.wrap(function()
- active=true
- MagniDamage(Hit)
- active=false
- local BallClone=EffectPart:Clone()
- BallClone.Parent=workspace
- BallClone.CFrame=EffectPart.CFrame
- BallClone.Anchored=true
- for _,t in pairs(BallClone:GetChildren()) do
- if t:IsA('Part') or t:IsA('BodyForce') or t:IsA("BodyPosition") then
- t:Destroy()
- end
- end
- local exmeshthing=Instance.new('Part',workspace)
- exmeshthing.Anchored=true
- exmeshthing.CanCollide=false
- exmeshthing.Material=('Neon')
- exmeshthing.CFrame=EffectPart.CFrame
- exmeshthing.BrickColor=BrickColor.Black()
- local meshthing=Instance.new('FileMesh',exmeshthing)
- meshthing.MeshId='rbxassetid://1051557'
- meshthing.Scale=Vector3.new(6, 6, 6)
- coroutine.resume(coroutine.create(function()
- for i = 1, 121 do
- meshthing.Scale = meshthing.Scale+Vector3.new(0.1, 0.1,0.1)
- swait()
- end
- end))
- coroutine.wrap(function()
- for i=1, 120 do
- local ex=Instance.new('Part',workspace)
- ex.Anchored=true
- ex.CanCollide=false
- ex.BrickColor=BrickColor.Black()
- ex.Material=('Neon')
- ex.CFrame=EffectPart.CFrame*CFrame.new(0, 1, 0)
- ex.Size=Vector3.new(0.01, 0.01, 0.01)
- local m=Instance.new('SpecialMesh',ex)
- m.MeshType=Enum.MeshType.Brick
- coroutine.wrap(function()
- for i=1, 25 do
- exmeshthing.CFrame=exmeshthing.CFrame*CFrame.Angles(0, 0.1, 0)
- ex.CFrame=ex.CFrame*CFrame.Angles(math.random(0, 0.6), math.random(0, 0.6), math.random(0, 0.6))
- m.Scale=m.Scale+Vector3.new(3.5,3.5,3.5)
- ex.Transparency=ex.Transparency+1/25
- swait()
- end
- ex:Destroy()
- end)()
- swait(0.5)
- end
- end)()
- wait(2)
- for i=1, 30 do
- meshthing.Scale=meshthing.Scale+Vector3.new(0.4, 0.4, 0.4)
- exmeshthing.Transparency=exmeshthing.Transparency+1/30
- swait()
- end
- exmeshthing:Destroy()
- for i=1, 30 do
- BallClone.Size=BallClone.Size-Vector3.new(0.2, 0.2, 0.2)
- wait()
- end
- BallClone:Destroy()
- end)()
- coroutine.wrap(function()
- local so=false
- if so==false then
- so=true
- local soundPart=Instance.new('Part',workspace)
- soundPart.Size=Vector3.new(1, 1, 1)
- soundPart.Anchored=true
- soundPart.CanCollide=false
- soundPart.Transparency=1
- local id='rbxassetid://228343330'
- soundPart.CFrame=EffectPart.CFrame
- local hitsound=Instance.new('Sound',soundPart)
- hitsound.Pitch=.8
- hitsound.Volume=1
- hitsound.SoundId=id
- hitsound:Play()
- coroutine.wrap(function()
- wait(4)
- soundPart:Destroy()
- end)()
- end
- end)()
- EffectPart:Destroy()
- wait(4)
- end
- end)
- attack=false
- end
- function Teleport()
- attack=true
- for i=1, 5 do
- local part=Instance.new("Part",workspace)
- part.Name="Effect"
- part.CanCollide=false
- part.Anchored=true
- part.BrickColor=BrickColor.new("Royal purple")
- part.CFrame=Torso.CFrame*CFrame.new(math.random(-2, 2), math.random(-2, 2),math.random(-2, 2))
- part.Material="Neon"
- part.CFrame=part.CFrame*CFrame.Angles(math.random(0,360),math.random(0,360),math.random(0,360))
- coroutine.resume(coroutine.create(function()
- for i=1, 20 do
- part.Size=part.Size+Vector3.new(1.3, 1.3, 1.3)
- part.Transparency=part.Transparency+1/20
- swait()
- end
- part:Destroy()
- end))
- swait()
- end
- Label("To "..Torso.Position.x, Color3.fromRGB(25,29,50),Torso.CFrame)
- Torso.CFrame=mouse.Hit
- attack=false
- end
- function decapitateTarget()
- local t=mouse.Target
- for i,v in pairs(t.Parent:GetChildren()) do
- if v:IsA("Humanoid") then
- if v.Health < 60 then
- local ta=t.Parent
- local tr
- attack = true
- if ta:FindFirstChild("Torso") then
- tr = ta.Torso
- else
- tr = ta.HumanoidRootPart
- end
- repeat swait() until tr ~= nil
- wait(0.000002)
- v.WalkSpeed = 0
- v.JumpPower = 0
- Humanoid.WalkSpeed =0
- Humanoid.JumpPower=0
- tr.CFrame = Torso.CFrame*CFrame.new(0, 0, -1)
- tr.Anchored = true
- print(tr)
- for i=0, 1, 0.1 do
- swait()
- RJ.C0=clerp(RJ.C0, rcf*CFrame.Angles(math.rad(0),math.rad(0),math.rad(50)),0.4)
- neck.C0=clerp(neck.C0, necko*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-50)),0.4)
- RW.C0=clerp(RW.C0, CFrame.new(1.5, 0.5, 0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)),0.4)
- LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0)*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(-10)),0.4)
- handleweld.C1=clerp(handleweld.C1, CFrame.new(0, 1, 0)*CFrame.Angles(math.rad(0),math.rad(-180),math.rad(0)),.4)
- end
- NewSound('rbxassetid://199145841',handle,1,1)
- active = true
- dec = true
- hitbox.Touched:connect(BladeDamage)
- for i=0, 1, 0.1 do
- swait()
- RJ.C0=clerp(RJ.C0, rcf*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-80)),0.4)
- neck.C0=clerp(neck.C0, necko*CFrame.Angles(math.rad(0),math.rad(0),math.rad(50)),0.4)
- LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(0)),0.4)
- RW.C0=clerp(RW.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(90)),.4)
- end
- dec = false
- attack = false
- active=false
- Humanoid.WalkSpeed=16
- Humanoid.JumpPower=50
- tr.Anchored = false
- can = false
- end
- end
- end
- end
- blas = false
- catchFlame = function(hit)
- if (hit:GetMass() < 300) then
- local fire = Instance.new("Fire",hit)
- fire.Size = hit:GetMass()/2
- coroutine.wrap(function()
- wait(2)
- hit.BrickColor = BrickColor.new("Black")
- wait(0.8)
- fire:Destroy()
- end)()
- end
- end
- function fireBlast()
- attack = true
- local EffectPart=Instance.new("Part",workspace)
- EffectPart.CanCollide=BlastInformation[2]
- EffectPart.Anchored=BlastInformation[3]
- EffectPart.BrickColor=BrickColor.new("CGA brown")
- EffectPart.Name=BlastInformation[4]
- EffectPart.Material="Neon"
- EffectPart.Shape="Ball"
- EffectPart.FormFactor="Custom"
- EffectPart.Size=Vector3.new(2,2,2)
- coroutine.wrap(function()
- wait(0.4)
- local fire = Instance.new("Fire",EffectPart)
- end)()
- local Weld=Instance.new("Weld",EffectPart)
- Weld.Part0=EffectPart
- Weld.Part1=Character:FindFirstChild("Left Arm")
- Weld.C0=CFrame.new(0, 1.5, 0)
- local rad=math.rad
- for i=0,1,0.1 do
- swait()
- RH.C0 = clerp(RH.C0,r0*CFrame.Angles(math.rad(0),math.rad(0),math.rad(30)),.3)
- LH.C0=clerp(LH.C0,l0*CFrame.Angles(math.rad(0),math.rad(0.2),math.rad(25)),.3)
- neck.C0=clerp(neck.C0,necko*CFrame.Angles(rad(0),rad(0),rad(-50)),0.3)
- RW.C0=clerp(RW.C0,CFrame.new(1.5,0.5,0)*CFrame.Angles(rad(50),rad(0),rad(15)),0.3)
- LW.C0=clerp(LW.C0,CFrame.new(-1.5,0.5,0)*CFrame.Angles(rad(-75),rad(0),rad(-50)),0.3)
- RJ.C0=clerp(RJ.C0,rcf*CFrame.Angles(rad(0),rad(0),rad(50)),0.3)
- end
- local Blocks=coroutine.create(function()
- for i=1, 90 do
- local p=Instance.new('Part',EffectPart)
- p.CanCollide=false
- p.Anchored=true
- p.BrickColor=BrickColor.new("CGA brown")
- p.Material=('Neon')
- p.Name='eff'
- local Mesh=Instance.new('SpecialMesh',p)
- Mesh.MeshType="Brick"
- p.Size=Vector3.new(0.01, 0.01, 0.01)
- p.CFrame=EffectPart.CFrame
- coroutine.wrap(function()
- for i=1, 30 do
- p.CFrame=p.CFrame*CFrame.Angles(math.random(0, 0.6), math.random(0, 0.6), math.random(0, 0.6))
- Mesh.Scale=Mesh.Scale+Vector3.new(2.8, 2.8, 2.8)
- p.Transparency=p.Transparency+1/30
- swait()
- end
- p:Destroy()
- end)()
- swait(8)
- end
- end)
- NewSound("rbxassetid://199145659",EffectPart,1,1)
- coroutine.resume(Blocks)
- wait(0.4)
- for i=0, 1, 0.1 do
- swait()
- neck.C0=clerp(neck.C0,necko*CFrame.Angles(rad(0),rad(0),rad(50)),0.3)
- RJ.C0=clerp(RJ.C0,rcf*CFrame.Angles(rad(0),rad(0),rad(-50)),0.3)
- RW.C0=clerp(RW.C0,CFrame.new(1.5,0.5,0)*CFrame.Angles(rad(-50),rad(0),rad(30)),0.3)
- LW.C0=clerp(LW.C0,CFrame.new(-1.5,0.5,0)*CFrame.Angles(rad(75),rad(0),rad(-20)),0.3)
- end
- NewSound('rbxassetid://199145534',handle,1,1)
- EffectPart:BreakJoints()
- local efprt=EffectPart
- local Target=mouse.Hit.p
- local direction = Target - handle.Position
- direction = computeDirection(direction)
- local pos = handle.Position + (direction * 10.0)
- efprt.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles(math.pi/2, 0, 0)
- local floatForce = Instance.new("BodyForce")
- floatForce.force = Vector3.new(0, efprt:GetMass() * 196.1, 0.0)
- floatForce.Parent = efprt
- efprt.Velocity = direction * 160
- local rootVector=RootPart.CFrame.lookVector
- EffectPart.Touched:connect(function(Hit)
- if Hit.Parent.Name==Character.Name or Hit.Name=='TrailEffect' then
- swait()
- print('HitChar')
- elseif Hit.Name~='eff' then
- coroutine.wrap(function()
- active=true
- MagniDamage(Hit)
- active=false
- coroutine.wrap(function()
- for i=1,4 do
- swait()
- local p = Instance.new("Part",workspace)
- p.Anchored = true
- p.CanCollide = false
- p.Size = Vector3.new(30, 30, 30)
- p.Material = "Neon"
- p.CFrame = efprt.CFrame
- game:GetService("Debris"):AddItem(p, 5)
- coroutine.wrap(function()
- for i = 1, 30 do
- p.Transparency = p.Transparency+1/30
- p.CFrame = p.CFrame*CFrame.Angles(math.random(-360, 360),math.random(-360, 360),math.random(-360, 360))
- swait()
- end
- end)()
- end
- end)()
- catchFlame(Hit)
- efprt:Destroy()
- end)()
- end
- end)
- attack=false
- end
- mouse.Button2Down:connect(function()
- if magic == true and attack==false then
- fireBlast()
- end
- end)
- function stabTarget()
- local t=mouse.Target
- for i,v in pairs(t.Parent:GetChildren()) do
- if v:IsA("Humanoid") then
- local ta=t.Parent
- local tr
- attack = true
- if ta:FindFirstChild("Torso") then
- tr = ta.Torso
- else
- tr = ta.HumanoidRootPart
- end
- repeat swait() until tr ~= nil
- wait(0.000002)
- tr.CFrame=Torso.CFrame*CFrame.new(0, 0, -1.5)
- wait(0.4)
- for i = 0,1,0.1 do
- swait()
- LW.C0=clerp(LW.C0,CFrame.new(-1.5,0.5,0)*CFrame.Angles(-0.4,0,0),0.3)
- RW.C0=clerp(RW.C0,CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-60),math.rad(0),math.rad(30)),0.3)
- end
- for i = 0,1,0.1 do
- swait()
- RW.C0=clerp(RW.C0,CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(25),math.rad(45),math.rad(20)),0.3)
- end
- active=true
- hitbox.Touched:Connect(function(hit)
- repeat
- BladeDamage(hit)
- swait()
- until v.Health == 0
- active=false
- end)
- attack = false
- end
- end
- end
- function boundSword()
- local bound = o1:Clone()
- bound:breakJoints()
- end
- blocking = false
- mouse.KeyDown:connect(function(k)
- k=k:lower()
- if k=='z' then
- if equipped==false and attack==false then
- Equip()
- else
- Unequip()
- end
- end
- if k=="r" then
- if equipped==true and attack==false and Energy>0 then
- PortalRelease()
- end
- end
- if k=="e" then
- if equipped==true and attack==false and magic == false and Energy>0 then
- blast()
- end
- end
- if k=="t" then
- if attack==false and Energy>0 then
- Teleport()
- end
- end
- if k=="f" then
- if attack==false then
- decapitateTarget()
- end
- elseif k=="g" and equipped==true then
- if attack==false then
- stabTarget()
- end
- elseif k=="k" then
- if attack==false and cooldown == false then
- FUSRODAH()
- end
- elseif k=="l" then
- fireEquip()
- end
- end)
- r0=RH.C0
- l0=LH.C0
- for i,v in pairs(Character.Head:GetChildren()) do
- if v.ClassName=='Decal' then
- print(v.Name)
- v:Destroy()
- end
- end
- Player.Chatted:connect(function(m)
- Label(Player.Name.. "said: "..m, Color3.fromRGB(math.random(0, 255),math.random(0, 255),math.random(0, 255)), Character.Head.CFrame*CFrame.new(0, 2, 0))
- end)
- o1.Parent=workspace
- while true do
- swait()
- sine = sine + change
- rot = rot+angle
- local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
- local velderp=RootPart.Velocity.y
- hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
- if attack==false and equipped==false then
- if torvel>1 and hitfloor~=nil then
- Anim="Walk"
- angle=3
- LH.C0=clerp(LH.C0,l0*CFrame.Angles(0,0,0),.1)
- RH.C0=clerp(RH.C0, r0*CFrame.Angles(0,0,0),.3)
- neck.C0=clerp(neck.C0, necko*CFrame.Angles(0.1, 0, 0),0.3)
- RJ.C0=clerp(RJ.C0, rcf*CFrame.Angles(0, 0, 0),0.3)
- change=Humanoid.WalkSpeed/10
- RW.C0=clerp(RW.C0, CFrame.new(1.5, 0.5, 0)*CFrame.Angles(-math.rad(40)*math.cos(sine/10), -math.rad(5), -math.rad(0)),0.3)
- LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5,0)*CFrame.Angles(math.rad(40)*math.cos(sine/10), math.rad(5), math.rad(0)),0.3)
- elseif torvel<1 and hitfloor~=nil then
- Anim="Idle"
- LH.C0=clerp(LH.C0,l0*CFrame.Angles(0,0,0),.1)
- RH.C0=clerp(RH.C0, r0*CFrame.Angles(0,0,0),.3)
- neck.C0=clerp(neck.C0, necko*CFrame.Angles(0.4, 0, 0),0.3)
- RJ.C0=clerp(RJ.C0, rcf*CFrame.Angles(0, 0, 0),0.3)
- change=0
- RW.C0=clerp(RW.C0, CFrame.new(1.5, 0.5, 0)*CFrame.Angles(0,0,0),0.3)
- LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.6,0)*CFrame.Angles(0,0,-0.3),0.3)
- end
- elseif equipped==true and attack~=true then
- if torvel>1 and hitfloor~=nil and magic ~= true then
- Anim="Walk"
- LH.C0=clerp(LH.C0,l0*CFrame.Angles(0,0,0),.1)
- RH.C0=clerp(RH.C0, r0*CFrame.Angles(0,0,0),.3)
- RJ.C0=clerp(RJ.C0, rcf*CFrame.Angles(0.2, 0, 0),0.3)
- change=Humanoid.WalkSpeed/10
- neck.C0=clerp(neck.C0, necko*CFrame.Angles(-0.2, 0, 0),0.3)
- handleweld.C1=clerp(handleweld.C1, CFrame.new(0, 1.3, 0)*CFrame.Angles(math.rad(0),math.rad(40),math.rad(0)),0.3)
- RW.C0=clerp(RW.C0, CFrame.new(1.5, 0.5, 0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)),0.3)
- LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5,0)*CFrame.Angles(math.rad(30)*math.cos(sine/10), math.rad(5), math.rad(0)),0.3)
- elseif torvel<1 and hitfloor~=nil then
- Anim="Idle"
- LH.C0=clerp(LH.C0,l0*CFrame.Angles(0,0,0.1),.1)
- RH.C0=clerp(RH.C0, r0*CFrame.Angles(0,-0.3,0),.3)
- neck.C0=clerp(neck.C0, necko*CFrame.Angles(0.4, 0, -0.3),0.3)
- RJ.C0=clerp(RJ.C0, rcf*CFrame.Angles(0, 0, 0.3),0.3)
- handleweld.C1=clerp(handleweld.C1, CFrame.new(0, 1, 0)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)),0.3)
- RW.C0=clerp(RW.C0, CFrame.new(1.5, 0.5, 0)*CFrame.Angles(0.3,0,0),0.3)
- LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5,0)*CFrame.Angles(-0.2,0,0),0.3)
- elseif torvel > 1 and hitfloor~=nil and magic==true then
- LH.C0=clerp(LH.C0,l0*CFrame.Angles(0,0,0),.1)
- RH.C0=clerp(RH.C0, r0*CFrame.Angles(0,0,0),.3)
- RJ.C0=clerp(RJ.C0, rcf*CFrame.Angles(0.2, 0, 0),0.3)
- change=Humanoid.WalkSpeed/10
- neck.C0=clerp(neck.C0, necko*CFrame.Angles(-0.2, 0, 0),0.3)
- handleweld.C1=clerp(handleweld.C1, CFrame.new(0, 1.3, 0)*CFrame.Angles(math.rad(0),math.rad(40),math.rad(0)),0.3)
- RW.C0=clerp(RW.C0, CFrame.new(1.5, 0.5, 0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)),0.3)
- LW.C0=clerp(LW.C0,CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(45),0,0),.3)
- end
- end
- frame.Size=UDim2.new(0, Energy*5, 0, 70)
- if equipped == false and fire.Parent == o1 then
- fire.Parent = nil
- magic = false
- end
- end
Add Comment
Please, Sign In to add comment