Advertisement
masterofdesires1

Untitled

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