Advertisement
cobblecorn

Untitled

Jun 8th, 2018
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 77.61 KB | None | 0 0
  1.  
  2. --//=================================\\
  3. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  4. --\\=================================//
  5.  
  6. ArtificialHB = Instance.new("BindableEvent", script)
  7. ArtificialHB.Name = "ArtificialHB"
  8.  
  9. script:WaitForChild("ArtificialHB")
  10.  
  11. frame = Frame_Speed
  12. tf = 0
  13. allowframeloss = false
  14. tossremainder = false
  15. lastframe = tick()
  16. script.ArtificialHB:Fire()
  17.  
  18. game:GetService("RunService").Heartbeat:connect(function(s, p)
  19. tf = tf + s
  20. if tf >= frame then
  21. if allowframeloss then
  22. script.ArtificialHB:Fire()
  23. lastframe = tick()
  24. else
  25. for i = 1, math.floor(tf / frame) do
  26. script.ArtificialHB:Fire()
  27. end
  28. lastframe = tick()
  29. end
  30. if tossremainder then
  31. tf = 0
  32. else
  33. tf = tf - frame * math.floor(tf / frame)
  34. end
  35. end
  36. end)
  37.  
  38. --//=================================\\
  39. --\\=================================//
  40.  
  41. --//=================================\\
  42. --|| SOME FUNCTIONS
  43. --\\=================================//
  44.  
  45. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  46. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  47. end
  48.  
  49. function PositiveAngle(NUMBER)
  50. if NUMBER >= 0 then
  51. NUMBER = 0
  52. end
  53. return NUMBER
  54. end
  55.  
  56. function NegativeAngle(NUMBER)
  57. if NUMBER <= 0 then
  58. NUMBER = 0
  59. end
  60. return NUMBER
  61. end
  62.  
  63. function Swait(NUMBER)
  64. if NUMBER == 0 or NUMBER == nil then
  65. ArtificialHB.Event:wait()
  66. else
  67. for i = 1, NUMBER do
  68. ArtificialHB.Event:wait()
  69. end
  70. end
  71. end
  72.  
  73. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  74. local NEWMESH = IT(MESH)
  75. if MESH == "SpecialMesh" then
  76. NEWMESH.MeshType = MESHTYPE
  77. if MESHID ~= "nil" and MESHID ~= "" then
  78. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  79. end
  80. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  81. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  82. end
  83. end
  84. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  85. NEWMESH.Scale = SCALE
  86. NEWMESH.Parent = PARENT
  87. return NEWMESH
  88. end
  89.  
  90. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  91. local NEWPART = IT("Part")
  92. NEWPART.formFactor = FORMFACTOR
  93. NEWPART.Reflectance = REFLECTANCE
  94. NEWPART.Transparency = TRANSPARENCY
  95. NEWPART.CanCollide = false
  96. NEWPART.Locked = true
  97. NEWPART.Anchored = true
  98. if ANCHOR == false then
  99. NEWPART.Anchored = false
  100. end
  101. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  102. NEWPART.Name = NAME
  103. NEWPART.Size = SIZE
  104. NEWPART.Position = Torso.Position
  105. NEWPART.Material = MATERIAL
  106. NEWPART:BreakJoints()
  107. NEWPART.Parent = PARENT
  108. return NEWPART
  109. end
  110.  
  111. local function weldBetween(a, b)
  112. local weldd = Instance.new("ManualWeld")
  113. weldd.Part0 = a
  114. weldd.Part1 = b
  115. weldd.C0 = CFrame.new()
  116. weldd.C1 = b.CFrame:inverse() * a.CFrame
  117. weldd.Parent = a
  118. return weldd
  119. end
  120.  
  121.  
  122. function QuaternionFromCFrame(cf)
  123. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  124. local trace = m00 + m11 + m22
  125. if trace > 0 then
  126. local s = math.sqrt(1 + trace)
  127. local recip = 0.5 / s
  128. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  129. else
  130. local i = 0
  131. if m11 > m00 then
  132. i = 1
  133. end
  134. if m22 > (i == 0 and m00 or m11) then
  135. i = 2
  136. end
  137. if i == 0 then
  138. local s = math.sqrt(m00 - m11 - m22 + 1)
  139. local recip = 0.5 / s
  140. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  141. elseif i == 1 then
  142. local s = math.sqrt(m11 - m22 - m00 + 1)
  143. local recip = 0.5 / s
  144. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  145. elseif i == 2 then
  146. local s = math.sqrt(m22 - m00 - m11 + 1)
  147. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  148. end
  149. end
  150. end
  151.  
  152. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  153. local xs, ys, zs = x + x, y + y, z + z
  154. local wx, wy, wz = w * xs, w * ys, w * zs
  155. local xx = x * xs
  156. local xy = x * ys
  157. local xz = x * zs
  158. local yy = y * ys
  159. local yz = y * zs
  160. local zz = z * zs
  161. 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))
  162. end
  163.  
  164. function QuaternionSlerp(a, b, t)
  165. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  166. local startInterp, finishInterp;
  167. if cosTheta >= 0.0001 then
  168. if (1 - cosTheta) > 0.0001 then
  169. local theta = ACOS(cosTheta)
  170. local invSinTheta = 1 / SIN(theta)
  171. startInterp = SIN((1 - t) * theta) * invSinTheta
  172. finishInterp = SIN(t * theta) * invSinTheta
  173. else
  174. startInterp = 1 - t
  175. finishInterp = t
  176. end
  177. else
  178. if (1 + cosTheta) > 0.0001 then
  179. local theta = ACOS(-cosTheta)
  180. local invSinTheta = 1 / SIN(theta)
  181. startInterp = SIN((t - 1) * theta) * invSinTheta
  182. finishInterp = SIN(t * theta) * invSinTheta
  183. else
  184. startInterp = t - 1
  185. finishInterp = t
  186. end
  187. end
  188. 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
  189. end
  190.  
  191. function Clerp(a, b, t)
  192. local qa = {QuaternionFromCFrame(a)}
  193. local qb = {QuaternionFromCFrame(b)}
  194. local ax, ay, az = a.x, a.y, a.z
  195. local bx, by, bz = b.x, b.y, b.z
  196. local _t = 1 - t
  197. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  198. end
  199.  
  200. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  201. local frame = IT("Frame")
  202. frame.BackgroundTransparency = TRANSPARENCY
  203. frame.BorderSizePixel = BORDERSIZEPIXEL
  204. frame.Position = POSITION
  205. frame.Size = SIZE
  206. frame.BackgroundColor3 = COLOR
  207. frame.BorderColor3 = BORDERCOLOR
  208. frame.Name = NAME
  209. frame.Parent = PARENT
  210. return frame
  211. end
  212.  
  213. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  214. local label = IT("TextLabel")
  215. label.BackgroundTransparency = 1
  216. label.Size = UD2(1, 0, 1, 0)
  217. label.Position = UD2(0, 0, 0, 0)
  218. label.TextColor3 = TEXTCOLOR
  219. label.TextStrokeTransparency = STROKETRANSPARENCY
  220. label.TextTransparency = TRANSPARENCY
  221. label.FontSize = TEXTFONTSIZE
  222. label.Font = TEXTFONT
  223. label.BorderSizePixel = BORDERSIZEPIXEL
  224. label.TextScaled = false
  225. label.Text = TEXT
  226. label.Name = NAME
  227. label.Parent = PARENT
  228. return label
  229. end
  230.  
  231. function NoOutlines(PART)
  232. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  233. end
  234.  
  235. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  236. local NEWWELD = IT(TYPE)
  237. NEWWELD.Part0 = PART0
  238. NEWWELD.Part1 = PART1
  239. NEWWELD.C0 = C0
  240. NEWWELD.C1 = C1
  241. NEWWELD.Parent = PARENT
  242. return NEWWELD
  243. end
  244.  
  245. local S = IT("Sound")
  246. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  247. local NEWSOUND = nil
  248. coroutine.resume(coroutine.create(function()
  249. NEWSOUND = S:Clone()
  250. NEWSOUND.Parent = PARENT
  251. NEWSOUND.Volume = VOLUME
  252. NEWSOUND.Pitch = PITCH
  253. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  254. NEWSOUND:play()
  255. if DOESLOOP == true then
  256. NEWSOUND.Looped = true
  257. else
  258. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  259. NEWSOUND:remove()
  260. end
  261. end))
  262. return NEWSOUND
  263. end
  264.  
  265. function CFrameFromTopBack(at, top, back)
  266. local right = top:Cross(back)
  267. 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)
  268. end
  269.  
  270. --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(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  271. function WACKYEFFECT(Table)
  272. local TYPE = (Table.EffectType or "Sphere")
  273. local SIZE = (Table.Size or VT(1,1,1))
  274. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  275. local TRANSPARENCY = (Table.Transparency or 0)
  276. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  277. local CFRAME = (Table.CFrame or Torso.CFrame)
  278. local MOVEDIRECTION = (Table.MoveToPos or nil)
  279. local ROTATION1 = (Table.RotationX or 0)
  280. local ROTATION2 = (Table.RotationY or 0)
  281. local ROTATION3 = (Table.RotationZ or 0)
  282. local MATERIAL = (Table.Material or "Neon")
  283. local COLOR = (Table.Color or C3(0,0,0))
  284. local TIME = (Table.Time or 45)
  285. local SOUNDID = (Table.SoundID or nil)
  286. local SOUNDPITCH = (Table.SoundPitch or nil)
  287. local SOUNDVOLUME = (Table.SoundVolume or nil)
  288. coroutine.resume(coroutine.create(function()
  289. local PLAYSSOUND = false
  290. local SOUND = nil
  291. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  292. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  293. PLAYSSOUND = true
  294. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  295. end
  296. EFFECT.Color = COLOR
  297. local MSH = nil
  298. if TYPE == "Sphere" then
  299. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  300. elseif TYPE == "Block" then
  301. MSH = IT("BlockMesh",EFFECT)
  302. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  303. elseif TYPE == "Wave" then
  304. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  305. elseif TYPE == "Ring" then
  306. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  307. elseif TYPE == "Slash" then
  308. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  309. elseif TYPE == "Round Slash" then
  310. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  311. elseif TYPE == "Swirl" then
  312. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  313. elseif TYPE == "Skull" then
  314. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  315. elseif TYPE == "Crystal" then
  316. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  317. end
  318. if MSH ~= nil then
  319. local MOVESPEED = nil
  320. if MOVEDIRECTION ~= nil then
  321. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  322. end
  323. local GROWTH = SIZE - ENDSIZE
  324. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  325. if TYPE == "Block" then
  326. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  327. else
  328. EFFECT.CFrame = CFRAME
  329. end
  330. for LOOP = 1, TIME+1 do
  331. Swait()
  332. MSH.Scale = MSH.Scale - GROWTH/TIME
  333. if TYPE == "Wave" then
  334. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  335. end
  336. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  337. if TYPE == "Block" then
  338. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  339. else
  340. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  341. end
  342. if MOVEDIRECTION ~= nil then
  343. local ORI = EFFECT.Orientation
  344. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  345. EFFECT.Orientation = ORI
  346. end
  347. end
  348. if PLAYSSOUND == false then
  349. EFFECT:remove()
  350. else
  351. SOUND.Stopped:Connect(function()
  352. EFFECT:remove()
  353. end)
  354. end
  355. else
  356. if PLAYSSOUND == false then
  357. EFFECT:remove()
  358. else
  359. repeat Swait() until SOUND.Playing == false
  360. EFFECT:remove()
  361. end
  362. end
  363. end))
  364. end
  365. --Lightning({Material = "Neon", FadeIn = false, Color = C3(1,1,1), Start = Torso.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 15, Thicken = false})
  366. function Lightning(Table)
  367. local Color = Table.Color or C3(1,1,1)
  368. local StartPos = Table.Start or Torso.Position
  369. local EndPos = Table.End or Mouse.Hit.p
  370. local SegmentLength = Table.SegmentL or 2
  371. local Thickness = Table.Thickness or 0.1
  372. local Dissapear = Table.DoesFade or false
  373. local Parent = Table.Ignore or Character
  374. local MaxDist = Table.MaxDist or 400
  375. local Branches = Table.Branches or false
  376. local Thicken = Table.Thicken or false
  377. local FadeTime = Table.FadeTime or 15
  378. local FadeIn = Table.FadeIn or false
  379. local Material = Table.Material or "Neon"
  380. local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
  381. local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/((SegmentLength/SegmentLength)/1.5))
  382. local LIGHTNINGMODEL = IT("Model",Effects)
  383. LIGHTNINGMODEL.Name = "Lightning"
  384. local LastBolt = nil
  385. for E = 1, DISTANCE do
  386. local ExtraSize = 0
  387. if Thicken == true then
  388. ExtraSize = (DISTANCE-E)/15
  389. end
  390. local TRANSPARENCY = 0
  391. if FadeIn == true then
  392. TRANSPARENCY = 1-(E/(DISTANCE/1.5))
  393. if TRANSPARENCY < 0 then
  394. TRANSPARENCY = 0
  395. end
  396. end
  397. local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
  398. PART.Color = Color
  399. MakeForm(PART,"Cyl")
  400. if LastBolt == nil then
  401. PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  402. else
  403. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,CF(HITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,DISTANCE-E).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  404. end
  405. LastBolt = PART
  406. if Branches == true and E < (DISTANCE-5) then
  407. local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
  408. if CHOICE == 1 then
  409. local LASTBRANCH = nil
  410. for i = 1, MRANDOM(2,5) do
  411. local ExtraSize2 = 0
  412. if Thicken == true then
  413. ExtraSize = ((DISTANCE-E)/25)/i
  414. end
  415. local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
  416. PART.Color = Color
  417. MakeForm(PART,"Cyl")
  418. if LASTBRANCH == nil then
  419. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*7,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  420. else
  421. PART.CFrame = CF(LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0).p,LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*3,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  422. end
  423. LASTBRANCH = PART
  424. end
  425. end
  426. end
  427. end
  428. if Dissapear == true then
  429. coroutine.resume(coroutine.create(function()
  430. for i = 1, FadeTime do
  431. Swait()
  432. for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
  433. if c.ClassName == "Part" then
  434. c.Transparency = c.Transparency + (i/FadeTime)/10
  435. end
  436. end
  437. end
  438. LIGHTNINGMODEL:remove()
  439. end))
  440. elseif Dissapear == false then
  441. Debris:AddItem(LIGHTNINGMODEL,0.1)
  442. end
  443. return {Hit = HIT,Pos = HITPOS,End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
  444. end
  445. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  446. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  447. wave.Color = COLOR
  448. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  449. wave.CFrame = CFRAME
  450. coroutine.resume(coroutine.create(function(PART)
  451. for i = 1, WAIT do
  452. Swait()
  453. mesh.Scale = mesh.Scale + GROW
  454. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  455. if DOESROT == true then
  456. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  457. end
  458. wave.Transparency = wave.Transparency + (0.5/WAIT)
  459. if wave.Transparency > 0.99 then
  460. wave:remove()
  461. end
  462. end
  463. end))
  464. end
  465.  
  466. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  467. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  468. wave.Color = COLOR
  469. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0,0,0))
  470. wave.CFrame = CFRAME
  471. coroutine.resume(coroutine.create(function(PART)
  472. for i = 1, WAIT do
  473. Swait()
  474. mesh.Scale = mesh.Scale + GROW
  475. wave.Transparency = wave.Transparency + (1/WAIT)
  476. if wave.Transparency > 0.99 then
  477. wave:remove()
  478. end
  479. end
  480. end))
  481. end
  482. function MakeForm(PART,TYPE)
  483. if TYPE == "Cyl" then
  484. local MSH = IT("BlockMesh",PART)
  485. elseif TYPE == "Ball" then
  486. local MSH = IT("SpecialMesh",PART)
  487. MSH.MeshType = "Sphere"
  488. elseif TYPE == "Cyl2" then
  489. local MSH = IT("CylinderMesh",PART)
  490. elseif TYPE == "Wedge" then
  491. local MSH = IT("SpecialMesh",PART)
  492. MSH.MeshType = "Wedge"
  493. end
  494. end
  495.  
  496. function SpawnTrail(FROM,TO,BIG)
  497. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Light gray", "Trail", VT(0,0,0))
  498. MakeForm(TRAIL,"Cyl")
  499. local DIST = (FROM - TO).Magnitude
  500. if BIG == true then
  501. TRAIL.Size = VT(0.5,DIST,0.5)
  502. else
  503. TRAIL.Size = VT(0.25,DIST,0.25)
  504. end
  505. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  506. coroutine.resume(coroutine.create(function()
  507. for i = 1, 5 do
  508. Swait()
  509. TRAIL.Transparency = TRAIL.Transparency + 0.1
  510. end
  511. TRAIL:remove()
  512. end))
  513. end
  514.  
  515. Debris = game:GetService("Debris")
  516.  
  517. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  518. local DIRECTION = CF(StartPos,EndPos).lookVector
  519. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  520. end
  521.  
  522. function turnto(position)
  523. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  524. end
  525.  
  526. --//=================================\\
  527. --|| WEAPON CREATION
  528. --\\=================================//
  529. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false)
  530. PRT.Color = C3(0,0,0)
  531. local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
  532. CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
  533. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Scarf", VT(0,0,0),false)
  534. PRT.Color = C3(0,0,0)
  535. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0.05,0.4,-0.1) * ANGLES(RAD(-3), RAD(0), RAD(0)), CF(0, 0, 0))
  536. CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
  537. for i = 1, 16 do
  538. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/16.2, "Dark stone grey", "FaceGradient", VT(1.01,0.65,1.01),false)
  539. FACE.Color = C3(0,0,0)
  540. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  541. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.45-(i-1)/25,0), CF(0, 0, 0))
  542. end
  543. local EYE = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eyeball", VT(0.15,0.15,0.15),false)
  544. MakeForm(EYE,"Ball")
  545. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0.15,0.26,-0.55), CF(0, 0, 0))
  546. local EYE2 = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eyeball", VT(0.15,0.15,0.15),false)
  547. MakeForm(EYE2,"Ball")
  548. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE2, CF(-0.15,0.26,-0.55), CF(0, 0, 0))
  549. local LASTPART = Head
  550. for i = 1, 20 do
  551. local MATH = (1-(i/25))
  552. if LASTPART == Head then
  553. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  554. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
  555. LASTPART = Horn
  556. Horn.Color = C3((i*3-3)/255,0,0)
  557. else
  558. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  559. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.5, 0) * ANGLES(RAD(6), RAD(-0.3), RAD(0)), CF(0, 0, 0))
  560. LASTPART = Horn
  561. Horn.Color = C3((i*3-3)/255,0,0)
  562. end
  563. end
  564. local LASTPART = Head
  565. for i = 1, 20 do
  566. local MATH = (1-(i/25))
  567. if LASTPART == Head then
  568. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  569. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
  570. LASTPART = Horn
  571. Horn.Color = C3((i*3-3)/0,0,204)
  572. else
  573. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  574. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.5, 0) * ANGLES(RAD(6), RAD(0.3), RAD(0)), CF(0, 0, 0))
  575. LASTPART = Horn
  576. Horn.Color = C3((i*3-3)/0,0,204)
  577. end
  578. end
  579.  
  580.  
  581. local Particle = IT("ParticleEmitter",nil)
  582. Particle.Enabled = false
  583. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  584. Particle.LightEmission = 1
  585. Particle.Rate = 200
  586. Particle.ZOffset = 0.2
  587. Particle.Rotation = NumberRange.new(-180, 180)
  588. Particle.RotSpeed = NumberRange.new(-180, 180)
  589. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  590. Particle.Color = ColorSequence.new(C3(0,0,255),C3(0,0,204))
  591.  
  592. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  593. function ParticleEmitter(Table)
  594. local PRTCL = Particle:Clone()
  595. local Speed = Table.Speed or 5
  596. local Drag = Table.Drag or 0
  597. local Size1 = Table.Size1 or 1
  598. local Size2 = Table.Size2 or 5
  599. local Lifetime1 = Table.Lifetime1 or 1
  600. local Lifetime2 = Table.Lifetime2 or 1.5
  601. local Parent = Table.Parent or Torso
  602. local Emit = Table.Emit or 100
  603. local Offset = Table.Offset or 360
  604. local Acel = Table.Acel or VT(0,0,0)
  605. local Enabled = Table.Enabled or false
  606. PRTCL.Parent = Parent
  607. PRTCL.Size = NumberSequence.new(Size1,Size2)
  608. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  609. PRTCL.Speed = NumberRange.new(Speed)
  610. PRTCL.VelocitySpread = Offset
  611. PRTCL.Drag = Drag
  612. PRTCL.Acceleration = Acel
  613. if Enabled == false then
  614. PRTCL:Emit(Emit)
  615. Debris:AddItem(PRTCL,Lifetime2)
  616. else
  617. PRTCL.Enabled = true
  618. end
  619. return PRTCL
  620. end
  621.  
  622.  
  623. local Handle = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.2,0.6,0.2),false)
  624. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  625. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.2,0.5,0.2),false)
  626. MakeForm(Part,"Wedge")
  627. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  628. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.2,0.3,0.2),false)
  629. MakeForm(Part,"Wedge")
  630. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  631. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.3,0.3,0.3),false)
  632. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  633. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.3,0.5,0.5),false)
  634. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  635. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.4,0.4,0.4),false)
  636. MakeForm(Part,"Cyl")
  637. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  638. for i = 1, 8 do
  639. local Piece = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Eye", VT(0,0.35,0.41),false)
  640. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  641. end
  642. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Eye", VT(0.38,0.41,0.38),false)
  643. MakeForm(Part,"Cyl")
  644. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  645. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.37,0.5,0.37),false)
  646. MakeForm(Part,"Ball")
  647. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  648. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.2,0.7,0.4),false)
  649. MakeForm(Part,"Wedge")
  650. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  651. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.3,0.4,0.2),false)
  652. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  653. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.35,0.35,0.35),false)
  654. MakeForm(Part,"Cyl")
  655. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  656. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.5,0.1,0.5),false)
  657. MakeForm(Part,"Cyl")
  658. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  659. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.5,0.1,0.45),false)
  660. MakeForm(Part,"Cyl")
  661. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  662. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.2,0.5,0.2),false)
  663. MakeForm(Part,"Wedge")
  664. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  665. local LASTPART = Handle
  666. for i = 1, 10 do
  667. if LASTPART == Handle then
  668. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.1,0.2,0),false)
  669. LASTPART = Part
  670. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  671. else
  672. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.1,0.05,0),false)
  673. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  674. LASTPART = Part
  675. end
  676. end
  677.  
  678. local Barrel = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.15,2,0.15),false)
  679. MakeForm(Barrel,"Cyl")
  680. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  681. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.25,1,0.25),false)
  682. MakeForm(Part,"Cyl")
  683. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  684. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0,0.1,0.2),false)
  685. MakeForm(Part,"Wedge")
  686. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  687. local Hole = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Eye", VT(0.125,0,0.125),false)
  688. MakeForm(Hole,"Cyl")
  689. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  690. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0,0,0),false)
  691. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  692. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  693. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0.5, "Light gray", "Eye", VT(0,0,0),false)
  694. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  695. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  696. coroutine.resume(coroutine.create(function()
  697. while wait() do
  698. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  699. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  700. end
  701. end))
  702.  
  703. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  704. --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  705.  
  706. for _, c in pairs(Weapon:GetDescendants()) do
  707. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  708. c.Material = "Glass"
  709. c.Color = C3(0,0,0)
  710. elseif c.ClassName == "Part" and c.Name == "Eye" then
  711. c.Color = C3(0,0,0)
  712. c.Material = "Neon"
  713. end
  714. end
  715.  
  716. Weapon.Parent = Character
  717. for _, c in pairs(Weapon:GetChildren()) do
  718. if c.ClassName == "Part" then
  719. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  720. end
  721. end
  722.  
  723. local BODY = {}
  724. for _, c in pairs(Character:GetDescendants()) do
  725. if c:IsA("BasePart") and c.Name ~= "Handle" then
  726. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  727. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  728. end
  729. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  730. elseif c:IsA("JointInstance") then
  731. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  732. end
  733. end
  734. for e = 1, #BODY do
  735. if BODY[e] ~= nil then
  736. local STUFF = BODY[e]
  737. local PART = STUFF[1]
  738. local PARENT = STUFF[2]
  739. local MATERIAL = STUFF[3]
  740. local COLOR = STUFF[4]
  741. local TRANSPARENCY = STUFF[5]
  742. if PART.ClassName == "Part" and PART ~= RootPart then
  743. PART.Material = MATERIAL
  744. PART.Color = COLOR
  745. PART.Transparency = TRANSPARENCY
  746. end
  747. PART.AncestryChanged:Connect(function()
  748. PART.Parent = PARENT
  749. end)
  750. end
  751. end
  752. function refit()
  753. Character.Parent = workspace
  754. for e = 1, #BODY do
  755. if BODY[e] ~= nil then
  756. local STUFF = BODY[e]
  757. local PART = STUFF[1]
  758. local PARENT = STUFF[2]
  759. local MATERIAL = STUFF[3]
  760. local COLOR = STUFF[4]
  761. local TRANSPARENCY = STUFF[5]
  762. if PART:IsA("BasePart") and PART ~= RootPart then
  763. PART.Material = MATERIAL
  764. PART.Color = COLOR
  765. PART.Transparency = TRANSPARENCY+EXTRATRANS
  766. end
  767. if PART.Parent ~= PARENT then
  768. Humanoid:remove()
  769. PART.Parent = PARENT
  770. Humanoid = IT("Humanoid",Character)
  771. end
  772. end
  773. end
  774. end
  775.  
  776. Humanoid.Died:connect(function()
  777. refit()
  778. end)
  779.  
  780. local SKILLTEXTCOLOR = C3(0,0,0)
  781. local SKILLFONT = "Antique"
  782. local SKILLTEXTSIZE = 7
  783.  
  784. Humanoid.Died:connect(function()
  785. ATTACK = true
  786. end)
  787. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  788. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  789. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  790. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  791. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  792. local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.100, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
  793.  
  794. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Darkness", SKILLTEXTCOLOR, SKILLTEXTSIZE-1, SKILLFONT, 0, 2, 0.7, "Text 1")
  795. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Death", SKILLTEXTCOLOR, SKILLTEXTSIZE-1, SKILLFONT, 0, 2, 0.7, "Text 2")
  796. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Break", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  797. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Madness", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  798. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[Q] Warp", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 6")
  799. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE+1, SKILLFONT, 0, 2, 1, "Text 5")
  800. function printbye(Name)
  801. local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
  802. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  803. end
  804.  
  805. workspace.ChildAdded:connect(function(instance)
  806. for BANISH = 1, #TOBANISH do
  807. if TOBANISH[BANISH] ~= nil then
  808. if instance.Name == TOBANISH[BANISH] then
  809. coroutine.resume(coroutine.create(function()
  810. printbye(instance.Name)
  811. instance:ClearAllChildren()
  812. Debris:AddItem(instance,0.0005)
  813. end))
  814. end
  815. end
  816. end
  817. end)
  818.  
  819. --//=================================\\
  820. --|| DAMAGING
  821. --\\=================================//
  822.  
  823. local asd = Instance.new("ParticleEmitter")
  824. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  825. asd.LightEmission = .1
  826. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  827. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  828. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  829. asd.Transparency = bbb
  830. asd.Size = aaa
  831. asd.ZOffset = .9
  832. asd.Acceleration = Vector3.new(0, -15, 0)
  833. asd.LockedToPart = false
  834. asd.EmissionDirection = "Back"
  835. asd.Lifetime = NumberRange.new(1, 2)
  836. asd.Rotation = NumberRange.new(-100, 100)
  837. asd.RotSpeed = NumberRange.new(-100, 100)
  838. asd.Speed = NumberRange.new(10)
  839. asd.Enabled = false
  840. asd.VelocitySpread = 999
  841. function getbloody(victim,amount)
  842. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  843. PART.CFrame = victim.CFrame
  844. local HITPLAYERSOUNDS = {"356551938","264486467"}
  845. Debris:AddItem(PART,5)
  846. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  847. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  848. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  849. local prtcl = asd:Clone()
  850. prtcl.Parent = PART
  851. prtcl:Emit(amount*10)
  852. end
  853. function Banish(Char)
  854. local NewCharacter = Instance.new("Model",Effects)
  855. NewCharacter.Name = "Ow im ded ;-;"
  856. for _, c in pairs(Char:GetDescendants()) do
  857. if c:IsA("BasePart") and c.Transparency == 0 then
  858. if c.Parent == Char then
  859. getbloody(c,5)
  860. end
  861. c:BreakJoints()
  862. c.Material = "Glass"
  863. c.Color = C3(0.5,0,0)
  864. c.CanCollide = true
  865. c.Transparency = 0.3
  866. if c:FindFirstChildOfClass("SpecialMesh") then
  867. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  868. end
  869. if c.Name == "Head" then
  870. c:ClearAllChildren()
  871. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  872. end
  873. if c.ClassName == "MeshPart" then
  874. c.TextureID = ""
  875. end
  876. if c:FindFirstChildOfClass("BodyPosition") then
  877. c:FindFirstChildOfClass("BodyPosition"):remove()
  878. end
  879. if c:FindFirstChildOfClass("ParticleEmitter") then
  880. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  881. end
  882. c.Parent = NewCharacter
  883. c.Name = "DeadPart"
  884. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  885. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  886. end
  887. end
  888. Char:remove()
  889. Debris:AddItem(NewCharacter,5)
  890. end
  891.  
  892. function ApplyAoE(POSITION,RANGE,ISBANISH)
  893. local CHILDREN = workspace:GetDescendants()
  894. for index, CHILD in pairs(CHILDREN) do
  895. if CHILD.ClassName == "Model" and CHILD ~= Character then
  896. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  897. if HUM then
  898. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  899. if TORSO then
  900. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  901. if ISBANISH == true then
  902. Banish(CHILD)
  903. else
  904. if ISBANISH == "Gravity" then
  905. HUM.PlatformStand = true
  906. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  907. local grav = Instance.new("BodyPosition",TORSO)
  908. grav.D = 15
  909. grav.P = 20000
  910. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  911. grav.position = TORSO.Position
  912. grav.Name = "V3BanishForce"..Player.Name
  913. else
  914. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  915. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  916. end
  917. else
  918. HUM.PlatformStand = false
  919. end
  920. end
  921. elseif ISBANISH == "Gravity" then
  922. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  923. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  924. HUM.PlatformStand = false
  925. end
  926. end
  927. end
  928. end
  929. end
  930. end
  931. end
  932. function ApplyKill(POSITION,RANGE,BRUTAL)
  933. local CHILDREN = workspace:GetDescendants()
  934. for index, CHILD in pairs(CHILDREN) do
  935. if CHILD.ClassName == "Model" and CHILD ~= Character then
  936. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  937. if HUM then
  938. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  939. if TORSO then
  940. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  941. if BRUTAL == true then
  942. Banish(CHILD)
  943. else
  944. CHILD:BreakJoints()
  945. end
  946. end
  947. end
  948. end
  949. end
  950. end
  951. end
  952. --//=================================\\
  953. --|| ATTACK FUNCTIONS AND STUFF
  954. --\\=================================//
  955. function Kill(Foe)
  956. if Foe then
  957. coroutine.resume(coroutine.create(function()
  958. --if game.Players:FindFirstChild(Foe.Name) then
  959. table.insert(TOBANISH,Foe.Name)
  960. printbye(Foe.Name)
  961. --end
  962. Foe.Archivable = true
  963. local CLONE = Foe:Clone()
  964. Foe:Destroy()
  965. CLONE.Parent = Effects
  966. CLONE:BreakJoints()
  967. local MATERIALS = {"Glass","Neon"}
  968. for _, c in pairs(CLONE:GetDescendants()) do
  969. if c:IsA("BasePart") then
  970. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  971. CreateSound(340722848, c, 10, 1, false)
  972. end
  973. c.Anchored = true
  974. c.Transparency = c.Transparency + 0.2
  975. c.Material = MATERIALS[MRANDOM(1,2)]
  976. c.Color = C3(0,0,0)
  977. if c.ClassName == "MeshPart" then
  978. c.TextureID = ""
  979. end
  980. if c:FindFirstChildOfClass("SpecialMesh") then
  981. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  982. end
  983. if c:FindFirstChildOfClass("Decal") then
  984. c:FindFirstChildOfClass("Decal"):remove()
  985. end
  986. c.Name = "Banished"
  987. c.CanCollide = false
  988. else
  989. c:remove()
  990. end
  991. end
  992. local A = false
  993. for i = 1, 35 do
  994. if A == false then
  995. A = true
  996. elseif A == true then
  997. A = false
  998. end
  999. for _, c in pairs(CLONE:GetDescendants()) do
  1000. if c:IsA("BasePart") then
  1001. c.Anchored = true
  1002. c.Material = MATERIALS[MRANDOM(1,2)]
  1003. c.Transparency = c.Transparency + 0.8/35
  1004. if A == false then
  1005. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1006. elseif A == true then
  1007. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1008. end
  1009. end
  1010. end
  1011. Swait()
  1012. end
  1013. CLONE:remove()
  1014. end))
  1015. end
  1016. end
  1017.  
  1018. function Madness()
  1019. ATTACK = true
  1020. Rooted = false
  1021. local GYRO = IT("BodyGyro",RootPart)
  1022. GYRO.D = 750
  1023. GYRO.P = 20000
  1024. GYRO.MaxTorque = VT(0,40000000,0)
  1025. local LOCKED = true
  1026. local SHOT = false
  1027. coroutine.resume(coroutine.create(function()
  1028. for i=0, 1, 0.1 / Animation_Speed do
  1029. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  1030. Swait()
  1031. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1032. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1033. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(100), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1034. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1035. end
  1036. LOCKED = false
  1037. SHOT = true
  1038. repeat
  1039. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  1040. Swait()
  1041. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1042. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1043. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(100), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1044. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1045. until HOLD == false and SHOT == false
  1046. for i=0, 0.3, 0.1 / Animation_Speed do
  1047. Swait()
  1048. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1049. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1050. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(100), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1051. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1052. end
  1053. GYRO:remove()
  1054. ATTACK = false
  1055. Rooted = false
  1056. end))
  1057. repeat wait() until LOCKED == false
  1058. repeat
  1059. SHOT = true
  1060. wait(0.2)
  1061. SHOT = false
  1062. local BULLET = Lightning({Material = "Glass", FadeIn = true, Color = C3(0,0,0), Start = Hole.CFrame*CF(0, 1, 0.045).p, End = Mouse.Hit.p, SegmentL = 1, Thickness = 0.1, DoesFade = true, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 22, Thicken = false})
  1063. local HIT = BULLET.Hit
  1064. local HITPOS = BULLET.End
  1065. if HIT then
  1066. if HIT.Parent:FindFirstChildOfClass("Humanoid") then
  1067. Kill(HIT.Parent)
  1068. end
  1069. end
  1070. WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = C3(1,0,0), SoundID = 304999618, SoundPitch = 2, SoundVolume = 1})
  1071. WACKYEFFECT({Time = 15, EffectType = "Skull", Size = VT(0,0,0), Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame*CF(0, 1, 0.045) * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 2})
  1072. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(1,1.2,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame*CF(0, 1, 0.045) * ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 145080998, SoundPitch = 1, SoundVolume = 2})
  1073. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(2,1,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame*CF(0, 1, 0.045) * ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 145080998, SoundPitch = 1, SoundVolume = 2})
  1074. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  1075. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  1076. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  1077. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  1078. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  1079. until HOLD == false
  1080. end
  1081.  
  1082. function Banisher_Bullet()
  1083. ATTACK = true
  1084. Rooted = false
  1085. for i=0, 0.4, 0.1 / Animation_Speed do
  1086. Swait()
  1087. turnto(Mouse.Hit.p)
  1088. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1089. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1090. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1091. end
  1092. repeat
  1093. for i=0, 0.2, 0.1 / Animation_Speed do
  1094. Swait()
  1095. turnto(Mouse.Hit.p)
  1096. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1097. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1098. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1099. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1100. end
  1101. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1102. SpawnTrail(Hole.Position,POS)
  1103. if HIT ~= nil then
  1104. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1105. Banish(HIT.Parent)
  1106. end
  1107. end
  1108. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1109. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1110. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1111. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1112. for i=0, 0.3, 0.1 / Animation_Speed do
  1113. Swait()
  1114. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1115. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1116. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1117. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1118. end
  1119. until KEYHOLD == false
  1120. ATTACK = false
  1121. Rooted = false
  1122. end
  1123.  
  1124. function AttackTemplate()
  1125. ATTACK = true
  1126. Rooted = false
  1127. for i=0, 1, 0.1 / Animation_Speed do
  1128. Swait()
  1129. 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)
  1130. 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)
  1131. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1132. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1133. 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)
  1134. 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)
  1135. end
  1136. ATTACK = false
  1137. Rooted = false
  1138. end
  1139.  
  1140. function HI()
  1141. ATTACK = true
  1142. Rooted = false
  1143. local LOOP = 0
  1144. for i=0, 0.1, 0.1 / Animation_Speed do
  1145. Swait()
  1146. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1147. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1148. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1149. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(5-3 * COS(SINE / 6)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1150. end
  1151. for i=0, 3, 0.1 / Animation_Speed do
  1152. Swait()
  1153. LOOP = LOOP + 1
  1154. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1155. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1156. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1157. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.8, 0.4) * ANGLES(RAD(170), RAD(0), RAD(-25 - 25 * SIN(LOOP / 5))) * ANGLES(RAD(0), RAD(-45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1158. end
  1159. for i=0, 0.1, 0.1 / Animation_Speed do
  1160. Swait()
  1161. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1162. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1163. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1164. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(5-3 * COS(SINE / 6)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1165. end
  1166. ATTACK = false
  1167. Rooted = false
  1168. end
  1169.  
  1170. function Mercy()
  1171. ATTACK = true
  1172. Rooted = true
  1173. local SPOTS = {}
  1174. for i = 1, 15 do
  1175. Swait()
  1176. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1177. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 0.1 / Animation_Speed)
  1178. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  1179. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1180. end
  1181. WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(15,15,15), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.6, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Maroon".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 7})
  1182. for i=0, 0.5, 0.1 / Animation_Speed do
  1183. Swait()
  1184. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(65 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1185. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-65 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1186. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1187. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1188. end
  1189. local HITFLOOR,HITPOS = Raycast(Mouse.Hit.p+VT(0,1,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 150, Character)
  1190. table.insert(SPOTS,HITPOS)
  1191. CreateSound(145080998, Hole, 2, 1, false)
  1192. Lightning({Material = "Neon", FadeIn = false, Color = C3(1,0,0), Start = Hole.CFrame*CF(0, 1, 0.045).p, End = Hole.CFrame*CF(0, 1000, 0.045).p, SegmentL = 1, Thickness = 0.1, DoesFade = true, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 22, Thicken = false})
  1193. coroutine.resume(coroutine.create(function()
  1194. local POS = Mouse.Hit.p
  1195. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Strike", VT(0,0,0))
  1196. MakeForm(RAY,"Cyl")
  1197. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Strike", VT(0,0,0))
  1198. MakeForm(SPHERE,"Ball")
  1199. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Strike", VT(0,0,0))
  1200. MakeForm(SHIELD,"Ball")
  1201. SHIELD.CFrame = CF(POS)
  1202. RAY.CFrame = CF(POS)
  1203. SPHERE.CFrame = CF(POS)
  1204. CreateSound(440145570, SPHERE, 10, 0.8, false)
  1205. CreateSound(415700134, SPHERE, 10, 0.8, false)
  1206. for i = 1, 200 do
  1207. Swait()
  1208. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(SPHERE.Size.X*1.2,5+(i),SPHERE.Size.X*1.2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(0), RAD(i), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1209. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  1210. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(SPHERE.Size.X*2,5+(i),SPHERE.Size.X*2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  1211. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  1212. SPHERE.Size = SPHERE.Size + VT(0.4,0.4,0.4)
  1213. SHIELD.Size = SPHERE.Size + VT(0.5,0.5,0.5)
  1214. ApplyKill(SPHERE.Position,SPHERE.Size.X/2,true)
  1215. end
  1216. for i = 1, 45 do
  1217. Swait()
  1218. RAY.Transparency = RAY.Transparency + 1/45
  1219. SPHERE.Transparency = RAY.Transparency
  1220. SHIELD.Transparency = SPHERE.Transparency + 1/45
  1221. end
  1222. RAY:remove()
  1223. SHIELD:remove()
  1224. SPHERE:remove()
  1225. end))
  1226. ATTACK = false
  1227. Rooted = false
  1228. end
  1229. function Warp()
  1230. for e = 1, #BODY do
  1231. if BODY[e] ~= nil then
  1232. local STUFF = BODY[e]
  1233. local PART = STUFF[1]
  1234. if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
  1235. local PRT = PART:Clone()
  1236. PRT.Anchored = true
  1237. PRT.CanCollide = false
  1238. PRT.Material = "Neon"
  1239. PRT.Color = C3(0,0,0)
  1240. PRT.Name = "WarpEffect"
  1241. PRT.Parent = Effects
  1242. PRT.CFrame = PART.CFrame
  1243. PRT:BreakJoints()
  1244. if PRT:FindFirstChildOfClass("Sound") then
  1245. PRT:FindFirstChildOfClass("Sound"):remove()
  1246. end
  1247. if PRT:FindFirstChildOfClass("Decal") then
  1248. PRT:FindFirstChildOfClass("Decal"):remove()
  1249. end
  1250. coroutine.resume(coroutine.create(function()
  1251. for i = 1, 100 do
  1252. Swait()
  1253. PRT.Transparency = PRT.Transparency + 1/100
  1254. end
  1255. PRT:remove()
  1256. end))
  1257. end
  1258. end
  1259. end
  1260. CreateSound(217767125, Torso, 10, 1)
  1261. local POS = RootPart.Orientation
  1262. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
  1263. RootPart.Orientation = POS
  1264. RootJoint.Parent = RootPart
  1265. WACKYEFFECT({EffectType = "Sphere", Size = VT(SIZE*20,0,SIZE*20), Size2 = VT(0,SIZE*750,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Eyes.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  1266. ATTACK = false
  1267. Rooted = false
  1268. end
  1269. function killnearest(position,range,maxstrength,BRUTAL,RANGE)
  1270. for i,v in ipairs(workspace:GetChildren()) do
  1271. local body = v:GetChildren()
  1272. for part = 1, #body do
  1273. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1274. if(body[part].Position - position).Magnitude < range then
  1275. if v.ClassName == "Model" then
  1276. v:BreakJoints()
  1277. end
  1278. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  1279. local bv = Instance.new("BodyVelocity")
  1280. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1281. bv.velocity = CF(position,body[part].Position).lookVector*maxstrength
  1282. bv.Parent = body[part]
  1283. Debris:AddItem(bv,0.2)
  1284. end
  1285. end
  1286. end
  1287. if v.ClassName == "Part" then
  1288. if v.Anchored == false and (v.Position - position).Magnitude < range then
  1289. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  1290. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  1291. end
  1292. end
  1293. end
  1294. end
  1295. function Darkness()
  1296. ATTACK = true
  1297. Rooted = true
  1298. local GYRO = IT("BodyGyro",RootPart)
  1299. GYRO.D = 100
  1300. GYRO.P = 2000
  1301. GYRO.MaxTorque = VT(0,4000000,0)
  1302. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1303. CreateSound("429459101", RightArm, 10, 0.8)
  1304. for i=0, 3.5, 0.1 / Animation_Speed do
  1305. Swait()
  1306. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1307. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,10,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  1308. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1309. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1310. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.75 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1311. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1312. end
  1313. GYRO:remove()
  1314. for i=0, 0.15, 0.1 / Animation_Speed do
  1315. Swait()
  1316. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1317. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,10,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  1318. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1319. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1320. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.75 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1321. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1322. end
  1323. local BOMBSPOTS = {}
  1324. for i = 1, 25 do
  1325. local SPOT = CreatePart(3, Effects, "Neon", 0, 0, "Relly black", "Blade", VT(8,1,8))
  1326. SPOT.Color = SKILLTEXTCOLOR
  1327. SPOT.CFrame = RootPart.CFrame*CF((MRANDOM(-15,15)/40)*i,-5,-i*5)
  1328. table.insert(BOMBSPOTS,SPOT)
  1329. MakeForm(SPOT,"Cyl2")
  1330. end
  1331. for i=0, 0.2, 0.1 / Animation_Speed do
  1332. Swait()
  1333. WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(15,15,15), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.6, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really black".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 7})
  1334. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1335. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1336. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.75 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1337. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1338. end
  1339. ATTACK = false
  1340. Rooted = false
  1341. coroutine.resume(coroutine.create(function()
  1342. Swait(3)
  1343. for i = 1, #BOMBSPOTS do
  1344. if BOMBSPOTS[i] ~= nil then
  1345. local E = BOMBSPOTS[i]
  1346. coroutine.resume(coroutine.create(function()
  1347. local BLADE = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Relly black", "Blade", VT(0,0,0))
  1348. BLADE.Color = SKILLTEXTCOLOR
  1349. CreateMesh("SpecialMesh", BLADE, "FileMesh", "93108071", "", VT(0.6,1,0.4)*3, VT(0,0,0))
  1350. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], BLADE, 4, 0.6)
  1351. BLADE.CFrame = E.CFrame*CF(0,-3,0)*ANGLES(RAD(MRANDOM(-15,15)),RAD(90),RAD(MRANDOM(-15,15)))
  1352. for i = 1, 10 do
  1353. Swait()
  1354. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.5,0.5,0.5), Size2 = VT(0,50,0), Transparency = 0, Transparency2 = 1, CFrame = CF(BLADE.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  1355. killnearest(BLADE.Position,6,80)
  1356. BLADE.CFrame = BLADE.CFrame*CF(0,0.3,0)
  1357. BLADE.Transparency = BLADE.Transparency - 0.1
  1358. end
  1359. Swait(45)
  1360. for i = 1, 100 do
  1361. Swait()
  1362. BLADE.Transparency = BLADE.Transparency + 0.01
  1363. E.Transparency = E.Transparency + 0.01
  1364. end
  1365. BLADE:remove()
  1366. E:remove()
  1367. end))
  1368. end
  1369. end
  1370. end))
  1371. end
  1372. function Death()
  1373. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1374. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1375. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  1376. if TORSO and HUM.Health > 0 then
  1377. ATTACK = true
  1378. Rooted = true
  1379. local GYRO = IT("BodyGyro",RootPart)
  1380. GYRO.D = 175
  1381. GYRO.P = 20000
  1382. GYRO.MaxTorque = VT(0,40000,0)
  1383. for i=0, 1, 0.1 / Animation_Speed do
  1384. Swait()
  1385. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  1386. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed)
  1387. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-50)), 1 / Animation_Speed)
  1388. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1389. end
  1390. WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(15,15,15), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.6, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really black".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 7})
  1391. WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(15,15,15), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.6, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really black".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 7})
  1392. local MAGIC = ParticleEmitter({Speed = 5, Drag = 3, Size1 = 1.7, Size2 = 0, Lifetime1 = 1, Lifetime2 = 3, Parent = TORSO, Emit = 100, Offset = 360, Enabled = true})
  1393. MAGIC.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
  1394. local grav = Instance.new("BodyPosition",TORSO)
  1395. grav.D = 1500
  1396. grav.P = 20000
  1397. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1398. grav.position = TORSO.Position+VT(0,15,0)
  1399. Debris:AddItem(grav,10)
  1400. Debris:AddItem(MAGIC,10)
  1401. CreateSound(429459101, Torso, 7, 1, false)
  1402. CreateSound(429459101, TORSO, 7, 1, false)
  1403. GYRO:remove()
  1404. ATTACK = false
  1405. Rooted = false
  1406. end
  1407. end
  1408. end
  1409. --//=================================\\
  1410. --|| ASSIGN THINGS TO KEYS
  1411. --\\=================================//
  1412.  
  1413. function MouseDown(Mouse)
  1414. if ATTACK == false then
  1415. end
  1416. end
  1417.  
  1418. function MouseUp(Mouse)
  1419. HOLD = false
  1420. end
  1421.  
  1422. function KeyDown(Key)
  1423. KEYHOLD = true
  1424. if Key == "c" and ATTACK == false then
  1425. Banisher_Bullet()
  1426. end
  1427.  
  1428. if Key == "b" and ATTACK == false then
  1429. Death()
  1430. end
  1431.  
  1432. if Key == "z" and ATTACK == false then
  1433. Darkness()
  1434. end
  1435.  
  1436. if Key == "v" and ATTACK == false then
  1437. Madness()
  1438. end
  1439.  
  1440. if Key == "x" and ATTACK == false then
  1441. Mercy()
  1442. end
  1443.  
  1444. if Key == "q" and ATTACK == false then
  1445. Warp()
  1446. end
  1447.  
  1448. if Key == "t" and ATTACK == false then
  1449. HI()
  1450. end
  1451. end
  1452.  
  1453. function KeyUp(Key)
  1454. KEYHOLD = false
  1455. end
  1456.  
  1457. Mouse.Button1Down:connect(function(NEWKEY)
  1458. MouseDown(NEWKEY)
  1459. end)
  1460. Mouse.Button1Up:connect(function(NEWKEY)
  1461. MouseUp(NEWKEY)
  1462. end)
  1463. Mouse.KeyDown:connect(function(NEWKEY)
  1464. KeyDown(NEWKEY)
  1465. end)
  1466. Mouse.KeyUp:connect(function(NEWKEY)
  1467. KeyUp(NEWKEY)
  1468. end)
  1469.  
  1470. --//=================================\\
  1471. --\\=================================//
  1472.  
  1473.  
  1474. function unanchor()
  1475. if UNANCHOR == true then
  1476. g = Character:GetChildren()
  1477. for i = 1, #g do
  1478. if g[i].ClassName == "Part" then
  1479. g[i].Anchored = false
  1480. end
  1481. end
  1482. end
  1483. end
  1484.  
  1485.  
  1486. --//=================================\\
  1487. --|| WRAP THE WHOLE SCRIPT UP
  1488. --\\=================================//
  1489.  
  1490. Humanoid.Changed:connect(function(Jump)
  1491. if Jump == "Jump" and (Disable_Jump == true) then
  1492. Humanoid.Jump = false
  1493. end
  1494. end)
  1495.  
  1496. local CONNECT = nil
  1497.  
  1498. while true do
  1499. Swait()
  1500. ANIMATE.Parent = nil
  1501. if Character:FindFirstChildOfClass("Humanoid") == nil then
  1502. Humanoid = IT("Humanoid",Character)
  1503. end
  1504. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1505. v:Stop();
  1506. end
  1507. SINE = SINE + CHANGE
  1508. Humanoid.HipHeight = 1.5
  1509. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1510. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1511. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1512. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1513. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1514. elseif TORSOVELOCITY > 1 then
  1515. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0.7 * Player_Size) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed*3)
  1516. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1517. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1518. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1519. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1520. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1521. end
  1522. if TORSOVERTICALVELOCITY > 1 then
  1523. ANIM = "Jump"
  1524. if ATTACK == false then
  1525. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0.7 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1526. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1527. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1528. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1529. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1530. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1531. end
  1532. elseif TORSOVERTICALVELOCITY < -1 then
  1533. ANIM = "Fall"
  1534. if ATTACK == false then
  1535. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0.7 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1536. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1537. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1538. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1539. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1540. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1541. end
  1542. elseif TORSOVELOCITY < 1 then
  1543. ANIM = "Idle"
  1544. if ATTACK == false then
  1545. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1546. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1547. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1548. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1549. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1550. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1551. end
  1552. elseif TORSOVELOCITY > 1 then
  1553. ANIM = "Walk"
  1554. if ATTACK == false then
  1555. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0.7 * Player_Size) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed*3)
  1556. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1557. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1558. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1559. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1560. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1561. end
  1562. end
  1563. unanchor()
  1564. Humanoid.MaxHealth = "inf"
  1565. Humanoid.Health = "inf"
  1566. if Rooted == false then
  1567. Disable_Jump = false
  1568. Humanoid.WalkSpeed = Speed
  1569. elseif Rooted == true then
  1570. Disable_Jump = true
  1571. Humanoid.WalkSpeed = 0
  1572. end
  1573. for _, c in pairs(Character:GetDescendants()) do
  1574. if c == Head then
  1575. if c:FindFirstChild("face") then
  1576. c.face:remove()
  1577. end
  1578. end
  1579. end MagicSphere(VT(1,1,1)/5,35,CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))*CF(0,MRANDOM(3,6),0),C3(0,0,0),VT(0,0,0))
  1580. sick:resume()
  1581. sick.Volume = 5
  1582. sick.Pitch = 1
  1583. sick.SoundId = "rbxassetid://924339757"
  1584. sick.Name = "BanishV3Music"
  1585. sick.Playing = PLAYSONG
  1586. Humanoid.PlatformStand = false
  1587. Humanoid.Name = "U ar ded"
  1588. refit()
  1589. for _, c in pairs(Character:GetChildren()) do
  1590. if c:IsA("BasePart") and ATTACK == false then
  1591. for _, e in pairs(c:GetChildren()) do
  1592. if e:IsA("ParticleEmitter") or e:IsA("BodyPosition") or e:IsA("BodyGyro") then
  1593. e:remove()
  1594. end
  1595. end
  1596. end
  1597. end
  1598. end
  1599.  
  1600.  
  1601. --//=================================\\
  1602. --\\=================================//
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement