Advertisement
pasterultimate22

VeNgAnCe

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