Advertisement
cobblecorn

Untitled

Jun 4th, 2018
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 99.54 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 CreateMagicCircle(size,doesrotate,rotatedirection,waitt,cframe,alwaysfade)
  287. local sinkhole = IT("Part")
  288. sinkhole.Size = VT(size,0,size)
  289. sinkhole.CFrame = cframe
  290. --sinkhole.Orientation = VT(0,0,0)
  291. sinkhole.Parent = Effects
  292. sinkhole.Material = "Neon"
  293. sinkhole.Color = C3(255, 255, 255)
  294. sinkhole.Anchored = true
  295. sinkhole.CanCollide = false
  296. sinkhole.Transparency = 1
  297. local decal = Decal:Clone()
  298. decal.Parent = sinkhole
  299. decal.Face = "Top"
  300. decal.Texture = "http://www.roblox.com/asset/?id=1226241606"
  301. local decal2 = Decal:Clone()
  302. decal2.Parent = sinkhole
  303. decal2.Face = "Bottom"
  304. decal2.Texture = "http://www.roblox.com/asset/?id=1226241606"
  305. coroutine.resume(coroutine.create(function(PART)
  306. for i = 1, waitt do
  307. Swait()
  308. if doesrotate == true then
  309. sinkhole.CFrame = sinkhole.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  310. end
  311. if alwaysfade == true then
  312. decal.Transparency = decal.Transparency + (1/waitt)
  313. decal2.Transparency = decal.Transparency + (1/waitt)
  314. end
  315. if i > waitt-11 and (alwaysfade ~= true) then
  316. decal.Transparency = decal.Transparency + 0.1
  317. decal2.Transparency = decal.Transparency + 0.1
  318. end
  319. end
  320. sinkhole.Parent = nil
  321. end))
  322. return sinkhole
  323. end
  324.  
  325.  
  326.  
  327. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  328. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  329. end
  330.  
  331. function PositiveAngle(NUMBER)
  332. if NUMBER >= 0 then
  333. NUMBER = 0
  334. end
  335. return NUMBER
  336. end
  337.  
  338. function NegativeAngle(NUMBER)
  339. if NUMBER <= 0 then
  340. NUMBER = 0
  341. end
  342. return NUMBER
  343. end
  344.  
  345. function Swait(NUMBER)
  346. if NUMBER == 0 or NUMBER == nil then
  347. ArtificialHB.Event:wait()
  348. else
  349. for i = 1, NUMBER do
  350. ArtificialHB.Event:wait()
  351. end
  352. end
  353. end
  354.  
  355. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  356. local NEWMESH = IT(MESH)
  357. if MESH == "SpecialMesh" then
  358. NEWMESH.MeshType = MESHTYPE
  359. if MESHID ~= "nil" and MESHID ~= "" then
  360. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  361. end
  362. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  363. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  364. end
  365. end
  366. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  367. NEWMESH.Scale = SCALE
  368. NEWMESH.Parent = PARENT
  369. return NEWMESH
  370. end
  371.  
  372. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  373. local NEWPART = IT("Part")
  374. NEWPART.formFactor = FORMFACTOR
  375. NEWPART.Reflectance = REFLECTANCE
  376. NEWPART.Transparency = TRANSPARENCY
  377. NEWPART.CanCollide = false
  378. NEWPART.Locked = true
  379. NEWPART.Anchored = true
  380. if ANCHOR == false then
  381. NEWPART.Anchored = false
  382. end
  383. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  384. NEWPART.Name = NAME
  385. NEWPART.Size = SIZE
  386. NEWPART.Position = Torso.Position
  387. NEWPART.Material = MATERIAL
  388. NEWPART:BreakJoints()
  389. NEWPART.Parent = PARENT
  390. return NEWPART
  391. end
  392.  
  393. local function weldBetween(a, b)
  394. local weldd = Instance.new("ManualWeld")
  395. weldd.Part0 = a
  396. weldd.Part1 = b
  397. weldd.C0 = CFrame.new()
  398. weldd.C1 = b.CFrame:inverse() * a.CFrame
  399. weldd.Parent = a
  400. return weldd
  401. end
  402.  
  403.  
  404. function QuaternionFromCFrame(cf)
  405. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  406. local trace = m00 + m11 + m22
  407. if trace > 0 then
  408. local s = math.sqrt(1 + trace)
  409. local recip = 0.5 / s
  410. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  411. else
  412. local i = 0
  413. if m11 > m00 then
  414. i = 1
  415. end
  416. if m22 > (i == 0 and m00 or m11) then
  417. i = 2
  418. end
  419. if i == 0 then
  420. local s = math.sqrt(m00 - m11 - m22 + 1)
  421. local recip = 0.5 / s
  422. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  423. elseif i == 1 then
  424. local s = math.sqrt(m11 - m22 - m00 + 1)
  425. local recip = 0.5 / s
  426. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  427. elseif i == 2 then
  428. local s = math.sqrt(m22 - m00 - m11 + 1)
  429. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  430. end
  431. end
  432. end
  433.  
  434. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  435. local xs, ys, zs = x + x, y + y, z + z
  436. local wx, wy, wz = w * xs, w * ys, w * zs
  437. local xx = x * xs
  438. local xy = x * ys
  439. local xz = x * zs
  440. local yy = y * ys
  441. local yz = y * zs
  442. local zz = z * zs
  443. 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))
  444. end
  445.  
  446. function QuaternionSlerp(a, b, t)
  447. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  448. local startInterp, finishInterp;
  449. if cosTheta >= 0.0001 then
  450. if (1 - cosTheta) > 0.0001 then
  451. local theta = ACOS(cosTheta)
  452. local invSinTheta = 1 / SIN(theta)
  453. startInterp = SIN((1 - t) * theta) * invSinTheta
  454. finishInterp = SIN(t * theta) * invSinTheta
  455. else
  456. startInterp = 1 - t
  457. finishInterp = t
  458. end
  459. else
  460. if (1 + cosTheta) > 0.0001 then
  461. local theta = ACOS(-cosTheta)
  462. local invSinTheta = 1 / SIN(theta)
  463. startInterp = SIN((t - 1) * theta) * invSinTheta
  464. finishInterp = SIN(t * theta) * invSinTheta
  465. else
  466. startInterp = t - 1
  467. finishInterp = t
  468. end
  469. end
  470. 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
  471. end
  472.  
  473. function Clerp(a, b, t)
  474. local qa = {QuaternionFromCFrame(a)}
  475. local qb = {QuaternionFromCFrame(b)}
  476. local ax, ay, az = a.x, a.y, a.z
  477. local bx, by, bz = b.x, b.y, b.z
  478. local _t = 1 - t
  479. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  480. end
  481.  
  482. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  483. local frame = IT("Frame")
  484. frame.BackgroundTransparency = TRANSPARENCY
  485. frame.BorderSizePixel = BORDERSIZEPIXEL
  486. frame.Position = POSITION
  487. frame.Size = SIZE
  488. frame.BackgroundColor3 = COLOR
  489. frame.BorderColor3 = BORDERCOLOR
  490. frame.Name = NAME
  491. frame.Parent = PARENT
  492. return frame
  493. end
  494.  
  495. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  496. local label = IT("TextLabel")
  497. label.BackgroundTransparency = 1
  498. label.Size = UD2(1, 0, 1, 0)
  499. label.Position = UD2(0, 0, 0, 0)
  500. label.TextColor3 = TEXTCOLOR
  501. label.TextStrokeTransparency = STROKETRANSPARENCY
  502. label.TextTransparency = TRANSPARENCY
  503. label.FontSize = TEXTFONTSIZE
  504. label.Font = TEXTFONT
  505. label.BorderSizePixel = BORDERSIZEPIXEL
  506. label.TextScaled = false
  507. label.Text = TEXT
  508. label.Name = NAME
  509. label.Parent = PARENT
  510. return label
  511. end
  512.  
  513. function NoOutlines(PART)
  514. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  515. end
  516.  
  517. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  518. local NEWWELD = IT(TYPE)
  519. NEWWELD.Part0 = PART0
  520. NEWWELD.Part1 = PART1
  521. NEWWELD.C0 = C0
  522. NEWWELD.C1 = C1
  523. NEWWELD.Parent = PARENT
  524. return NEWWELD
  525. end
  526.  
  527. local S = IT("Sound")
  528. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  529. local NEWSOUND = nil
  530. coroutine.resume(coroutine.create(function()
  531. NEWSOUND = S:Clone()
  532. NEWSOUND.Parent = PARENT
  533. NEWSOUND.Volume = VOLUME
  534. NEWSOUND.Pitch = PITCH
  535. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  536. NEWSOUND:play()
  537. if DOESLOOP == true then
  538. NEWSOUND.Looped = true
  539. else
  540. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  541. NEWSOUND:remove()
  542. end
  543. end))
  544. return NEWSOUND
  545. end
  546.  
  547. function CFrameFromTopBack(at, top, back)
  548. local right = top:Cross(back)
  549. 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)
  550. end
  551.  
  552. --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})
  553. function WACKYEFFECT(Table)
  554. local TYPE = (Table.EffectType or "Sphere")
  555. local SIZE = (Table.Size or VT(1,1,1))
  556. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  557. local TRANSPARENCY = (Table.Transparency or 0)
  558. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  559. local CFRAME = (Table.CFrame or Torso.CFrame)
  560. local MOVEDIRECTION = (Table.MoveToPos or nil)
  561. local ROTATION1 = (Table.RotationX or 0)
  562. local ROTATION2 = (Table.RotationY or 0)
  563. local ROTATION3 = (Table.RotationZ or 0)
  564. local MATERIAL = (Table.Material or "Neon")
  565. local COLOR = (Table.Color or C3(0,0,0))
  566. local TIME = (Table.Time or 45)
  567. local SOUNDID = (Table.SoundID or nil)
  568. local SOUNDPITCH = (Table.SoundPitch or nil)
  569. local SOUNDVOLUME = (Table.SoundVolume or nil)
  570. coroutine.resume(coroutine.create(function()
  571. local PLAYSSOUND = false
  572. local SOUND = nil
  573. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  574. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  575. PLAYSSOUND = true
  576. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  577. end
  578. EFFECT.Color = COLOR
  579. local MSH = nil
  580. if TYPE == "Sphere" then
  581. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  582. elseif TYPE == "Block" then
  583. MSH = IT("BlockMesh",EFFECT)
  584. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  585. elseif TYPE == "Wave" then
  586. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  587. elseif TYPE == "Ring" then
  588. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  589. elseif TYPE == "Slash" then
  590. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  591. elseif TYPE == "Round Slash" then
  592. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  593. elseif TYPE == "Swirl" then
  594. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  595. elseif TYPE == "Skull" then
  596. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  597. elseif TYPE == "Crystal" then
  598. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  599. end
  600. if MSH ~= nil then
  601. local MOVESPEED = nil
  602. if MOVEDIRECTION ~= nil then
  603. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  604. end
  605. local GROWTH = SIZE - ENDSIZE
  606. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  607. if TYPE == "Block" then
  608. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  609. else
  610. EFFECT.CFrame = CFRAME
  611. end
  612. for LOOP = 1, TIME+1 do
  613. Swait()
  614. MSH.Scale = MSH.Scale - GROWTH/TIME
  615. if TYPE == "Wave" then
  616. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  617. end
  618. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  619. if TYPE == "Block" then
  620. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  621. else
  622. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  623. end
  624. if MOVEDIRECTION ~= nil then
  625. local ORI = EFFECT.Orientation
  626. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  627. EFFECT.Orientation = ORI
  628. end
  629. end
  630. if PLAYSSOUND == false then
  631. EFFECT:remove()
  632. else
  633. SOUND.Stopped:Connect(function()
  634. EFFECT:remove()
  635. end)
  636. end
  637. else
  638. if PLAYSSOUND == false then
  639. EFFECT:remove()
  640. else
  641. repeat Swait() until SOUND.Playing == false
  642. EFFECT:remove()
  643. end
  644. end
  645. end))
  646. end
  647. --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})
  648. function Lightning(Table)
  649. local Color = Table.Color or C3(1,1,1)
  650. local StartPos = Table.Start or Torso.Position
  651. local EndPos = Table.End or Mouse.Hit.p
  652. local SegmentLength = Table.SegmentL or 2
  653. local Thickness = Table.Thickness or 0.1
  654. local Dissapear = Table.DoesFade or false
  655. local Parent = Table.Ignore or Character
  656. local MaxDist = Table.MaxDist or 400
  657. local Branches = Table.Branches or false
  658. local Thicken = Table.Thicken or false
  659. local FadeTime = Table.FadeTime or 15
  660. local FadeIn = Table.FadeIn or false
  661. local Material = Table.Material or "Neon"
  662. local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
  663. local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/((SegmentLength/SegmentLength)/1.5))
  664. local LIGHTNINGMODEL = IT("Model",Effects)
  665. LIGHTNINGMODEL.Name = "Lightning"
  666. local LastBolt = nil
  667. for E = 1, DISTANCE do
  668. local ExtraSize = 0
  669. if Thicken == true then
  670. ExtraSize = (DISTANCE-E)/15
  671. end
  672. local TRANSPARENCY = 0
  673. if FadeIn == true then
  674. TRANSPARENCY = 1-(E/(DISTANCE/1.5))
  675. if TRANSPARENCY < 0 then
  676. TRANSPARENCY = 0
  677. end
  678. end
  679. local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
  680. PART.Color = Color
  681. MakeForm(PART,"Cyl")
  682. if LastBolt == nil then
  683. PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  684. else
  685. 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)
  686. end
  687. LastBolt = PART
  688. if Branches == true and E < (DISTANCE-5) then
  689. local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
  690. if CHOICE == 1 then
  691. local LASTBRANCH = nil
  692. for i = 1, MRANDOM(2,5) do
  693. local ExtraSize2 = 0
  694. if Thicken == true then
  695. ExtraSize = ((DISTANCE-E)/25)/i
  696. end
  697. local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
  698. PART.Color = Color
  699. MakeForm(PART,"Cyl")
  700. if LASTBRANCH == nil then
  701. 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)
  702. else
  703. 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)
  704. end
  705. LASTBRANCH = PART
  706. end
  707. end
  708. end
  709. end
  710. if Dissapear == true then
  711. coroutine.resume(coroutine.create(function()
  712. for i = 1, FadeTime do
  713. Swait()
  714. for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
  715. if c.ClassName == "Part" then
  716. c.Transparency = c.Transparency + (i/FadeTime)/10
  717. end
  718. end
  719. end
  720. LIGHTNINGMODEL:remove()
  721. end))
  722. elseif Dissapear == false then
  723. Debris:AddItem(LIGHTNINGMODEL,0.1)
  724. end
  725. return {Hit = HIT,Pos = HITPOS,End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
  726. end
  727. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  728. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  729. wave.Color = COLOR
  730. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  731. wave.CFrame = CFRAME
  732. coroutine.resume(coroutine.create(function(PART)
  733. for i = 1, WAIT do
  734. Swait()
  735. mesh.Scale = mesh.Scale + GROW
  736. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  737. if DOESROT == true then
  738. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  739. end
  740. wave.Transparency = wave.Transparency + (0.5/WAIT)
  741. if wave.Transparency > 0.99 then
  742. wave:remove()
  743. end
  744. end
  745. end))
  746. end
  747.  
  748. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  749. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  750. wave.Color = COLOR
  751. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0,0,0))
  752. wave.CFrame = CFRAME
  753. coroutine.resume(coroutine.create(function(PART)
  754. for i = 1, WAIT do
  755. Swait()
  756. mesh.Scale = mesh.Scale + GROW
  757. wave.Transparency = wave.Transparency + (1/WAIT)
  758. if wave.Transparency > 0.99 then
  759. wave:remove()
  760. end
  761. end
  762. end))
  763. end
  764. function MakeForm(PART,TYPE)
  765. if TYPE == "Cyl" then
  766. local MSH = IT("BlockMesh",PART)
  767. elseif TYPE == "Ball" then
  768. local MSH = IT("SpecialMesh",PART)
  769. MSH.MeshType = "Sphere"
  770. elseif TYPE == "Cyl2" then
  771. local MSH = IT("CylinderMesh",PART)
  772. elseif TYPE == "Wedge" then
  773. local MSH = IT("SpecialMesh",PART)
  774. MSH.MeshType = "Wedge"
  775. end
  776. end
  777.  
  778. function SpawnTrail(FROM,TO,BIG)
  779. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Light gray", "Trail", VT(0,0,0))
  780. MakeForm(TRAIL,"Cyl")
  781. local DIST = (FROM - TO).Magnitude
  782. if BIG == true then
  783. TRAIL.Size = VT(0.5,DIST,0.5)
  784. else
  785. TRAIL.Size = VT(0.25,DIST,0.25)
  786. end
  787. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  788. coroutine.resume(coroutine.create(function()
  789. for i = 1, 5 do
  790. Swait()
  791. TRAIL.Transparency = TRAIL.Transparency + 0.1
  792. end
  793. TRAIL:remove()
  794. end))
  795. end
  796.  
  797. Debris = game:GetService("Debris")
  798.  
  799. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  800. local DIRECTION = CF(StartPos,EndPos).lookVector
  801. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  802. end
  803.  
  804. function turnto(position)
  805. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  806. end
  807.  
  808. --//=================================\\
  809. --|| WEAPON CREATION
  810. --\\=================================//
  811. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false)
  812. PRT.Color = C3(0,0,0)
  813. local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
  814. CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
  815. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Scarf", VT(0,0,0),false)
  816. PRT.Color = C3(0,0,0)
  817. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0.05,0.4,-0.1) * ANGLES(RAD(-3), RAD(0), RAD(0)), CF(0, 0, 0))
  818. CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
  819. for i = 1, 16 do
  820. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/16.2, "Dark stone grey", "FaceGradient", VT(1.01,0.65,1.01),false)
  821. FACE.Color = C3(0,0,0)
  822. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  823. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.45-(i-1)/25,0), CF(0, 0, 0))
  824. end
  825. local EYE = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eyeball", VT(0.15,0.15,0.15),false)
  826. MakeForm(EYE,"Ball")
  827. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0.15,0.26,-0.55), CF(0, 0, 0))
  828. local EYE2 = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eyeball", VT(0.15,0.15,0.15),false)
  829. MakeForm(EYE2,"Ball")
  830. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE2, CF(-0.15,0.26,-0.55), CF(0, 0, 0))
  831. local LASTPART = Head
  832. for i = 1, 20 do
  833. local MATH = (1-(i/25))
  834. if LASTPART == Head then
  835. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  836. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
  837. LASTPART = Horn
  838. Horn.Color = C3((i*3-3)/255,0,0)
  839. else
  840. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  841. 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))
  842. LASTPART = Horn
  843. Horn.Color = C3((i*3-3)/255,0,0)
  844. end
  845. end
  846. local LASTPART = Head
  847. for i = 1, 20 do
  848. local MATH = (1-(i/25))
  849. if LASTPART == Head then
  850. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  851. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
  852. LASTPART = Horn
  853. Horn.Color = C3((i*3-3)/0,0,204)
  854. else
  855. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  856. 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))
  857. LASTPART = Horn
  858. Horn.Color = C3((i*3-3)/0,0,204)
  859. end
  860. end
  861.  
  862.  
  863. local Particle = IT("ParticleEmitter",nil)
  864. Particle.Enabled = false
  865. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  866. Particle.LightEmission = 1
  867. Particle.Rate = 200
  868. Particle.ZOffset = 0.2
  869. Particle.Rotation = NumberRange.new(-180, 180)
  870. Particle.RotSpeed = NumberRange.new(-180, 180)
  871. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  872. Particle.Color = ColorSequence.new(C3(0,0,255),C3(0,0,204))
  873.  
  874. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  875. function ParticleEmitter(Table)
  876. local PRTCL = Particle:Clone()
  877. local Speed = Table.Speed or 5
  878. local Drag = Table.Drag or 0
  879. local Size1 = Table.Size1 or 1
  880. local Size2 = Table.Size2 or 5
  881. local Lifetime1 = Table.Lifetime1 or 1
  882. local Lifetime2 = Table.Lifetime2 or 1.5
  883. local Parent = Table.Parent or Torso
  884. local Emit = Table.Emit or 100
  885. local Offset = Table.Offset or 360
  886. local Acel = Table.Acel or VT(0,0,0)
  887. local Enabled = Table.Enabled or false
  888. PRTCL.Parent = Parent
  889. PRTCL.Size = NumberSequence.new(Size1,Size2)
  890. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  891. PRTCL.Speed = NumberRange.new(Speed)
  892. PRTCL.VelocitySpread = Offset
  893. PRTCL.Drag = Drag
  894. PRTCL.Acceleration = Acel
  895. if Enabled == false then
  896. PRTCL:Emit(Emit)
  897. Debris:AddItem(PRTCL,Lifetime2)
  898. else
  899. PRTCL.Enabled = true
  900. end
  901. return PRTCL
  902. end
  903.  
  904.  
  905. local Handle = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.2,0.6,0.2),false)
  906. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  907. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.2,0.5,0.2),false)
  908. MakeForm(Part,"Wedge")
  909. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  910. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.2,0.3,0.2),false)
  911. MakeForm(Part,"Wedge")
  912. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  913. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.3,0.3,0.3),false)
  914. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  915. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.3,0.5,0.5),false)
  916. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  917. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.4,0.4,0.4),false)
  918. MakeForm(Part,"Cyl")
  919. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  920. for i = 1, 8 do
  921. local Piece = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Eye", VT(0,0.35,0.41),false)
  922. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  923. end
  924. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Eye", VT(0.38,0.41,0.38),false)
  925. MakeForm(Part,"Cyl")
  926. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  927. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.37,0.5,0.37),false)
  928. MakeForm(Part,"Ball")
  929. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  930. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.2,0.7,0.4),false)
  931. MakeForm(Part,"Wedge")
  932. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  933. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.3,0.4,0.2),false)
  934. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  935. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.35,0.35,0.35),false)
  936. MakeForm(Part,"Cyl")
  937. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  938. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.5,0.1,0.5),false)
  939. MakeForm(Part,"Cyl")
  940. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  941. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.5,0.1,0.45),false)
  942. MakeForm(Part,"Cyl")
  943. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  944. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.2,0.5,0.2),false)
  945. MakeForm(Part,"Wedge")
  946. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  947. local LASTPART = Handle
  948. for i = 1, 10 do
  949. if LASTPART == Handle then
  950. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.1,0.2,0),false)
  951. LASTPART = Part
  952. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  953. else
  954. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.1,0.05,0),false)
  955. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  956. LASTPART = Part
  957. end
  958. end
  959.  
  960. local Barrel = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.15,2,0.15),false)
  961. MakeForm(Barrel,"Cyl")
  962. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  963. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.25,1,0.25),false)
  964. MakeForm(Part,"Cyl")
  965. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  966. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0,0.1,0.2),false)
  967. MakeForm(Part,"Wedge")
  968. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  969. local Hole = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Eye", VT(0.125,0,0.125),false)
  970. MakeForm(Hole,"Cyl")
  971. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  972. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0,0,0),false)
  973. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  974. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  975. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0.5, "Light gray", "Eye", VT(0,0,0),false)
  976. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  977. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  978. coroutine.resume(coroutine.create(function()
  979. while wait() do
  980. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  981. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  982. end
  983. end))
  984.  
  985. 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)})
  986. --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)})
  987.  
  988. for _, c in pairs(Weapon:GetDescendants()) do
  989. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  990. c.Material = "Glass"
  991. c.Color = C3(0,0,0)
  992. elseif c.ClassName == "Part" and c.Name == "Eye" then
  993. c.Color = C3(0,0,0)
  994. c.Material = "Neon"
  995. end
  996. end
  997.  
  998. Weapon.Parent = Character
  999. for _, c in pairs(Weapon:GetChildren()) do
  1000. if c.ClassName == "Part" then
  1001. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1002. end
  1003. end
  1004.  
  1005. local BODY = {}
  1006. for _, c in pairs(Character:GetDescendants()) do
  1007. if c:IsA("BasePart") and c.Name ~= "Handle" then
  1008. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  1009. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1010. end
  1011. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  1012. elseif c:IsA("JointInstance") then
  1013. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  1014. end
  1015. end
  1016. for e = 1, #BODY do
  1017. if BODY[e] ~= nil then
  1018. local STUFF = BODY[e]
  1019. local PART = STUFF[1]
  1020. local PARENT = STUFF[2]
  1021. local MATERIAL = STUFF[3]
  1022. local COLOR = STUFF[4]
  1023. local TRANSPARENCY = STUFF[5]
  1024. if PART.ClassName == "Part" and PART ~= RootPart then
  1025. PART.Material = MATERIAL
  1026. PART.Color = COLOR
  1027. PART.Transparency = TRANSPARENCY
  1028. end
  1029. PART.AncestryChanged:Connect(function()
  1030. PART.Parent = PARENT
  1031. end)
  1032. end
  1033. end
  1034. function refit()
  1035. Character.Parent = workspace
  1036. for e = 1, #BODY do
  1037. if BODY[e] ~= nil then
  1038. local STUFF = BODY[e]
  1039. local PART = STUFF[1]
  1040. local PARENT = STUFF[2]
  1041. local MATERIAL = STUFF[3]
  1042. local COLOR = STUFF[4]
  1043. local TRANSPARENCY = STUFF[5]
  1044. if PART:IsA("BasePart") and PART ~= RootPart then
  1045. PART.Material = MATERIAL
  1046. PART.Color = COLOR
  1047. PART.Transparency = TRANSPARENCY+EXTRATRANS
  1048. end
  1049. if PART.Parent ~= PARENT then
  1050. Humanoid:remove()
  1051. PART.Parent = PARENT
  1052. Humanoid = IT("Humanoid",Character)
  1053. end
  1054. end
  1055. end
  1056. end
  1057.  
  1058. Humanoid.Died:connect(function()
  1059. refit()
  1060. end)
  1061.  
  1062. local SKILLTEXTCOLOR = C3(0,0,0)
  1063. local SKILLFONT = "Antique"
  1064. local SKILLTEXTSIZE = 7
  1065.  
  1066. Humanoid.Died:connect(function()
  1067. ATTACK = true
  1068. end)
  1069. 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")
  1070. 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")
  1071. 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")
  1072. 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")
  1073. 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")
  1074. 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")
  1075.  
  1076. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Darkness", SKILLTEXTCOLOR, SKILLTEXTSIZE-1, SKILLFONT, 0, 2, 0.7, "Text 1")
  1077. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Death", SKILLTEXTCOLOR, SKILLTEXTSIZE-1, SKILLFONT, 0, 2, 0.7, "Text 2")
  1078. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Break", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  1079. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Madness", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  1080. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[Q] Warp", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 6")
  1081. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE+1, SKILLFONT, 0, 2, 1, "Text 5")
  1082. function printbye(Name)
  1083. 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, "}
  1084. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1085. end
  1086.  
  1087. workspace.ChildAdded:connect(function(instance)
  1088. for BANISH = 1, #TOBANISH do
  1089. if TOBANISH[BANISH] ~= nil then
  1090. if instance.Name == TOBANISH[BANISH] then
  1091. coroutine.resume(coroutine.create(function()
  1092. printbye(instance.Name)
  1093. instance:ClearAllChildren()
  1094. Debris:AddItem(instance,0.0005)
  1095. end))
  1096. end
  1097. end
  1098. end
  1099. end)
  1100.  
  1101. --//=================================\\
  1102. --|| DAMAGING
  1103. --\\=================================//
  1104.  
  1105. function dealdamage(hit,min,max,maxstrength,beserk,critrate,critmultiplier)
  1106. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent:FindFirstChild("HitBy"..Player.Name) == nil then
  1107. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  1108. local dmg = math.random(min,max)
  1109. if humanoid.Health > 0 then
  1110. if beserk == true then
  1111. humanoid.Health = 0
  1112. else
  1113. CreateSound("260430060", hit, 1.2, MRANDOM(7, 12) / 10)
  1114. hit.Velocity = CFrame.new(Torso.Position,hit.Position).lookVector*5*maxstrength
  1115. if math.random(1,100) < critrate+1 then
  1116. humanoid.Health = humanoid.Health - dmg*critmultiplier
  1117. StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  1118. else
  1119. humanoid.Health = humanoid.Health - dmg
  1120. StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), dmg, C3(0, 0, 0))
  1121. end
  1122. local defence = Instance.new("BoolValue",hit.Parent)
  1123. defence.Name = ("HitBy"..Player.Name)
  1124. game:GetService("Debris"):AddItem(defence, 0.5)
  1125. end
  1126. end
  1127. end
  1128. end
  1129.  
  1130. function AoEDamage(position,radius,min,max,maxstrength,beserk,critrate,critmultiplier,CanBeDodgedByJumping)
  1131. local dmg = math.random(min,max)
  1132. for i,v in ipairs(workspace:GetChildren()) do
  1133. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  1134. local body = v:GetChildren()
  1135. for part = 1, #body do
  1136. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1137. if(body[part].Position - position).Magnitude < radius then
  1138. if v.ClassName == "Model" then
  1139. if v:FindFirstChild("Humanoid") then
  1140. if v.Humanoid.Health ~= 0 then
  1141. if CanBeDodgedByJumping == true then
  1142. if body[part].Position.Y < position.Y+5 then
  1143. if math.random(1,100) < critrate+1 then
  1144. v.Humanoid.Health = v.Humanoid.Health - dmg*critmultiplier
  1145. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  1146. else
  1147. v.Humanoid.Health = v.Humanoid.Health - dmg
  1148. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
  1149. end
  1150. local defence = Instance.new("BoolValue",v)
  1151. defence.Name = ("HitBy"..Player.Name)
  1152. game:GetService("Debris"):AddItem(defence, 0.5)
  1153. end
  1154. else
  1155. if beserk == true then
  1156. v.Humanoid.Health = 0
  1157. end
  1158. if math.random(1,100) < critrate+1 then
  1159. v.Humanoid.Health = v.Humanoid.Health - dmg*critmultiplier
  1160. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  1161. else
  1162. v.Humanoid.Health = v.Humanoid.Health - dmg
  1163. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
  1164. end
  1165. local defence = Instance.new("BoolValue",v)
  1166. defence.Name = ("HitBy"..Player.Name)
  1167. game:GetService("Debris"):AddItem(defence, 0.5)
  1168. end
  1169. end
  1170. end
  1171. end
  1172. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1173. end
  1174. end
  1175. end
  1176. if v.ClassName == "Part" then
  1177. if v.Anchored == false and (v.Position - position).Magnitude < radius then
  1178. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  1179. end
  1180. end
  1181. end
  1182. end
  1183. end
  1184.  
  1185. function attractnearest(postype,position,range,maxstrength,last)
  1186. if postype == "Vector" then
  1187. for i,v in ipairs(workspace:GetChildren()) do
  1188. local body = v:GetChildren()
  1189. for part = 1, #body do
  1190. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1191. if(body[part].Position - position).Magnitude < range then
  1192. if body[part]:FindFirstChild("ATTRACT") == nil then
  1193. local bv = Instance.new("BodyVelocity")
  1194. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1195. bv.velocity = CF(body[part].Position,position).lookVector*maxstrength
  1196. bv.Parent = body[part]
  1197. bv.Name = "ATTRACT"
  1198. else
  1199. coroutine.resume(coroutine.create(function()
  1200. for i = 1, last/5 do
  1201. Swait(5)
  1202. body[part].ATTRACT.velocity = CF(body[part].Position,position).lookVector*maxstrength
  1203. end
  1204. body[part].ATTRACT:remove()
  1205. end))
  1206. end
  1207. end
  1208. end
  1209. end
  1210. if v.ClassName == "Part" then
  1211. if v.Anchored == false and (v.Position - position).Magnitude < range then
  1212. if v:FindFirstChild("ATTRACT") == nil then
  1213. local bv = Instance.new("BodyVelocity")
  1214. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1215. bv.velocity = CF(v.Position,position).lookVector*maxstrength
  1216. bv.Parent = v
  1217. bv.Name = "ATTRACT"
  1218. else
  1219. coroutine.resume(coroutine.create(function()
  1220. for i = 1, last/5 do
  1221. Swait(5)
  1222. v.ATTRACT.velocity = CF(v.Position,position).lookVector*maxstrength
  1223. end
  1224. v.ATTRACT:remove()
  1225. end))
  1226. end
  1227. end
  1228. end
  1229. end
  1230. elseif postype == "Part" then
  1231. for i,v in ipairs(workspace:GetChildren()) do
  1232. local body = v:GetChildren()
  1233. for part = 1, #body do
  1234. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1235. if(body[part].Position - position.Position).Magnitude < range then
  1236. if body[part]:FindFirstChild("ATTRACT") == nil then
  1237. local bv = Instance.new("BodyVelocity")
  1238. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1239. bv.velocity = CF(body[part].Position,position.Position).lookVector*maxstrength
  1240. bv.Parent = body[part]
  1241. bv.Name = "ATTRACT"
  1242. else
  1243. coroutine.resume(coroutine.create(function()
  1244. for i = 1, last/5 do
  1245. Swait(5)
  1246. body[part].ATTRACT.velocity = CF(body[part].Position,position.Position).lookVector*maxstrength
  1247. end
  1248. body[part].ATTRACT:remove()
  1249. end))
  1250. end
  1251. end
  1252. end
  1253. end
  1254. if v.ClassName == "Part" then
  1255. if v.Anchored == false and (v.Position - position.Position).Magnitude < range then
  1256. if v:FindFirstChild("ATTRACT") == nil then
  1257. local bv = Instance.new("BodyVelocity")
  1258. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1259. bv.velocity = CF(v.Position,position.Position).lookVector*maxstrength
  1260. bv.Parent = v
  1261. bv.Name = "ATTRACT"
  1262. else
  1263. coroutine.resume(coroutine.create(function()
  1264. for i = 1, last/5 do
  1265. Swait(5)
  1266. v.ATTRACT.velocity = CF(v.Position,position.Position).lookVector*maxstrength
  1267. end
  1268. v.ATTRACT:remove()
  1269. end))
  1270. end
  1271. end
  1272. end
  1273. end
  1274. end
  1275. end
  1276.  
  1277. function killnearest(position,range,maxstrength,candestroy)
  1278. for i,v in ipairs(workspace:GetChildren()) do
  1279. local body = v:GetChildren()
  1280. for part = 1, #body do
  1281. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1282. if(body[part].Position - position).Magnitude < range then
  1283. if v.ClassName == "Model" then
  1284. v:BreakJoints()
  1285. end
  1286. if candestroy == true then
  1287. table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  1288. end
  1289. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1290. end
  1291. end
  1292. end
  1293. if v.ClassName == "Part" then
  1294. if v.Anchored == false and (v.Position - position).Magnitude < range then
  1295. if candestroy == true then
  1296. table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  1297. end
  1298. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  1299. end
  1300. end
  1301. end
  1302. end
  1303.  
  1304.  
  1305.  
  1306. local asd = Instance.new("ParticleEmitter")
  1307. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  1308. asd.LightEmission = .1
  1309. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  1310. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  1311. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1312. asd.Transparency = bbb
  1313. asd.Size = aaa
  1314. asd.ZOffset = .9
  1315. asd.Acceleration = Vector3.new(0, -15, 0)
  1316. asd.LockedToPart = false
  1317. asd.EmissionDirection = "Back"
  1318. asd.Lifetime = NumberRange.new(1, 2)
  1319. asd.Rotation = NumberRange.new(-100, 100)
  1320. asd.RotSpeed = NumberRange.new(-100, 100)
  1321. asd.Speed = NumberRange.new(10)
  1322. asd.Enabled = false
  1323. asd.VelocitySpread = 999
  1324. function getbloody(victim,amount)
  1325. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  1326. PART.CFrame = victim.CFrame
  1327. local HITPLAYERSOUNDS = {"356551938","264486467"}
  1328. Debris:AddItem(PART,5)
  1329. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1330. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1331. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1332. local prtcl = asd:Clone()
  1333. prtcl.Parent = PART
  1334. prtcl:Emit(amount*10)
  1335. end
  1336. function Banish(Char)
  1337. local NewCharacter = Instance.new("Model",Effects)
  1338. NewCharacter.Name = "Ow im ded ;-;"
  1339. for _, c in pairs(Char:GetDescendants()) do
  1340. if c:IsA("BasePart") and c.Transparency == 0 then
  1341. if c.Parent == Char then
  1342. getbloody(c,5)
  1343. end
  1344. c:BreakJoints()
  1345. c.Material = "Glass"
  1346. c.Color = C3(0.5,0,0)
  1347. c.CanCollide = true
  1348. c.Transparency = 0.3
  1349. if c:FindFirstChildOfClass("SpecialMesh") then
  1350. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1351. end
  1352. if c.Name == "Head" then
  1353. c:ClearAllChildren()
  1354. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1355. end
  1356. if c.ClassName == "MeshPart" then
  1357. c.TextureID = ""
  1358. end
  1359. if c:FindFirstChildOfClass("BodyPosition") then
  1360. c:FindFirstChildOfClass("BodyPosition"):remove()
  1361. end
  1362. if c:FindFirstChildOfClass("ParticleEmitter") then
  1363. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1364. end
  1365. c.Parent = NewCharacter
  1366. c.Name = "DeadPart"
  1367. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1368. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1369. end
  1370. end
  1371. Char:remove()
  1372. Debris:AddItem(NewCharacter,5)
  1373. end
  1374.  
  1375. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1376. local CHILDREN = workspace:GetDescendants()
  1377. for index, CHILD in pairs(CHILDREN) do
  1378. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1379. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1380. if HUM then
  1381. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1382. if TORSO then
  1383. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1384. if ISBANISH == true then
  1385. Banish(CHILD)
  1386. else
  1387. if ISBANISH == "Gravity" then
  1388. HUM.PlatformStand = true
  1389. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1390. local grav = Instance.new("BodyPosition",TORSO)
  1391. grav.D = 15
  1392. grav.P = 20000
  1393. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1394. grav.position = TORSO.Position
  1395. grav.Name = "V3BanishForce"..Player.Name
  1396. else
  1397. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1398. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1399. end
  1400. else
  1401. HUM.PlatformStand = false
  1402. end
  1403. end
  1404. elseif ISBANISH == "Gravity" then
  1405. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1406. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1407. HUM.PlatformStand = false
  1408. end
  1409. end
  1410. end
  1411. end
  1412. end
  1413. end
  1414. end
  1415. function ApplyKill(POSITION,RANGE,BRUTAL)
  1416. local CHILDREN = workspace:GetDescendants()
  1417. for index, CHILD in pairs(CHILDREN) do
  1418. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1419. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1420. if HUM then
  1421. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1422. if TORSO then
  1423. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1424. if BRUTAL == true then
  1425. Banish(CHILD)
  1426. else
  1427. CHILD:BreakJoints()
  1428. end
  1429. end
  1430. end
  1431. end
  1432. end
  1433. end
  1434. end
  1435. --//=================================\\
  1436. --|| ATTACK FUNCTIONS AND STUFF
  1437. --\\=================================//
  1438.  
  1439. function WarpSpear()
  1440. ATTACK = true
  1441. for i=0, 1.5, 0.1 / Animation_Speed do
  1442. Swait()
  1443. turnto(Mouse.Hit.p)
  1444. 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)
  1445. 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)
  1446. 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)
  1447. 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)
  1448. 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)
  1449. 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)
  1450. end
  1451. local spear = IT("Part",Effects)
  1452. spear.Anchored = true
  1453. spear.CanCollide = false
  1454. spear.Shape = "Ball"
  1455. spear.Size = VT(0,0,0)
  1456. spear.Material = "Neon"
  1457. spear.Transparency = 0.2
  1458. spear.BrickColor = BRICKC("Institutional white")
  1459. spear.CFrame = RightArm.CFrame * CF(0,-4,0)
  1460. local inner = spear:Clone()
  1461. inner.Parent = spear
  1462. inner.Size = VT(0,0,0)
  1463. inner.BrickColor = BRICKC("Institutional white")
  1464. inner.CFrame = spear.CFrame
  1465. for i = 1, 5 do
  1466. Swait()
  1467. turnto(Mouse.Hit.p)
  1468. spear.CFrame = RightArm.CFrame * CF(0,-4,0)
  1469. inner.CFrame = spear.CFrame
  1470. spear.Size = spear.Size + VT(0.4,0.4,0.4)
  1471. inner.Size = inner.Size + VT(0.35,0.35,0.35)
  1472. end
  1473. MagicSphere(25,25,RightArm.CFrame*CF(0,-1,0),"Institutional white")
  1474. MagicSphere(20,25,RightArm.CFrame*CF(0,-1,0),"Institutional white")
  1475. CreateSound(CUTSOUNDS[MRANDOM(1, #CUTSOUNDS)], RightArm, 6, 1)
  1476. local bv = Instance.new("BodyVelocity")
  1477. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1478. bv.velocity = CF(spear.Position,Mouse.Hit.p).lookVector*100
  1479. bv.Parent = spear
  1480. bv.Name = "MOVE"
  1481. weldBetween(spear,inner)
  1482. spear.Anchored = false
  1483. inner.Anchored = false
  1484. local HIT = false
  1485. local harm = spear.Touched:Connect(function(hit)
  1486. if HIT == false and hit.Parent ~= Character and hit.Parent ~= Weapon and hit.Parent ~= Effects then
  1487. local cframe = spear.CFrame
  1488. HIT = true
  1489. coroutine.resume(coroutine.create(function()
  1490. spear.Parent = nil
  1491. RootPart.CFrame = CF(spear.Position,Mouse.Hit.p)
  1492. coroutine.resume(coroutine.create(function()
  1493. CreateSound(RELEASESOUND, Effects, 2, 1.5)
  1494. MagicSphere(30,105,cframe,"Institutional white")
  1495. MagicSphere(25,105,cframe,"Institutional white")
  1496. for i = 1, 15 do
  1497. Swait()
  1498. killnearest(cframe.p,7.5,150)
  1499. end
  1500. end))
  1501. end))
  1502. end
  1503. end)
  1504. coroutine.resume(coroutine.create(function()
  1505. Swait(75)
  1506. if HIT == false then
  1507. local cframe = spear.CFrame
  1508. HIT = true
  1509. coroutine.resume(coroutine.create(function()
  1510. spear.Parent = nil
  1511. RootPart.CFrame = CF(spear.Position,Mouse.Hit.p)
  1512. coroutine.resume(coroutine.create(function()
  1513. CreateSound(RELEASESOUND, Effects, 2, 1.5)
  1514. MagicSphere(30,105,cframe,"Institutional white")
  1515. MagicSphere(25,105,cframe,"Institutional white")
  1516. for i = 1, 15 do
  1517. Swait()
  1518. killnearest(cframe.p,7.5,150)
  1519. end
  1520. end))
  1521. end))
  1522. end
  1523. end))
  1524. coroutine.resume(coroutine.create(function()
  1525. local loop = 0
  1526. repeat
  1527. Swait()
  1528. loop = loop + 1
  1529. if loop == 4 then
  1530. MagicSphere(25,15,spear.CFrame,"Institutional white")
  1531. end
  1532. if loop == 7 then
  1533. loop = 0
  1534. MagicSphere(25,15,spear.CFrame,"Institutional white")
  1535. end
  1536. attractnearest("Part",spear,12.5,50,5)
  1537. until spear.Parent == nil
  1538. end))
  1539. ATTACK = false
  1540. end
  1541.  
  1542. function Kill(Foe)
  1543. if Foe then
  1544. coroutine.resume(coroutine.create(function()
  1545. --if game.Players:FindFirstChild(Foe.Name) then
  1546. table.insert(TOBANISH,Foe.Name)
  1547. printbye(Foe.Name)
  1548. --end
  1549. Foe.Archivable = true
  1550. local CLONE = Foe:Clone()
  1551. Foe:Destroy()
  1552. CLONE.Parent = Effects
  1553. CLONE:BreakJoints()
  1554. local MATERIALS = {"Glass","Neon"}
  1555. for _, c in pairs(CLONE:GetDescendants()) do
  1556. if c:IsA("BasePart") then
  1557. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1558. CreateSound(340722848, c, 10, 1, false)
  1559. end
  1560. c.Anchored = true
  1561. c.Transparency = c.Transparency + 0.2
  1562. c.Material = MATERIALS[MRANDOM(1,2)]
  1563. c.Color = C3(0,0,0)
  1564. if c.ClassName == "MeshPart" then
  1565. c.TextureID = ""
  1566. end
  1567. if c:FindFirstChildOfClass("SpecialMesh") then
  1568. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1569. end
  1570. if c:FindFirstChildOfClass("Decal") then
  1571. c:FindFirstChildOfClass("Decal"):remove()
  1572. end
  1573. c.Name = "Banished"
  1574. c.CanCollide = false
  1575. else
  1576. c:remove()
  1577. end
  1578. end
  1579. local A = false
  1580. for i = 1, 35 do
  1581. if A == false then
  1582. A = true
  1583. elseif A == true then
  1584. A = false
  1585. end
  1586. for _, c in pairs(CLONE:GetDescendants()) do
  1587. if c:IsA("BasePart") then
  1588. c.Anchored = true
  1589. c.Material = MATERIALS[MRANDOM(1,2)]
  1590. c.Transparency = c.Transparency + 0.8/35
  1591. if A == false then
  1592. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1593. elseif A == true then
  1594. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1595. end
  1596. end
  1597. end
  1598. Swait()
  1599. end
  1600. CLONE:remove()
  1601. end))
  1602. end
  1603. end
  1604.  
  1605. function Madness()
  1606. ATTACK = true
  1607. Rooted = false
  1608. local GYRO = IT("BodyGyro",RootPart)
  1609. GYRO.D = 750
  1610. GYRO.P = 20000
  1611. GYRO.MaxTorque = VT(0,40000000,0)
  1612. local LOCKED = true
  1613. local SHOT = false
  1614. coroutine.resume(coroutine.create(function()
  1615. for i=0, 1, 0.1 / Animation_Speed do
  1616. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  1617. Swait()
  1618. 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)
  1619. 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)
  1620. 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)
  1621. 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)
  1622. end
  1623. LOCKED = false
  1624. SHOT = true
  1625. repeat
  1626. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  1627. Swait()
  1628. 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)
  1629. 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)
  1630. 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)
  1631. 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)
  1632. until HOLD == false and SHOT == false
  1633. for i=0, 0.3, 0.1 / Animation_Speed do
  1634. Swait()
  1635. 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)
  1636. 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)
  1637. 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)
  1638. 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)
  1639. end
  1640. GYRO:remove()
  1641. ATTACK = false
  1642. Rooted = false
  1643. end))
  1644. repeat wait() until LOCKED == false
  1645. repeat
  1646. SHOT = true
  1647. wait(0.2)
  1648. SHOT = false
  1649. 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})
  1650. local HIT = BULLET.Hit
  1651. local HITPOS = BULLET.End
  1652. if HIT then
  1653. if HIT.Parent:FindFirstChildOfClass("Humanoid") then
  1654. Kill(HIT.Parent)
  1655. end
  1656. end
  1657. 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})
  1658. 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})
  1659. 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})
  1660. 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})
  1661. 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})
  1662. 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})
  1663. 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})
  1664. 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})
  1665. 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})
  1666. until HOLD == false
  1667. end
  1668.  
  1669. function Banisher_Bullet()
  1670. ATTACK = true
  1671. Rooted = false
  1672. for i=0, 0.4, 0.1 / Animation_Speed do
  1673. Swait()
  1674. turnto(Mouse.Hit.p)
  1675. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1676. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1677. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1678. end
  1679. repeat
  1680. for i=0, 0.2, 0.1 / Animation_Speed do
  1681. Swait()
  1682. turnto(Mouse.Hit.p)
  1683. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1684. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1685. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1686. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1687. end
  1688. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1689. SpawnTrail(Hole.Position,POS)
  1690. if HIT ~= nil then
  1691. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1692. Banish(HIT.Parent)
  1693. end
  1694. end
  1695. 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})
  1696. 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})
  1697. 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})
  1698. 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})
  1699. for i=0, 0.3, 0.1 / Animation_Speed do
  1700. Swait()
  1701. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1702. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1703. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1704. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1705. end
  1706. until KEYHOLD == false
  1707. ATTACK = false
  1708. Rooted = false
  1709. end
  1710.  
  1711. function AttackTemplate()
  1712. ATTACK = true
  1713. Rooted = false
  1714. for i=0, 1, 0.1 / Animation_Speed do
  1715. Swait()
  1716. 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)
  1717. 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)
  1718. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1719. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1720. 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)
  1721. 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)
  1722. end
  1723. ATTACK = false
  1724. Rooted = false
  1725. end
  1726.  
  1727. function HI()
  1728. ATTACK = true
  1729. Rooted = false
  1730. local LOOP = 0
  1731. for i=0, 0.1, 0.1 / Animation_Speed do
  1732. Swait()
  1733. 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)
  1734. 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)
  1735. 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)
  1736. 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)
  1737. end
  1738. for i=0, 3, 0.1 / Animation_Speed do
  1739. Swait()
  1740. LOOP = LOOP + 1
  1741. 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)
  1742. 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)
  1743. 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)
  1744. 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)
  1745. end
  1746. for i=0, 0.1, 0.1 / Animation_Speed do
  1747. Swait()
  1748. 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)
  1749. 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)
  1750. 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)
  1751. 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)
  1752. end
  1753. ATTACK = false
  1754. Rooted = false
  1755. end
  1756.  
  1757. function Mercy()
  1758. ATTACK = true
  1759. Rooted = true
  1760. local SPOTS = {}
  1761. for i = 1, 15 do
  1762. Swait()
  1763. 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)
  1764. 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)
  1765. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  1766. 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)
  1767. end
  1768. 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})
  1769. for i=0, 0.5, 0.1 / Animation_Speed do
  1770. Swait()
  1771. 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)
  1772. 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)
  1773. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1774. 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)
  1775. end
  1776. local HITFLOOR,HITPOS = Raycast(Mouse.Hit.p+VT(0,1,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 150, Character)
  1777. table.insert(SPOTS,HITPOS)
  1778. CreateSound(145080998, Hole, 2, 1, false)
  1779. 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})
  1780. coroutine.resume(coroutine.create(function()
  1781. local POS = Mouse.Hit.p
  1782. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Strike", VT(0,0,0))
  1783. MakeForm(RAY,"Cyl")
  1784. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Strike", VT(0,0,0))
  1785. MakeForm(SPHERE,"Ball")
  1786. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Strike", VT(0,0,0))
  1787. MakeForm(SHIELD,"Ball")
  1788. SHIELD.CFrame = CF(POS)
  1789. RAY.CFrame = CF(POS)
  1790. SPHERE.CFrame = CF(POS)
  1791. CreateSound(440145570, SPHERE, 10, 0.8, false)
  1792. CreateSound(415700134, SPHERE, 10, 0.8, false)
  1793. for i = 1, 200 do
  1794. Swait()
  1795. 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})
  1796. 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})
  1797. 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})
  1798. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  1799. SPHERE.Size = SPHERE.Size + VT(0.4,0.4,0.4)
  1800. SHIELD.Size = SPHERE.Size + VT(0.5,0.5,0.5)
  1801. ApplyKill(SPHERE.Position,SPHERE.Size.X/2,true)
  1802. end
  1803. for i = 1, 45 do
  1804. Swait()
  1805. RAY.Transparency = RAY.Transparency + 1/45
  1806. SPHERE.Transparency = RAY.Transparency
  1807. SHIELD.Transparency = SPHERE.Transparency + 1/45
  1808. end
  1809. RAY:remove()
  1810. SHIELD:remove()
  1811. SPHERE:remove()
  1812. end))
  1813. ATTACK = false
  1814. Rooted = false
  1815. end
  1816.  
  1817. function Teleport()
  1818. ATTACK = true
  1819. Rooted = false
  1820. for i=0, 0.5, 0.1 / Animation_Speed do
  1821. Swait()
  1822. 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)
  1823. 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)
  1824. end
  1825. for e = 1, #BODY do
  1826. if BODY[e] ~= nil then
  1827. local STUFF = BODY[e]
  1828. local PART = STUFF[1]
  1829. if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
  1830. local PRT = PART:Clone()
  1831. PRT.Anchored = true
  1832. PRT.CanCollide = false
  1833. PRT.Material = "Neon"
  1834. PRT.Color = C3(0,0,204)
  1835. PRT.Name = "WarpEffect"
  1836. PRT.Parent = Effects
  1837. PRT.CFrame = PART.CFrame
  1838. PRT:BreakJoints()
  1839. if PRT:FindFirstChildOfClass("Sound") then
  1840. PRT:FindFirstChildOfClass("Sound"):remove()
  1841. end
  1842. if PRT:FindFirstChildOfClass("Decal") then
  1843. PRT:FindFirstChildOfClass("Decal"):remove()
  1844. end
  1845. coroutine.resume(coroutine.create(function()
  1846. for i = 1, 100 do
  1847. Swait()
  1848. PRT.Transparency = PRT.Transparency + 1/100
  1849. end
  1850. PRT:remove()
  1851. end))
  1852. end
  1853. end
  1854. end
  1855. CreateSound(654422659, Torso, 10, 1)
  1856. local POS = RootPart.Orientation
  1857. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
  1858. RootPart.Orientation = POS
  1859. RootJoint.Parent = RootPart
  1860. for i=0, 0.5, 0.1 / Animation_Speed do
  1861. Swait()
  1862. 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)
  1863. 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)
  1864. end
  1865. for i=0, 0.1, 0.1 / Animation_Speed do
  1866. Swait()
  1867. 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)
  1868. end
  1869. ATTACK = false
  1870. Rooted = false
  1871. end
  1872. function killnearest(position,range,maxstrength,BRUTAL,RANGE)
  1873. for i,v in ipairs(workspace:GetChildren()) do
  1874. local body = v:GetChildren()
  1875. for part = 1, #body do
  1876. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1877. if(body[part].Position - position).Magnitude < range then
  1878. if v.ClassName == "Model" then
  1879. v:BreakJoints()
  1880. end
  1881. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  1882. local bv = Instance.new("BodyVelocity")
  1883. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1884. bv.velocity = CF(position,body[part].Position).lookVector*maxstrength
  1885. bv.Parent = body[part]
  1886. Debris:AddItem(bv,0.2)
  1887. end
  1888. end
  1889. end
  1890. if v.ClassName == "Part" then
  1891. if v.Anchored == false and (v.Position - position).Magnitude < range then
  1892. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  1893. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  1894. end
  1895. end
  1896. end
  1897. end
  1898.  
  1899. function Darkness()
  1900. ATTACK = true
  1901. Rooted = true
  1902. local GYRO = IT("BodyGyro",RootPart)
  1903. GYRO.D = 100
  1904. GYRO.P = 2000
  1905. GYRO.MaxTorque = VT(0,4000000,0)
  1906. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1907. CreateSound("429459101", RightArm, 10, 0.8)
  1908. for i=0, 3.5, 0.1 / Animation_Speed do
  1909. Swait()
  1910. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1911. 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})
  1912. 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)
  1913. 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)
  1914. 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)
  1915. 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)
  1916. end
  1917. GYRO:remove()
  1918. for i=0, 0.15, 0.1 / Animation_Speed do
  1919. Swait()
  1920. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1921. 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})
  1922. 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)
  1923. 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)
  1924. 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)
  1925. 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)
  1926. end
  1927. local BOMBSPOTS = {}
  1928. for i = 1, 25 do
  1929. local SPOT = CreatePart(3, Effects, "Neon", 0, 0, "Relly black", "Blade", VT(8,1,8))
  1930. SPOT.Color = SKILLTEXTCOLOR
  1931. SPOT.CFrame = RootPart.CFrame*CF((MRANDOM(-15,15)/40)*i,-5,-i*5)
  1932. table.insert(BOMBSPOTS,SPOT)
  1933. MakeForm(SPOT,"Cyl2")
  1934. end
  1935. for i=0, 0.2, 0.1 / Animation_Speed do
  1936. Swait()
  1937. 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})
  1938. 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)
  1939. 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)
  1940. 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)
  1941. 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)
  1942. end
  1943. ATTACK = false
  1944. Rooted = false
  1945. coroutine.resume(coroutine.create(function()
  1946. Swait(3)
  1947. for i = 1, #BOMBSPOTS do
  1948. if BOMBSPOTS[i] ~= nil then
  1949. local E = BOMBSPOTS[i]
  1950. coroutine.resume(coroutine.create(function()
  1951. local BLADE = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Relly black", "Blade", VT(0,0,0))
  1952. BLADE.Color = SKILLTEXTCOLOR
  1953. CreateMesh("SpecialMesh", BLADE, "FileMesh", "93108071", "", VT(0.6,1,0.4)*3, VT(0,0,0))
  1954. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], BLADE, 4, 0.6)
  1955. BLADE.CFrame = E.CFrame*CF(0,-3,0)*ANGLES(RAD(MRANDOM(-15,15)),RAD(90),RAD(MRANDOM(-15,15)))
  1956. for i = 1, 10 do
  1957. Swait()
  1958. 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})
  1959. killnearest(BLADE.Position,6,80)
  1960. BLADE.CFrame = BLADE.CFrame*CF(0,0.3,0)
  1961. BLADE.Transparency = BLADE.Transparency - 0.1
  1962. end
  1963. Swait(45)
  1964. for i = 1, 100 do
  1965. Swait()
  1966. BLADE.Transparency = BLADE.Transparency + 0.01
  1967. E.Transparency = E.Transparency + 0.01
  1968. end
  1969. BLADE:remove()
  1970. E:remove()
  1971. end))
  1972. end
  1973. end
  1974. end))
  1975. end
  1976. function Death()
  1977. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1978. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1979. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  1980. if TORSO and HUM.Health > 0 then
  1981. ATTACK = true
  1982. Rooted = true
  1983. local GYRO = IT("BodyGyro",RootPart)
  1984. GYRO.D = 175
  1985. GYRO.P = 20000
  1986. GYRO.MaxTorque = VT(0,40000,0)
  1987. for i=0, 1, 0.1 / Animation_Speed do
  1988. Swait()
  1989. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  1990. 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)
  1991. 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)
  1992. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1993. end
  1994. 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})
  1995. 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})
  1996. local MAGIC = ParticleEmitter({Speed = 5, Drag = 3, Size1 = 1.7, Size2 = 0, Lifetime1 = 1, Lifetime2 = 3, Parent = TORSO, Emit = 100, Offset = 360, Enabled = true})
  1997. MAGIC.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
  1998. local grav = Instance.new("BodyPosition",TORSO)
  1999. grav.D = 1500
  2000. grav.P = 20000
  2001. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2002. grav.position = TORSO.Position+VT(0,15,0)
  2003. Debris:AddItem(grav,10)
  2004. Debris:AddItem(MAGIC,10)
  2005. CreateSound(429459101, Torso, 7, 1, false)
  2006. CreateSound(429459101, TORSO, 7, 1, false)
  2007. GYRO:remove()
  2008. ATTACK = false
  2009. Rooted = false
  2010. end
  2011. end
  2012. end
  2013. --//=================================\\
  2014. --|| ASSIGN THINGS TO KEYS
  2015. --\\=================================//
  2016.  
  2017. function MouseDown(Mouse)
  2018. if ATTACK == false then
  2019. end
  2020. end
  2021.  
  2022. function MouseUp(Mouse)
  2023. HOLD = false
  2024. end
  2025.  
  2026. function KeyDown(Key)
  2027. KEYHOLD = true
  2028. if Key == "c" and ATTACK == false then
  2029. Banisher_Bullet()
  2030. end
  2031.  
  2032. if Key == "b" and ATTACK == false then
  2033. Death()
  2034. end
  2035.  
  2036. if Key == "z" and ATTACK == false then
  2037. Darkness()
  2038. end
  2039.  
  2040. if Key == "v" and ATTACK == false then
  2041. Madness()
  2042. end
  2043.  
  2044. if Key == "x" and ATTACK == false then
  2045. Mercy()
  2046. end
  2047.  
  2048. if Key == "q" and ATTACK == false then
  2049. Warp()
  2050. end
  2051.  
  2052. if Key == "f" and ATTACK == false then
  2053. WarpSpear()
  2054. end
  2055.  
  2056. if Key == "t" and ATTACK == false then
  2057. HI()
  2058. end
  2059. end
  2060.  
  2061. function KeyUp(Key)
  2062. KEYHOLD = false
  2063. end
  2064.  
  2065. Mouse.Button1Down:connect(function(NEWKEY)
  2066. MouseDown(NEWKEY)
  2067. end)
  2068. Mouse.Button1Up:connect(function(NEWKEY)
  2069. MouseUp(NEWKEY)
  2070. end)
  2071. Mouse.KeyDown:connect(function(NEWKEY)
  2072. KeyDown(NEWKEY)
  2073. end)
  2074. Mouse.KeyUp:connect(function(NEWKEY)
  2075. KeyUp(NEWKEY)
  2076. end)
  2077.  
  2078. --//=================================\\
  2079. --\\=================================//
  2080.  
  2081.  
  2082. function unanchor()
  2083. if UNANCHOR == true then
  2084. g = Character:GetChildren()
  2085. for i = 1, #g do
  2086. if g[i].ClassName == "Part" then
  2087. g[i].Anchored = false
  2088. end
  2089. end
  2090. end
  2091. end
  2092.  
  2093.  
  2094. --//=================================\\
  2095. --|| WRAP THE WHOLE SCRIPT UP
  2096. --\\=================================//
  2097.  
  2098. Humanoid.Changed:connect(function(Jump)
  2099. if Jump == "Jump" and (Disable_Jump == true) then
  2100. Humanoid.Jump = false
  2101. end
  2102. end)
  2103.  
  2104. local CONNECT = nil
  2105.  
  2106. while true do
  2107. Swait()
  2108. ANIMATE.Parent = nil
  2109. if Character:FindFirstChildOfClass("Humanoid") == nil then
  2110. Humanoid = IT("Humanoid",Character)
  2111. end
  2112. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  2113. v:Stop();
  2114. end
  2115. SINE = SINE + CHANGE
  2116. Humanoid.HipHeight = 1.5
  2117. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2118. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2119. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  2120. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  2121. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2122. elseif TORSOVELOCITY > 1 then
  2123. 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)
  2124. 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)
  2125. 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)
  2126. 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)
  2127. 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)
  2128. 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)
  2129. end
  2130. if TORSOVERTICALVELOCITY > 1 then
  2131. ANIM = "Jump"
  2132. if ATTACK == false then
  2133. 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)
  2134. 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)
  2135. 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)
  2136. 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)
  2137. 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)
  2138. 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)
  2139. end
  2140. elseif TORSOVERTICALVELOCITY < -1 then
  2141. ANIM = "Fall"
  2142. if ATTACK == false then
  2143. 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)
  2144. 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)
  2145. 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)
  2146. 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)
  2147. 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)
  2148. 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)
  2149. end
  2150. elseif TORSOVELOCITY < 1 then
  2151. ANIM = "Idle"
  2152. if ATTACK == false then
  2153. 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)
  2154. 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)
  2155. 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)
  2156. 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)
  2157. 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)
  2158. 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)
  2159. end
  2160. elseif TORSOVELOCITY > 1 then
  2161. ANIM = "Walk"
  2162. if ATTACK == false then
  2163. 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)
  2164. 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)
  2165. 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)
  2166. 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)
  2167. 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)
  2168. 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)
  2169. end
  2170. end
  2171. unanchor()
  2172. Humanoid.MaxHealth = "inf"
  2173. Humanoid.Health = "inf"
  2174. if Rooted == false then
  2175. Disable_Jump = false
  2176. Humanoid.WalkSpeed = Speed
  2177. elseif Rooted == true then
  2178. Disable_Jump = true
  2179. Humanoid.WalkSpeed = 0
  2180. end
  2181. for _, c in pairs(Character:GetDescendants()) do
  2182. if c == Head then
  2183. if c:FindFirstChild("face") then
  2184. c.face:remove()
  2185. end
  2186. end
  2187. 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))
  2188. sick:resume()
  2189. sick.Volume = 5
  2190. sick.Pitch = 1
  2191. sick.SoundId = "rbxassetid://924339757"
  2192. sick.Name = "BanishV3Music"
  2193. sick.Playing = PLAYSONG
  2194. Humanoid.PlatformStand = false
  2195. Humanoid.Name = "U ar ded"
  2196. refit()
  2197. for _, c in pairs(Character:GetChildren()) do
  2198. if c:IsA("BasePart") and ATTACK == false then
  2199. for _, e in pairs(c:GetChildren()) do
  2200. if e:IsA("ParticleEmitter") or e:IsA("BodyPosition") or e:IsA("BodyGyro") then
  2201. e:remove()
  2202. end
  2203. end
  2204. end
  2205. end
  2206. end
  2207.  
  2208.  
  2209. --//=================================\\
  2210. --\\=================================//
  2211.  
  2212.  
  2213.  
  2214.  
  2215.  
  2216. --//====================================================\\--
  2217. --|| END OF SCRIPT
  2218. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement