Advertisement
cobblecorn

Untitled

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