Advertisement
cobblecorn

Untitled

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