Advertisement
Zach_script_stealer2

Jester Return V.1.4

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