Advertisement
cobblecorn

Untitled

Jun 4th, 2018
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 99.32 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 GravityBeam()
  1440. ATTACK = true
  1441. Rooted = true
  1442. for i=0, 1.5, 0.1 / Animation_Speed do
  1443. Swait()
  1444. turnto(Mouse.Hit.p)
  1445. 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)
  1446. 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)
  1447. 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)
  1448. 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)
  1449. 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)
  1450. 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)
  1451. end
  1452. local startpos = RightArm.CFrame*CF(0,-1.5,0).p
  1453. local loop = 0
  1454. local loopsound = CreateSound(CHARGESOUND, RightArm, 10, 1, true)
  1455. local loopsound2 = CreateSound("487214658", Effects, 1, 0, true)
  1456. local pos = nil
  1457. repeat
  1458. if loop < 150 then
  1459. Swait()
  1460. loop = loop + 1
  1461. turnto(Mouse.Hit.p)
  1462. MagicSphere(15,25,RightArm.CFrame*CF(0,-1,0),"Institutional white")
  1463. MagicSphere(12,25,RightArm.CFrame*CF(0,-1,0),"Institutional white")
  1464. else
  1465. loopsound2.Pitch = 1
  1466. loopsound:Stop()
  1467. startpos = RightArm.CFrame*CF(0,-1.5,0).p
  1468. turnto(Mouse.Hit.p)
  1469. MagicSphere(35,25,CF(startpos),"Institutional white")
  1470. MagicSphere(32,25,CF(startpos),"Institutional white")
  1471. local RayHit, RayPos, RayNormal = CastZapRay(startpos, Mouse.Hit.p, 150, Character, false)
  1472. local distance = (startpos - RayPos).magnitude
  1473. local laser = Instance.new("Part",Effects)
  1474. laser.Transparency = 0.5
  1475. laser.CanCollide = false
  1476. laser.Anchored = true
  1477. laser.BrickColor = BrickColor.new("Institutional white")
  1478. laser.Material = "Neon"
  1479. laser.formFactor = Enum.FormFactor.Custom
  1480. laser.Size = Vector3.new(2.5, 2.5, distance)
  1481. laser.CFrame = CFrame.new(startpos, RayPos) * CFrame.new(0, 0, -distance/2)
  1482. local laser2 = Instance.new("Part",Effects)
  1483. laser2.Transparency = 0
  1484. laser2.CanCollide = false
  1485. laser2.Anchored = true
  1486. laser2.BrickColor = BrickColor.new("Institutional white")
  1487. laser2.Material = "Neon"
  1488. laser2.formFactor = Enum.FormFactor.Custom
  1489. laser2.Size = Vector3.new(2, 2, distance)
  1490. laser2.CFrame = CFrame.new(startpos, RayPos) * CFrame.new(0, 0, -distance/2)
  1491. killnearest(RayPos,5,150,true)
  1492. MagicSphere(350,2,CF(RayPos),"Institutional white")
  1493. MagicSphere(320,2,CF(RayPos),"Institutional white")
  1494. if RayHit ~= nil then
  1495. CreateWave(0,5,false,0,25,CF(RayPos),0,"Institutional white")
  1496. end
  1497. attractnearest("Vector",RayPos,40,50,10)
  1498. pos = RayPos
  1499. Swait()
  1500. laser2:remove()
  1501. laser:remove()
  1502. end
  1503. until KEYHOLD == false
  1504. if loop == 150 then
  1505. local cframe = CF(pos)
  1506. coroutine.resume(coroutine.create(function()
  1507. coroutine.resume(coroutine.create(function()
  1508. CreateSound(RELEASESOUND, Effects, 2, 1)
  1509. MagicSphere(500,55,cframe,"Institutional white")
  1510. MagicSphere(450,55,cframe,"Institutional white")
  1511. for i = 1, 15 do
  1512. Swait()
  1513. killnearest(cframe.p,75,150)
  1514. end
  1515. end))
  1516. end))
  1517. end
  1518. loopsound2:remove()
  1519. loopsound:remove()
  1520. Rooted = false
  1521. ATTACK = false
  1522. end
  1523.  
  1524.  
  1525. function Kill(Foe)
  1526. if Foe then
  1527. coroutine.resume(coroutine.create(function()
  1528. --if game.Players:FindFirstChild(Foe.Name) then
  1529. table.insert(TOBANISH,Foe.Name)
  1530. printbye(Foe.Name)
  1531. --end
  1532. Foe.Archivable = true
  1533. local CLONE = Foe:Clone()
  1534. Foe:Destroy()
  1535. CLONE.Parent = Effects
  1536. CLONE:BreakJoints()
  1537. local MATERIALS = {"Glass","Neon"}
  1538. for _, c in pairs(CLONE:GetDescendants()) do
  1539. if c:IsA("BasePart") then
  1540. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1541. CreateSound(340722848, c, 10, 1, false)
  1542. end
  1543. c.Anchored = true
  1544. c.Transparency = c.Transparency + 0.2
  1545. c.Material = MATERIALS[MRANDOM(1,2)]
  1546. c.Color = C3(0,0,0)
  1547. if c.ClassName == "MeshPart" then
  1548. c.TextureID = ""
  1549. end
  1550. if c:FindFirstChildOfClass("SpecialMesh") then
  1551. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1552. end
  1553. if c:FindFirstChildOfClass("Decal") then
  1554. c:FindFirstChildOfClass("Decal"):remove()
  1555. end
  1556. c.Name = "Banished"
  1557. c.CanCollide = false
  1558. else
  1559. c:remove()
  1560. end
  1561. end
  1562. local A = false
  1563. for i = 1, 35 do
  1564. if A == false then
  1565. A = true
  1566. elseif A == true then
  1567. A = false
  1568. end
  1569. for _, c in pairs(CLONE:GetDescendants()) do
  1570. if c:IsA("BasePart") then
  1571. c.Anchored = true
  1572. c.Material = MATERIALS[MRANDOM(1,2)]
  1573. c.Transparency = c.Transparency + 0.8/35
  1574. if A == false then
  1575. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1576. elseif A == true then
  1577. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1578. end
  1579. end
  1580. end
  1581. Swait()
  1582. end
  1583. CLONE:remove()
  1584. end))
  1585. end
  1586. end
  1587.  
  1588. function Madness()
  1589. ATTACK = true
  1590. Rooted = false
  1591. local GYRO = IT("BodyGyro",RootPart)
  1592. GYRO.D = 750
  1593. GYRO.P = 20000
  1594. GYRO.MaxTorque = VT(0,40000000,0)
  1595. local LOCKED = true
  1596. local SHOT = false
  1597. coroutine.resume(coroutine.create(function()
  1598. for i=0, 1, 0.1 / Animation_Speed do
  1599. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  1600. Swait()
  1601. 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)
  1602. 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)
  1603. 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)
  1604. 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)
  1605. end
  1606. LOCKED = false
  1607. SHOT = true
  1608. repeat
  1609. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  1610. Swait()
  1611. 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)
  1612. 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)
  1613. 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)
  1614. 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)
  1615. until HOLD == false and SHOT == false
  1616. for i=0, 0.3, 0.1 / Animation_Speed do
  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. GYRO:remove()
  1624. ATTACK = false
  1625. Rooted = false
  1626. end))
  1627. repeat wait() until LOCKED == false
  1628. repeat
  1629. SHOT = true
  1630. wait(0.2)
  1631. SHOT = false
  1632. 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})
  1633. local HIT = BULLET.Hit
  1634. local HITPOS = BULLET.End
  1635. if HIT then
  1636. if HIT.Parent:FindFirstChildOfClass("Humanoid") then
  1637. Kill(HIT.Parent)
  1638. end
  1639. end
  1640. 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})
  1641. 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})
  1642. 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})
  1643. 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})
  1644. 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})
  1645. 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})
  1646. 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})
  1647. 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})
  1648. 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})
  1649. until HOLD == false
  1650. end
  1651.  
  1652. function Banisher_Bullet()
  1653. ATTACK = true
  1654. Rooted = false
  1655. for i=0, 0.4, 0.1 / Animation_Speed do
  1656. Swait()
  1657. turnto(Mouse.Hit.p)
  1658. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1659. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1660. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1661. end
  1662. repeat
  1663. for i=0, 0.2, 0.1 / Animation_Speed do
  1664. Swait()
  1665. turnto(Mouse.Hit.p)
  1666. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1667. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1668. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1669. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1670. end
  1671. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1672. SpawnTrail(Hole.Position,POS)
  1673. if HIT ~= nil then
  1674. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1675. Banish(HIT.Parent)
  1676. end
  1677. end
  1678. 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})
  1679. 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})
  1680. 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})
  1681. 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})
  1682. for i=0, 0.3, 0.1 / Animation_Speed do
  1683. Swait()
  1684. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1685. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1686. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1687. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1688. end
  1689. until KEYHOLD == false
  1690. ATTACK = false
  1691. Rooted = false
  1692. end
  1693.  
  1694. function AttackTemplate()
  1695. ATTACK = true
  1696. Rooted = false
  1697. for i=0, 1, 0.1 / Animation_Speed do
  1698. Swait()
  1699. 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)
  1700. 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)
  1701. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1702. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1703. 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)
  1704. 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)
  1705. end
  1706. ATTACK = false
  1707. Rooted = false
  1708. end
  1709.  
  1710. function HI()
  1711. ATTACK = true
  1712. Rooted = false
  1713. local LOOP = 0
  1714. for i=0, 0.1, 0.1 / Animation_Speed do
  1715. Swait()
  1716. 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)
  1717. 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)
  1718. 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)
  1719. 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)
  1720. end
  1721. for i=0, 3, 0.1 / Animation_Speed do
  1722. Swait()
  1723. LOOP = LOOP + 1
  1724. 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)
  1725. 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)
  1726. 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)
  1727. 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)
  1728. end
  1729. for i=0, 0.1, 0.1 / Animation_Speed do
  1730. Swait()
  1731. 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)
  1732. 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)
  1733. 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)
  1734. 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)
  1735. end
  1736. ATTACK = false
  1737. Rooted = false
  1738. end
  1739.  
  1740. function Mercy()
  1741. ATTACK = true
  1742. Rooted = true
  1743. local SPOTS = {}
  1744. for i = 1, 15 do
  1745. Swait()
  1746. 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)
  1747. 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)
  1748. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  1749. 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)
  1750. end
  1751. 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})
  1752. for i=0, 0.5, 0.1 / Animation_Speed do
  1753. Swait()
  1754. 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)
  1755. 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)
  1756. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1757. 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)
  1758. end
  1759. local HITFLOOR,HITPOS = Raycast(Mouse.Hit.p+VT(0,1,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 150, Character)
  1760. table.insert(SPOTS,HITPOS)
  1761. CreateSound(145080998, Hole, 2, 1, false)
  1762. 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})
  1763. coroutine.resume(coroutine.create(function()
  1764. local POS = Mouse.Hit.p
  1765. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Strike", VT(0,0,0))
  1766. MakeForm(RAY,"Cyl")
  1767. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Strike", VT(0,0,0))
  1768. MakeForm(SPHERE,"Ball")
  1769. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Strike", VT(0,0,0))
  1770. MakeForm(SHIELD,"Ball")
  1771. SHIELD.CFrame = CF(POS)
  1772. RAY.CFrame = CF(POS)
  1773. SPHERE.CFrame = CF(POS)
  1774. CreateSound(440145570, SPHERE, 10, 0.8, false)
  1775. CreateSound(415700134, SPHERE, 10, 0.8, false)
  1776. for i = 1, 200 do
  1777. Swait()
  1778. 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})
  1779. 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})
  1780. 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})
  1781. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  1782. SPHERE.Size = SPHERE.Size + VT(0.4,0.4,0.4)
  1783. SHIELD.Size = SPHERE.Size + VT(0.5,0.5,0.5)
  1784. ApplyKill(SPHERE.Position,SPHERE.Size.X/2,true)
  1785. end
  1786. for i = 1, 45 do
  1787. Swait()
  1788. RAY.Transparency = RAY.Transparency + 1/45
  1789. SPHERE.Transparency = RAY.Transparency
  1790. SHIELD.Transparency = SPHERE.Transparency + 1/45
  1791. end
  1792. RAY:remove()
  1793. SHIELD:remove()
  1794. SPHERE:remove()
  1795. end))
  1796. ATTACK = false
  1797. Rooted = false
  1798. end
  1799.  
  1800. function Teleport()
  1801. ATTACK = true
  1802. Rooted = false
  1803. for i=0, 0.5, 0.1 / Animation_Speed do
  1804. Swait()
  1805. 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)
  1806. 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)
  1807. end
  1808. for e = 1, #BODY do
  1809. if BODY[e] ~= nil then
  1810. local STUFF = BODY[e]
  1811. local PART = STUFF[1]
  1812. if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
  1813. local PRT = PART:Clone()
  1814. PRT.Anchored = true
  1815. PRT.CanCollide = false
  1816. PRT.Material = "Neon"
  1817. PRT.Color = C3(0,0,204)
  1818. PRT.Name = "WarpEffect"
  1819. PRT.Parent = Effects
  1820. PRT.CFrame = PART.CFrame
  1821. PRT:BreakJoints()
  1822. if PRT:FindFirstChildOfClass("Sound") then
  1823. PRT:FindFirstChildOfClass("Sound"):remove()
  1824. end
  1825. if PRT:FindFirstChildOfClass("Decal") then
  1826. PRT:FindFirstChildOfClass("Decal"):remove()
  1827. end
  1828. coroutine.resume(coroutine.create(function()
  1829. for i = 1, 100 do
  1830. Swait()
  1831. PRT.Transparency = PRT.Transparency + 1/100
  1832. end
  1833. PRT:remove()
  1834. end))
  1835. end
  1836. end
  1837. end
  1838. CreateSound(654422659, Torso, 10, 1)
  1839. local POS = RootPart.Orientation
  1840. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
  1841. RootPart.Orientation = POS
  1842. RootJoint.Parent = RootPart
  1843. for i=0, 0.5, 0.1 / Animation_Speed do
  1844. Swait()
  1845. 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)
  1846. 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)
  1847. end
  1848. for i=0, 0.1, 0.1 / Animation_Speed do
  1849. Swait()
  1850. 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)
  1851. end
  1852. ATTACK = false
  1853. Rooted = false
  1854. end
  1855. function killnearest(position,range,maxstrength,BRUTAL,RANGE)
  1856. for i,v in ipairs(workspace:GetChildren()) do
  1857. local body = v:GetChildren()
  1858. for part = 1, #body do
  1859. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1860. if(body[part].Position - position).Magnitude < range then
  1861. if v.ClassName == "Model" then
  1862. v:BreakJoints()
  1863. end
  1864. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  1865. local bv = Instance.new("BodyVelocity")
  1866. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1867. bv.velocity = CF(position,body[part].Position).lookVector*maxstrength
  1868. bv.Parent = body[part]
  1869. Debris:AddItem(bv,0.2)
  1870. end
  1871. end
  1872. end
  1873. if v.ClassName == "Part" then
  1874. if v.Anchored == false and (v.Position - position).Magnitude < range then
  1875. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  1876. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  1877. end
  1878. end
  1879. end
  1880. end
  1881.  
  1882. function Darkness()
  1883. ATTACK = true
  1884. Rooted = true
  1885. local GYRO = IT("BodyGyro",RootPart)
  1886. GYRO.D = 100
  1887. GYRO.P = 2000
  1888. GYRO.MaxTorque = VT(0,4000000,0)
  1889. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1890. CreateSound("429459101", RightArm, 10, 0.8)
  1891. for i=0, 3.5, 0.1 / Animation_Speed do
  1892. Swait()
  1893. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1894. 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})
  1895. 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)
  1896. 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)
  1897. 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)
  1898. 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)
  1899. end
  1900. GYRO:remove()
  1901. for i=0, 0.15, 0.1 / Animation_Speed do
  1902. Swait()
  1903. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1904. 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})
  1905. 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)
  1906. 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)
  1907. 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)
  1908. 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)
  1909. end
  1910. local BOMBSPOTS = {}
  1911. for i = 1, 25 do
  1912. local SPOT = CreatePart(3, Effects, "Neon", 0, 0, "Relly black", "Blade", VT(8,1,8))
  1913. SPOT.Color = SKILLTEXTCOLOR
  1914. SPOT.CFrame = RootPart.CFrame*CF((MRANDOM(-15,15)/40)*i,-5,-i*5)
  1915. table.insert(BOMBSPOTS,SPOT)
  1916. MakeForm(SPOT,"Cyl2")
  1917. end
  1918. for i=0, 0.2, 0.1 / Animation_Speed do
  1919. Swait()
  1920. 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})
  1921. 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)
  1922. 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)
  1923. 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)
  1924. 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)
  1925. end
  1926. ATTACK = false
  1927. Rooted = false
  1928. coroutine.resume(coroutine.create(function()
  1929. Swait(3)
  1930. for i = 1, #BOMBSPOTS do
  1931. if BOMBSPOTS[i] ~= nil then
  1932. local E = BOMBSPOTS[i]
  1933. coroutine.resume(coroutine.create(function()
  1934. local BLADE = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Relly black", "Blade", VT(0,0,0))
  1935. BLADE.Color = SKILLTEXTCOLOR
  1936. CreateMesh("SpecialMesh", BLADE, "FileMesh", "93108071", "", VT(0.6,1,0.4)*3, VT(0,0,0))
  1937. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], BLADE, 4, 0.6)
  1938. BLADE.CFrame = E.CFrame*CF(0,-3,0)*ANGLES(RAD(MRANDOM(-15,15)),RAD(90),RAD(MRANDOM(-15,15)))
  1939. for i = 1, 10 do
  1940. Swait()
  1941. 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})
  1942. killnearest(BLADE.Position,6,80)
  1943. BLADE.CFrame = BLADE.CFrame*CF(0,0.3,0)
  1944. BLADE.Transparency = BLADE.Transparency - 0.1
  1945. end
  1946. Swait(45)
  1947. for i = 1, 100 do
  1948. Swait()
  1949. BLADE.Transparency = BLADE.Transparency + 0.01
  1950. E.Transparency = E.Transparency + 0.01
  1951. end
  1952. BLADE:remove()
  1953. E:remove()
  1954. end))
  1955. end
  1956. end
  1957. end))
  1958. end
  1959. function Death()
  1960. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1961. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1962. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  1963. if TORSO and HUM.Health > 0 then
  1964. ATTACK = true
  1965. Rooted = true
  1966. local GYRO = IT("BodyGyro",RootPart)
  1967. GYRO.D = 175
  1968. GYRO.P = 20000
  1969. GYRO.MaxTorque = VT(0,40000,0)
  1970. for i=0, 1, 0.1 / Animation_Speed do
  1971. Swait()
  1972. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  1973. 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)
  1974. 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)
  1975. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1976. end
  1977. 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})
  1978. 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})
  1979. local MAGIC = ParticleEmitter({Speed = 5, Drag = 3, Size1 = 1.7, Size2 = 0, Lifetime1 = 1, Lifetime2 = 3, Parent = TORSO, Emit = 100, Offset = 360, Enabled = true})
  1980. MAGIC.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
  1981. local grav = Instance.new("BodyPosition",TORSO)
  1982. grav.D = 1500
  1983. grav.P = 20000
  1984. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1985. grav.position = TORSO.Position+VT(0,15,0)
  1986. Debris:AddItem(grav,10)
  1987. Debris:AddItem(MAGIC,10)
  1988. CreateSound(429459101, Torso, 7, 1, false)
  1989. CreateSound(429459101, TORSO, 7, 1, false)
  1990. GYRO:remove()
  1991. ATTACK = false
  1992. Rooted = false
  1993. end
  1994. end
  1995. end
  1996. --//=================================\\
  1997. --|| ASSIGN THINGS TO KEYS
  1998. --\\=================================//
  1999.  
  2000. function MouseDown(Mouse)
  2001. if ATTACK == false then
  2002. end
  2003. end
  2004.  
  2005. function MouseUp(Mouse)
  2006. HOLD = false
  2007. end
  2008.  
  2009. function KeyDown(Key)
  2010. KEYHOLD = true
  2011. if Key == "c" and ATTACK == false then
  2012. Banisher_Bullet()
  2013. end
  2014.  
  2015. if Key == "b" and ATTACK == false then
  2016. Death()
  2017. end
  2018.  
  2019. if Key == "z" and ATTACK == false then
  2020. Darkness()
  2021. end
  2022.  
  2023. if Key == "v" and ATTACK == false then
  2024. Madness()
  2025. end
  2026.  
  2027. if Key == "x" and ATTACK == false then
  2028. Mercy()
  2029. end
  2030.  
  2031. if Key == "q" and ATTACK == false then
  2032. Warp()
  2033. end
  2034.  
  2035. if Key == "f" and ATTACK == false then
  2036. GravityBeam()
  2037. end
  2038.  
  2039. if Key == "t" and ATTACK == false then
  2040. HI()
  2041. end
  2042. end
  2043.  
  2044. function KeyUp(Key)
  2045. KEYHOLD = false
  2046. end
  2047.  
  2048. Mouse.Button1Down:connect(function(NEWKEY)
  2049. MouseDown(NEWKEY)
  2050. end)
  2051. Mouse.Button1Up:connect(function(NEWKEY)
  2052. MouseUp(NEWKEY)
  2053. end)
  2054. Mouse.KeyDown:connect(function(NEWKEY)
  2055. KeyDown(NEWKEY)
  2056. end)
  2057. Mouse.KeyUp:connect(function(NEWKEY)
  2058. KeyUp(NEWKEY)
  2059. end)
  2060.  
  2061. --//=================================\\
  2062. --\\=================================//
  2063.  
  2064.  
  2065. function unanchor()
  2066. if UNANCHOR == true then
  2067. g = Character:GetChildren()
  2068. for i = 1, #g do
  2069. if g[i].ClassName == "Part" then
  2070. g[i].Anchored = false
  2071. end
  2072. end
  2073. end
  2074. end
  2075.  
  2076.  
  2077. --//=================================\\
  2078. --|| WRAP THE WHOLE SCRIPT UP
  2079. --\\=================================//
  2080.  
  2081. Humanoid.Changed:connect(function(Jump)
  2082. if Jump == "Jump" and (Disable_Jump == true) then
  2083. Humanoid.Jump = false
  2084. end
  2085. end)
  2086.  
  2087. local CONNECT = nil
  2088.  
  2089. while true do
  2090. Swait()
  2091. ANIMATE.Parent = nil
  2092. if Character:FindFirstChildOfClass("Humanoid") == nil then
  2093. Humanoid = IT("Humanoid",Character)
  2094. end
  2095. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  2096. v:Stop();
  2097. end
  2098. SINE = SINE + CHANGE
  2099. Humanoid.HipHeight = 1.5
  2100. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2101. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2102. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  2103. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  2104. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2105. elseif TORSOVELOCITY > 1 then
  2106. 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)
  2107. 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)
  2108. 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)
  2109. 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)
  2110. 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)
  2111. 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)
  2112. end
  2113. if TORSOVERTICALVELOCITY > 1 then
  2114. ANIM = "Jump"
  2115. if ATTACK == false then
  2116. 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)
  2117. 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)
  2118. 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)
  2119. 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)
  2120. 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)
  2121. 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)
  2122. end
  2123. elseif TORSOVERTICALVELOCITY < -1 then
  2124. ANIM = "Fall"
  2125. if ATTACK == false then
  2126. 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)
  2127. 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)
  2128. 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)
  2129. 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)
  2130. 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)
  2131. 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)
  2132. end
  2133. elseif TORSOVELOCITY < 1 then
  2134. ANIM = "Idle"
  2135. if ATTACK == false then
  2136. 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)
  2137. 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)
  2138. 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)
  2139. 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)
  2140. 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)
  2141. 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)
  2142. end
  2143. elseif TORSOVELOCITY > 1 then
  2144. ANIM = "Walk"
  2145. if ATTACK == false then
  2146. 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)
  2147. 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)
  2148. 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)
  2149. 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)
  2150. 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)
  2151. 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)
  2152. end
  2153. end
  2154. unanchor()
  2155. Humanoid.MaxHealth = "inf"
  2156. Humanoid.Health = "inf"
  2157. if Rooted == false then
  2158. Disable_Jump = false
  2159. Humanoid.WalkSpeed = Speed
  2160. elseif Rooted == true then
  2161. Disable_Jump = true
  2162. Humanoid.WalkSpeed = 0
  2163. end
  2164. for _, c in pairs(Character:GetDescendants()) do
  2165. if c == Head then
  2166. if c:FindFirstChild("face") then
  2167. c.face:remove()
  2168. end
  2169. end
  2170. 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))
  2171. sick:resume()
  2172. sick.Volume = 5
  2173. sick.Pitch = 1
  2174. sick.SoundId = "rbxassetid://924339757"
  2175. sick.Name = "BanishV3Music"
  2176. sick.Playing = PLAYSONG
  2177. Humanoid.PlatformStand = false
  2178. Humanoid.Name = "U ar ded"
  2179. refit()
  2180. for _, c in pairs(Character:GetChildren()) do
  2181. if c:IsA("BasePart") and ATTACK == false then
  2182. for _, e in pairs(c:GetChildren()) do
  2183. if e:IsA("ParticleEmitter") or e:IsA("BodyPosition") or e:IsA("BodyGyro") then
  2184. e:remove()
  2185. end
  2186. end
  2187. end
  2188. end
  2189. end
  2190.  
  2191.  
  2192. --//=================================\\
  2193. --\\=================================//
  2194.  
  2195.  
  2196.  
  2197.  
  2198.  
  2199. --//====================================================\\--
  2200. --|| END OF SCRIPT
  2201. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement