Upscalefanatic3

(Roblox) [FE] Jevil Script

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