Advertisement
cobblecorn

Untitled

Jul 5th, 2018
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 94.08 KB | None | 0 0
  1. script.Name = "Banisher Gun V3 / 1"
  2. --//====================================================\\--
  3. --|| CREATED BY SHACKLUSTER
  4. --\\====================================================//--
  5.  
  6. script:ClearAllChildren()
  7. wait(0.2)
  8.  
  9. Player = game:GetService("Players").LocalPlayer
  10. PlayerGui = Player.PlayerGui
  11. Cam = workspace.CurrentCamera
  12. Backpack = Player.Backpack
  13. Character = Player.Character
  14. Humanoid = Character.Humanoid
  15. Mouse = Player:GetMouse()
  16. RootPart = Character["HumanoidRootPart"]
  17. Torso = Character["Torso"]
  18. Head = Character["Head"]
  19. RightArm = Character["Right Arm"]
  20. LeftArm = Character["Left Arm"]
  21. RightLeg = Character["Right Leg"]
  22. LeftLeg = Character["Left Leg"]
  23. RootJoint = RootPart["RootJoint"]
  24. Neck = Torso["Neck"]
  25. RightShoulder = Torso["Right Shoulder"]
  26. LeftShoulder = Torso["Left Shoulder"]
  27. RightHip = Torso["Right Hip"]
  28. LeftHip = Torso["Left Hip"]
  29. local TIME = 0
  30. local sick = Instance.new("Sound",Torso)
  31.  
  32. IT = Instance.new
  33. CF = CFrame.new
  34. VT = Vector3.new
  35. RAD = math.rad
  36. C3 = Color3.new
  37. UD2 = UDim2.new
  38. BRICKC = BrickColor.new
  39. ANGLES = CFrame.Angles
  40. EULER = CFrame.fromEulerAnglesXYZ
  41. COS = math.cos
  42. ACOS = math.acos
  43. SIN = math.sin
  44. ASIN = math.asin
  45. ABS = math.abs
  46. MRANDOM = math.random
  47. FLOOR = math.floor
  48. local BODY = {}
  49.  
  50. --//=================================\\
  51. --|| USEFUL VALUES
  52. --\\=================================//
  53.  
  54. Animation_Speed = 3
  55. local FORCERESET = false
  56. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  57. local Speed = 16
  58. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  59. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  60. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  61. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  62. local DAMAGEMULTIPLIER = 1
  63. local ANIM = "Idle"
  64. local ATTACK = false
  65. local EQUIPPED = false
  66. local HOLD = false
  67. local COMBO = 1
  68. local Rooted = false
  69. local SINE = 0
  70. local KEYHOLD = false
  71. local CHANGE = 2 / Animation_Speed
  72. local WALKINGANIM = false
  73. local VALUE1 = false
  74. local VALUE2 = false
  75. local ROBLOXIDLEANIMATION = IT("Animation")
  76. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  77. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  78. --ROBLOXIDLEANIMATION.Parent = Humanoid
  79. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  80. WEAPONGUI.Name = "BanishV3Gui"
  81. local Weapon = IT("Model")
  82. Weapon.Name = "Adds"
  83. local Effects = IT("Folder", Weapon)
  84. Effects.Name = "Effects"
  85. local ANIMATOR = Humanoid.Animator
  86. local ANIMATE = Character:FindFirstChild("Animate")
  87. local UNANCHOR = true
  88. local TOBANISH = {}
  89. script.Parent = PlayerGui
  90. local CLOCKLOOP = 0
  91. local CLOCKTARGET = nil
  92. local CLOCKSPEED = 8
  93. local SIZE = 1
  94. local RING = {}
  95. local EXTRATRANS = 0
  96. --//=================================\\
  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 GHOSTS = {}
  1373. local GHOSTBASE = Character:Clone()
  1374. GHOSTBASE.Parent = nil
  1375. GHOSTBASE.Name = ""
  1376. for _, c in pairs(GHOSTBASE:GetChildren()) do
  1377. if c.ClassName == "Part" and c.Transparency < 1 then
  1378. c.Color = C3(1,1,1)
  1379. if c.ClassName == "Accessory" or c.ClassName == "Hat" or c.ClassName == "CharacterMesh" or c.ClassName == "Shirt" or c.ClassName == "Pants" then
  1380. c:remove()
  1381. end
  1382. end
  1383. end
  1384. function Ghostify(POSITION,RANGE)
  1385. local CHILDREN = workspace:GetDescendants()
  1386. for index, CHILD in pairs(CHILDREN) do
  1387. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1388. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1389. if HUM then
  1390. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1391. if TORSO then
  1392. if HUM.Health > 0 and (TORSO.Position - POSITION).Magnitude <= RANGE then
  1393. local GHOST = GHOSTBASE:Clone()
  1394. GHOST.Parent = Effects
  1395. GHOST.Torso.CFrame = TORSO.CFrame
  1396. table.insert(GHOSTS,GHOST)
  1397. CHILD:remove()
  1398. end
  1399. end
  1400. end
  1401. end
  1402. end
  1403. end
  1404.  
  1405. local A = IT("Attachment",Barrel)
  1406. A.Position = VT(0,-2.5,0)
  1407. local B = IT("Attachment",Barrel)
  1408. B.Position = VT(0,2.5,0)
  1409. local Trail = IT("Trail",Barrel)
  1410. Trail.Attachment0 = A
  1411. Trail.Attachment1 = B
  1412. Trail.Lifetime = 0.2
  1413. Trail.Color = ColorSequence.new(BRICKC"White".Color)
  1414. Trail.Transparency = NumberSequence.new(0, 1)
  1415. Trail.Enabled = false
  1416.  
  1417. --//=================================\\
  1418. --|| ATTACK FUNCTIONS AND STUFF
  1419. --\\=================================//
  1420.  
  1421.  
  1422. function Bullet()
  1423. ATTACK = true
  1424. Rooted = false
  1425. for i=1, 2, 3 / Animation_Speed do
  1426. Swait()
  1427. turnto(Mouse.Hit.p)
  1428. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1429. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1430. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1431. end
  1432. repeat
  1433. for i=1, 2, 3 / Animation_Speed do
  1434. Swait()
  1435. turnto(Mouse.Hit.p)
  1436. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1437. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1438. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1439. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1440. end
  1441. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1442. SpawnTrail(Hole.Position,POS)
  1443. if HIT ~= nil then
  1444. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1445. Kill(HIT.Parent)
  1446. end
  1447. end
  1448. 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})
  1449. 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})
  1450. 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})
  1451. WACKYEFFECT({Time = 1, EffectType = "Wave", Size = VT(1,10,1), Size2 = VT(4,3,4), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1452. for i=1, 2, 3 / Animation_Speed do
  1453. Swait()
  1454. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1455. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1456. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1457. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1458. end
  1459. until KEYHOLD == false
  1460. ATTACK = false
  1461. Rooted = false
  1462. end
  1463.  
  1464. function Execute()
  1465. ATTACK = true
  1466. Rooted = false
  1467. local Part = CreatePart(3, Character, "Neon", 0, 0, "Mid gray", "Part", VT(0,1,4),false)
  1468. Part.Color = C3(0,0,0)
  1469. MakeForm(Part,"Wedge")
  1470. Part.CanCollide = true
  1471. 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))
  1472. for i=0, 1, 0.1 / Animation_Speed do
  1473. Swait()
  1474. 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)
  1475. 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)
  1476. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(125), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1477. 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)
  1478. 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)
  1479. 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)
  1480. end
  1481. Trail.Enabled = true
  1482. CreateSound(541909867, Barrel, 7, 1, false)
  1483. local TOCH = Part.Touched:Connect(function(hit)
  1484. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
  1485. Kill(hit.Parent)
  1486. end
  1487. end)
  1488. for i=0, 0.35, 0.1 / Animation_Speed do
  1489. Swait()
  1490. 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)
  1491. 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)
  1492. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1493. 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)
  1494. 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)
  1495. 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)
  1496. end
  1497. TOCH:disconnect()
  1498. Trail.Enabled = false
  1499. for i=0, 0.35, 0.1 / Animation_Speed do
  1500. Swait()
  1501. 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)
  1502. 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)
  1503. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1504. 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)
  1505. 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)
  1506. 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)
  1507. end
  1508. Part:remove()
  1509. ATTACK = false
  1510. Rooted = false
  1511. end
  1512.  
  1513. function SinfulShell()
  1514. ATTACK = true
  1515. Rooted = false
  1516. local GYRO = IT("BodyGyro",RootPart)
  1517. GYRO.D = 750
  1518. GYRO.P = 20000
  1519. GYRO.MaxTorque = VT(0,40000000,0)
  1520. for i=0, 1, 0.6 / Animation_Speed do
  1521. Swait()
  1522. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1523. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(35)), 0.75 / Animation_Speed)
  1524. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 0.5 * SIN(SINE / 12)), RAD(15), RAD(-35)), 0.75 / Animation_Speed)
  1525. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.7 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(115), RAD(0), RAD(35)) * ANGLES(RAD(0), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  1526. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.45, -0.1) * ANGLES(RAD(25), RAD(0), RAD(5)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
  1527. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(50), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(35)), 0.75 / Animation_Speed)
  1528. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.3 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(5), RAD(0), RAD(-25)), 0.75 / Animation_Speed)
  1529. end
  1530. GYRO:remove()
  1531. CreateSound(696483710, Weapon, 5, 1, false)
  1532. WACKYEFFECT({Time = 3, EffectType = "Sphere", Size = VT(1,0.3,0.3), Size2 = VT(1,0,0), Transparency = 0, Transparency2 = 0.2, CFrame = Weapon.CFrame*CF(1.5,0.5,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1533. coroutine.resume(coroutine.create(function()
  1534. local Bullet = CreatePart(3, Effects, "SmoothPlastic", 0, 0, "Grey", "Sinful bullet", VT(0,0,0))
  1535. CreateMesh("SpecialMesh", Bullet, "FileMesh", "94295100", "", VT(6, 6, 7), VT(0,0, 0))
  1536. Bullet.CFrame = Weapon.CFrame*CF(1.5,0.5,0)
  1537. local AIMPOINT = Mouse.Hit.p
  1538. local STARTPOS = Weapon.CFrame*CF(1.5,0.5,0).p
  1539. local VECTOR = CF(STARTPOS,AIMPOINT)
  1540. local IMPACTED = false
  1541. CreateSound(1393698948, Bullet, 10, 1, true)
  1542. for E = 1, 50 do
  1543. if IMPACTED == true then
  1544. break
  1545. end
  1546. local TARGETPOINT = VECTOR*CF(0,0,-E*5)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,1,0).p
  1547. Bullet.CFrame = CF(Bullet.Position,TARGETPOINT)
  1548. for i = 1, 5 do
  1549. Swait()
  1550. WACKYEFFECT({Time = 20, EffectType = "Swirl", Size = VT(1,1,1), Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = Bullet.CFrame * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i+E, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1551. Bullet.CFrame = Bullet.CFrame*CF(0,0,-1)
  1552. local AIMHIT,AIMPOS,NORMAL = Raycast(Bullet.Position,Bullet.CFrame.lookVector,1.3,Character)
  1553. if AIMHIT ~= nil then
  1554. IMPACTED = true
  1555. break
  1556. end
  1557. end
  1558. end
  1559. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(10,10,10), Size2 = VT(9,9,9), Transparency = 0, Transparency2 = 1, CFrame = Bullet.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 182765513, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 7})
  1560. for i = 1, 7 do
  1561. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(1,15,1), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = Bullet.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1562. end
  1563. Ghostify(Bullet.Position,10)
  1564. Bullet:remove()
  1565. end))
  1566. for i=0, 0.3, 0.1 / Animation_Speed do
  1567. Swait()
  1568. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(35)), 0.75 / Animation_Speed)
  1569. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 0.5 * SIN(SINE / 12)), RAD(15), RAD(-35)), 0.75 / Animation_Speed)
  1570. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.7 - 0.1 * COS(SINE / 12), 0.3) * ANGLES(RAD(110), RAD(0), RAD(35)) * ANGLES(RAD(0), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  1571. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.45, -0.1) * ANGLES(RAD(25), RAD(0), RAD(5)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
  1572. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(50), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(35)), 0.75 / Animation_Speed)
  1573. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.3 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(5), RAD(0), RAD(-25)), 0.75 / Animation_Speed)
  1574. end
  1575. ATTACK = false
  1576. Rooted = false
  1577. end
  1578.  
  1579.  
  1580. function Banisher_Bullet()
  1581. ATTACK = true
  1582. Rooted = false
  1583. for i=0, 0.4, 0.1 / Animation_Speed do
  1584. Swait()
  1585. turnto(Mouse.Hit.p)
  1586. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1587. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1588. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1589. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1590. 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)
  1591. 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)
  1592. end
  1593. repeat
  1594. for i=0, 0.2, 0.1 / Animation_Speed do
  1595. Swait()
  1596. turnto(Mouse.Hit.p)
  1597. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1598. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1599. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1600. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1601. 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)
  1602. 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)
  1603. end
  1604. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1605. SpawnTrail(Hole.Position,POS)
  1606. if HIT ~= nil then
  1607. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1608. Banish(HIT.Parent)
  1609. end
  1610. end
  1611. 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})
  1612. 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})
  1613. 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})
  1614. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1615. for i=0, 0.3, 0.1 / Animation_Speed do
  1616. Swait()
  1617. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1618. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1619. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1620. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1621. 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)
  1622. 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)
  1623. end
  1624. until KEYHOLD == false
  1625. ATTACK = false
  1626. Rooted = false
  1627. end
  1628.  
  1629. function AttackTemplate()
  1630. ATTACK = true
  1631. Rooted = false
  1632. for i=0, 1, 0.1 / Animation_Speed do
  1633. Swait()
  1634. 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)
  1635. 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)
  1636. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1637. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1638. 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)
  1639. 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)
  1640. end
  1641. ATTACK = false
  1642. Rooted = false
  1643. end
  1644.  
  1645. function CyberSmash()
  1646. ATTACK = true
  1647. Rooted = false
  1648. local GYRO = IT("BodyGyro",RootPart)
  1649. GYRO.D = 100
  1650. GYRO.P = 2000
  1651. GYRO.MaxTorque = VT(0,4000000,0)
  1652. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1653. local SMASH = CreatePart(3, Effects, "Neon", 0, 1, "White", "Block", VT(25,25,25))
  1654. SMASH.CanCollide = true
  1655. SMASH.Color = C3(0,0,0)
  1656. local EF = Instance.new("SelectionBox",SMASH)
  1657. EF.Adornee = SMASH
  1658. EF.Color = BrickColor.new("White")
  1659. EF.LineThickness = 0.3
  1660. EF.Transparency = 1
  1661. coroutine.resume(coroutine.create(function()
  1662. for i = 1, 20 do
  1663. Swait()
  1664. SMASH.Transparency = SMASH.Transparency - 0.05
  1665. EF.Transparency = SMASH.Transparency
  1666. end
  1667. end))
  1668. repeat
  1669. SMASH.CFrame = CF(Mouse.Hit.p)*CF(0,35,0)
  1670. Swait()
  1671. GYRO.cframe = CF(RootPart.Position,SMASH.Position)
  1672. 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)
  1673. 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)
  1674. 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)
  1675. 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)
  1676. 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)
  1677. 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)
  1678. until HOLD == true and SMASH.Transparency < 0.99
  1679. for i = 1, 25 do
  1680. Swait()
  1681. SMASH.CFrame = SMASH.CFrame*CF(0,15/25,0)
  1682. 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)
  1683. 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)
  1684. 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)
  1685. 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)
  1686. 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)
  1687. 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)
  1688. end
  1689. local TOCH = SMASH.Touched:Connect(function(hit)
  1690. if hit.Anchored == false and hit.Parent ~= Head and hit.Parent ~= Character and hit.Parent ~= Effects then
  1691. Shatter(hit)
  1692. end
  1693. end)
  1694. local n0 = nil
  1695. local HITFLOOR,HITPOS = Raycast(SMASH.Position, (CF(SMASH.Position, SMASH.Position + VT(0, -1, 0))).lookVector, 25000, Character)
  1696. if HITFLOOR ~= nil then
  1697. if HITFLOOR.Anchored == false and HITFLOOR.Parent ~= workspace then
  1698. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") or HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  1699. if HITFLOOR.Parent.ClassName == "Model" then
  1700. HITFLOOR.Parent:BreakJoints()
  1701. elseif HITFLOOR.Parent.Parent.ClassName == "Model" then
  1702. HITFLOOR.Parent.Parent:BreakJoints()
  1703. end
  1704. end
  1705. local POS = HITPOS
  1706. n0,HITPOS = Raycast(POS, (CF(POS, POS + VT(0, -1, 0))).lookVector, 25000, HITFLOOR.Parent)
  1707. end
  1708. end
  1709. killnearest(HITPOS,SMASH.Size.X/1.3,"Shatter")
  1710. SMASH.CFrame = CF(HITPOS+VT(0,SMASH.Size.Y/2,0))
  1711. 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})
  1712. for i = 1, 25 do
  1713. Swait()
  1714. 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)
  1715. 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)
  1716. 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)
  1717. 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)
  1718. 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)
  1719. 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)
  1720. end
  1721. coroutine.resume(coroutine.create(function()
  1722. wait(0.2)
  1723. TOCH:disconnect()
  1724. wait(1.8)
  1725. for i = 1, 100 do
  1726. Swait()
  1727. SMASH.Transparency = i/100
  1728. end
  1729. for i = 1, 10 do
  1730. Swait()
  1731. EF.Transparency = EF.Transparency + 0.1
  1732. end
  1733. SMASH:remove()
  1734. end))
  1735. GYRO:remove()
  1736. ATTACK = false
  1737. Rooted = false
  1738. end
  1739.  
  1740. function Teleport()
  1741. ATTACK = true
  1742. Rooted = false
  1743. for i=0, 0.5, 0.1 / Animation_Speed do
  1744. Swait()
  1745. 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)
  1746. 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)
  1747. end
  1748. for e = 1, #BODY do
  1749. if BODY[e] ~= nil then
  1750. local STUFF = BODY[e]
  1751. local PART = STUFF[1]
  1752. if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
  1753. local PRT = PART:Clone()
  1754. PRT.Anchored = true
  1755. PRT.CanCollide = false
  1756. PRT.Material = "Neon"
  1757. PRT.Color = C3(1,1,1)
  1758. PRT.Name = "WarpEffect"
  1759. PRT.Parent = Effects
  1760. PRT.CFrame = PART.CFrame
  1761. PRT:BreakJoints()
  1762. if PRT:FindFirstChildOfClass("Sound") then
  1763. PRT:FindFirstChildOfClass("Sound"):remove()
  1764. end
  1765. if PRT:FindFirstChildOfClass("Decal") then
  1766. PRT:FindFirstChildOfClass("Decal"):remove()
  1767. end
  1768. coroutine.resume(coroutine.create(function()
  1769. for i = 1, 100 do
  1770. Swait()
  1771. PRT.Transparency = PRT.Transparency + 1/100
  1772. end
  1773. PRT:remove()
  1774. end))
  1775. end
  1776. end
  1777. end
  1778. CreateSound(217767125, Torso, 10, 1)
  1779. local POS = RootPart.Orientation
  1780. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
  1781. RootPart.Orientation = POS
  1782. RootJoint.Parent = RootPart
  1783. for i=0, 0.5, 0.1 / Animation_Speed do
  1784. Swait()
  1785. 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)
  1786. 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)
  1787. end
  1788. for i=0, 0.1, 0.1 / Animation_Speed do
  1789. Swait()
  1790. 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)
  1791. end
  1792. ATTACK = false
  1793. Rooted = false
  1794. end
  1795.  
  1796. function Deathbound()
  1797. ATTACK = true
  1798. Rooted = true
  1799. for i=0, 1, 0.1 / Animation_Speed do
  1800. Swait()
  1801. 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)
  1802. 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)
  1803. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1804. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1805. 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)
  1806. 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)
  1807. end
  1808. local DONE = false
  1809. local GATE = nil
  1810. local GATESPIN = true
  1811. coroutine.resume(coroutine.create(function()
  1812. repeat
  1813. Swait()
  1814. if GATE ~= nil then
  1815. GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
  1816. end
  1817. until GATESPIN == false
  1818. end))
  1819. coroutine.resume(coroutine.create(function()
  1820. repeat
  1821. Swait()
  1822. 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)
  1823. 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)
  1824. 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)
  1825. 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)
  1826. 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)
  1827. 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)
  1828. until DONE == true
  1829. Swait(50)
  1830. for i = 1, 35 do
  1831. Swait(4)
  1832. local FIRED = false
  1833. local CHILDREN = workspace:GetDescendants()
  1834. for index, CHILD in pairs(CHILDREN) do
  1835. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1836. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1837. if HUM then
  1838. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1839. if TORSO then
  1840. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1841. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1842. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1843. 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})
  1844. 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})
  1845. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1846. Kill(CHILD)
  1847. FIRED = true
  1848. break
  1849. end
  1850. end
  1851. end
  1852. end
  1853. end
  1854. if FIRED == false then
  1855. 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)))
  1856. 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})
  1857. 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})
  1858. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1859. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1860. if HITBOD ~= nil then
  1861. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1862. killnearest(HITBOD.Parent)
  1863. end
  1864. end
  1865. end
  1866. end
  1867. for i = 1, 45 do
  1868. Swait()
  1869. GATE.Size = GATE.Size - VT(3,0,3)
  1870. end
  1871. GATESPIN = false
  1872. GATE:remove()
  1873. end))
  1874. Swait(15)
  1875. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1876. GATE = CreatePart(3, Effects, "Neon", 0, 1, "White", "Gate", VT(0,0,0))
  1877. local DECAL = IT("Decal",GATE)
  1878. DECAL.Texture = "http://www.roblox.com/asset/?id="
  1879. DECAL.Face = "Top"
  1880. GATE.CFrame = CF(HITPOS)
  1881. CreateSound(160772554, GATE, 7, 1.3, false)
  1882. for i = 1, 45 do
  1883. Swait()
  1884. GATE.Size = GATE.Size + VT(3,0,3)
  1885. end
  1886. CreateSound(145080998, Hole, 7, 1, false)
  1887. CreateSound(145080998, Hole, 7, 1, false)
  1888. 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})
  1889. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1890. ATTACK = false
  1891. Rooted = false
  1892. DONE = true
  1893. end
  1894.  
  1895. function HI()
  1896. ATTACK = true
  1897. Rooted = false
  1898. local LOOP = 0
  1899. for i=0, 0.1, 0.1 / Animation_Speed do
  1900. Swait()
  1901. 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)
  1902. 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)
  1903. 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)
  1904. 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)
  1905. end
  1906. for i=0, 3, 0.1 / Animation_Speed do
  1907. Swait()
  1908. LOOP = LOOP + 1
  1909. 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)
  1910. 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)
  1911. 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)
  1912. 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)
  1913. end
  1914. for i=0, 0.1, 0.1 / Animation_Speed do
  1915. Swait()
  1916. 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)
  1917. 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)
  1918. 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)
  1919. 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)
  1920. end
  1921. ATTACK = false
  1922. Rooted = false
  1923. end
  1924.  
  1925. --//=================================\\
  1926. --|| ASSIGN THINGS TO KEYS
  1927. --\\=================================//
  1928.  
  1929. function MouseDown(Mouse)
  1930. HOLD = true
  1931. if ATTACK == false then
  1932. end
  1933. end
  1934.  
  1935. function MouseUp(Mouse)
  1936. HOLD = false
  1937. end
  1938.  
  1939. function KeyDown(Key)
  1940. KEYHOLD = true
  1941. if Key == "z" and ATTACK == false then
  1942. Banisher_Bullet()
  1943. end
  1944.  
  1945. if Key == "v" and ATTACK == false then
  1946. Execute()
  1947. end
  1948.  
  1949. if Key == "c" and ATTACK == false then
  1950. Bullet()
  1951. end
  1952.  
  1953. if Key == "r" and ATTACK == false then
  1954. CyberSmash()
  1955. end
  1956.  
  1957. if Key == "x" and ATTACK == false then
  1958. Deathbound()
  1959. end
  1960.  
  1961. if Key == "q" and ATTACK == false then
  1962. Teleport()
  1963. end
  1964.  
  1965. if Key == "f" and ATTACK == false then
  1966. SinfulShell()
  1967. end
  1968.  
  1969. if Key == "t" and ATTACK == false then
  1970. HI()
  1971. end
  1972. end
  1973.  
  1974.  
  1975.  
  1976. function KeyUp(Key)
  1977. KEYHOLD = false
  1978. end
  1979.  
  1980. Mouse.Button1Down:connect(function(NEWKEY)
  1981. MouseDown(NEWKEY)
  1982. end)
  1983. Mouse.Button1Up:connect(function(NEWKEY)
  1984. MouseUp(NEWKEY)
  1985. end)
  1986. Mouse.KeyDown:connect(function(NEWKEY)
  1987. KeyDown(NEWKEY)
  1988. end)
  1989. Mouse.KeyUp:connect(function(NEWKEY)
  1990. KeyUp(NEWKEY)
  1991. end)
  1992.  
  1993. --//=================================\\
  1994. --\\=================================/
  1995.  
  1996.  
  1997. --//=================================\\
  1998. --|| WRAP THE WHOLE SCRIPT UP
  1999. --\\=================================//
  2000.  
  2001. Humanoid.Changed:connect(function(Jump)
  2002. if Jump == "Jump" and (Disable_Jump == true) then
  2003. Humanoid.Jump = false
  2004. end
  2005. end)
  2006.  
  2007. local CONNECT = nil
  2008.  
  2009. while true do
  2010. Swait()
  2011. ANIMATE.Parent = nil
  2012. if Character:FindFirstChildOfClass("Humanoid") == nil then
  2013. Humanoid = IT("Humanoid",Character)
  2014. end
  2015. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  2016. v:Stop();
  2017. end
  2018. SINE = SINE + CHANGE
  2019. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2020. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2021. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  2022. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  2023. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2024. 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)
  2025. 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)
  2026. 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)
  2027. 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)
  2028. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2029. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2030. 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)
  2031. 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)
  2032. 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)
  2033. end
  2034. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2035. ANIM = "Jump"
  2036. if ATTACK == false then
  2037. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2038. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2039. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2040. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2041. 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)
  2042. 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)
  2043. end
  2044. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2045. ANIM = "Fall"
  2046. if ATTACK == false then
  2047. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2048. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2049. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2050. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2051. 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)
  2052. 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)
  2053. end
  2054. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2055. ANIM = "Idle"
  2056. if ATTACK == false then
  2057. 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)
  2058. 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)
  2059. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45), RAD(-25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2060. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2061. 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)
  2062. 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)
  2063. end
  2064. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2065. ANIM = "Walk"
  2066. if ATTACK == false then
  2067. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2068. 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)
  2069. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2070. 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)
  2071. 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)
  2072. 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)
  2073. end
  2074. end
  2075. Humanoid.MaxHealth = 15e15
  2076. Humanoid.Health = 15e15
  2077. if Rooted == false then
  2078. Disable_Jump = false
  2079. Humanoid.WalkSpeed = Speed
  2080. elseif Rooted == true then
  2081. Disable_Jump = true
  2082. Humanoid.WalkSpeed = 0
  2083. end
  2084. refit()
  2085. for _, c in pairs(Character:GetChildren()) do
  2086. if c.ClassName == "Part" and c.Name ~= "Eye" then
  2087. c.Material = "SmoothPlastic"
  2088. if c:FindFirstChildOfClass("ParticleEmitter") then
  2089. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  2090. end
  2091. if c == LeftLeg or c == RightLeg then
  2092. c.Color = C3(0,0,0)
  2093. if c:FindFirstChildOfClass("BlockMesh") == nil then
  2094. IT("BlockMesh",c)
  2095. end
  2096. elseif c == Torso then
  2097. c.Color = C3(0,0,0)
  2098. if c:FindFirstChildOfClass("BlockMesh") == nil then
  2099. IT("BlockMesh",c)
  2100. end
  2101. else
  2102. c.BrickColor = BRICKC"Really black"
  2103. end
  2104. if c == Head then
  2105. if c:FindFirstChild("face") then
  2106. c.face:remove()
  2107. end
  2108. end
  2109. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  2110. c:remove()
  2111. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  2112. c:remove()
  2113. end
  2114. end
  2115. end
  2116. --//=================================\\
  2117. --\\=================================//
  2118.  
  2119.  
  2120.  
  2121.  
  2122.  
  2123. --//====================================================\\--
  2124. --|| END OF SCRIPT
  2125. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement