Advertisement
Guest User

Untitled

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