Advertisement
cobblecorn

Untitled

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