Advertisement
Guest User

Jevil

a guest
Jun 24th, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 46.26 KB | None | 0 0
  1. -----------------------------------------------------
  2. ------------------------Jevil------------------------
  3. -----------------------------------------------------
  4.  
  5. --Made by mrfunnylaughs4. I may not know everything about Jevil since I don't play DeltaRune, but I'll try
  6. --my best on keeping it as similar as possible.
  7.  
  8. local plr = game:GetService("Players").LocalPlayer
  9. local mouse = plr:GetMouse()
  10. local char = plr.Character
  11. if char:FindFirstChild("Animate") then
  12.     char.Animate:Destroy()
  13. end
  14. local hum = char:FindFirstChildOfClass("Humanoid")
  15. local tors = char.Torso
  16. local head = char.Head
  17. local rootpart = char.HumanoidRootPart
  18. local RS = tors["Right Shoulder"]
  19. local LS = tors["Left Shoulder"]
  20. local RH = tors["Right Hip"]
  21. local LH = tors["Left Hip"]
  22. local neck = tors.Neck
  23. local rootj = rootpart.RootJoint
  24. local RSnor = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  25. local LSnor = CFrame.new(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  26. local RHnor = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  27. local LHnor = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  28. local necknor = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  29. local rootjnor = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  30. local sine = 0
  31. local rooted = false
  32. local attack = false
  33. local music = Instance.new("Sound")
  34. music.Parent = tors
  35. local timepos = 0
  36. local playing = true
  37. local volume = 2
  38. local song = "rbxassetid://2545298782"
  39. local JevilForm = false
  40. hum.WalkSpeed = 10
  41.  
  42. -----------------------------------------------------
  43. ----------------------Functions----------------------
  44. -----------------------------------------------------
  45.  
  46. local function SmoothPart(part)
  47.     part.TopSurface = Enum.SurfaceType.Smooth
  48.     part.BottomSurface = Enum.SurfaceType.Smooth
  49.     part.LeftSurface = Enum.SurfaceType.Smooth
  50.     part.RightSurface = Enum.SurfaceType.Smooth
  51.     part.FrontSurface = Enum.SurfaceType.Smooth
  52.     part.BackSurface = Enum.SurfaceType.Smooth
  53. end
  54.  
  55. local function Effect(Length, Type, SizeStart, SizeEnd, Position, Colour, Parent, Material, CanCollide)
  56.     local part = Instance.new("Part")
  57.     part.Name = Type
  58.     part.Material = Material or Enum.Material.Plastic
  59.     part.CFrame = Position
  60.     part.CanCollide = CanCollide or false
  61.     part.Size = SizeStart
  62.     part.Anchored = true
  63.     part.BrickColor = BrickColor.new(tostring(Colour))
  64.     part.Parent = Parent or workspace
  65.     if Type == "Block" then
  66.         SmoothPart(part)
  67.     end
  68.     if Type == "Sphere" then
  69.         part.Shape = Enum.PartType.Ball
  70.         SmoothPart(part)
  71.     end
  72.     if Type == "TwirlSwirl" or Type == "Swirl" then
  73.         local mesh = Instance.new("SpecialMesh")
  74.         mesh.MeshType = Enum.MeshType.FileMesh
  75.         mesh.MeshId = "rbxassetid://662585058"
  76.         mesh.Name = "SwirlMesh"
  77.         mesh.Scale = SizeStart / Vector3.new(500, 500, 500)
  78.         mesh.Parent = part
  79.     end
  80.     if Type == "Wave" or Type == "SpiralWave" then
  81.         local mesh = Instance.new("SpecialMesh")
  82.         mesh.MeshType = Enum.MeshType.FileMesh
  83.         mesh.MeshId = "rbxassetid://20329976"
  84.         mesh.Name = "WaveMesh"
  85.         mesh.Scale = SizeStart / Vector3.new(4, 4, 4)
  86.         mesh.Parent = part
  87.     end
  88.     if Type == "MeshSphere" then
  89.         local mesh = Instance.new("SpecialMesh")
  90.         mesh.MeshType = Enum.MeshType.Sphere
  91.         mesh.Parent = part
  92.         SmoothPart(part)
  93.     end
  94.     if Type == "Cylinder" then
  95.         part.Shape = Enum.PartType.Cylinder
  96.         SmoothPart(part)
  97.     end
  98.     if Type == "KillSphere" then
  99.         part.Shape = Enum.PartType.Cylinder
  100.         part.Transparency = 1
  101.         part.Touched:Connect(function()
  102.         end)
  103.     end
  104.     spawn(function()
  105.         local TwirlAngle = math.random(-250, 250) / 1000
  106.         local WaveAngle = math.random(-500, 500) / 1000
  107.         for i = 1, Length do
  108.             game:GetService("RunService").RenderStepped:Wait()
  109.             part.Transparency = part.Transparency + 1 / Length
  110.             part.Size = part.Size + SizeEnd / Vector3.new(Length, Length, Length)
  111.             if Type == "TwirlSwirl" then
  112.                 part.CFrame = part.CFrame * CFrame.Angles(TwirlAngle, TwirlAngle, TwirlAngle)
  113.                 part.SwirlMesh.Scale = part.SwirlMesh.Scale + SizeEnd / Vector3.new(Length * 500, Length * 500, Length * 500)
  114.             end
  115.             if Type == "Swirl" then
  116.                 part.CFrame = part.CFrame * CFrame.Angles(0, TwirlAngle, 0)
  117.                 part.SwirlMesh.Scale = part.SwirlMesh.Scale + SizeEnd / Vector3.new(Length * 500, Length * 500, Length * 500)
  118.             end
  119.             if Type == "SpiralWave" then
  120.                 part.CFrame = part.CFrame * CFrame.Angles(WaveAngle, WaveAngle, WaveAngle)
  121.                 part.WaveMesh.Scale = part.WaveMesh.Scale + SizeEnd / Vector3.new(Length * 4, Length * 4, Length * 4)
  122.             end
  123.             if Type == "Wave" then
  124.                 part.CFrame = part.CFrame * CFrame.Angles(0, WaveAngle, 0)
  125.                 part.WaveMesh.Scale = part.WaveMesh.Scale + SizeEnd / Vector3.new(Length * 4, Length * 4, Length * 4)
  126.             end
  127.             if Type == "KillSphere" then
  128.                 for i,v in pairs(part:GetTouchingParts()) do
  129.                     if v.Parent and v.Parent:FindFirstChildOfClass("Humanoid") and not v:IsDescendantOf(char) then
  130.                         v.Parent:BreakJoints()
  131.                     end
  132.                 end
  133.             end
  134.         end
  135.         part:Destroy()
  136.     end)
  137. end
  138.  
  139. -----------------------------------------------------
  140. ----------------------Creations----------------------
  141. -----------------------------------------------------
  142.  
  143.         local Reaper = AddInstance("Part",{
  144.             Parent = hed,
  145.             CFrame = hed.CFrame,
  146.             formFactor = "Symmetric",
  147.             Size = Vector3.new(1, 1, 1),
  148.             CanCollide = false,
  149.             TopSurface = "Smooth",
  150.             BottomSurface = "Smooth",
  151.             Locked = true,
  152.         })
  153.         local Weld = AddInstance("Weld",{
  154.             Parent = Reaper,
  155.             Part0 = hed,
  156.             C0 = CFrame.new(0, 0.8, 0.4)*CFrame.Angles(0, 0, 0),
  157.             Part1 = Reaper,
  158.         })
  159.         local Mesh = AddInstance("SpecialMesh",{
  160.             Parent = Reaper,
  161.             MeshId = "rbxassetid://291954550",
  162.             TextureId = "rbxassetid://0",
  163.             Scale = Vector3.new(3.5, 3.5, 3.3),
  164.             VertexColor = Vector3.new(0.5, 0, 1),
  165.         })
  166.  
  167.         local Reaper = AddInstance("Part",{
  168.             Parent = hed,
  169.             CFrame = hed.CFrame,
  170.             formFactor = "Symmetric",
  171.             Size = Vector3.new(1, 1, 1),
  172.             CanCollide = false,
  173.             TopSurface = "Smooth",
  174.             BottomSurface = "Smooth",
  175.             Locked = true,
  176.         })local Reaper = AddInstance("Part",{
  177.            Parent = hed,
  178.             CFrame = hed.CFrame,
  179.             formFactor = "Symmetric",
  180.             Size = Vector3.new(1, 1, 1),
  181.             CanCollide = false,
  182.             TopSurface = "Smooth",
  183.             BottomSurface = "Smooth",
  184.             Locked = true,
  185.         })
  186.         local Weld = AddInstance("Weld",{
  187.             Parent = Reaper,
  188.             Part0 = hed,
  189.             C0 = CFrame.new(0.1, 0.8, 0.4)*CFrame.Angles(0, 0, 0),
  190.             Part1 = Reaper,
  191.         })
  192.          
  193.         local Mesh = AddInstance("SpecialMesh",{
  194.             Parent = Reaper,
  195.             MeshId = "rbxassetid://291954550",
  196.             TextureId = "rbxassetid://0",
  197.             Scale = Vector3.new(3.5, 3.5, 3.3),
  198.             VertexColor = Vector3.new(0, 0, 0),
  199.         })
  200.  
  201.         local Reaper2 = AddInstance("Part",{
  202.             Parent = tors,
  203.             CFrame = tors.CFrame,
  204.             formFactor = "Symmetric",
  205.             Size = Vector3.new(0.462, 1.403, 2.495),
  206.             CanCollide = false,
  207.             TopSurface = "Smooth",
  208.             BottomSurface = "Smooth",
  209.             Locked = true,  
  210.         })
  211.         local Weld = AddInstance("Weld",{
  212.             Parent = Reaper2,
  213.             Part0 = tors,
  214.             C0 = CFrame.new(0, -1.7, 1)*CFrame.Angles(0, 0, 0),
  215.             Part1 = Reaper2,
  216.         })
  217.         local Mesh = AddInstance("SpecialMesh",{
  218.             Parent = Reaper2,
  219.             MeshId = "rbxassetid://2759032628",
  220.             TextureId = "rbxassetid://89867215",
  221.             Scale = Vector3.new(1, 1, 0.5),
  222.             VertexColor = Vector3.new(0.5, 0.5, 0.5),
  223.         })
  224.  
  225.  
  226.  
  227. -------------------------------------------------------
  228. wait(1)
  229. plr = game.Players.LocalPlayer
  230. char = plr.Character
  231. mouse = plr:GetMouse()
  232. whitecolor = Color3.new(255,255,1)
  233. epicmode = false
  234. normal = true
  235. for i,v in pairs(char:GetChildren()) do
  236.    if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "ShirtGraphic" then
  237.       v:Destroy()
  238.      end
  239. end
  240. shirt.ShirtTemplate = "rbxassetid://2544612637"
  241. shirt.Parent = char
  242. local pants = Instance.new("Pants")
  243. pants.Name = "Cloth"
  244. pants.PantsTemplate = "rbxassetid://2544611861"
  245. pants.Parent = char
  246.  
  247. -----------------------------------------------------
  248. -----------------Attacking functions-----------------
  249. -----------------------------------------------------
  250.  
  251. game:GetService("UserInputService").InputBegan:Connect(function(input, isTyping)
  252.     if isTyping == false and input.UserInputType == Enum.UserInputType.Keyboard and attack == false then
  253.         if JevilForm == false then
  254.             if input.KeyCode == Enum.KeyCode.T then
  255.                 attack = true
  256.                 local sound = Instance.new("Sound")
  257.                 sound.SoundId = "rbxassetid://2545211765"
  258.                 sound.Volume = 5
  259.                 sound.Parent = head
  260.                 sound:Play()
  261.                 repeat
  262.                     game:GetService("RunService").RenderStepped:Wait()
  263.                     RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(0, -0.3, 2), 0.15)
  264.                     LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(-0.4, 0, 0), 0.15)
  265.                     rootj.C0 = rootj.C0:Lerp(rootjnor, 0.15)
  266.                     neck.C0 = neck.C0:Lerp(necknor, 0.15)
  267.                 until sound.Playing == false
  268.                 attack = false
  269.             end
  270.             if input.KeyCode == Enum.KeyCode.F then
  271.                 attack = true
  272.                 rooted = true
  273.                 playing = false
  274.                 for i = 1, 90 do
  275.                     game:GetService("RunService").RenderStepped:Wait()
  276.                     RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(-0.4 + math.cos(sine / 20) / 8, math.sin(sine / 20) / 8, 0), 0.15)
  277.                     LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(-0.4 + math.cos(sine / 20) / 8, -math.sin(sine / 20) / 8, 0), 0.15)
  278.                     RH.C0 = RH.C0:Lerp(RHnor * CFrame.Angles(-0.2 + math.cos(sine / 20) / 16, 0, 0), 0.15)
  279.                     LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(-0.2 + math.cos(sine / 20) / 16, 0, 0), 0.15)
  280.                     rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.new(0, 0, 2 + 0.2 * math.sin(sine / 20)), 0.1)
  281.                     neck.C0 = neck.C0:Lerp(necknor, 0.15)
  282.                 end
  283.                 local sound = Instance.new("Sound")
  284.                 sound.SoundId = "rbxassetid://2545010175"
  285.                 sound.Volume = 5
  286.                 sound.Parent = head
  287.                 sound:Play()
  288.                 repeat
  289.                     game:GetService("RunService").RenderStepped:Wait()
  290.                     RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(-0.4 + math.cos(sine / 20) / 8, math.sin(sine / 20) / 8, 0), 0.15)
  291.                     LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(-0.4 + math.cos(sine / 20) / 8, -math.sin(sine / 20) / 8, 0), 0.15)
  292.                     RH.C0 = RH.C0:Lerp(RHnor * CFrame.Angles(-0.2 + math.cos(sine / 20) / 8, 0, 0), 0.15)
  293.                     LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(-0.2 + math.cos(sine / 20) / 8, 0, 0), 0.15)
  294.                     rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.new(0, 0, 2 + 0.2 * math.sin(sine / 20)), 0.1)
  295.                     neck.C0 = neck.C0:Lerp(necknor, 0.15)
  296.                 until sound.Playing == false
  297.                 for i = 1, 30 do
  298.                     game:GetService("RunService").RenderStepped:Wait()
  299.                     RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(-0.4 + math.cos(sine / 20) / 8, math.sin(sine / 20) / 8, 0), 0.15)
  300.                     LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(-0.4 + math.cos(sine / 20) / 8, -math.sin(sine / 20) / 8, 0), 0.15)
  301.                     RH.C0 = RH.C0:Lerp(RHnor * CFrame.Angles(-0.2 + math.cos(sine / 20) / 8, 0, 0), 0.15)
  302.                     LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(-0.2 + math.cos(sine / 20) / 8, 0, 0), 0.15)
  303.                     rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.new(0, 0, 2 + 0.2 * math.sin(sine / 20)), 0.1)
  304.                     neck.C0 = neck.C0:Lerp(necknor, 0.15)
  305.                 end
  306.                 if math.random(1, 100) == 1 then
  307.                     song = "rbxassetid://2582332053"
  308.                 else
  309.                     volume = 0.5
  310.                     song = "rbxassetid://2597271983"
  311.                 end
  312.                 music.TimePosition = 0
  313.                 hum.HipHeight = 2
  314.                 playing = true
  315.                 JevilForm = true
  316.                 attack = false
  317.                 rooted = false
  318.                 hum.WalkSpeed = 20
  319.                 hum.JumpPower = 50
  320.             end
  321.         end
  322.         if JevilForm == true then
  323.             if input.KeyCode == Enum.KeyCode.Z then
  324.                 attack = true
  325.                 rooted = true
  326.                 local sound = Instance.new("Sound")
  327.                 sound.SoundId = "rbxassetid://2545008459"
  328.                 sound.Volume = 10
  329.                 sound.Parent = head
  330.                 sound:Play()
  331.                 repeat
  332.                     game:GetService("RunService").RenderStepped:Wait()
  333.                     RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(-0.4 + math.cos(sine / 20) / 8, math.sin(sine / 20) / 8, 0), 0.15)
  334.                     LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(-0.4 + math.cos(sine / 20) / 8, -math.sin(sine / 20) / 8, 0), 0.15)
  335.                     RH.C0 = RH.C0:Lerp(RHnor * CFrame.Angles(-0.2 + math.cos(sine / 20) / 8, 0, 0), 0.15)
  336.                     LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(-0.2 + math.cos(sine / 20) / 8, 0, 0), 0.15)
  337.                     rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.new(0, 0, 0.2 * math.sin(sine / 20)), 0.1)
  338.                     neck.C0 = neck.C0:Lerp(necknor, 0.15)
  339.                 until sound.Playing == false
  340.                 for i = 1, 10 do
  341.                     for i = 1, 15 do
  342.                         game:GetService("RunService").RenderStepped:Wait()
  343.                         for i,v in pairs(char:GetDescendants()) do
  344.                             if v:IsA("Part") and v.Name ~= "HumanoidRootPart" then
  345.                                 v.Transparency = v.Transparency + 1 / 15
  346.                             end
  347.                             if v:IsA("Decal") then
  348.                                 v.Transparency = v.Transparency + 1 / 15
  349.                             end
  350.                         end
  351.                         RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(-0.4, 0, 0), 0.15)
  352.                         LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(-0.4, 0, 0), 0.15)
  353.                         RH.C0 = RH.C0:Lerp(RHnor * CFrame.Angles(-0.2, 0, 0), 0.15)
  354.                         LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(-0.2, 0, 0), 0.15)
  355.                         rootj.C0 = rootj.C0:Lerp(rootjnor, 0.1)
  356.                         neck.C0 = neck.C0:Lerp(necknor, 0.15)
  357.                     end
  358.                     local oldpos = rootpart.Position
  359.                     local dist = (rootpart.Position - mouse.Hit.Position).Magnitude
  360.                     if dist > 30 then
  361.                         dist = 30
  362.                     end
  363.                     rootpart.CFrame = CFrame.new(oldpos + CFrame.new(oldpos, mouse.Hit.Position).LookVector * dist + Vector3.new(0, 6, 0), Vector3.new(oldpos.X, rootpart.Position.Y, oldpos.Z)) * CFrame.Angles(0, math.pi, 0)
  364.                     for i = 1, 15 do
  365.                         game:GetService("RunService").RenderStepped:Wait()
  366.                         for i,v in pairs(char:GetDescendants()) do
  367.                             if v:IsA("Part") and v.Name ~= "HumanoidRootPart" then
  368.                                 v.Transparency = v.Transparency - 1 / 15
  369.                             end
  370.                             if v:IsA("Decal") then
  371.                                 v.Transparency = v.Transparency - 1 / 15
  372.                             end
  373.                         end
  374.                         RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(-0.4, 0, 0), 0.15)
  375.                         LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(-0.4, 0, 0), 0.15)
  376.                         RH.C0 = RH.C0:Lerp(RHnor * CFrame.Angles(-0.2, 0, 0), 0.15)
  377.                         LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(-0.2, 0, 0), 0.15)
  378.                         rootj.C0 = rootj.C0:Lerp(rootjnor, 0.1)
  379.                         neck.C0 = neck.C0:Lerp(necknor, 0.15)
  380.                     end
  381.                     for i,v in pairs(char:GetDescendants()) do
  382.                         if v:IsA("Part") and v.Name ~= "HumanoidRootPart" then
  383.                             v.Transparency = 0
  384.                         end
  385.                         if v:IsA("Decal") then
  386.                             v.Transparency = 0
  387.                         end
  388.                     end
  389.                     local sound = Instance.new("Sound")
  390.                     sound.SoundId = "rbxassetid://2545012765"
  391.                     sound.Volume = 10
  392.                     sound.Parent = head
  393.                     sound:Play()
  394.                     for amount = 1, 5 do
  395.                         local spade = Instance.new("Part")
  396.                         spade.Name = "Spade"
  397.                         spade.Anchored = true
  398.                         spade.CanCollide = false
  399.                         spade.Size = Vector3.new(1, 0.05, 1)
  400.                         if amount == 1 then
  401.                             spade.CFrame = CFrame.new(head.Position, mouse.Hit.Position) * CFrame.Angles(0, math.pi / 2, 0)
  402.                         elseif amount == 2 then
  403.                             spade.CFrame = CFrame.new(head.Position, mouse.Hit.Position) * CFrame.Angles(0, math.rad(100), 0)
  404.                         elseif amount == 3 then
  405.                             spade.CFrame = CFrame.new(head.Position, mouse.Hit.Position) * CFrame.Angles(0, math.rad(80), 0)
  406.                         elseif amount == 4 then
  407.                             spade.CFrame = CFrame.new(head.Position, mouse.Hit.Position) * CFrame.Angles(0, math.rad(110), 0)
  408.                         elseif amount == 5 then
  409.                             spade.CFrame = CFrame.new(head.Position, mouse.Hit.Position) * CFrame.Angles(0, math.rad(70), 0)
  410.                         end
  411.                         spade.Parent = char
  412.                         local decal1 = Instance.new("Decal")
  413.                         decal1.Texture = "rbxassetid://28140935"
  414.                         decal1.Face = Enum.NormalId.Top
  415.                         decal1.Parent = spade
  416.                         local decal2 = Instance.new("Decal")
  417.                         decal2.Texture = "rbxassetid://28140935"
  418.                         decal2.Face = Enum.NormalId.Bottom
  419.                         decal2.Parent = spade
  420.                         local debounce = false
  421.                         spade.Touched:Connect(function(hit)
  422.                         end)
  423.                         spawn(function()
  424.                             for i = 1, 180 do
  425.                                 game:GetService("RunService").RenderStepped:Wait()
  426.                                 for i,v in pairs(spade:GetTouchingParts()) do
  427.                                     if not v:IsDescendantOf(char) and debounce == false then
  428.                                         if v.Parent and v.Parent:FindFirstChildOfClass("Humanoid") then
  429.                                             debounce = true
  430.                                             v.Parent:FindFirstChildOfClass("Humanoid").Health = v.Parent:FindFirstChildOfClass("Humanoid").Health - 20
  431.                                             coroutine.resume(coroutine.create(function()
  432.                                                 wait(0.4)
  433.                                                 debounce = false
  434.                                             end))
  435.                                         end
  436.                                     end
  437.                                 end
  438.                                 spade.Transparency = 1
  439.                                 spade.CFrame = spade.CFrame * CFrame.new(0.5, 0, 0)
  440.                             end
  441.                             for i = 1, 10 do
  442.                                 game:GetService("RunService").RenderStepped:Wait()
  443.                                 spade.CFrame = spade.CFrame * CFrame.new(0.5, 0, 0)
  444.                                 decal1.Transparency = decal1.Transparency + 0.1
  445.                                 decal2.Transparency = decal2.Transparency + 0.1
  446.                             end
  447.                             spade:Destroy()
  448.                         end)
  449.                     end
  450.                     for i = 1, 10 do
  451.                         game:GetService("RunService").RenderStepped:Wait()
  452.                         RS.C0 = RSnor * CFrame.Angles(-2.5, 0, 0) * CFrame.new(0, 0, -1) + Vector3.new(0, 0.7, 0)
  453.                         LS.C0 = LSnor * CFrame.Angles(-2.5, 0, 0) * CFrame.new(0, 0, -1) + Vector3.new(0, 0.7, 0)
  454.                         RH.C0 = RHnor * CFrame.Angles(-1, 0, 0)
  455.                         LH.C0 = LHnor * CFrame.Angles(-1, 0, 0)
  456.                         rootj.C0 = rootjnor
  457.                         neck.C0 = necknor
  458.                     end
  459.                 end
  460.                 attack = false
  461.                 rooted = false
  462.                 hum.WalkSpeed = 20
  463.                 hum.JumpPower = 50
  464.             end
  465.             if input.KeyCode == Enum.KeyCode.X then
  466.                 attack = true
  467.                 for i = 1, 4 do
  468.                     local model = Instance.new("Model")
  469.                     model.Name = "Spades"
  470.                     model.Parent = char
  471.                     local mainpart = Instance.new("Part")
  472.                     mainpart.Transparency = 1
  473.                     mainpart.CanCollide = false
  474.                     mainpart.Anchored = true
  475.                     mainpart.CFrame = CFrame.new(mouse.Hit.Position) * CFrame.new(0, 3, 0)
  476.                     mainpart.Parent = model
  477.                     model.PrimaryPart = mainpart
  478.                     local spades = {}
  479.                     for i = 1, 10 do
  480.                         local spade = Instance.new("Part")
  481.                         spade.Name = "Spade"
  482.                         spade.Transparency = 1
  483.                         spade.Anchored = true
  484.                         spade.CanCollide = false
  485.                         spade.Size = Vector3.new(2, 0.05, 2)
  486.                         spade.Parent = model
  487.                         local decal1 = Instance.new("Decal")
  488.                         decal1.Texture = "rbxassetid://28140935"
  489.                         decal1.Face = Enum.NormalId.Top
  490.                         decal1.Transparency = 1
  491.                         decal1.Parent = spade
  492.                         local decal2 = Instance.new("Decal")
  493.                         decal2.Texture = "rbxassetid://28140935"
  494.                         decal2.Face = Enum.NormalId.Bottom
  495.                         decal2.Transparency = 1
  496.                         decal2.Parent = spade
  497.                         local debounce = false
  498.                         spade.Touched:Connect(function(hit)
  499.                         end)
  500.                         table.insert(spades, spade)
  501.                     end
  502.                     for i = 1, #spades do
  503.                         spades[i].CFrame = mainpart.CFrame * CFrame.Angles(0, math.rad((360 / #spades) * i) + math.pi / 2, 0) * CFrame.new(-20, 0, 0)
  504.                     end
  505.                     for x = 20, 10, -0.5 do
  506.                         game:GetService("RunService").RenderStepped:Wait()
  507.                         mainpart.CFrame = CFrame.new(mouse.Hit.Position) * CFrame.new(0, 3, 0)
  508.                         for i = 1, #spades do
  509.                             for i,v in pairs(spades[i]:GetChildren()) do
  510.                                 if v:IsA("Decal") then
  511.                                     v.Transparency = v.Transparency - 0.05
  512.                                 end
  513.                             end
  514.                             spades[i].CFrame = spades[i].CFrame:Lerp(mainpart.CFrame * CFrame.Angles(0, math.rad((360 / #spades) * i) + math.pi / 2, 0) * CFrame.new(-x, 0, 0), 0.15)
  515.                         end
  516.                     end
  517.                     for i = 1, 35 do
  518.                         game:GetService("RunService").RenderStepped:Wait()
  519.                         mainpart.CFrame = CFrame.new(mouse.Hit.Position) * CFrame.new(0, 3, 0)
  520.                         for i = 1, #spades do
  521.                             spades[i].CFrame = spades[i].CFrame:Lerp(mainpart.CFrame * CFrame.Angles(0, math.rad((360 / #spades) * i) + math.pi / 2, 0) * CFrame.new(-10, 0, 0), 0.15)
  522.                         end
  523.                     end
  524.                     coroutine.resume(coroutine.create(function()
  525.                         for i = 1, #spades do
  526.                             coroutine.resume(coroutine.create(function()
  527.                                 for x = 10, 13, 0.3 do
  528.                                     game:GetService("RunService").RenderStepped:Wait()
  529.                                     spades[i].CFrame = spades[i].CFrame:Lerp(mainpart.CFrame * CFrame.Angles(0, math.rad((360 / #spades) * i) + math.pi / 2, 0) * CFrame.new(-x, 0, 0), 0.15)
  530.                                 end
  531.                                 for x = 1, 15 do
  532.                                     game:GetService("RunService").RenderStepped:Wait()
  533.                                     spades[i].CFrame = spades[i].CFrame:Lerp(mainpart.CFrame * CFrame.Angles(0, math.rad((360 / #spades) * i) + math.pi / 2, 0) * CFrame.new(-13, 0, 0), 0.15)
  534.                                 end
  535.                                 local debounce = false
  536.                                 for x = 0, 0.5, 0.025 do
  537.                                     game:GetService("RunService").RenderStepped:Wait()
  538.                                     for i,v in pairs(spades[i]:GetTouchingParts()) do
  539.                                         if not v:IsDescendantOf(char) and debounce == false then
  540.                                             if v.Parent and v.Parent:FindFirstChildOfClass("Humanoid") then
  541.                                                 debounce = true
  542.                                                 v.Parent:FindFirstChildOfClass("Humanoid").Health = v.Parent:FindFirstChildOfClass("Humanoid").Health - 20
  543.                                                 coroutine.resume(coroutine.create(function()
  544.                                                     wait(0.4)
  545.                                                     debounce = false
  546.                                                 end))
  547.                                             end
  548.                                         end
  549.                                     end
  550.                                     spades[i].CFrame = spades[i].CFrame * CFrame.new(x, 0, 0)
  551.                                 end
  552.                                 for x = 0.5, 1, 0.025 do
  553.                                     game:GetService("RunService").RenderStepped:Wait()
  554.                                     for i,v in pairs(spades[i]:GetChildren()) do
  555.                                         if v:IsA("Decal") then
  556.                                             v.Transparency = v.Transparency + 0.05
  557.                                         end
  558.                                     end
  559.                                     for i,v in pairs(spades[i]:GetTouchingParts()) do
  560.                                         if not v:IsDescendantOf(char) and debounce == false then
  561.                                             if v.Parent and v.Parent:FindFirstChildOfClass("Humanoid") then
  562.                                                 debounce = true
  563.                                                 v.Parent:FindFirstChildOfClass("Humanoid").Health = v.Parent:FindFirstChildOfClass("Humanoid").Health - 5
  564.                                                 coroutine.resume(coroutine.create(function()
  565.                                                     wait(0.4)
  566.                                                     debounce = false
  567.                                                 end))
  568.                                             end
  569.                                         end
  570.                                     end
  571.                                     spades[i].CFrame = spades[i].CFrame * CFrame.new(x, 0, 0)
  572.                                 end
  573.                                 spades[i]:Destroy()
  574.                             end))
  575.                             wait(0.05)
  576.                         end
  577.                     end))
  578.                     wait(1)
  579.                     coroutine.resume(coroutine.create(function()
  580.                         wait(1.4)
  581.                         model:Destroy()
  582.                     end))
  583.                 end
  584.                 attack = false
  585.             end
  586.             if input.KeyCode == Enum.KeyCode.C then
  587.                 attack = true
  588.                 rooted = true
  589.                 local sound = Instance.new("Sound")
  590.                 sound.SoundId = "rbxassetid://2545011398"
  591.                 sound.Volume = 10
  592.                 sound.Parent = head
  593.                 sound:Play()
  594.                 repeat
  595.                     game:GetService("RunService").RenderStepped:Wait()
  596.                     RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(-0.4 + math.cos(sine / 20) / 8, math.sin(sine / 20) / 8, 0), 0.15)
  597.                     LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(-0.4 + math.cos(sine / 20) / 8, -math.sin(sine / 20) / 8, 0), 0.15)
  598.                     RH.C0 = RH.C0:Lerp(RHnor * CFrame.Angles(-0.2 + math.cos(sine / 20) / 8, 0, 0), 0.15)
  599.                     LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(-0.2 + math.cos(sine / 20) / 8, 0, 0), 0.15)
  600.                     rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.new(0, 0, 0.2 * math.sin(sine / 20)), 0.1)
  601.                     neck.C0 = neck.C0:Lerp(necknor, 0.15)
  602.                 until sound.Playing == false
  603.                 rooted = false
  604.                 hum.WalkSpeed = 20
  605.                 hum.JumpPower = 50
  606.                 local model = Instance.new("Model")
  607.                 model.Name = "Devs"
  608.                 model.Parent = char
  609.                 local mainpart = Instance.new("Part")
  610.                 mainpart.Transparency = 1
  611.                 mainpart.CanCollide = false
  612.                 mainpart.Anchored = true
  613.                 mainpart.CFrame = CFrame.new(mouse.Hit.Position) * CFrame.new(0, 3, 0)
  614.                 mainpart.Parent = model
  615.                 model.PrimaryPart = mainpart
  616.                 local devs = {}
  617.                 local devsine = 0
  618.                 for i = 1, 4 do
  619.                     local dev = Instance.new("Part")
  620.                     dev.Name = "Devilsknife"
  621.                     dev.Transparency = 1
  622.                     dev.Anchored = true
  623.                     dev.CanCollide = false
  624.                     dev.Size = Vector3.new(4, 0.05, 4.6)
  625.                     dev.Parent = model
  626.                     local decal1 = Instance.new("Decal")
  627.                     decal1.Texture = "rbxassetid://28140935"
  628.                     decal1.Face = Enum.NormalId.Top
  629.                     decal1.Transparency = 1
  630.                     decal1.Parent = dev
  631.                     local decal2 = Instance.new("Decal")
  632.                     decal2.Texture = "rbxassetid://28140935"
  633.                     decal2.Face = Enum.NormalId.Bottom
  634.                     decal2.Transparency = 1
  635.                     decal2.Parent = dev
  636.                     dev.Touched:Connect(function(hit)
  637.                     end)
  638.                     table.insert(devs, dev)
  639.                 end
  640.                 local spin = 0
  641.                 for i = 1, 15 do
  642.                     game:GetService("RunService").RenderStepped:Wait()
  643.                     spin = spin + 12
  644.                     devsine = devsine + 1
  645.                     mainpart.CFrame = CFrame.new(mouse.Hit.Position) * CFrame.new(0, 3, 0)
  646.                     for i = 1, #devs do
  647.                         for i,v in pairs(devs[i]:GetChildren()) do
  648.                             if v:IsA("Decal") then
  649.                                 v.Transparency = v.Transparency - 1 / 15
  650.                             end
  651.                         end
  652.                         if i == 1 then
  653.                             devs[i].CFrame = mainpart.CFrame * CFrame.Angles(0, math.rad(spin), 0) + Vector3.new(math.sin(sine / 40) * 4, 0, math.sin(sine / 40) * 10)
  654.                         elseif i == 2 then
  655.                             devs[i].CFrame = mainpart.CFrame * CFrame.Angles(0, math.rad(spin), 0) + Vector3.new(-math.sin(sine / 40) * 4, 0, -math.sin(sine / 40) * 10)
  656.                         elseif i == 3 then
  657.                             devs[i].CFrame = mainpart.CFrame * CFrame.Angles(0, math.rad(spin), 0) + Vector3.new(math.sin(sine / 40) * 4, 0, -math.sin(sine / 40) * 10)
  658.                         elseif i == 4 then
  659.                             devs[i].CFrame = mainpart.CFrame * CFrame.Angles(0, math.rad(spin), 0) + Vector3.new(-math.sin(sine / 40) * 4, 0, math.sin(sine / 40) * 10)
  660.                         end
  661.                     end
  662.                 end
  663.                 local debounce = {}
  664.                 for i = 1, #devs do
  665.                     debounce[i] = false
  666.                 end
  667.                 for i = 1, 500 do
  668.                     game:GetService("RunService").RenderStepped:Wait()
  669.                     spin = spin + 12
  670.                     devsine = devsine + 1
  671.                     mainpart.CFrame = CFrame.new(mouse.Hit.Position) * CFrame.new(0, 3, 0)
  672.                     for i = 1, #devs do
  673.                         for i,v in pairs(devs[i]:GetTouchingParts()) do
  674.                             if not v:IsDescendantOf(char) and debounce[i] == false then
  675.                                 if v.Parent and v.Parent:FindFirstChildOfClass("Humanoid") then
  676.                                     debounce[i] = true
  677.                                     v.Parent:FindFirstChildOfClass("Humanoid").Health = v.Parent:FindFirstChildOfClass("Humanoid").Health - 5
  678.                                     coroutine.resume(coroutine.create(function()
  679.                                         wait(0.4)
  680.                                         debounce[i] = false
  681.                                     end))
  682.                                 end
  683.                             end
  684.                         end
  685.                     end
  686.                     for i = 1, #devs do
  687.                         if i == 1 then
  688.                             devs[i].CFrame = mainpart.CFrame * CFrame.Angles(0, math.rad(spin), 0) + Vector3.new(math.sin(sine / 40) * 4, 0, math.sin(sine / 40) * 10)
  689.                         elseif i == 2 then
  690.                             devs[i].CFrame = mainpart.CFrame * CFrame.Angles(0, math.rad(spin), 0) + Vector3.new(-math.sin(sine / 40) * 4, 0, -math.sin(sine / 40) * 10)
  691.                         elseif i == 3 then
  692.                             devs[i].CFrame = mainpart.CFrame * CFrame.Angles(0, math.rad(spin), 0) + Vector3.new(math.sin(sine / 40) * 4, 0, -math.sin(sine / 40) * 10)
  693.                         elseif i == 4 then
  694.                             devs[i].CFrame = mainpart.CFrame * CFrame.Angles(0, math.rad(spin), 0) + Vector3.new(-math.sin(sine / 40) * 4, 0, math.sin(sine / 40) * 10)
  695.                         end
  696.                     end
  697.                 end
  698.                 for i = 1, 15 do
  699.                     game:GetService("RunService").RenderStepped:Wait()
  700.                     for i = 1, #devs do
  701.                         for i,v in pairs(devs[i]:GetChildren()) do
  702.                             if v:IsA("Decal") then
  703.                                 v.Transparency = v.Transparency + 1 / 15
  704.                             end
  705.                         end
  706.                         if i == 1 then
  707.                             devs[i].CFrame = mainpart.CFrame * CFrame.Angles(0, math.rad(spin), 0) + Vector3.new(math.sin(sine / 40) * 4, 0, math.sin(sine / 40) * 10)
  708.                         elseif i == 2 then
  709.                             devs[i].CFrame = mainpart.CFrame * CFrame.Angles(0, math.rad(spin), 0) + Vector3.new(-math.sin(sine / 40) * 4, 0, -math.sin(sine / 40) * 10)
  710.                         elseif i == 3 then
  711.                             devs[i].CFrame = mainpart.CFrame * CFrame.Angles(0, math.rad(spin), 0) + Vector3.new(math.sin(sine / 40) * 4, 0, -math.sin(sine / 40) * 10)
  712.                         elseif i == 4 then
  713.                             devs[i].CFrame = mainpart.CFrame * CFrame.Angles(0, math.rad(spin), 0) + Vector3.new(-math.sin(sine / 40) * 4, 0, math.sin(sine / 40) * 10)
  714.                         end
  715.                     end
  716.                 end
  717.                 model:Destroy()
  718.                 attack = false
  719.             end
  720.             if input.KeyCode == Enum.KeyCode.V then
  721.                 attack = true
  722.                 rooted = true
  723.                 local sound = Instance.new("Sound")
  724.                 sound.SoundId = "rbxassetid://2544975373"
  725.                 sound.Volume = 10
  726.                 sound.Parent = head
  727.                 sound:Play()
  728.                 repeat
  729.                     game:GetService("RunService").RenderStepped:Wait()
  730.                     RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(-0.4 + math.cos(sine / 20) / 8, math.sin(sine / 20) / 8, 0), 0.15)
  731.                     LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(-0.4 + math.cos(sine / 20) / 8, -math.sin(sine / 20) / 8, 0), 0.15)
  732.                     RH.C0 = RH.C0:Lerp(RHnor * CFrame.Angles(-0.2 + math.cos(sine / 20) / 8, 0, 0), 0.15)
  733.                     LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(-0.2 + math.cos(sine / 20) / 8, 0, 0), 0.15)
  734.                     rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.new(0, 0, 0.2 * math.sin(sine / 20)), 0.1)
  735.                     neck.C0 = neck.C0:Lerp(necknor, 0.15)
  736.                 until sound.Playing == false
  737.                 rooted = false
  738.                 hum.WalkSpeed = 20
  739.                 hum.JumpPower = 50
  740.                 for i = 1, 60 do
  741.                     local diamond = Instance.new("Part")
  742.                     diamond.Name = "Devilsknife"
  743.                     diamond.Transparency = 1
  744.                     diamond.Anchored = true
  745.                     diamond.CanCollide = false
  746.                     diamond.Size = Vector3.new(3, 0.05, 2)
  747.                     diamond.Parent = char
  748.                     local decal1 = Instance.new("Decal")
  749.                     decal1.Texture = "rbxassetid://28140935"
  750.                     decal1.Face = Enum.NormalId.Top
  751.                     decal1.Transparency = 1
  752.                     decal1.Parent = diamond
  753.                     local decal2 = Instance.new("Decal")
  754.                     decal2.Texture = "rbxassetid://28140935"
  755.                     decal2.Face = Enum.NormalId.Bottom
  756.                     decal2.Transparency = 1
  757.                     decal2.Parent = diamond
  758.                     diamond.Touched:Connect(function(hit)
  759.                     end)
  760.                     diamond.CFrame = CFrame.new(mouse.Hit.Position) * CFrame.new(0, 3, math.random(-100, 100) / 25)
  761.                     coroutine.resume(coroutine.create(function()
  762.                         local movespeed = 0
  763.                         for i = 1, 15 do
  764.                             game:GetService("RunService").RenderStepped:Wait()
  765.                             for i,v in pairs(diamond:GetChildren()) do
  766.                                 if v:IsA("Decal") then
  767.                                     v.Transparency = v.Transparency - 1 / 15
  768.                                 end
  769.                             end
  770.                         end
  771.                         local debounce = false
  772.                         for i = 1, 90 do
  773.                             game:GetService("RunService").RenderStepped:Wait()
  774.                             movespeed = movespeed + 0.01
  775.                             diamond.CFrame = diamond.CFrame * CFrame.new(movespeed, 0, 0)
  776.                             for i,v in pairs(diamond:GetTouchingParts()) do
  777.                                 if not v:IsDescendantOf(char) and debounce == false then
  778.                                     if v.Parent and v.Parent:FindFirstChildOfClass("Humanoid") then
  779.                                         debounce = true
  780.                                         v.Parent:FindFirstChildOfClass("Humanoid").Health = v.Parent:FindFirstChildOfClass("Humanoid").Health - 10
  781.                                         coroutine.resume(coroutine.create(function()
  782.                                             wait(0.4)
  783.                                             debounce = false
  784.                                         end))
  785.                                     end
  786.                                 end
  787.                             end
  788.                         end
  789.                         for i = 1, 15 do
  790.                             game:GetService("RunService").RenderStepped:Wait()
  791.                             movespeed = movespeed + 0.01
  792.                             for i,v in pairs(diamond:GetChildren()) do
  793.                                 if v:IsA("Decal") then
  794.                                     v.Transparency = v.Transparency + 1 / 15
  795.                                 end
  796.                             end
  797.                             diamond.CFrame = diamond.CFrame * CFrame.new(movespeed, 0, 0)
  798.                         end
  799.                         diamond:Destroy()
  800.                     end))
  801.                     wait(0.1)
  802.                 end
  803.                 attack = false
  804.             end
  805.             if input.KeyCode == Enum.KeyCode.B and hum.Health <= 30 then
  806.                 attack = true
  807.                 rooted = true
  808.                 local sound = Instance.new("Sound")
  809.                 sound.SoundId = "rbxassetid://2545011398"
  810.                 sound.Volume = 10
  811.                 sound.Parent = head
  812.                 sound:Play()
  813.                 repeat
  814.                     game:GetService("RunService").RenderStepped:Wait()
  815.                     RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(-0.4 + math.cos(sine / 20) / 8, math.sin(sine / 20) / 8, 0), 0.15)
  816.                     LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(-0.4 + math.cos(sine / 20) / 8, -math.sin(sine / 20) / 8, 0), 0.15)
  817.                     RH.C0 = RH.C0:Lerp(RHnor * CFrame.Angles(-0.2 + math.cos(sine / 20) / 8, 0, 0), 0.15)
  818.                     LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(-0.2 + math.cos(sine / 20) / 8, 0, 0), 0.15)
  819.                     rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.new(0, 0, 0.2 * math.sin(sine / 20)), 0.1)
  820.                     neck.C0 = neck.C0:Lerp(necknor, 0.15)
  821.                 until sound.Playing == false
  822.                 rooted = false
  823.                 hum.WalkSpeed = 20
  824.                 hum.JumpPower = 50
  825.                 local sound = Instance.new("Sound")
  826.                 sound.SoundId = "rbxassetid://2545211516"
  827.                 sound.Volume = 10
  828.                 sound.Parent = head
  829.                 sound:Play()
  830.                 repeat
  831.                     game:GetService("RunService").RenderStepped:Wait()
  832.                 until sound.Playing == false
  833.                 local ticking = 0.6
  834.                 for i = 1, 40 do
  835.                     local dev = Instance.new("Part")
  836.                     dev.Name = "Devilsknife"
  837.                     dev.Transparency = 1
  838.                     dev.Anchored = true
  839.                     dev.CanCollide = false
  840.                     dev.Size = Vector3.new(4, 0.05, 4.6)
  841.                     dev.Parent = char
  842.                     local decal1 = Instance.new("Decal")
  843.                     decal1.Texture = "rbxassetid://28140935"
  844.                     decal1.Face = Enum.NormalId.Top
  845.                     decal1.Transparency = 1
  846.                     decal1.Parent = dev
  847.                     local decal2 = Instance.new("Decal")
  848.                     decal2.Texture = "rbxassetid://28140935"
  849.                     decal2.Face = Enum.NormalId.Bottom
  850.                     decal2.Transparency = 1
  851.                     decal2.Parent = dev
  852.                     dev.Touched:Connect(function(hit)
  853.                     end)
  854.                     dev.CFrame = CFrame.new(mouse.Hit.Position) * CFrame.Angles(0, 0, math.pi / 2) + Vector3.new(0, 50, 0)
  855.                     local spin = 0
  856.                     local fallspeed = 0
  857.                     coroutine.resume(coroutine.create(function()
  858.                         local debounce = false
  859.                         for i = 1, 60 do
  860.                             game:GetService("RunService").RenderStepped:Wait()
  861.                             if i <= 15 then
  862.                                 for i,v in pairs(dev:GetChildren()) do
  863.                                     if v:IsA("Decal") then
  864.                                         v.Transparency = v.Transparency - 1 / 15
  865.                                     end
  866.                                 end
  867.                             end
  868.                             for i,v in pairs(dev:GetTouchingParts()) do
  869.                                 if not v:IsDescendantOf(char) and debounce == false then
  870.                                     if v.Parent and v.Parent:FindFirstChildOfClass("Humanoid") then
  871.                                         debounce = true
  872.                                         v.Parent:FindFirstChildOfClass("Humanoid").Health = v.Parent:FindFirstChildOfClass("Humanoid").Health - 10
  873.                                         coroutine.resume(coroutine.create(function()
  874.                                             wait(0.4)
  875.                                             debounce = false
  876.                                         end))
  877.                                     end
  878.                                 end
  879.                             end
  880.                             spin = spin + 12
  881.                             fallspeed = fallspeed + 0.06
  882.                             dev.CFrame = dev.CFrame * CFrame.Angles(0, math.rad(spin), 0) + Vector3.new(0, -fallspeed, 0)
  883.                         end
  884.                         dev:Destroy()
  885.                     end))
  886.                     wait(ticking)
  887.                     if ticking > 0.2 then
  888.                         ticking = ticking - 0.05
  889.                     end
  890.                 end
  891.                 local sound = Instance.new("Sound")
  892.                 sound.SoundId = "rbxassetid://2545018472"
  893.                 sound.Volume = 10
  894.                 sound.Parent = head
  895.                 sound:Play()
  896.                 repeat
  897.                     game:GetService("RunService").RenderStepped:Wait()
  898.                 until sound.Playing == false
  899.                 for i = 1, 10 do
  900.                     local dev = Instance.new("Part")
  901.                     dev.Name = "Devilsknife"
  902.                     dev.Transparency = 1
  903.                     dev.Anchored = true
  904.                     dev.CanCollide = false
  905.                     dev.Size = Vector3.new(4, 0.05, 4.6)
  906.                     dev.Parent = char
  907.                     local decal1 = Instance.new("Decal")
  908.                     decal1.Texture = "rbxassetid://28140935"
  909.                     decal1.Face = Enum.NormalId.Top
  910.                     decal1.Transparency = 1
  911.                     decal1.Parent = dev
  912.                     local decal2 = Instance.new("Decal")
  913.                     decal2.Texture = "rbxassetid://28140935"
  914.                     decal2.Face = Enum.NormalId.Bottom
  915.                     decal2.Transparency = 1
  916.                     decal2.Parent = dev
  917.                     dev.Touched:Connect(function(hit)
  918.                     end)
  919.                     dev.CFrame = CFrame.new(mouse.Hit.Position) * CFrame.Angles(0, 0, math.pi / 2) + Vector3.new(0, 50, 0)
  920.                     local spin = 0
  921.                     local fallspeed = 0
  922.                     coroutine.resume(coroutine.create(function()
  923.                         local debounce = false
  924.                         for i = 1, 60 do
  925.                             game:GetService("RunService").RenderStepped:Wait()
  926.                             if i <= 15 then
  927.                                 for i,v in pairs(dev:GetChildren()) do
  928.                                     if v:IsA("Decal") then
  929.                                         v.Transparency = v.Transparency - 1 / 15
  930.                                     end
  931.                                 end
  932.                             end
  933.                             for i,v in pairs(dev:GetTouchingParts()) do
  934.                                 if not v:IsDescendantOf(char) and debounce == false then
  935.                                     if v.Parent and v.Parent:FindFirstChildOfClass("Humanoid") then
  936.                                         debounce = true
  937.                                         v.Parent:FindFirstChildOfClass("Humanoid").Health = v.Parent:FindFirstChildOfClass("Humanoid").Health - 10
  938.                                         coroutine.resume(coroutine.create(function()
  939.                                             wait(0.4)
  940.                                             debounce = false
  941.                                         end))
  942.                                     end
  943.                                 end
  944.                             end
  945.                             spin = spin + 12
  946.                             fallspeed = fallspeed + 0.06
  947.                             dev.CFrame = dev.CFrame * CFrame.Angles(0, math.rad(spin), 0) + Vector3.new(0, -fallspeed, 0)
  948.                         end
  949.                         dev:Destroy()
  950.                     end))
  951.                     wait(ticking)
  952.                     if ticking > 0.2 then
  953.                         ticking = ticking - 0.05
  954.                     end
  955.                 end
  956.                 local giantdev = Instance.new("Part")
  957.                 giantdev.Name = "Devilsknife"
  958.                 giantdev.Transparency = 1
  959.                 giantdev.Anchored = true
  960.                 giantdev.CanCollide = false
  961.                 giantdev.Size = Vector3.new(60, 0.05, 62)
  962.                 giantdev.Parent = char
  963.                 local decal1 = Instance.new("Decal")
  964.                 decal1.Texture = "rbxassetid://28140935"
  965.                 decal1.Face = Enum.NormalId.Top
  966.                 decal1.Transparency = 1
  967.                 decal1.Parent = giantdev
  968.                 local decal2 = Instance.new("Decal")
  969.                 decal2.Texture = "rbxassetid://28140935"
  970.                 decal2.Face = Enum.NormalId.Bottom
  971.                 decal2.Transparency = 1
  972.                 decal2.Parent = giantdev
  973.                 giantdev.Touched:Connect(function(hit)
  974.                 end)
  975.                 giantdev.CFrame = CFrame.new(mouse.Hit.Position) * CFrame.Angles(math.rad(105), 0, math.pi / 2) + Vector3.new(0, 100, 0)
  976.                 for i = 1, 180 do
  977.                     game:GetService("RunService").RenderStepped:Wait()
  978.                     if i <= 15 then
  979.                         for i,v in pairs(giantdev:GetChildren()) do
  980.                             if v:IsA("Decal") then
  981.                                 v.Transparency = v.Transparency - 1 / 15
  982.                             end
  983.                         end
  984.                     end
  985.                     giantdev.CFrame = giantdev.CFrame + Vector3.new(0, -0.7, 0, 0)
  986.                 end
  987.                 Effect(60, "Sphere", Vector3.new(30, 30, 30), Vector3.new(150, 150, 150), CFrame.new(giantdev.Position) + Vector3.new(0, -40, 0), BrickColor.new("Institutional white"), char)
  988.                 Effect(60, "KillSphere", Vector3.new(30, 30, 30), Vector3.new(150, 150, 150), CFrame.new(giantdev.Position) + Vector3.new(0, -40, 0), BrickColor.new("Institutional white"), char)
  989.                 for i = 1, 5 do
  990.                     Effect(60, "Wave", Vector3.new(90, 15, 90), Vector3.new(450, 75, 450), CFrame.new(giantdev.Position) + Vector3.new(0, 28, 0), BrickColor.new("Mid gray"), char)
  991.                 end
  992.                 giantdev:Destroy()
  993.                 wait(1)
  994.                 attack = false
  995.             end
  996.         end
  997.     end
  998. end)
  999.  
  1000. -----------------------------------------------------
  1001. ---------------------Wrapping up---------------------
  1002. -----------------------------------------------------
  1003.  
  1004. while game:GetService("RunService").RenderStepped:Wait() do
  1005.     sine = sine + 1
  1006.     for i,v in pairs(hum:GetPlayingAnimationTracks()) do
  1007.         v:Stop()
  1008.     end
  1009.     for i,v in pairs(char:GetChildren()) do
  1010.         if v:IsA("Accessory") then
  1011.             v:Destroy()
  1012.         end
  1013.         if v.Name == "Head" then
  1014.             for i,v in pairs(v:GetChildren()) do
  1015.                 if v:IsA("Decal") then
  1016.                     v.Texture = "rbxassetid://241553801"
  1017.                 end
  1018.             end
  1019.             v.Color = Color3.new(180 / 255, 180 / 255, 228 / 255)
  1020.         end
  1021.         if v.Name == "Left Leg" or v.Name == "Right Leg" then
  1022.             v.Color = Color3.new(180 / 255, 180 / 255, 228 / 255)
  1023.         end
  1024.         if (v:IsA("Shirt") or v:IsA("Pants")) and v.Name ~= "Cloth" then
  1025.             v:Destroy()
  1026.         end
  1027.         if v:IsA("BodyColors") then
  1028.             v:Destroy()
  1029.         end
  1030.     end
  1031.     if music.Parent == tors then
  1032.         music.SoundId = song
  1033.         music.Volume = volume
  1034.         music.Name = "JevilTheme"
  1035.         music.Looped = true
  1036.         music.PlaybackSpeed = 1
  1037.         music.Playing = playing
  1038.         timepos = music.TimePosition
  1039.     else
  1040.         music = Instance.new("Sound")
  1041.         music.TimePosition = timepos
  1042.         music.SoundId = song
  1043.         music.Volume = volume
  1044.         music.Name = "JevilTheme"
  1045.         music.Looped = true
  1046.         music.PlaybackSpeed = 1
  1047.         music.Parent = tors
  1048.         music.Playing = playing
  1049.     end
  1050.     if rooted then
  1051.         hum.WalkSpeed = 0
  1052.         hum.JumpPower = 0
  1053.     end
  1054.     local torsvel = (tors.Velocity * Vector3.new(1, 0, 1)).Magnitude
  1055.     local hitfloor = workspace:FindPartOnRay(Ray.new(char.HumanoidRootPart.CFrame.Position, ((CFrame.new(char.HumanoidRootPart.Position, char.HumanoidRootPart.Position - Vector3.new(0, 1, 0))).LookVector).Unit * 4), char)
  1056.     if attack == false then
  1057.         if JevilForm == false then
  1058.             if torsvel < 1 and hitfloor then
  1059.                 RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(-0.4 + math.cos(sine / 20) / 8, math.sin(sine / 20) / 8, 0), 0.15)
  1060.                 LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(-0.4 + math.cos(sine / 20) / 8, -math.sin(sine / 20) / 8, 0), 0.15)
  1061.                 RH.C0 = RH.C0:Lerp(RHnor * CFrame.new(0, -0.2 * math.sin(sine / 20), 0), 0.15)
  1062.                 LH.C0 = LH.C0:Lerp(LHnor * CFrame.new(0, -0.2 * math.sin(sine / 20), 0), 0.15)
  1063.                 rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.new(0, 0, 0.2 * math.sin(sine / 20)), 0.15)
  1064.                 neck.C0 = neck.C0:Lerp(necknor, 0.15)
  1065.             end
  1066.             if torsvel > 1 and hitfloor then
  1067.                 RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(-0.1, 0, math.sin(sine / 7)), 0.15)
  1068.                 LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(-0.1, 0, math.sin(sine / 7)), 0.15)
  1069.                 RH.C0 = RH.C0:Lerp(RHnor * CFrame.Angles(0, 0, -math.sin(sine / 7) / 1.5 - 0.25) * CFrame.new(-math.cos(sine / 7) / 2, -math.cos(sine / 7) / 2, 0), 0.15)
  1070.                 LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(0, 0, -math.sin(sine / 7) / 1.5 + 0.25) * CFrame.new(-math.cos(sine / 7) / 2, math.cos(sine / 7) / 2, 0), 0.15)
  1071.                 rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.Angles(0.1, rootpart.RotVelocity.Y / 70, math.sin(sine / 7) / 5) * CFrame.new(0, 0, math.sin(sine / 3.5) / 10), 0.15)
  1072.                 neck.C0 = neck.C0:Lerp(necknor * CFrame.Angles(0, 0, -head.RotVelocity.Y / 15), 0.15)
  1073.             end
  1074.             if not hitfloor then
  1075.                 RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(math.clamp(tors.Velocity.Y / 200 - 0.3, -hum.JumpPower / 200 - 0.3, hum.JumpPower / 200 - 0.3), 0, 0), 0.15)
  1076.                 LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(math.clamp(tors.Velocity.Y / 200 - 0.3, -hum.JumpPower / 200 - 0.3, hum.JumpPower / 200 - 0.3), 0, 0), 0.15)
  1077.                 RH.C0 = RH.C0:Lerp(RHnor + Vector3.new(0, 0.6, -0.4), 0.15)
  1078.                 LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(0, 0, 0.3) + Vector3.new(0, 0.1, 0), 0.15)
  1079.                 rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.Angles(-math.clamp(tors.Velocity.Y / 100, -hum.JumpPower / 100, hum.JumpPower / 100), 0, 0), 0.15)
  1080.                 neck.C0 = neck.C0:Lerp(necknor, 0.15)
  1081.             end
  1082.         end
  1083.         if JevilForm == true then
  1084.             if torsvel < 1 and hum.Health > 30 then
  1085.                 RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(-0.4 + math.cos(sine / 20) / 8, math.sin(sine / 20) / 8, 0), 0.15)
  1086.                 LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(-0.4 + math.cos(sine / 20) / 8, -math.sin(sine / 20) / 8, 0), 0.15)
  1087.                 RH.C0 = RH.C0:Lerp(RHnor * CFrame.Angles(-0.2 + math.cos(sine / 20) / 8, 0, 0), 0.15)
  1088.                 LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(-0.2 + math.cos(sine / 20) / 8, 0, 0), 0.15)
  1089.                 rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.new(0, 0, 0.2 * math.sin(sine / 20)), 0.1)
  1090.                 neck.C0 = neck.C0:Lerp(necknor, 0.15)
  1091.             end
  1092.             if torsvel < 1 and hum.Health <= 30 then
  1093.                 RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(-0.2 + math.cos(sine / 40) / 10, 0, 0.5) + Vector3.new(0, math.sin(sine / 40) / 10, 0), 0.15)
  1094.                 LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(-0.2 + math.cos(sine / 40) / 10, 0, -0.5) + Vector3.new(0, math.sin(sine / 40) / 10, 0), 0.15)
  1095.                 RH.C0 = RH.C0:Lerp(RHnor * CFrame.Angles(-0.1 + math.cos(sine / 40) / 10, 0, 0.5), 0.15)
  1096.                 LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(-0.1 + math.cos(sine / 40) / 10, 0, -0.5), 0.15)
  1097.                 rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.Angles(0.5, 0, 0) + Vector3.new(0.1 * math.cos(sine / 40), 0.1 * math.sin(sine / 40), 0), 0.1)
  1098.                 neck.C0 = neck.C0:Lerp(necknor, 0.15)
  1099.             end
  1100.             if torsvel > 1 then
  1101.                 RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(0, 0.4, (-math.pi / 2 + 0.7) + math.sin(sine / 20) / 10), 0.15)
  1102.                 LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(0, -0.4, (math.pi / 2 - 0.7) - math.sin(sine / 20) / 10), 0.15)
  1103.                 RH.C0 = RH.C0:Lerp(RHnor * CFrame.Angles(0, 0, -math.pi / 2 + 0.7), 0.15)
  1104.                 LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(0, 0, math.pi / 2 - 0.7), 0.15)
  1105.                 rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.Angles(0.7 - math.cos(sine / 20) / 10, rootpart.RotVelocity.Y / 30, 0) + Vector3.new(0, 0.2 * math.sin(sine / 20), 0), 0.15)
  1106.                 neck.C0 = neck.C0:Lerp(necknor * CFrame.Angles(-0.7, 0, -head.RotVelocity.Y / 10), 0.15)
  1107.             end
  1108.         end
  1109.     elseif rooted == false then
  1110.         if JevilForm == false then
  1111.             if torsvel < 1 and hitfloor then
  1112.                 RH.C0 = RH.C0:Lerp(RHnor, 0.15)
  1113.                 LH.C0 = LH.C0:Lerp(LHnor, 0.15)
  1114.             end
  1115.             if torsvel > 1 and hitfloor then
  1116.                 RH.C0 = RH.C0:Lerp(RHnor * CFrame.Angles(0, 0, -math.sin(sine / 7) / 1.5 - 0.25) * CFrame.new(-math.cos(sine / 7) / 2, -math.cos(sine / 7) / 2, 0), 0.15)
  1117.                 LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(0, 0, -math.sin(sine / 7) / 1.5 + 0.25) * CFrame.new(-math.cos(sine / 7) / 2, math.cos(sine / 7) / 2, 0), 0.15)
  1118.             end
  1119.             if not hitfloor then
  1120.                 RH.C0 = RH.C0:Lerp(RHnor + Vector3.new(0, 0.6, -0.4), 0.15)
  1121.                 LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(0, 0, 0.3) + Vector3.new(0, 0.1, 0), 0.15)
  1122.             end
  1123.         end
  1124.         if JevilForm == true then
  1125.             if torsvel < 1 and hum.Health > 30 then
  1126.                 RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(-0.4 + math.cos(sine / 20) / 8, math.sin(sine / 20) / 8, 0), 0.15)
  1127.                 LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(-0.4 + math.cos(sine / 20) / 8, -math.sin(sine / 20) / 8, 0), 0.15)
  1128.                 RH.C0 = RH.C0:Lerp(RHnor * CFrame.Angles(-0.2 + math.cos(sine / 20) / 8, 0, 0), 0.15)
  1129.                 LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(-0.2 + math.cos(sine / 20) / 8, 0, 0), 0.15)
  1130.                 rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.new(0, 0, 0.2 * math.sin(sine / 20)), 0.1)
  1131.                 neck.C0 = neck.C0:Lerp(necknor, 0.15)
  1132.             end
  1133.             if torsvel < 1 and hum.Health <= 30 then
  1134.                 RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(-0.2 + math.cos(sine / 40) / 10, 0, 0.5) + Vector3.new(0, math.sin(sine / 40) / 10, 0), 0.15)
  1135.                 LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(-0.2 + math.cos(sine / 40) / 10, 0, -0.5) + Vector3.new(0, math.sin(sine / 40) / 10, 0), 0.15)
  1136.                 RH.C0 = RH.C0:Lerp(RHnor * CFrame.Angles(-0.1 + math.cos(sine / 40) / 10, 0, 0.5), 0.15)
  1137.                 LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(-0.1 + math.cos(sine / 40) / 10, 0, -0.5), 0.15)
  1138.                 rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.Angles(0.5, 0, 0) + Vector3.new(0.1 * math.cos(sine / 40), 0.1 * math.sin(sine / 40), 0), 0.1)
  1139.                 neck.C0 = neck.C0:Lerp(necknor, 0.15)
  1140.             end
  1141.             if torsvel > 1 then
  1142.                 RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(0, 0.4, (-math.pi / 2 + 0.7) + math.sin(sine / 20) / 10), 0.15)
  1143.                 LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(0, -0.4, (math.pi / 2 - 0.7) - math.sin(sine / 20) / 10), 0.15)
  1144.                 RH.C0 = RH.C0:Lerp(RHnor * CFrame.Angles(0, 0, -math.pi / 2 + 0.7), 0.15)
  1145.                 LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(0, 0, math.pi / 2 - 0.7), 0.15)
  1146.                 rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.Angles(0.7 - math.cos(sine / 20) / 10, rootpart.RotVelocity.Y / 30, 0) + Vector3.new(0, 0.2 * math.sin(sine / 20), 0), 0.15)
  1147.                 neck.C0 = neck.C0:Lerp(necknor * CFrame.Angles(-0.7, 0, -head.RotVelocity.Y / 10), 0.15)
  1148.             end
  1149.         end
  1150.     end
  1151. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement