Advertisement
HenloMyDude

funnylaughs jevil edit

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