Advertisement
cobblecorn

Untitled

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