Advertisement
saba1517

[Lua] Reaper leaked by ozzak (i edited it a little bit

Jun 27th, 2018
564
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 89.01 KB | None | 0 0
  1. plr = game:GetService("Players").LocalPlayer
  2. char = plr.Character
  3. hum = char.Humanoid
  4. local cam = game.Workspace.CurrentCamera
  5. local Controller = plr.PlayerScripts:WaitForChild("ControlScript")
  6. Camera = cam
  7. local CamInterrupt = false
  8. local TwoD = false
  9. local TargetInfo = {nil, nil}
  10. cam.CameraType = "Custom"
  11. t = char.Torso
  12. h = char.Head
  13. ra = char["Right Arm"]
  14. la = char["Left Arm"]
  15. rl = char["Right Leg"]
  16. ll = char["Left Leg"]
  17. tors = char.Torso
  18. lleg = char["Left Leg"]
  19. root = char.HumanoidRootPart
  20. hed = char.Head
  21. rleg = char["Right Leg"]
  22. rarm = char["Right Arm"]
  23. larm = char["Left Arm"]
  24. radian = math.rad
  25. random = math.random
  26. Vec3 = Vector3.new
  27. Inst = Instance.new
  28. cFrame = CFrame.new
  29. Euler = CFrame.fromEulerAnglesXYZ
  30. vt = Vector3.new
  31. bc = BrickColor.new
  32. br = BrickColor.random
  33. it = Instance.new
  34. cf = CFrame.new
  35. local eff = true
  36. local shielding = false
  37.  
  38. local Booleans = {
  39. CamFollow = true,
  40. GyroUse = true
  41. }
  42.  
  43. function lerp(object, newCFrame, alpha)
  44. return object:lerp(newCFrame, alpha)
  45. end
  46.  
  47. local Directer = Inst("BodyGyro", root)
  48. Directer.MaxTorque = Vec3(0, 0, 0)
  49. Directer.P = 600000
  50. local CPart = Inst("Part")
  51. CPart.Anchored = true
  52. CPart.CanCollide = false
  53. CPart.Locked = true
  54. CPart.Transparency = 1
  55.  
  56. local rainbowmode = false
  57. local chaosmode = false
  58.  
  59. kan = Instance.new("Sound",char)
  60. kan.Volume = 1.25
  61. kan.TimePosition = 0
  62. kan.PlaybackSpeed = 1
  63. kan.Pitch = 1
  64. kan.SoundId = "rbxassetid://0"
  65. kan.Name = "wrecked"
  66. kan.Looped = true
  67. kan:Play()
  68.  
  69. function newTheme(ID,timepos,pitch,vol)
  70. local kanz = kan
  71. --kanz:Stop()
  72. --kanz.Volume = vol
  73. --kanz.TimePosition = timepos
  74. kanz.PlaybackSpeed = pitch
  75. kanz.Pitch = pitch
  76. kanz.SoundId = ID
  77. kanz.Name = "wrecked"
  78. kanz.Looped = true
  79. kanz.Volume = 0.3
  80. --kanz:Play()
  81. --coroutine.resume(coroutine.create(function()
  82. --wait(0.05)
  83. --end))
  84. end
  85.  
  86. function newThemeCust(ID,timepos,pitch,vol)
  87. local kanz = kan
  88. kanz:Stop()
  89. kanz.Volume = vol
  90. kanz.TimePosition = timepos
  91. kanz.PlaybackSpeed = pitch
  92. kanz.Pitch = pitch
  93. kanz.SoundId = ID
  94. kanz.Name = "wrecked"
  95. kanz.Looped = true
  96. kanz:Play()
  97. coroutine.resume(coroutine.create(function()
  98. wait(0.05)
  99. end))
  100. end
  101.  
  102.  
  103.  
  104. function CameraShake(Times, Power, PlayerTarget)
  105. coroutine.resume(coroutine.create(function()
  106. FV = Instance.new("BoolValue", PlayerTarget)
  107. FV.Name = "CameraShake"
  108. for ShakeNum=1,Times do
  109. swait()
  110. local ef=Power
  111. if ef>=1 then
  112. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  113. else
  114. ef=Power*10
  115. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  116. end
  117. end
  118. Humanoid.CameraOffset = Vector3.new(0,0,0)
  119. FV:Destroy()
  120. end))
  121. end
  122.  
  123. function CameraEnshaking(Length,Intensity)
  124. coroutine.resume(coroutine.create(function()
  125. local intensity = 1*Intensity
  126. local rotM = 0.01*Intensity
  127. for i = 0, Length, 0.1 do
  128. swait()
  129. intensity = intensity - 0.05*Intensity/Length
  130. rotM = rotM - 0.0005*Intensity/Length
  131. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  132. cam.CFrame = cam.CFrame * cFrame(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) * Euler(radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM)
  133. end
  134. Humanoid.CameraOffset = Vec3(0, 0, 0)
  135. end))
  136. end
  137. CamShake=function(Part,Distan,Power,Times)
  138. local de=Part.Position
  139. for i,v in pairs(workspace:children()) do
  140. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  141. for _,c in pairs(v:children()) do
  142. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  143. local Noob=v.Humanoid
  144. if Noob~=nil then
  145. coroutine.resume(coroutine.create(function()
  146. FV = Instance.new("BoolValue", Noob)
  147. FV.Name = "CameraShake"
  148. for ShakeNum=1,Times do
  149. swait()
  150. local ef=Power
  151. if ef>=1 then
  152. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  153. else
  154. ef=Power*10
  155. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  156. end
  157. end
  158. Humanoid.CameraOffset = Vector3.new(0,0,0)
  159. FV:Destroy()
  160. end))
  161. CameraShake(Times, Power, Noob)
  162. end
  163. end
  164. end
  165. end
  166. end
  167. end
  168.  
  169. function chatfunc(text,color)
  170. local chat = coroutine.wrap(function()
  171. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  172. Character:FindFirstChild("TalkingBillBoard"):destroy()
  173. end
  174. local naeeym2 = Instance.new("BillboardGui",Character)
  175. naeeym2.Size = UDim2.new(0,100,0,40)
  176. naeeym2.StudsOffset = Vector3.new(0,3,0)
  177. naeeym2.Adornee = Character.Head
  178. naeeym2.Name = "TalkingBillBoard"
  179. local tecks2 = Instance.new("TextLabel",naeeym2)
  180. tecks2.BackgroundTransparency = 1
  181. tecks2.BorderSizePixel = 0
  182. tecks2.Text = ""
  183. tecks2.Font = "SciFi"
  184. tecks2.TextSize = 30
  185. tecks2.TextStrokeTransparency = 0
  186. tecks2.TextColor3 = color
  187. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  188. tecks2.Size = UDim2.new(1,0,0.5,0)
  189. local tecks3 = Instance.new("TextLabel",naeeym2)
  190. tecks3.BackgroundTransparency = 1
  191. tecks3.BorderSizePixel = 0
  192. tecks3.Text = ""
  193. tecks3.Font = "SciFi"
  194. tecks3.TextSize = 30
  195. tecks3.TextStrokeTransparency = 0
  196. tecks3.TextColor3 = Color3.new(0,0,0)
  197. tecks3.TextStrokeColor3 = color
  198. tecks3.Size = UDim2.new(1,0,0.5,0)
  199. coroutine.resume(coroutine.create(function()
  200. while true do
  201. swait(1)
  202. plr.Character.wrecked.Volume = 0.3
  203. if chaosmode == true then
  204. tecks2.TextColor3 = BrickColor.random().Color
  205. tecks3.TextStrokeColor3 = BrickColor.random().Color
  206. end
  207. tecks2.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5))
  208. tecks3.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5))
  209. tecks2.Rotation = math.random(-5,5)
  210. tecks3.Rotation = math.random(-5,5)
  211. end
  212. end))
  213. for i = 1,string.len(text),1 do
  214. CFuncs["Sound"].Create("rbxassetid://274118116", char, 0.25, 0.115)
  215. tecks2.Text = string.sub(text,1,i)
  216. tecks3.Text = string.sub(text,1,i)
  217. swait(1)
  218. end
  219. wait(1)
  220. local randomrot = math.random(1,2)
  221. if randomrot == 1 then
  222. for i = 1, 50 do
  223. swait()
  224. tecks2.Rotation = tecks2.Rotation - .75
  225. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  226. tecks2.TextTransparency = tecks2.TextTransparency + .04
  227. tecks3.Rotation = tecks2.Rotation + .75
  228. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  229. tecks3.TextTransparency = tecks2.TextTransparency + .04
  230. end
  231. elseif randomrot == 2 then
  232. for i = 1, 50 do
  233. swait()
  234. tecks2.Rotation = tecks2.Rotation + .75
  235. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  236. tecks2.TextTransparency = tecks2.TextTransparency + .04
  237. tecks3.Rotation = tecks2.Rotation - .75
  238. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  239. tecks3.TextTransparency = tecks2.TextTransparency + .04
  240. end
  241. end
  242. naeeym2:Destroy()
  243. end)
  244. chat()
  245. end
  246.  
  247.  
  248. local Create = LoadLibrary("RbxUtility").Create
  249.  
  250. CFuncs = {
  251. ["Part"] = {
  252. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  253. local Part = Create("Part"){
  254. Parent = Parent,
  255. Reflectance = Reflectance,
  256. Transparency = Transparency,
  257. CanCollide = false,
  258. Locked = true,
  259. BrickColor = BrickColor.new(tostring(BColor)),
  260. Name = Name,
  261. Size = Size,
  262. Material = Material,
  263. }
  264. RemoveOutlines(Part)
  265. return Part
  266. end;
  267. };
  268.  
  269. ["Mesh"] = {
  270. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  271. local Msh = Create(Mesh){
  272. Parent = Part,
  273. Offset = OffSet,
  274. Scale = Scale,
  275. }
  276. if Mesh == "SpecialMesh" then
  277. Msh.MeshType = MeshType
  278. Msh.MeshId = MeshId
  279. end
  280. return Msh
  281. end;
  282. };
  283.  
  284. ["Mesh"] = {
  285. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  286. local Msh = Create(Mesh){
  287. Parent = Part,
  288. Offset = OffSet,
  289. Scale = Scale,
  290. }
  291. if Mesh == "SpecialMesh" then
  292. Msh.MeshType = MeshType
  293. Msh.MeshId = MeshId
  294. end
  295. return Msh
  296. end;
  297. };
  298.  
  299. ["Weld"] = {
  300. Create = function(Parent, Part0, Part1, C0, C1)
  301. local Weld = Create("Weld"){
  302. Parent = Parent,
  303. Part0 = Part0,
  304. Part1 = Part1,
  305. C0 = C0,
  306. C1 = C1,
  307. }
  308. return Weld
  309. end;
  310. };
  311.  
  312. ["Sound"] = {
  313. Create = function(id, par, vol, pit)
  314. coroutine.resume(coroutine.create(function()
  315. local S = Create("Sound"){
  316. Volume = vol,
  317. Name = "EffectSoundo",
  318. Pitch = pit or 1,
  319. SoundId = id,
  320. Parent = par or workspace,
  321. }
  322. wait()
  323. S:play()
  324. game:GetService("Debris"):AddItem(S, 10)
  325. end))
  326. end;
  327. };
  328.  
  329. ["LongSound"] = {
  330. Create = function(id, par, vol, pit)
  331. coroutine.resume(coroutine.create(function()
  332. local S = Create("Sound"){
  333. Volume = vol,
  334. Pitch = pit or 1,
  335. SoundId = id,
  336. Parent = par or workspace,
  337. }
  338. wait()
  339. S:play()
  340. game:GetService("Debris"):AddItem(S, 30)
  341. end))
  342. end;
  343. };
  344.  
  345. ["ParticleEmitter"] = {
  346. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  347. local fp = Create("ParticleEmitter"){
  348. Parent = Parent,
  349. Color = ColorSequence.new(Color1, Color2),
  350. LightEmission = LightEmission,
  351. Size = Size,
  352. Texture = Texture,
  353. Transparency = Transparency,
  354. ZOffset = ZOffset,
  355. Acceleration = Accel,
  356. Drag = Drag,
  357. LockedToPart = LockedToPart,
  358. VelocityInheritance = VelocityInheritance,
  359. EmissionDirection = EmissionDirection,
  360. Enabled = Enabled,
  361. Lifetime = LifeTime,
  362. Rate = Rate,
  363. Rotation = Rotation,
  364. RotSpeed = RotSpeed,
  365. Speed = Speed,
  366. VelocitySpread = VelocitySpread,
  367. }
  368. return fp
  369. end;
  370. };
  371.  
  372. CreateTemplate = {
  373.  
  374. };
  375. }
  376.  
  377.  
  378.  
  379. New = function(Object, Parent, Name, Data)
  380. local Object = Instance.new(Object)
  381. for Index, Value in pairs(Data or {}) do
  382. Object[Index] = Value
  383. end
  384. Object.Parent = Parent
  385. Object.Name = Name
  386. return Object
  387. end
  388. local halocolor = BrickColor.new("Really black")
  389. local halocolor2 = BrickColor.new("Really black")
  390. local starcolor = BrickColor.new("Really black")
  391. local lunacolor = BrickColor.new("Really black")
  392. local lunacolor2 = BrickColor.new("Really black")
  393. local wepcolor = BrickColor.new("Really black")
  394. local maincolor = BrickColor.new("Really black")
  395. local m = Instance.new("Model",char)
  396. local m2 = Instance.new("Model",char)
  397. local m3 = Instance.new("Model",char)
  398. local mw1 = Instance.new("Model",char)
  399. local mw2 = Instance.new("Model",char)
  400.  
  401. local extrawingmod1 = Instance.new("Model",char)
  402. local extrawingmod2 = Instance.new("Model",char)
  403.  
  404. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  405. local p = Instance.new("Part")
  406. p.TopSurface = 0
  407. p.BottomSurface = 0
  408. p.Parent = parent
  409. p.Size = Vector3.new(0.1,0.1,0.1)
  410. p.Transparency = transparency
  411. p.Reflectance = reflectance
  412. p.CanCollide = false
  413. p.Locked = true
  414. p.BrickColor = brickcolor
  415. p.Material = material
  416. return p
  417. end
  418.  
  419. function CreateMesh(parent,meshtype,x1,y1,z1)
  420. local mesh = Instance.new("SpecialMesh",parent)
  421. mesh.MeshType = meshtype
  422. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  423. return mesh
  424. end
  425.  
  426. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  427. local mesh = Instance.new("SpecialMesh",parent)
  428. mesh.MeshType = "FileMesh"
  429. mesh.MeshId = meshid
  430. mesh.Scale = Vector3.new(x1,y1,z1)
  431. return mesh
  432. end
  433.  
  434.  
  435. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  436. local mesh = Instance.new("SpecialMesh",parent)
  437. mesh.MeshType = "FileMesh"
  438. mesh.MeshId = meshid
  439. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  440. mesh.Scale = Vector3.new(x1,y1,z1)
  441. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  442. return mesh
  443. end
  444.  
  445. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  446. local weld = Instance.new("Weld")
  447. weld.Parent = parent
  448. weld.Part0 = part0
  449. weld.Part1 = part1
  450. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  451. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  452. return weld
  453. end
  454.  
  455.  
  456. --------------
  457. local secondchar = Instance.new("Model",char)
  458. local GhostCol = BrickColor.new("Really black")
  459. local sectors = CreateParta(secondchar,1,0,"Neon",GhostCol)
  460. CreateMesh(sectors,"Brick",2*8,2*8,1*8)
  461. local torsweld = CreateWeld(sectors,root,sectors,1,-1,-2,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  462.  
  463. local seclarm = CreateParta(secondchar,1,0,"Neon",GhostCol)
  464. CreateMesh(seclarm,"Brick",1*8,2*8,1*8)
  465. local larmsweld = CreateWeld(seclarm,sectors,seclarm,1.5,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  466.  
  467. local secrarm = CreateParta(secondchar,1,0,"Neon",GhostCol)
  468. CreateMesh(secrarm,"Brick",1*8,2*8,1*8)
  469. local rarmsweld = CreateWeld(secrarm,sectors,secrarm,-1.5,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  470.  
  471. local seclleg = CreateParta(secondchar,1,0,"Neon",GhostCol)
  472. CreateMesh(seclleg,"Brick",1*8,2*8,1*8)
  473. local llegsweld = CreateWeld(seclleg,sectors,seclleg,0.5,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  474.  
  475. local secrleg = CreateParta(secondchar,1,0,"Neon",GhostCol)
  476. CreateMesh(secrleg,"Brick",1*8,2*8,1*8)
  477. local rlegsweld = CreateWeld(secrleg,sectors,secrleg,-0.5,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  478.  
  479. local seched = CreateParta(secondchar,1,0,"Neon",GhostCol)
  480. CreateMesh(seched,"Brick",1*8,1*8,1*8)
  481. local hedsweld = CreateWeld(seched,sectors,seched,0,-1.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  482. --------------
  483. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  484. CreateWeld(sorb,rarm,sorb,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  485. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  486. CreateWeld(sorb2,larm,sorb2,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  487.  
  488. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  489. CreateMesh(handle,"Brick",0,0,0)
  490. local handlexweld = CreateWeld(handlex,tors,handlex,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  491. local valuaring = 10
  492. for i = 0, 49 do
  493. valuaring = valuaring + 10
  494. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  495. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  496. CreateWeld(rn,handlex,rn,0,1,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  497. end
  498.  
  499. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  500. CreateMesh(handle,"Brick",0,0,0)
  501. CreateWeld(handlex,tors,handlex,0,-3,-2.1,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  502. local valuaring = 10
  503. for i = 0, 49 do
  504. valuaring = valuaring + 10
  505. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  506. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  507. CreateWeld(rn,handlex,rn,0,2,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  508. end
  509.  
  510.  
  511. local handle = CreateParta(m,1,1,"Neon",maincolor)
  512. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  513. local handleweld = CreateWeld(handle,tors,handle,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  514.  
  515. --- Left wing.
  516.  
  517. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  518. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  519. local lwing1weld = CreateWeld(lwing1,handle,lwing1,3,0,0,math.rad(5),math.rad(0),math.rad(12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  520.  
  521. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  522. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  523. CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  524. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  525. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  526. CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  527. A0 = Instance.new('Attachment',wed)
  528. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  529. CreateMesh(wed,"Wedge",0.05,0.5,3)
  530. CreateWeld(wed,lwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  531. A1 = Instance.new('Attachment',wed)
  532. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  533. CreateMesh(wed,"Wedge",0.05,3,0.5)
  534. CreateWeld(wed,lwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  535.  
  536. tl1 = Instance.new('Trail',wed)
  537. tl1.Attachment0 = A0
  538. tl1.Attachment1 = A1
  539. --tl1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  540. tl1.LightEmission = 1
  541. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  542. tl1.Color = ColorSequence.new(BrickColor.new('Really black').Color)
  543. tl1.Lifetime = 0.6
  544.  
  545.  
  546. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  547. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  548. local lwing2weld = CreateWeld(lwing2,handle,lwing2,4,1,0,math.rad(10),math.rad(0),math.rad(25),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  549.  
  550. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  551. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  552. CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  553. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  554. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  555. CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  556. A0 = Instance.new('Attachment',wed)
  557. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  558. CreateMesh(wed,"Wedge",0.05,0.5,3)
  559. CreateWeld(wed,lwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  560. A1 = Instance.new('Attachment',wed)
  561. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  562. CreateMesh(wed,"Wedge",0.05,3,0.5)
  563. CreateWeld(wed,lwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  564.  
  565. tl2 = Instance.new('Trail',wed)
  566. tl2.Attachment0 = A0
  567. tl2.Attachment1 = A1
  568. --tl2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  569. tl2.LightEmission = 1
  570. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  571. tl2.Color = ColorSequence.new(BrickColor.new('Really black').Color)
  572. tl2.Lifetime = 0.6
  573.  
  574. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  575. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  576. local lwing3weld = CreateWeld(lwing3,handle,lwing3,4.75,2,0,math.rad(15),math.rad(0),math.rad(37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  577.  
  578. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  579. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  580. CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  581. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  582. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  583. CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  584. A0 = Instance.new('Attachment',wed)
  585. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  586. CreateMesh(wed,"Wedge",0.05,0.5,3)
  587. CreateWeld(wed,lwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  588. A1 = Instance.new('Attachment',wed)
  589. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  590. CreateMesh(wed,"Wedge",0.05,3,0.5)
  591. CreateWeld(wed,lwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  592.  
  593. tl3 = Instance.new('Trail',wed)
  594. tl3.Attachment0 = A0
  595. tl3.Attachment1 = A1
  596. --tl3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  597. tl3.LightEmission = 1
  598. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  599. tl3.Color = ColorSequence.new(BrickColor.new('Really black').Color)
  600. tl3.Lifetime = 0.6
  601.  
  602. tl1.Enabled = false
  603. tl2.Enabled = false
  604. tl3.Enabled = false
  605. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  606. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  607. local lwing4weld = CreateWeld(lwing4,handle,lwing4,5.75,3,0,math.rad(20),math.rad(0),math.rad(50),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  608.  
  609. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  610. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  611. CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  612. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  613. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  614. CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  615. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  616. CreateMesh(wed,"Wedge",0.05,0.5,3)
  617. CreateWeld(wed,lwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  618. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  619. CreateMesh(wed,"Wedge",0.05,3,0.5)
  620. CreateWeld(wed,lwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  621.  
  622. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  623. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  624. local lwing5weld = CreateWeld(lwing5,handle,lwing5,6.75,4,0,math.rad(25),math.rad(0),math.rad(62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  625.  
  626. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  627. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  628. CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  629. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  630. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  631. CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  632. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  633. CreateMesh(wed,"Wedge",0.05,0.5,3)
  634. CreateWeld(wed,lwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  635. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  636. CreateMesh(wed,"Wedge",0.05,3,0.5)
  637. CreateWeld(wed,lwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  638.  
  639. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  640. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  641. local lwing6weld = CreateWeld(lwing6,handle,lwing6,7.75,5,0,math.rad(30),math.rad(0),math.rad(75),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  642.  
  643. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  644. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  645. CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  646. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  647. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  648. CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  649. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  650. CreateMesh(wed,"Wedge",0.05,0.5,3)
  651. CreateWeld(wed,lwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  652. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  653. CreateMesh(wed,"Wedge",0.05,3,0.5)
  654. CreateWeld(wed,lwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  655.  
  656. -- Right wing.
  657.  
  658. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  659. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  660. local rwing1weld = CreateWeld(rwing1,handle,rwing1,-3,0,0,math.rad(5),math.rad(0),math.rad(-12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  661.  
  662. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  663. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  664. CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  665. A0 = Instance.new('Attachment',wed)
  666. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  667. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  668. CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  669. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  670. CreateMesh(wed,"Wedge",0.05,0.5,3)
  671. CreateWeld(wed,rwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  672. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  673. CreateMesh(wed,"Wedge",0.05,3,0.5)
  674. CreateWeld(wed,rwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  675. A1 = Instance.new('Attachment',wed)
  676.  
  677. tr1 = Instance.new('Trail',wed)
  678. tr1.Attachment0 = A0
  679. tr1.Attachment1 = A1
  680. --tr1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  681. tr1.LightEmission = 1
  682. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  683. tr1.Color = ColorSequence.new(BrickColor.new('Really black').Color)
  684. tr1.Lifetime = 0.6
  685.  
  686. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  687. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  688. local rwing2weld = CreateWeld(rwing2,handle,rwing2,-4,1,0,math.rad(10),math.rad(0),math.rad(-25),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  689.  
  690. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  691. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  692. CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  693. A0 = Instance.new('Attachment',wed)
  694. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  695. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  696. CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  697. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  698. CreateMesh(wed,"Wedge",0.05,0.5,3)
  699. CreateWeld(wed,rwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  700. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  701. CreateMesh(wed,"Wedge",0.05,3,0.5)
  702. CreateWeld(wed,rwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  703. A1 = Instance.new('Attachment',wed)
  704.  
  705. tr2 = Instance.new('Trail',wed)
  706. tr2.Attachment0 = A0
  707. tr2.Attachment1 = A1
  708. --tr2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  709. tr2.LightEmission = 1
  710. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  711. tr2.Color = ColorSequence.new(BrickColor.new('Really black').Color)
  712. tr2.Lifetime = 0.6
  713.  
  714. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  715. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  716. local rwing3weld = CreateWeld(rwing3,handle,rwing3,-4.75,2,0,math.rad(15),math.rad(0),math.rad(-37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  717.  
  718. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  719. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  720. CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  721. A0 = Instance.new('Attachment',wed)
  722. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  723. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  724. CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  725. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  726. CreateMesh(wed,"Wedge",0.05,0.5,3)
  727. CreateWeld(wed,rwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  728. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  729. CreateMesh(wed,"Wedge",0.05,3,0.5)
  730. CreateWeld(wed,rwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  731. A1 = Instance.new('Attachment',wed)
  732.  
  733. tr3 = Instance.new('Trail',wed)
  734. tr3.Attachment0 = A0
  735. tr3.Attachment1 = A1
  736. --tr3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  737. tr3.LightEmission = 1
  738. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  739. tr3.Color = ColorSequence.new(BrickColor.new('Really black').Color)
  740. tr3.Lifetime = 0.6
  741.  
  742.  
  743. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  744. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  745. local rwing4weld = CreateWeld(rwing4,handle,rwing4,-5.75,3,0,math.rad(20),math.rad(0),math.rad(-50),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  746.  
  747. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  748. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  749. CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  750. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  751. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  752. CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  753. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  754. CreateMesh(wed,"Wedge",0.05,0.5,3)
  755. CreateWeld(wed,rwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  756. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  757. CreateMesh(wed,"Wedge",0.05,3,0.5)
  758. CreateWeld(wed,rwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  759.  
  760. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  761. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  762. local rwing5weld = CreateWeld(rwing5,handle,rwing5,-6.75,4,0,math.rad(25),math.rad(0),math.rad(-62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  763.  
  764. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  765. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  766. CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  767. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  768. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  769. CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  770. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  771. CreateMesh(wed,"Wedge",0.05,0.5,3)
  772. CreateWeld(wed,rwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  773. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  774. CreateMesh(wed,"Wedge",0.05,3,0.5)
  775. CreateWeld(wed,rwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  776.  
  777. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  778. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  779. local rwing6weld = CreateWeld(rwing6,handle,rwing6,-7.75,3,0,math.rad(30),math.rad(0),math.rad(-75),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  780.  
  781. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  782. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  783. CreateWeld(wed,rwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  784. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  785. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  786. CreateWeld(wed,rwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  787. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  788. CreateMesh(wed,"Wedge",0.05,0.5,3)
  789. CreateWeld(wed,rwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  790. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  791. CreateMesh(wed,"Wedge",0.05,3,0.5)
  792. CreateWeld(wed,rwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  793.  
  794. ---- HERES THE RING
  795.  
  796.  
  797. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  798. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  799. CreateWeld(ran,larm,ran,0,0.15,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  800. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  801. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  802. CreateWeld(ran,larm,ran,0,0.155,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  803. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  804. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  805. CreateWeld(ran,larm,ran,0,0.155,-0.025,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  806.  
  807.  
  808. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  809. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  810. CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  811.  
  812. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  813. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  814. CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  815.  
  816.  
  817.  
  818. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  819. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  820. CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  821.  
  822. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  823. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  824. CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  825.  
  826. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  827. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  828. CreateWeld(gane,larm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  829.  
  830. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  831. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  832. CreateWeld(star,larm,star,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  833. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  834. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  835. CreateWeld(starl,larm,starl,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  836.  
  837. --- second ring
  838.  
  839. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  840. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  841. CreateWeld(ran,rarm,ran,0,0.15,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  842. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  843. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  844. CreateWeld(ran,rarm,ran,0,0.155,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  845. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  846. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  847. CreateWeld(ran,rarm,ran,0,0.155,-0.025,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  848.  
  849. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  850. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  851. CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  852.  
  853. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  854. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  855. CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  856.  
  857.  
  858.  
  859. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  860. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  861. CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  862.  
  863. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  864. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  865. CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  866.  
  867. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  868. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  869. CreateWeld(gane,rarm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  870.  
  871. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  872. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  873. CreateWeld(star,rarm,star,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  874. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  875. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  876. CreateWeld(starl,rarm,starl,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))]]--
  877.  
  878.  
  879.  
  880. for i, v in pairs(m:GetChildren()) do
  881. if v:IsA("Part") then
  882. v.BrickColor = BrickColor.new("Really black")
  883. v.Material = "Glass"
  884. end
  885. end
  886. for i, v in pairs(m2:GetChildren()) do
  887. if v:IsA("Part") then
  888. v.BrickColor = BrickColor.new("Really black")
  889. v.Material = "Granite"
  890. end
  891. end
  892. for i, v in pairs(m3:GetChildren()) do
  893. if v:IsA("Part") then
  894. v.BrickColor = BrickColor.new("Really black")
  895. v.Material = "Neon"
  896. end
  897. end
  898. for i, v in pairs(mw2:GetChildren()) do
  899. if v:IsA("Part") then
  900. v.BrickColor = BrickColor.new("Really black")
  901. v.Material = "Neon"
  902. end
  903. end
  904. for i, v in pairs(mw1:GetChildren()) do
  905. if v:IsA("Part") then
  906. v.Transparency = 1
  907. v.BrickColor = BrickColor.new("Really black")
  908. v.Material = "Neon"
  909. end
  910. end
  911. for i, v in pairs(extrawingmod1:GetChildren()) do
  912. if v:IsA("Part") then
  913. v.Transparency = 1
  914. v.BrickColor = BrickColor.new("Really black")
  915. v.Material = "Neon"
  916. end
  917. end
  918. for i, v in pairs(extrawingmod2:GetChildren()) do
  919. if v:IsA("Part") then
  920. v.Transparency = 1
  921. v.BrickColor = BrickColor.new("Really black")
  922. v.Material = "Neon"
  923. end
  924. end
  925. local MAINRUINCOLOR = BrickColor.new("Really black")
  926. -----------
  927. for i,v in pairs(char:children()) do
  928. if v:IsA("Shirt") and v:IsA("Pants") and v:IsA("Hat") and v:IsA("Accessory") then
  929. v:Remove()
  930. end
  931. end
  932. shirt = Instance.new("Shirt", char)
  933. shirt.Name = "Shirt"
  934. pants = Instance.new("Pants", char)
  935. pants.Name = "Pants"
  936. char.Shirt.ShirtTemplate = "rbxassetid://791994658"
  937. char.Pants.PantsTemplate = "rbxassetid://1029442377"
  938. local p = game.Players.LocalPlayer
  939. local char = p.Character
  940. local mouse = p:GetMouse()
  941. -----------------
  942. --leaked by ozzak1003
  943. --made by ??????????????
  944. wait(0.2)
  945.  
  946. Player = game:GetService("Players").LocalPlayer
  947. PlayerGui = Player.PlayerGui
  948. Cam = workspace.CurrentCamera
  949. Backpack = Player.Backpack
  950. Character = Player.Character
  951. Humanoid = Character.Humanoid
  952. Mouse = Player:GetMouse()
  953. RootPart = Character["HumanoidRootPart"]
  954. Torso = Character["Torso"]
  955. Head = Character["Head"]
  956. RightArm = Character["Right Arm"]
  957. LeftArm = Character["Left Arm"]
  958. RightLeg = Character["Right Leg"]
  959. LeftLeg = Character["Left Leg"]
  960. RootJoint = RootPart["RootJoint"]
  961. Neck = Torso["Neck"]
  962. RightShoulder = Torso["Right Shoulder"]
  963. LeftShoulder = Torso["Left Shoulder"]
  964. RightHip = Torso["Right Hip"]
  965. LeftHip = Torso["Left Hip"]
  966. local sick = Instance.new("Sound",Character)
  967. sick.SoundId = "rbxassetid://1392883147"
  968. sick.Looped = true
  969. sick.Pitch = 1
  970. sick.Volume = 1
  971. sick:Play()
  972.  
  973. IT = Instance.new
  974. CF = CFrame.new
  975. VT = Vector3.new
  976. RAD = math.rad
  977. C3 = Color3.new
  978. UD2 = UDim2.new
  979. BRICKC = BrickColor.new
  980. ANGLES = CFrame.Angles
  981. EULER = CFrame.fromEulerAnglesXYZ
  982. COS = math.cos
  983. ACOS = math.acos
  984. SIN = math.sin
  985. ASIN = math.asin
  986. ABS = math.abs
  987. MRANDOM = math.random
  988. FLOOR = math.floor
  989.  
  990. --//=================================\\
  991. --|| USEFUL VALUES
  992. --\\=================================//
  993.  
  994. Animation_Speed = 3
  995. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  996. local Speed = 16
  997. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  998. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  999. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  1000. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  1001. local DAMAGEMULTIPLIER = 1
  1002. local ANIM = "Idle"
  1003. local ATTACK = false
  1004. local EQUIPPED = false
  1005. local HOLD = false
  1006. local COMBO = 1
  1007. local Rooted = false
  1008. local SINE = 0
  1009. local KEYHOLD = false
  1010. local CHANGE = 2 / Animation_Speed
  1011. local WALKINGANIM = false
  1012. local VALUE1 = false
  1013. local VALUE2 = 0
  1014. local ROBLOXIDLEANIMATION = IT("Animation")
  1015. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  1016. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  1017. --ROBLOXIDLEANIMATION.Parent = Humanoid
  1018. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  1019. WEAPONGUI.Name = "Weapon GUI"
  1020. local Weapon = IT("Model")
  1021. Weapon.Name = "Adds"
  1022. local Effects = IT("Folder", Character)
  1023. Effects.Name = "Effects"
  1024. local ANIMATOR = Humanoid.Animator
  1025. local ANIMATE = Character.Animate
  1026. local UNANCHOR = true
  1027. local HITFLOOR = nil
  1028. local HITPOS = nil
  1029. local DED = false
  1030. local SOULWELL = 666
  1031. local HITPLAYERSOUNDS = {"199149137", "199149186", "199149221", "199149235", "199149269", "199149297"}
  1032. local SLASHSOUNDS = {"28144268","28144277","28144291"}
  1033.  
  1034. --//=================================\\
  1035. --\\=================================//
  1036.  
  1037.  
  1038. --//=================================\\
  1039. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  1040. --\\=================================//
  1041.  
  1042. ArtificialHB = Instance.new("BindableEvent", script)
  1043. ArtificialHB.Name = "ArtificialHB"
  1044.  
  1045. script:WaitForChild("ArtificialHB")
  1046.  
  1047. frame = Frame_Speed
  1048. tf = 0
  1049. allowframeloss = false
  1050. tossremainder = false
  1051. lastframe = tick()
  1052. script.ArtificialHB:Fire()
  1053.  
  1054. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1055. tf = tf + s
  1056. if tf >= frame then
  1057. if allowframeloss then
  1058. script.ArtificialHB:Fire()
  1059. lastframe = tick()
  1060. else
  1061. for i = 1, math.floor(tf / frame) do
  1062. script.ArtificialHB:Fire()
  1063. end
  1064. lastframe = tick()
  1065. end
  1066. if tossremainder then
  1067. tf = 0
  1068. else
  1069. tf = tf - frame * math.floor(tf / frame)
  1070. end
  1071. end
  1072. end)
  1073.  
  1074. --//=================================\\
  1075. --\\=================================//
  1076.  
  1077. --//=================================\\
  1078. --|| SOME FUNCTIONS
  1079. --\\=================================//
  1080.  
  1081. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  1082. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  1083. end
  1084.  
  1085. function PositiveAngle(NUMBER)
  1086. if NUMBER >= 0 then
  1087. NUMBER = 0
  1088. end
  1089. return NUMBER
  1090. end
  1091.  
  1092. function NegativeAngle(NUMBER)
  1093. if NUMBER <= 0 then
  1094. NUMBER = 0
  1095. end
  1096. return NUMBER
  1097. end
  1098.  
  1099. function Swait(NUMBER)
  1100. if NUMBER == 0 or NUMBER == nil then
  1101. ArtificialHB.Event:wait()
  1102. else
  1103. for i = 1, NUMBER do
  1104. ArtificialHB.Event:wait()
  1105. end
  1106. end
  1107. end
  1108.  
  1109. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  1110. local NEWMESH = IT(MESH)
  1111. if MESH == "SpecialMesh" then
  1112. NEWMESH.MeshType = MESHTYPE
  1113. if MESHID ~= "nil" and MESHID ~= "" then
  1114. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  1115. end
  1116. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  1117. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  1118. end
  1119. end
  1120. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  1121. NEWMESH.Scale = SCALE
  1122. NEWMESH.Parent = PARENT
  1123. return NEWMESH
  1124. end
  1125.  
  1126. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  1127. local NEWPART = IT("Part")
  1128. NEWPART.formFactor = FORMFACTOR
  1129. NEWPART.Reflectance = REFLECTANCE
  1130. NEWPART.Transparency = TRANSPARENCY
  1131. NEWPART.CanCollide = false
  1132. NEWPART.Locked = true
  1133. NEWPART.Anchored = true
  1134. if ANCHOR == false then
  1135. NEWPART.Anchored = false
  1136. end
  1137. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  1138. NEWPART.Name = NAME
  1139. NEWPART.Size = SIZE
  1140. NEWPART.Position = Torso.Position
  1141. NEWPART.Material = MATERIAL
  1142. NEWPART:BreakJoints()
  1143. NEWPART.Parent = PARENT
  1144. return NEWPART
  1145. end
  1146.  
  1147. local function weldBetween(a, b)
  1148. local weldd = Instance.new("ManualWeld")
  1149. weldd.Part0 = a
  1150. weldd.Part1 = b
  1151. weldd.C0 = CFrame.new()
  1152. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1153. weldd.Parent = a
  1154. return weldd
  1155. end
  1156.  
  1157.  
  1158. function QuaternionFromCFrame(cf)
  1159. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1160. local trace = m00 + m11 + m22
  1161. if trace > 0 then
  1162. local s = math.sqrt(1 + trace)
  1163. local recip = 0.5 / s
  1164. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1165. else
  1166. local i = 0
  1167. if m11 > m00 then
  1168. i = 1
  1169. end
  1170. if m22 > (i == 0 and m00 or m11) then
  1171. i = 2
  1172. end
  1173. if i == 0 then
  1174. local s = math.sqrt(m00 - m11 - m22 + 1)
  1175. local recip = 0.5 / s
  1176. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1177. elseif i == 1 then
  1178. local s = math.sqrt(m11 - m22 - m00 + 1)
  1179. local recip = 0.5 / s
  1180. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1181. elseif i == 2 then
  1182. local s = math.sqrt(m22 - m00 - m11 + 1)
  1183. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1184. end
  1185. end
  1186. end
  1187.  
  1188. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1189. local xs, ys, zs = x + x, y + y, z + z
  1190. local wx, wy, wz = w * xs, w * ys, w * zs
  1191. local xx = x * xs
  1192. local xy = x * ys
  1193. local xz = x * zs
  1194. local yy = y * ys
  1195. local yz = y * zs
  1196. local zz = z * zs
  1197. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  1198. end
  1199.  
  1200. function QuaternionSlerp(a, b, t)
  1201. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1202. local startInterp, finishInterp;
  1203. if cosTheta >= 0.0001 then
  1204. if (1 - cosTheta) > 0.0001 then
  1205. local theta = ACOS(cosTheta)
  1206. local invSinTheta = 1 / SIN(theta)
  1207. startInterp = SIN((1 - t) * theta) * invSinTheta
  1208. finishInterp = SIN(t * theta) * invSinTheta
  1209. else
  1210. startInterp = 1 - t
  1211. finishInterp = t
  1212. end
  1213. else
  1214. if (1 + cosTheta) > 0.0001 then
  1215. local theta = ACOS(-cosTheta)
  1216. local invSinTheta = 1 / SIN(theta)
  1217. startInterp = SIN((t - 1) * theta) * invSinTheta
  1218. finishInterp = SIN(t * theta) * invSinTheta
  1219. else
  1220. startInterp = t - 1
  1221. finishInterp = t
  1222. end
  1223. end
  1224. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  1225. end
  1226.  
  1227. function Clerp(a, b, t)
  1228. local qa = {QuaternionFromCFrame(a)}
  1229. local qb = {QuaternionFromCFrame(b)}
  1230. local ax, ay, az = a.x, a.y, a.z
  1231. local bx, by, bz = b.x, b.y, b.z
  1232. local _t = 1 - t
  1233. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1234. end
  1235.  
  1236. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  1237. local frame = IT("Frame")
  1238. frame.BackgroundTransparency = TRANSPARENCY
  1239. frame.BorderSizePixel = BORDERSIZEPIXEL
  1240. frame.Position = POSITION
  1241. frame.Size = SIZE
  1242. frame.BackgroundColor3 = COLOR
  1243. frame.BorderColor3 = BORDERCOLOR
  1244. frame.Name = NAME
  1245. frame.Parent = PARENT
  1246. return frame
  1247. end
  1248.  
  1249. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  1250. local label = IT("TextLabel")
  1251. label.BackgroundTransparency = 1
  1252. label.Size = UD2(1, 0, 1, 0)
  1253. label.Position = UD2(0, 0, 0, 0)
  1254. label.TextColor3 = TEXTCOLOR
  1255. label.TextStrokeTransparency = STROKETRANSPARENCY
  1256. label.TextTransparency = TRANSPARENCY
  1257. label.FontSize = TEXTFONTSIZE
  1258. label.Font = TEXTFONT
  1259. label.BorderSizePixel = BORDERSIZEPIXEL
  1260. label.TextScaled = false
  1261. label.Text = TEXT
  1262. label.Name = NAME
  1263. label.Parent = PARENT
  1264. return label
  1265. end
  1266.  
  1267. function NoOutlines(PART)
  1268. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  1269. end
  1270.  
  1271. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  1272. local NEWWELD = IT(TYPE)
  1273. NEWWELD.Part0 = PART0
  1274. NEWWELD.Part1 = PART1
  1275. NEWWELD.C0 = C0
  1276. NEWWELD.C1 = C1
  1277. NEWWELD.Parent = PARENT
  1278. return NEWWELD
  1279. end
  1280.  
  1281. local S = IT("Sound")
  1282. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  1283. local NEWSOUND = nil
  1284. coroutine.resume(coroutine.create(function()
  1285. NEWSOUND = S:Clone()
  1286. NEWSOUND.Parent = PARENT
  1287. NEWSOUND.Volume = VOLUME
  1288. NEWSOUND.Pitch = PITCH
  1289. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  1290. NEWSOUND:play()
  1291. if DOESLOOP == true then
  1292. NEWSOUND.Looped = true
  1293. else
  1294. repeat Swait() until NEWSOUND.Playing == false
  1295. NEWSOUND:remove()
  1296. end
  1297. end))
  1298. return NEWSOUND
  1299. end
  1300.  
  1301. function CFrameFromTopBack(at, top, back)
  1302. local right = top:Cross(back)
  1303. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  1304. end
  1305.  
  1306. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1307. function WACKYEFFECT(Table)
  1308. local TYPE = (Table.EffectType or "Sphere")
  1309. local SIZE = (Table.Size or VT(1,1,1))
  1310. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  1311. local TRANSPARENCY = (Table.Transparency or 0)
  1312. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  1313. local CFRAME = (Table.CFrame or Torso.CFrame)
  1314. local MOVEDIRECTION = (Table.MoveToPos or nil)
  1315. local ROTATION1 = (Table.RotationX or 0)
  1316. local ROTATION2 = (Table.RotationY or 0)
  1317. local ROTATION3 = (Table.RotationZ or 0)
  1318. local MATERIAL = (Table.Material or "Neon")
  1319. local COLOR = (Table.Color or C3(1,1,1))
  1320. local TIME = (Table.Time or 45)
  1321. local SOUNDID = (Table.SoundID or nil)
  1322. local SOUNDPITCH = (Table.SoundPitch or nil)
  1323. local SOUNDVOLUME = (Table.SoundVolume or nil)
  1324. coroutine.resume(coroutine.create(function()
  1325. local PLAYSSOUND = false
  1326. local SOUND = nil
  1327. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  1328. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1329. PLAYSSOUND = true
  1330. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1331. end
  1332. EFFECT.Color = COLOR
  1333. local MSH = nil
  1334. if TYPE == "Sphere" then
  1335. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  1336. elseif TYPE == "Block" then
  1337. MSH = IT("BlockMesh",EFFECT)
  1338. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  1339. elseif TYPE == "Wave" then
  1340. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  1341. elseif TYPE == "Ring" then
  1342. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  1343. elseif TYPE == "Slash" then
  1344. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1345. elseif TYPE == "Round Slash" then
  1346. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1347. elseif TYPE == "Swirl" then
  1348. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  1349. elseif TYPE == "Skull" then
  1350. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  1351. elseif TYPE == "Crystal" then
  1352. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  1353. end
  1354. if MSH ~= nil then
  1355. local MOVESPEED = nil
  1356. if MOVEDIRECTION ~= nil then
  1357. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  1358. end
  1359. local GROWTH = SIZE - ENDSIZE
  1360. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1361. if TYPE == "Block" then
  1362. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1363. else
  1364. EFFECT.CFrame = CFRAME
  1365. end
  1366. for LOOP = 1, TIME do
  1367. Swait()
  1368. MSH.Scale = MSH.Scale - GROWTH/TIME
  1369. if TYPE == "Wave" then
  1370. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  1371. end
  1372. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1373. if TYPE == "Block" then
  1374. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1375. else
  1376. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1377. end
  1378. if MOVEDIRECTION ~= nil then
  1379. local ORI = EFFECT.Orientation
  1380. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1381. EFFECT.Orientation = ORI
  1382. end
  1383. end
  1384. if PLAYSSOUND == false then
  1385. EFFECT:remove()
  1386. else
  1387. repeat Swait() until SOUND.Playing == false
  1388. EFFECT:remove()
  1389. end
  1390. else
  1391. if PLAYSSOUND == false then
  1392. EFFECT:remove()
  1393. else
  1394. repeat Swait() until SOUND.Playing == false
  1395. EFFECT:remove()
  1396. end
  1397. end
  1398. end))
  1399. end
  1400.  
  1401. Debris = game:GetService("Debris")
  1402.  
  1403. function SpawnSoul(Humanoid)
  1404. coroutine.resume(coroutine.create(function()
  1405. local TORSO = Humanoid.Parent:FindFirstChild("Torso") or Humanoid.Parent:FindFirstChild("UpperTorso")
  1406. local SOULMODEL = IT("Model",Effects)
  1407. SOULMODEL.Name = Humanoid.Parent.Name.."'s Soul"
  1408. local SOUL = CreatePart(3, SOULMODEL, "Neon", 0, 0, "Really red", "Head", VT(0.5,0.5,0.5))
  1409. SOUL.CFrame = CF(TORSO.Position)
  1410. local A1 = IT("Attachment",SOUL)
  1411. A1.Position = Vector3.new(0, 0.25, 0)
  1412. local A2 = IT("Attachment",SOUL)
  1413. A2.Position = Vector3.new(0, -0.25, 0)
  1414. local Trail = IT("Trail",SOUL)
  1415. Trail.LightEmission = 0.3
  1416. Trail.FaceCamera = true
  1417. Trail.Texture = "rbxassetid://945758042"
  1418. Trail.Attachment0 = A1
  1419. Trail.Attachment1 = A2
  1420. Trail.Lifetime = 0.5
  1421. Trail.MinLength = 0
  1422. Trail.Transparency = NumberSequence.new(0)
  1423. Trail.Color = ColorSequence.new(SOUL.Color)
  1424. MakeForm(SOUL,"Ball")
  1425. local DISTANCE = nil
  1426. local HUM = IT("Humanoid",SOULMODEL)
  1427. repeat
  1428. Swait()
  1429. SOUL.CFrame = CF(SOUL.Position,Torso.Position)*CF(0,0,-0.2)
  1430. DISTANCE = (SOUL.Position - Torso.Position).Magnitude
  1431. until DISTANCE < 0.4
  1432. WACKYEFFECT({EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(6,6,6), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = "444667859", SoundPitch = 2, SoundVolume = 2})
  1433. SOUL.Transparency = 1
  1434. A1.Parent = Torso
  1435. A2.Parent = Torso
  1436. Trail.Parent = Torso
  1437. Debris:AddItem(SOULMODEL,10)
  1438. SOULWELL = SOULWELL + 1
  1439. for i = 1, 100 do
  1440. Swait()
  1441. Trail.Transparency = NumberSequence.new(i/100)
  1442. end
  1443. A1:remove()
  1444. A2:remove()
  1445. Trail:remove()
  1446. end))
  1447. end
  1448.  
  1449. function Shatter(Part)
  1450. if Part.Transparency == 0 then
  1451. local SOUNDPART = CreatePart(3, Effects, "Glass", 0, 1, Part.BrickColor, "OOF", VT(0,0,0))
  1452. Debris:AddItem(SOUNDPART,5)
  1453. CreateSound("626807593", SOUNDPART, 3, MRANDOM(8,12)/10, false)
  1454. local SIZE = Part.Size.X + Part.Size.Y + Part.Size.Z
  1455. local SIZESET = SIZE/4
  1456. local XOffset = Part.Size.X*1.5/SIZESET
  1457. local YOffset = Part.Size.Y*1.5/SIZESET
  1458. local ZOffset = Part.Size.Z*1.5/SIZESET
  1459. for x = 1, math.ceil(XOffset) do
  1460. for y = 1, math.ceil(YOffset) do
  1461. for z = 1, math.ceil(ZOffset) do
  1462. local SHARD = CreatePart(3, Effects, "Glass", 0, 0.15, Part.BrickColor, "Shard", VT(SIZE,SIZE,SIZE)/10, false)
  1463. SHARD.CanCollide = true
  1464. SHARD.CFrame = Part.CFrame*CF((Part.Size.X/2-Part.Size.X/4),(Part.Size.Y/2-Part.Size.Y/4),(Part.Size.Z/2-Part.Size.Z/4))
  1465. SHARD.Velocity = VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))*3
  1466. Debris:AddItem(SHARD,MRANDOM(10,25)/10)
  1467. for _, c in pairs(Part:GetChildren()) do
  1468. if c.ClassName == "ParticleEmitter" or c.ClassName == "PointLight" or c.ClassName == "Fire" then
  1469. c:Clone().Parent = SHARD
  1470. end
  1471. end
  1472. end
  1473. end
  1474. end
  1475. end
  1476. Part:remove()
  1477. end
  1478.  
  1479. function MakeForm(PART,TYPE)
  1480. if TYPE == "Cyl" then
  1481. local MSH = IT("CylinderMesh",PART)
  1482. elseif TYPE == "Ball" then
  1483. local MSH = IT("SpecialMesh",PART)
  1484. MSH.MeshType = "Sphere"
  1485. elseif TYPE == "Wedge" then
  1486. local MSH = IT("SpecialMesh",PART)
  1487. MSH.MeshType = "Wedge"
  1488. end
  1489. end
  1490.  
  1491. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  1492. local DIRECTION = CF(StartPos,EndPos).lookVector
  1493. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  1494. end
  1495.  
  1496. function turnto(position)
  1497. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1498. end
  1499.  
  1500. --//=================================\\
  1501. --|| WEAPON CREATION
  1502. --\\=================================//
  1503.  
  1504. local HAT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Tophat", VT(1,1,1),false)
  1505. local Hatweld = CreateWeldOrSnapOrMotor("Weld", Head, Head, HAT, CF(0,1,0), CF(0, 0, 0))
  1506. CreateMesh("SpecialMesh", HAT, "FileMesh", "97094619", "97094572", VT(1,1,1), VT(0,0,0))
  1507.  
  1508. local HandlePart = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Tophat", VT(1,1,1),false)
  1509. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, HandlePart, CF(0, -2, -5.5) * ANGLES(RAD(-90), RAD(-90), RAD(0)), CF(0, 0, 0))
  1510. CreateMesh("SpecialMesh", HandlePart, "FileMesh", "95891318", "95891299", VT(1,1,1), VT(0,0,0))
  1511.  
  1512. for _, c in pairs(Weapon:GetChildren()) do
  1513. if c.ClassName == "Part" then
  1514. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1515. end
  1516. end
  1517.  
  1518. local EyeSizes={
  1519. NumberSequenceKeypoint.new(0,1,0),
  1520. NumberSequenceKeypoint.new(1,0,0)
  1521. }
  1522. local Trans={
  1523. NumberSequenceKeypoint.new(0,0.5,0),
  1524. NumberSequenceKeypoint.new(1,1,0)
  1525. }
  1526. local PE=Instance.new("ParticleEmitter")
  1527. PE.LightEmission=.8
  1528. PE.Color = ColorSequence.new(BRICKC("Really red").Color)
  1529. PE.Size=NumberSequence.new(EyeSizes)
  1530. PE.Lifetime=NumberRange.new(0.35,0.35,0.35)
  1531. PE.Rotation=NumberRange.new(0,360)
  1532. PE.Transparency = NumberSequence.new(Trans)
  1533. PE.Rate=999
  1534. PE.VelocitySpread = 10000
  1535. PE.Acceleration = Vector3.new(0,75,0)
  1536. PE.Drag = 5
  1537. PE.Speed = NumberRange.new(6,6)
  1538. PE.Texture="http://www.roblox.com/asset/?id=241936182"
  1539. PE.ZOffset = -1.5
  1540. PE.Name = "Rage"
  1541. PE.Enabled = false
  1542.  
  1543. function particles(art)
  1544. PE:Clone().Parent = art
  1545. end
  1546.  
  1547. for _, c in pairs(Character:GetChildren()) do
  1548. if c.ClassName == "Part" and c ~= RootPart then
  1549. particles(c)
  1550. end
  1551. end
  1552.  
  1553. local SKILLTEXTCOLOR = C3(0,0,0)
  1554. local SKILLFONT = "Antique"
  1555. local SKILLTEXTSIZE = 7
  1556.  
  1557. Weapon.Parent = Character
  1558.  
  1559. Humanoid.Died:connect(function()
  1560. if SOULWELL > 0 then
  1561. SOULWELL = SOULWELL - 1
  1562. Humanoid.Parent = nil
  1563. Humanoid.MaxHealth = "inf"
  1564. Humanoid.Health = "inf"
  1565. refit()
  1566. Humanoid.Parent = Character
  1567. else
  1568. DED = true
  1569. sick:Destroy()
  1570. ATTACK = true
  1571. wait(2)
  1572. for _, c in pairs(Character:GetChildren()) do
  1573. if c.ClassName == "Part" then
  1574. c.Velocity = VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))
  1575. end
  1576. end
  1577. for _, c in pairs(Character:GetChildren()) do
  1578. if c.ClassName == "Part" then
  1579. Shatter(c)
  1580. end
  1581. end
  1582. end
  1583. end)
  1584.  
  1585. function refit()
  1586. Character.Parent = nil
  1587. Weapon.Parent = Character
  1588. HandlePart.Parent = Weapon
  1589. HandleWeld.Parent = RightArm
  1590. HAT.Parent = Character
  1591. Hatweld.Parent = Character
  1592. RootJoint.Parent = RootPart
  1593. Neck.Parent = Torso
  1594. RightShoulder.Parent = Torso
  1595. LeftShoulder.Parent = Torso
  1596. RightHip.Parent = Torso
  1597. LeftHip.Parent = Torso
  1598. RootPart.Parent = Character
  1599. LeftArm.Parent = Character
  1600. RightArm.Parent = Character
  1601. RightLeg.Parent = Character
  1602. LeftLeg.Parent = Character
  1603. Torso.Parent = Character
  1604. Head.Parent = Character
  1605. Character.Parent = workspace
  1606. end
  1607.  
  1608. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.100, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  1609. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.365, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1610. local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.631, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  1611.  
  1612. local SOULFRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.365, 0, 0.815, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Soul Frame")
  1613.  
  1614. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Spire Wave", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 1")
  1615. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Soul Bomb", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 2")
  1616. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Soul Rage", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 3")
  1617.  
  1618. local SOULTEXT = CreateLabel(SOULFRAME, "Souls : [0]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Souls")
  1619.  
  1620. --//=================================\\
  1621. --|| DAMAGE FUNCTIONS
  1622. --\\=================================//
  1623.  
  1624. function StatLabel(CFRAME, TEXT, COLOR)
  1625. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  1626. STATPART.CFrame = CF(CFRAME.p,CFRAME.p+VT(MRANDOM(-5,5),MRANDOM(0,5),MRANDOM(-5,5)))
  1627. local BODYGYRO = IT("BodyGyro", STATPART)
  1628. game:GetService("Debris"):AddItem(STATPART ,5)
  1629. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  1630. BILLBOARDGUI.Adornee = STATPART
  1631. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  1632. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  1633. BILLBOARDGUI.AlwaysOnTop = false
  1634. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  1635. TEXTLABEL.BackgroundTransparency = 1
  1636. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  1637. TEXTLABEL.Text = TEXT
  1638. TEXTLABEL.Font = SKILLFONT
  1639. TEXTLABEL.FontSize="Size42"
  1640. TEXTLABEL.TextColor3 = COLOR
  1641. TEXTLABEL.TextStrokeTransparency = 1
  1642. TEXTLABEL.TextScaled = true
  1643. TEXTLABEL.TextWrapped = true
  1644. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  1645. for i = 1, 50 do
  1646. Swait()
  1647. STATPART.CFrame = STATPART.CFrame * CF(0,0,-0.2)
  1648. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/50)
  1649. end
  1650. THEPART.Parent = nil
  1651. end),STATPART, TEXTLABEL)
  1652. end
  1653.  
  1654. --//=================================\\
  1655. --|| DAMAGING
  1656. --\\=================================//
  1657.  
  1658. function ApplyDamage(Humanoid,Damage,CritRate,CritMultiplier,DoesOneShot)
  1659. coroutine.resume(coroutine.create(function()
  1660. local defence = Instance.new("BoolValue",Humanoid.Parent)
  1661. defence.Name = ("HitBy"..Player.Name)
  1662. game:GetService("Debris"):AddItem(defence, 0.001)
  1663. Damage = Damage * DAMAGEMULTIPLIER
  1664. if Humanoid.Health ~= 0 then
  1665. local CritChance = MRANDOM(1,100)
  1666. if CritChance < CritRate + 1 then
  1667. Damage = Damage*CritMultiplier
  1668. end
  1669. if Damage > Humanoid.Health then
  1670. Damage = math.ceil(Humanoid.Health)
  1671. if Damage == 0 then
  1672. Damage = 0.1
  1673. end
  1674. end
  1675. if DoesOneShot == false then
  1676. for _, c in pairs(Humanoid.Parent:GetChildren()) do
  1677. if c.Name ~= "HumanoidRootPart" and c.Name ~= "Torso" and c.Name ~= "Head" and c.Name ~= "UpperTorso" and c.Name ~= "LowerTorso" then
  1678. if c.ClassName == "Part" or c.ClassName == "MeshPart" then
  1679. if MRANDOM(1,20) == 1 then
  1680. Shatter(c)
  1681. end
  1682. end
  1683. end
  1684. end
  1685. Humanoid.Health = Humanoid.Health - Damage
  1686. if Humanoid.Parent:FindFirstChild("Head") then
  1687. CreateSound(HITPLAYERSOUNDS[MRANDOM(1,#HITPLAYERSOUNDS)], Humanoid.Parent.Head, 5, 1)
  1688. if CritChance < CritRate + 1 then
  1689. StatLabel(Humanoid.Parent.Head.CFrame * CF(0, 0 + (Humanoid.Parent.Head.Size.z - 1), 0), "CRIT//"..Damage, C3(1, 0, 0))
  1690. else
  1691. StatLabel(Humanoid.Parent.Head.CFrame * CF(0, 0 + (Humanoid.Parent.Head.Size.z - 1), 0), Damage, C3(0, 0, 0))
  1692. end
  1693. end
  1694. elseif DoesOneShot == true then
  1695. --print("["..Humanoid.Parent.Name.."]: One shot!? Really!?!?")
  1696. Humanoid.Parent:BreakJoints()
  1697. if Humanoid.Parent:FindFirstChild("Head") then
  1698. StatLabel(Humanoid.Parent.Head.CFrame * CF(0, 0 + (Humanoid.Parent.Head.Size.z - 1), 0), "INF", C3(1, 0, 0))
  1699. end
  1700. for _, c in pairs(Humanoid.Parent:GetChildren()) do
  1701. if c.ClassName == "Part" or c.ClassName == "MeshPart" then
  1702. Shatter(c)
  1703. end
  1704. end
  1705. end
  1706. if Humanoid.Health == 0 then
  1707. --print("["..Humanoid.Parent.Name.."]: It's like stepping on glass, but worse!")
  1708. SpawnSoul(Humanoid)
  1709. for _, c in pairs(Humanoid.Parent:GetChildren()) do
  1710. if c.ClassName == "Part" or c.ClassName == "MeshPart" then
  1711. Shatter(c)
  1712. end
  1713. end
  1714. end
  1715. end
  1716. end))
  1717. end
  1718.  
  1719. function AoEDamage(position,radius,min,max,maxstrength,critrate,critmultiplier,BESERK)
  1720. local dmg = math.random(10000,100000)
  1721. for i,v in ipairs(workspace:GetChildren()) do
  1722. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  1723. local body = v:GetChildren()
  1724. for part = 1, #body do
  1725. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1726. if(body[part].Position - position).Magnitude < radius then
  1727. if v.ClassName == "Model" then
  1728. if v:FindFirstChildOfClass("Humanoid") then
  1729. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier,BESERK)
  1730. local bv = Instance.new("BodyVelocity")
  1731. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1732. bv.velocity = CF(position,body[part].Position).lookVector*maxstrength
  1733. bv.Parent = body[part]
  1734. Debris:AddItem(bv,0.2)
  1735. end
  1736. end
  1737. end
  1738. end
  1739. end
  1740. end
  1741. if v:FindFirstChild("HitBy"..Player.Name) then
  1742. v:FindFirstChild("HitBy"..Player.Name):remove()
  1743. end
  1744. end
  1745. end
  1746.  
  1747. --//=================================\\
  1748. --|| ATTACK FUNCTIONS AND STUFF
  1749. --\\=================================//
  1750.  
  1751. function Slash()
  1752. ATTACK = true
  1753. Rooted = false
  1754. for i=0, 0.2, 0.1 / Animation_Speed do
  1755. Swait()
  1756. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 2 / Animation_Speed)
  1757. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 2 / Animation_Speed)
  1758. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1759. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1760.  
  1761. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.3) * ANGLES(RAD(40), RAD(65), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1762. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(120), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1763. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1764. end
  1765. CreateSound(SLASHSOUNDS[MRANDOM(1,#SLASHSOUNDS)], HandlePart, 5, 1)
  1766. if COMBO == 1 then
  1767. COMBO = 2
  1768. for i=0, 0.1, 0.1 / Animation_Speed do
  1769. RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.1)
  1770. Swait()
  1771. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-65)), 1 / Animation_Speed)
  1772. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(65)), 1 / Animation_Speed)
  1773. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1774. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1775.  
  1776. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.3) * ANGLES(RAD(40), RAD(65), RAD(62)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1777. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -1.5) * ANGLES(RAD(120), RAD(0), RAD(30)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1778. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1779. end
  1780. AoEDamage(HandlePart.Position,5,5,15,5,2,2,VALUE1)
  1781. for i=0, 0.15, 0.1 / Animation_Speed do
  1782. RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.12)
  1783. Swait()
  1784. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 2 / Animation_Speed)
  1785. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(75)), 2 / Animation_Speed)
  1786. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  1787. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  1788.  
  1789. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.3) * ANGLES(RAD(40), RAD(65), RAD(62)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1790. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -1.5) * ANGLES(RAD(120), RAD(0), RAD(30)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1791. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1792. end
  1793. elseif COMBO == 2 then
  1794. COMBO = 1
  1795. for i=0, 0.2, 0.1 / Animation_Speed do
  1796. Swait()
  1797. RootPart.CFrame = RootPart.CFrame*CF(0,0,0.1)
  1798. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed)
  1799. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-90)), 2 / Animation_Speed)
  1800. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1801. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1802.  
  1803. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.3) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1804. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(-25), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1805. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(7, -6, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed)
  1806. end
  1807. AoEDamage(HandlePart.Position,5,5,15,5,2,2,VALUE1)
  1808. for i=0, 0.1, 0.1 / Animation_Speed do
  1809. Swait()
  1810. RootPart.CFrame = RootPart.CFrame*CF(0,0,0.15)
  1811. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed)
  1812. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-90)), 2 / Animation_Speed)
  1813. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1814. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1815.  
  1816. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.3) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1817. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(-25), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1818. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(7, -6, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed)
  1819. end
  1820. end
  1821. ATTACK = false
  1822. Rooted = false
  1823. end
  1824.  
  1825. function SpireWave()
  1826. if HITFLOOR ~= nil then
  1827. ATTACK = true
  1828. Rooted = false
  1829. local GYRO = IT("BodyGyro",RootPart)
  1830. GYRO.D = 100
  1831. GYRO.P = 2000
  1832. GYRO.MaxTorque = VT(0,4000000,0)
  1833. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1834. for i=0, 1, 0.1 / Animation_Speed do
  1835. Swait()
  1836. WACKYEFFECT({Time = 100, EffectType = "Skull", Size = VT(5,5,5), Size2 = VT(1.8,1.8,1.8), Transparency = 0.8, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0)*ANGLES(RAD(90),RAD(0),RAD(90))*ANGLES(RAD(0),RAD(180),RAD(0)), MoveToPos = LeftArm.CFrame*CF(0,-1,0)*CF(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15)).p, RotationX = MRANDOM(-25,25)/15, RotationY = MRANDOM(-25,25)/15, RotationZ = MRANDOM(-25,25)/15, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1837. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1838. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1839. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1840. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1841. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1842.  
  1843. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.3) * ANGLES(RAD(0), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1844. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1845. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1846. end
  1847. WACKYEFFECT({Time = 100, EffectType = "Skull", Size = VT(0,0,0), Size2 = VT(15,15,15), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0)*ANGLES(RAD(90),RAD(0),RAD(90))*ANGLES(RAD(0),RAD(180),RAD(0)), MoveToPos = nil, RotationX = 0.2, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = "305685800", SoundPitch = 1, SoundVolume = 3})
  1848. GYRO:remove()
  1849. coroutine.resume(coroutine.create(function()
  1850. local PITS = {}
  1851. local FRAME = RootPart.CFrame
  1852. for i = 1, 120 do
  1853. Swait()
  1854. local CFRAME = FRAME*CF(MRANDOM(-10,10)/10,0,5-(i)).p
  1855. local HITFLOOR,HITPOS,NORMAL = Raycast(CFRAME, (CF(CFRAME, CFRAME + VT(0, -1, 0))).lookVector, 25, Character)
  1856. if HITFLOOR ~= nil then
  1857. if MRANDOM(1, 2) == 1 then
  1858. local ICICLE = IT("CornerWedgePart",Effects)
  1859. ICICLE.Locked = true
  1860. ICICLE.CanCollide = false
  1861. ICICLE.Anchored = true
  1862. ICICLE.BrickColor = BRICKC"Brick yellow"
  1863. ICICLE.Material = "Marble"
  1864. ICICLE.Size = VT(i/10,i/2,i/10)
  1865. ICICLE.CFrame = CF(HITPOS)*CF(MRANDOM(-i/10,i/10),0,MRANDOM(-i/10,i/10))*ANGLES(RAD(MRANDOM(-25,25)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-25,25)))
  1866. table.insert(PITS,ICICLE)
  1867. --CreateSound("588693156", ICICLE, 3, MRANDOM(8,12)/10, false)
  1868. AoEDamage(ICICLE.Position,ICICLE.Size.X,5,15,5,2,2,VALUE1)
  1869. WACKYEFFECT({EffectType = "Wave", Size = VT(ICICLE.Size.X*3,2,ICICLE.Size.X*3), Size2 = VT(0,6,0), Transparency = 1, Transparency2 = 0, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Fabric", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1870. end
  1871. else
  1872. break
  1873. end
  1874. end
  1875. wait(2)
  1876. coroutine.resume(coroutine.create(function()
  1877. for i = 1, 10 do
  1878. Swait()
  1879. for e=1,#PITS do
  1880. if PITS[e]~=nil then
  1881. local E = PITS[e]
  1882. E.Transparency = E.Transparency + 0.1
  1883. end
  1884. end
  1885. end
  1886. for e=1,#PITS do
  1887. if PITS[e]~=nil then
  1888. local E = PITS[e]
  1889. E:remove()
  1890. end
  1891. end
  1892. end))
  1893. end))
  1894. ATTACK = false
  1895. Rooted = false
  1896. end
  1897. end
  1898.  
  1899. function SoulBomb()
  1900. ATTACK = true
  1901. Rooted = false
  1902. local GYRO = IT("BodyGyro",RootPart)
  1903. GYRO.D = 100
  1904. GYRO.P = 2000
  1905. GYRO.MaxTorque = VT(0,4000000,0)
  1906. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1907. local BOMB = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "SkullBomb", VT(0,0,0))
  1908. for i=0, 2, 0.1 / Animation_Speed do
  1909. BOMB.CFrame = RootPart.CFrame*CF(0,5,0)
  1910. Swait()
  1911. WACKYEFFECT({EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(0,3,0), Transparency = 0, Transparency2 = 1, CFrame = CF(BOMB.Position+VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))), MoveToPos = BOMB.Position, RotationX = MRANDOM(-15,15), RotationY = MRANDOM(-15,15), RotationZ = MRANDOM(-15,15), Material = "Neon", Color = C3(1,0,0), SoundID = "444667859", SoundPitch = 2, SoundVolume = nil})
  1912. WACKYEFFECT({Time = 100, EffectType = "Skull", Size = VT(6,6,6), Size2 = VT(8,8,8), Transparency = 0, Transparency2 = 1, CFrame = BOMB.CFrame, MoveToPos = BOMB.Position+VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))/10, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = "305685800", SoundPitch = 1, SoundVolume = nil})
  1913. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1914. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1915. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1916. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1917. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1918.  
  1919. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.3) * ANGLES(RAD(0), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1920. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 1, 0) * ANGLES(RAD(160), RAD(0), RAD(15)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1921. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1922. end
  1923. GYRO:remove()
  1924. coroutine.resume(coroutine.create(function()
  1925. BOMB.CFrame = CF(BOMB.Position,Mouse.Hit.p)
  1926. local IMPACT = false
  1927. for i = 1,150 do
  1928. Swait()
  1929. if MRANDOM(1,5) == 1 then
  1930. WACKYEFFECT({Time = 50, EffectType = "Skull", Size = VT(5,5,5), Size2 = VT(1.8,1.8,1.8), Transparency = 0.8, Transparency2 = 1, CFrame = BOMB.CFrame, MoveToPos = BOMB.CFrame*CF(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15)).p, RotationX = MRANDOM(-25,25)/15, RotationY = MRANDOM(-25,25)/15, RotationZ = MRANDOM(-25,25)/15, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1931. end
  1932. WACKYEFFECT({Time = 10, EffectType = "Skull", Size = VT(5,5,5), Size2 = VT(8,8,8), Transparency = 0, Transparency2 = 1, CFrame = BOMB.CFrame, MoveToPos = BOMB.Position+VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))/10, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = "305685800", SoundPitch = 1, SoundVolume = nil})
  1933. BOMB.CFrame = BOMB.CFrame*CF(0,0,-1)
  1934. local HIT = Raycast(BOMB.Position, BOMB.CFrame.lookVector, 2, Character)
  1935. if HIT ~= nil then
  1936. IMPACT = true
  1937. break
  1938. end
  1939. end
  1940. if IMPACT == true then
  1941. AoEDamage(BOMB.Position,15,15,25,5,2,2,VALUE1)
  1942. WACKYEFFECT({EffectType = "Block", Size = VT(1,1,1), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = CF(BOMB.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1943. WACKYEFFECT({EffectType = "Block", Size = VT(1,1,1), Size2 = VT(10,10,10), Transparency = 0, Transparency2 = 1, CFrame = CF(BOMB.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1944. WACKYEFFECT({EffectType = "Block", Size = VT(1,1,1), Size2 = VT(15,15,15), Transparency = 0, Transparency2 = 1, CFrame = CF(BOMB.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1945. else
  1946. BOMB:remove()
  1947. end
  1948. end))
  1949. ATTACK = false
  1950. Rooted = false
  1951. end
  1952.  
  1953. function SoulRage()
  1954. ATTACK = true
  1955. Rooted = true
  1956. for i=0, 1, 0.1 / Animation_Speed do
  1957. Swait()
  1958. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1959. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1960. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1961. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1962.  
  1963. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1964. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1965. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, 2, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1966. end
  1967. local WELL = math.ceil(SOULWELL/2)
  1968. for i=1, SOULWELL do
  1969. Swait()
  1970. SOULWELL = SOULWELL - 1
  1971. WACKYEFFECT({EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(0,3,0), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = Torso.Position+VT(MRANDOM(-15,15),MRANDOM(-2,15),MRANDOM(-15,15)), RotationX = MRANDOM(-15,15), RotationY = MRANDOM(-15,15), RotationZ = MRANDOM(-15,15), Material = "Neon", Color = C3(1,0,0), SoundID = "444667859", SoundPitch = 2, SoundVolume = 2})
  1972. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1973. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1974. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1975. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1976.  
  1977. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1978. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1979. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, 2, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1980. end
  1981. ATTACK = false
  1982. Rooted = false
  1983. VALUE1 = true
  1984. VALUE2 = WELL
  1985. for i = 1, WELL do
  1986. wait(1)
  1987. VALUE2 = VALUE2 - 1
  1988. end
  1989. VALUE1 = false
  1990. end
  1991.  
  1992.  
  1993. --//=================================\\
  1994. --|| ASSIGN THINGS TO KEYS
  1995. --\\=================================//
  1996.  
  1997. function MouseDown(Mouse)
  1998. if ATTACK == false then
  1999. Slash()
  2000. end
  2001. end
  2002.  
  2003. function MouseUp(Mouse)
  2004. HOLD = false
  2005. end
  2006.  
  2007. function KeyDown(Key)
  2008. KEYHOLD = true
  2009. if Key == "z" and ATTACK == false then
  2010. SpireWave()
  2011. end
  2012.  
  2013. if Key == "b" and ATTACK == false then
  2014. SoulBomb()
  2015. end
  2016.  
  2017. if Key == "c" and ATTACK == false and VALUE1 == false then
  2018. if SOULWELL > 1 then
  2019. SoulRage()
  2020. end
  2021. end
  2022. end
  2023.  
  2024. function KeyUp(Key)
  2025. KEYHOLD = false
  2026. end
  2027.  
  2028. Mouse.Button1Down:connect(function(NEWKEY)
  2029. MouseDown(NEWKEY)
  2030. end)
  2031. Mouse.Button1Up:connect(function(NEWKEY)
  2032. MouseUp(NEWKEY)
  2033. end)
  2034. Mouse.KeyDown:connect(function(NEWKEY)
  2035. KeyDown(NEWKEY)
  2036. end)
  2037. Mouse.KeyUp:connect(function(NEWKEY)
  2038. KeyUp(NEWKEY)
  2039. end)
  2040.  
  2041. --//=================================\\
  2042. --\\=================================//
  2043.  
  2044.  
  2045. function unanchor()
  2046. if UNANCHOR == true then
  2047. g = Character:GetChildren()
  2048. for i = 1, #g do
  2049. if g[i].ClassName == "Part" then
  2050. g[i].Anchored = false
  2051. end
  2052. end
  2053. end
  2054. end
  2055.  
  2056.  
  2057. --//=================================\\
  2058. --|| WRAP THE WHOLE SCRIPT UP
  2059. --\\=================================//
  2060.  
  2061. Humanoid.Changed:connect(function(Jump)
  2062. if Jump == "Jump" and (Disable_Jump == true) then
  2063. Humanoid.Jump = false
  2064. end
  2065. end)
  2066.  
  2067. while true do
  2068. Swait()
  2069. if DED == false then
  2070. Character.Parent = workspace
  2071. Humanoid.Parent = Character
  2072. ANIMATE.Parent = nil
  2073. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  2074. IDLEANIMATION:Play()
  2075. SINE = SINE + CHANGE
  2076. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2077. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2078. HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  2079. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  2080. if ATTACK == false then
  2081. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.3) * ANGLES(RAD(40), RAD(65), RAD(32)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2082. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(120), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2083. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2084. end
  2085. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2086. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2087. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2088. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2089. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2090. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2091. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2092. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2093. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2094. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2095. end
  2096. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2097. ANIM = "Jump"
  2098. if ATTACK == false then
  2099. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2100. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2101. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  2102. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2103. end
  2104. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2105. ANIM = "Fall"
  2106. if ATTACK == false then
  2107. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2108. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2109. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2110. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2111. end
  2112. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2113. ANIM = "Idle"
  2114. if ATTACK == false then
  2115. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2116. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2117. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2118. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2119. end
  2120. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2121. ANIM = "Walk"
  2122. if ATTACK == false then
  2123. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2124. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2125. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  2126. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  2127. end
  2128. end
  2129. unanchor()
  2130. Humanoid.MaxHealth = "inf"
  2131. Humanoid.Health = "inf"
  2132. if Rooted == false then
  2133. Disable_Jump = false
  2134. Humanoid.WalkSpeed = Speed
  2135. elseif Rooted == true then
  2136. Disable_Jump = true
  2137. Humanoid.WalkSpeed = 0
  2138. end
  2139. for _, c in pairs(Character:GetChildren()) do
  2140. if c.ClassName == "Part" then
  2141. for _, q in pairs(c:GetChildren()) do
  2142. if q.ClassName == "ParticleEmitter" and q.Name ~= "Rage" then
  2143. q:remove()
  2144. elseif q.ClassName == "ParticleEmitter" and q.Name == "Rage" then
  2145. q.Enabled = VALUE1
  2146. end
  2147. end
  2148. if c:FindFirstChildOfClass("Fire") then
  2149. c:FindFirstChildOfClass("Fire"):remove()
  2150. end
  2151. if c == Head then
  2152. if c:FindFirstChild("Hood") == nil then
  2153. local M = CreateMesh("SpecialMesh", Head, "FileMesh", "181343290", "181343313", VT(1,1,1), VT(0,0,0))
  2154. M.VertexColor = VT(1, 0.85, 0.62)
  2155. M.Name = "Hood"
  2156. end
  2157. if c:FindFirstChild("face") then
  2158. c.face:remove()
  2159. end
  2160. end
  2161. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  2162. c:remove()
  2163. end
  2164. end
  2165. script.Parent = WEAPONGUI
  2166. SOULTEXT.Text = "Souls : ["..SOULWELL.."]"
  2167. if VALUE1 == false then
  2168. SKILL3TEXT.Text = "[C] Soul Rage"
  2169. else
  2170. SKILL3TEXT.Text = "["..VALUE2.."] Soul Rage"
  2171. end
  2172. Humanoid.DisplayDistanceType = "None"
  2173. Humanoid.Name = "Reaper"
  2174. end
  2175. end
  2176.  
  2177. --//=================================\\
  2178. --\\=================================//
  2179.  
  2180.  
  2181.  
  2182.  
  2183.  
  2184. --//====================================================\\--
  2185. --|| END OF SCRIPT
  2186. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement