Advertisement
Guest User

Untitled

a guest
Sep 11th, 2019
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 114.40 KB | None | 0 0
  1. Player = Player
  2. PlayerGui = Player.PlayerGui
  3. Cam = workspace.CurrentCamera
  4. Backpack = Player.Backpack
  5. Character = Player.Character
  6. Humanoid = Character.Humanoid
  7. RootPart = Character["HumanoidRootPart"]
  8. Torso = Character["Torso"]
  9. Head = Character["Head"]
  10. RightArm = Character["Right Arm"]
  11. LeftArm = Character["Left Arm"]
  12. RightLeg = Character["Right Leg"]
  13. LeftLeg = Character["Left Leg"]
  14. RootJoint = RootPart["RootJoint"]
  15. Neck = Torso["Neck"]
  16. RightShoulder = Torso["Right Shoulder"]
  17. LeftShoulder = Torso["Left Shoulder"]
  18. RightHip = Torso["Right Hip"]
  19. LeftHip = Torso["Left Hip"]
  20. local sick = Instance.new("Sound",Torso)
  21. sick.SoundId = "rbxassetid://318812395"
  22. sick.Looped = true
  23. sick.Pitch = 1
  24. sick.Volume = 3
  25. sick.TimePosition = 0
  26. Character.Archivable = true
  27. Humanoid.DisplayDistanceType = "None"
  28.  
  29. local naeeym2 = Instance.new("BillboardGui",Character)
  30. naeeym2.AlwaysOnTop = true
  31. naeeym2.Size = UDim2.new(5,35,2,35)
  32. naeeym2.StudsOffset = Vector3.new(0,3,0)
  33. naeeym2.Adornee = Character.Head
  34. naeeym2.Name = "Name"
  35. local tecks2 = Instance.new("TextLabel",naeeym2)
  36. tecks2.BackgroundTransparency = 1
  37. tecks2.TextScaled = true
  38. tecks2.BorderSizePixel = 0
  39. tecks2.Text = "Dead Gun"
  40. tecks2.Font = "Code"
  41. tecks2.TextSize = 30
  42. tecks2.TextTransparency = 1
  43. tecks2.TextStrokeTransparency = 1
  44. tecks2.TextColor3 = Color3.new(255/255,0/255,0/255)
  45. tecks2.Size = UDim2.new(1,0,0.5,0)
  46. tecks2.Parent = naeeym2
  47.  
  48. IT = Instance.new
  49. CF = CFrame.new
  50. VT = Vector3.new
  51. RAD = math.rad
  52. C3 = Color3.new
  53. UD2 = UDim2.new
  54. BRICKC = BrickColor.new
  55. ANGLES = CFrame.Angles
  56. EULER = CFrame.fromEulerAnglesXYZ
  57. COS = math.cos
  58. ACOS = math.acos
  59. SIN = math.sin
  60. ASIN = math.asin
  61. ABS = math.abs
  62. MRANDOM = math.random
  63. FLOOR = math.floor
  64.  
  65. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  66. local NEWMESH = IT(MESH)
  67. if MESH == "SpecialMesh" then
  68. NEWMESH.MeshType = MESHTYPE
  69. if MESHID ~= "nil" and MESHID ~= "" then
  70. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  71. end
  72. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  73. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  74. end
  75. end
  76. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  77. NEWMESH.Scale = SCALE
  78. NEWMESH.Parent = PARENT
  79. return NEWMESH
  80. end
  81.  
  82. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  83. local NEWPART = IT("Part")
  84. NEWPART.formFactor = FORMFACTOR
  85. NEWPART.Reflectance = REFLECTANCE
  86. NEWPART.Transparency = TRANSPARENCY
  87. NEWPART.CanCollide = false
  88. NEWPART.Locked = true
  89. NEWPART.Anchored = true
  90. if ANCHOR == false then
  91. NEWPART.Anchored = false
  92. end
  93. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  94. NEWPART.Name = NAME
  95. NEWPART.Size = SIZE
  96. NEWPART.Position = Torso.Position
  97. NEWPART.Material = MATERIAL
  98. NEWPART:BreakJoints()
  99. NEWPART.Parent = PARENT
  100. return NEWPART
  101. end
  102.  
  103. --//=================================\\
  104. --|| CUSTOMIZATION
  105. --\\=================================//
  106.  
  107. Player_Size = 5 --Size of the player.
  108. Animation_Speed = 900000
  109. Frame_Speed = 1/ 30 -- (1 / 30) OR (1 / 60)
  110.  
  111. local Speed = 16
  112. local Effects2 = {}
  113.  
  114. --//=================================\\
  115. --|| END OF CUSTOMIZATION
  116. --\\=================================//
  117.  
  118. local function weldBetween(a, b)
  119. local weldd = Instance.new("ManualWeld")
  120. weldd.Part0 = a
  121. weldd.Part1 = b
  122. weldd.C0 = CFrame.new()
  123. weldd.C1 = b.CFrame:inverse() * a.CFrame
  124. weldd.Parent = a
  125. return weldd
  126. end
  127.  
  128. --//=================================\\
  129. --|| USEFUL VALUES
  130. --\\=================================//
  131.  
  132. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  133. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  134. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  135. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  136. local CHANGEDEFENSE = 0
  137. local CHANGEDAMAGE = 0
  138. local CHANGEMOVEMENT = 0
  139. local ANIM = "Idle"
  140. local ATTACK = false
  141. local EQUIPPED = false
  142. local HOLD = false
  143. local COMBO = 1
  144. local Rooted = false
  145. local SINE = 0
  146. local KEYHOLD = false
  147. local CHANGE = 2 / Animation_Speed
  148. local WALKINGANIM = false
  149. local WALK = 0
  150. local VALUE1 = false
  151. local VALUE2 = false
  152. local ROBLOXIDLEANIMATION = IT("Animation")
  153. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  154. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  155. --ROBLOXIDLEANIMATION.Parent = Humanoid
  156. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  157. WEAPONGUI.Name = "Weapon GUI"
  158. local Weapon = IT("Folder", Character)
  159. Weapon.Name = "Weapon"
  160. local Effects = IT("Folder", Character)
  161. Effects.Name = "Effects"
  162. local Weapon2 = IT("Folder",Character)
  163. Weapon2.Name = "Weapon2"
  164. local ANIMATOR = Humanoid.Animator
  165. local ANIMATE = Character.Animate
  166. local UNANCHOR = true
  167. local LAUGHS = {834001699,834001752,834001797,834001828}
  168. local SONGS = {534861083,530959353,1534958855,0}
  169. local CHOICE = MRANDOM(1,4)
  170. local PLAYMAINANIM = true
  171. local INTRO = false
  172. local TRANSFORMED = false
  173. local INSTANT = false
  174. local MODE = "GoodCop"
  175.  
  176. --//=================================\\
  177. --\\=================================//
  178.  
  179.  
  180. --//=================================\\
  181. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  182. --\\=================================//
  183.  
  184. ArtificialHB = Instance.new("BindableEvent", script)
  185. ArtificialHB.Name = "ArtificialHB"
  186.  
  187. script:WaitForChild("ArtificialHB")
  188.  
  189. frame = Frame_Speed
  190. tf = 0
  191. allowframeloss = false
  192. tossremainder = false
  193. lastframe = tick()
  194. script.ArtificialHB:Fire()
  195.  
  196. game:GetService("RunService").Heartbeat:connect(function(s, p)
  197. tf = tf + s
  198. if tf >= frame then
  199. if allowframeloss then
  200. script.ArtificialHB:Fire()
  201. lastframe = tick()
  202. else
  203. for i = 1, math.floor(tf / frame) do
  204. script.ArtificialHB:Fire()
  205. end
  206. lastframe = tick()
  207. end
  208. if tossremainder then
  209. tf = 0
  210. else
  211. tf = tf - frame * math.floor(tf / frame)
  212. end
  213. end
  214. end)
  215.  
  216. --//=================================\\
  217. --\\=================================//
  218.  
  219.  
  220.  
  221.  
  222.  
  223. --//=================================\\
  224. --|| SOME FUNCTIONS
  225. --\\=================================//
  226.  
  227. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  228. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  229. end
  230.  
  231. function PositiveAngle(NUMBER)
  232. if NUMBER >= 0 then
  233. NUMBER = 0
  234. end
  235. return NUMBER
  236. end
  237.  
  238. function NegativeAngle(NUMBER)
  239. if NUMBER <= 0 then
  240. NUMBER = 0
  241. end
  242. return NUMBER
  243. end
  244.  
  245.  
  246. function QuaternionFromCFrame(cf)
  247. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  248. local trace = m00 + m11 + m22
  249. if trace > 0 then
  250. local s = math.sqrt(1 + trace)
  251. local recip = 0.5 / s
  252. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  253. else
  254. local i = 0
  255. if m11 > m00 then
  256. i = 1
  257. end
  258. if m22 > (i == 0 and m00 or m11) then
  259. i = 2
  260. end
  261. if i == 0 then
  262. local s = math.sqrt(m00 - m11 - m22 + 1)
  263. local recip = 0.5 / s
  264. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  265. elseif i == 1 then
  266. local s = math.sqrt(m11 - m22 - m00 + 1)
  267. local recip = 0.5 / s
  268. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  269. elseif i == 2 then
  270. local s = math.sqrt(m22 - m00 - m11 + 1)
  271. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  272. end
  273. end
  274. end
  275.  
  276. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  277. local xs, ys, zs = x + x, y + y, z + z
  278. local wx, wy, wz = w * xs, w * ys, w * zs
  279. local xx = x * xs
  280. local xy = x * ys
  281. local xz = x * zs
  282. local yy = y * ys
  283. local yz = y * zs
  284. local zz = z * zs
  285. 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))
  286. end
  287.  
  288. function QuaternionSlerp(a, b, t)
  289. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  290. local startInterp, finishInterp;
  291. if cosTheta >= 0.0001 then
  292. if (1 - cosTheta) > 0.0001 then
  293. local theta = ACOS(cosTheta)
  294. local invSinTheta = 1 / SIN(theta)
  295. startInterp = SIN((1 - t) * theta) * invSinTheta
  296. finishInterp = SIN(t * theta) * invSinTheta
  297. else
  298. startInterp = 1 - t
  299. finishInterp = t
  300. end
  301. else
  302. if (1 + cosTheta) > 0.0001 then
  303. local theta = ACOS(-cosTheta)
  304. local invSinTheta = 1 / SIN(theta)
  305. startInterp = SIN((t - 1) * theta) * invSinTheta
  306. finishInterp = SIN(t * theta) * invSinTheta
  307. else
  308. startInterp = t - 1
  309. finishInterp = t
  310. end
  311. end
  312. 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
  313. end
  314.  
  315. function Clerp(a, b, t)
  316. local qa = {QuaternionFromCFrame(a)}
  317. local qb = {QuaternionFromCFrame(b)}
  318. local ax, ay, az = a.x, a.y, a.z
  319. local bx, by, bz = b.x, b.y, b.z
  320. local _t = 1 - t
  321. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  322. end
  323.  
  324. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  325. local frame = IT("Frame")
  326. frame.BackgroundTransparency = TRANSPARENCY
  327. frame.BorderSizePixel = BORDERSIZEPIXEL
  328. frame.Position = POSITION
  329. frame.Size = SIZE
  330. frame.BackgroundColor3 = COLOR
  331. frame.BorderColor3 = BORDERCOLOR
  332. frame.Name = NAME
  333. frame.Parent = PARENT
  334. return frame
  335. end
  336.  
  337. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  338. local label = IT("TextLabel")
  339. label.BackgroundTransparency = 1
  340. label.Size = UD2(1, 0, 1, 0)
  341. label.Position = UD2(0, 0, 0, 0)
  342. label.TextColor3 = TEXTCOLOR
  343. label.TextStrokeTransparency = STROKETRANSPARENCY
  344. label.TextTransparency = TRANSPARENCY
  345. label.FontSize = TEXTFONTSIZE
  346. label.Font = TEXTFONT
  347. label.BorderSizePixel = BORDERSIZEPIXEL
  348. label.TextScaled = false
  349. label.Text = TEXT
  350. label.Name = NAME
  351. label.Parent = PARENT
  352. return label
  353. end
  354.  
  355. function NoOutlines(PART)
  356. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  357. end
  358.  
  359.  
  360. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  361. local NEWWELD = IT(TYPE)
  362. NEWWELD.Part0 = PART0
  363. NEWWELD.Part1 = PART1
  364. NEWWELD.C0 = C0
  365. NEWWELD.C1 = C1
  366. NEWWELD.Parent = PARENT
  367. return NEWWELD
  368. end
  369.  
  370. function CreateSound(ID, PARENT, VOLUME, PITCH)
  371. local NEWSOUND = nil
  372. coroutine.resume(coroutine.create(function()
  373. NEWSOUND = IT("Sound", PARENT)
  374. NEWSOUND.Volume = VOLUME
  375. NEWSOUND.Pitch = PITCH
  376. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  377. wait(0.0001)
  378. NEWSOUND:play()
  379. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  380. end))
  381. return NEWSOUND
  382. end
  383.  
  384. function CFrameFromTopBack(at, top, back)
  385. local right = top:Cross(back)
  386. 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)
  387. end
  388.  
  389. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  390. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  391. local mesh = IT("SpecialMesh",wave)
  392. mesh.MeshType = "FileMesh"
  393. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  394. mesh.Scale = SIZE
  395. mesh.Offset = VT(0,0,0)
  396. wave.CFrame = CFRAME
  397. coroutine.resume(coroutine.create(function(PART)
  398. for i = 1, WAIT do
  399. wait(0.0001)
  400. mesh.Scale = mesh.Scale + GROW
  401. if DOESROT == true then
  402. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  403. end
  404. wave.Transparency = wave.Transparency + (0.5/WAIT)
  405. if wave.Transparency > 0.99 then
  406. wave:remove()
  407. end
  408. end
  409. end))
  410. end
  411.  
  412. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  413. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  414. local mesh = IT("SpecialMesh",wave)
  415. mesh.MeshType = "Sphere"
  416. mesh.Scale = SIZE
  417. mesh.Offset = VT(0,0,0)
  418. wave.CFrame = CFRAME
  419. coroutine.resume(coroutine.create(function(PART)
  420. for i = 1, WAIT do
  421. wait(0.0001)
  422. mesh.Scale = mesh.Scale + GROW
  423. wave.Transparency = wave.Transparency + (1/WAIT)
  424. if wave.Transparency > 0.99 then
  425. wave:remove()
  426. end
  427. end
  428. end))
  429. end
  430.  
  431. function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
  432. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  433. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  434. wave.CFrame = CFRAME
  435. coroutine.resume(coroutine.create(function(PART)
  436. for i = 1, WAIT do
  437. wait(0.0001)
  438. mesh.Scale = mesh.Scale * GROW
  439. wave.Transparency = wave.Transparency + (0.5/WAIT)
  440. if wave.Transparency > 0.99 then
  441. wave:remove()
  442. end
  443. end
  444. end))
  445. end
  446.  
  447. function MagicBlock(SIZE,WAIT,CFRAME,COLOR,GROW)
  448. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(SIZE,SIZE,SIZE), true)
  449. local mesh = IT("BlockMesh",wave)
  450. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  451. coroutine.resume(coroutine.create(function(PART)
  452. for i = 1, WAIT do
  453. wait(0.0001)
  454. mesh.Scale = mesh.Scale + GROW
  455. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  456. wave.Transparency = wave.Transparency + (1/WAIT)
  457. if wave.Transparency > 0.99 then
  458. wave:remove()
  459. end
  460. end
  461. end))
  462. end
  463.  
  464. function MakeForm(PART,TYPE)
  465. if TYPE == "Cyl" then
  466. local MSH = IT("CylinderMesh",PART)
  467. elseif TYPE == "Ball" then
  468. local MSH = IT("SpecialMesh",PART)
  469. MSH.MeshType = "Sphere"
  470. elseif TYPE == "Wedge" then
  471. local MSH = IT("SpecialMesh",PART)
  472. MSH.MeshType = "Wedge"
  473. end
  474. end
  475.  
  476. function CheckTableForString(Table, String)
  477. for i, v in pairs(Table) do
  478. if string.find(string.lower(String), string.lower(v)) then
  479. return true
  480. end
  481. end
  482. return false
  483. end
  484.  
  485.  
  486.  
  487. Debris = game:GetService("Debris")
  488.  
  489. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  490. local Direction = CFrame.new(StartPos, Vec).lookVector
  491. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  492. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  493. if RayHit and CheckIntangible(RayHit) then
  494. if DelayIfHit then
  495. wait()
  496. end
  497. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  498. end
  499. return RayHit, RayPos, RayNormal
  500. end
  501.  
  502. function RayCast(Position, Direction, MaxDistance, IgnoreList)
  503. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
  504. end
  505.  
  506. function turnto(position)
  507. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  508. end
  509.  
  510. function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
  511. PLAYMAINANIM = false
  512. if WhichPose == "Cast1" then
  513. for i=0, Time, 0.1 / Animation_Speed do
  514. wait(0.0001)
  515. if Magic == true then
  516. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  517. end
  518. if Gyro ~= nil and Gyro ~= false then
  519. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  520. end
  521. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(35)), Speed / Animation_Speed)
  522. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-35)), Speed / Animation_Speed)
  523. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(125), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  524. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  525. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  526. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  527. end
  528. elseif WhichPose == "Cast2" then
  529. for i=0, Time, 0.1 / Animation_Speed do
  530. wait(0.0001)
  531. if Magic == true then
  532. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  533. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  534. end
  535. if Gyro ~= nil and Gyro ~= false then
  536. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  537. end
  538. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  539. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  540. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(15)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  541. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  542. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  543. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  544. end
  545. elseif WhichPose == "RightArmUp" then
  546. for i=0, Time, 0.1 / Animation_Speed do
  547. wait(0.0001)
  548. if Magic == true then
  549. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  550. end
  551. if Gyro ~= nil and Gyro ~= false then
  552. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  553. end
  554. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), Speed / Animation_Speed)
  555. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), Speed / Animation_Speed)
  556. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(125), RAD(0), RAD(25)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  557. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  558. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  559. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  560. end
  561. elseif WhichPose == "Taunt" then
  562. for i=0, Time, 0.1 / Animation_Speed do
  563. wait(0.0001)
  564. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  565. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  566. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  567. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  568. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  569. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  570. end
  571. CreateSound(221057812,Torso,10,1,false)
  572. for i=0, Time*2, 0.1 / Animation_Speed do
  573. wait(0.0001)
  574. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  575. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  576. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(145), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  577. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(5), RAD(25), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  578. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  579. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  580. end
  581. for i=0, Time, 0.1 / Animation_Speed do
  582. wait(0.0001)
  583. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  584. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
  585. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.65, -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  586. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  587. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  588. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  589. end
  590. elseif WhichPose == "Prepare key" then
  591. for i=0, Time, 0.1 / Animation_Speed do
  592. wait(0.0001)
  593. if Gyro ~= nil and Gyro ~= false then
  594. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  595. end
  596. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(65)), Speed / Animation_Speed)
  597. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-65)), Speed / Animation_Speed)
  598. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  599. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  600. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  601. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  602. end
  603. elseif WhichPose == "Turn key" then
  604. for i=0, Time, 0.1 / Animation_Speed do
  605. wait(0.0001)
  606. if Gyro ~= nil and Gyro ~= false then
  607. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  608. end
  609. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(75)), Speed / Animation_Speed)
  610. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-75)), Speed / Animation_Speed)
  611. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(75)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  612. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  613. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  614. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  615. end
  616. end
  617. PLAYMAINANIM = true
  618. end
  619.  
  620. --//=================================\\
  621. --|| SPEECH
  622. --\\=================================//
  623.  
  624. function Chatter(Text,Timer)
  625. local chat = coroutine.wrap(function()
  626. if Character:FindFirstChild("SpeechBoard")~= nil then
  627. Character:FindFirstChild("SpeechBoard"):destroy()
  628. end
  629. local naeeym2 = IT("BillboardGui",Character)
  630. naeeym2.Size = UD2(0,100,0,40)
  631. naeeym2.StudsOffset = Vector3.new(0,2,0)
  632. naeeym2.Adornee = Character.Head
  633. naeeym2.Name = "SpeechBoard"
  634. naeeym2.AlwaysOnTop = true
  635. local tecks2 = IT("TextLabel",naeeym2)
  636. tecks2.BackgroundTransparency = 1
  637. tecks2.BorderSizePixel = 0
  638. tecks2.Text = ""
  639. tecks2.Font = "Legacy"
  640. tecks2.TextSize = 15
  641. tecks2.TextStrokeTransparency = 1
  642. tecks2.TextColor3 = Color3.new(255,0,0)
  643. tecks2.TextStrokeColor3 = Color3.new(255,0,0)
  644. tecks2.Size = UDim2.new(1,0,0.5,0)
  645. for i = 1,string.len(Text),1 do
  646. CreateSound(418252437, Head, 3, MRANDOM(8,12)/15, false)
  647. tecks2.Text = string.sub(Text,1,i)
  648. wait(Timer)
  649. end
  650. wait(1)
  651. naeeym2:Destroy()
  652. end)
  653. chat()
  654. end
  655.  
  656. function chatfunc(text,waitt)
  657. local chat = coroutine.wrap(function()
  658. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  659. Character:FindFirstChild("TalkingBillBoard"):destroy()
  660. end
  661. local naeeym2 = Instance.new("BillboardGui",Character)
  662. naeeym2.Size = UDim2.new(0,100,0,40)
  663. naeeym2.StudsOffset = Vector3.new(0,5,0)
  664. naeeym2.Adornee = Character.Head
  665. naeeym2.Name = "TalkingBillBoard"
  666. naeeym2.AlwaysOnTop = true
  667. local tecks2 = Instance.new("TextLabel",naeeym2)
  668. tecks2.BackgroundTransparency = 1
  669. tecks2.BorderSizePixel = 0
  670. tecks2.Text = ""
  671. tecks2.Font = "SciFi"
  672. tecks2.TextSize = 30
  673. tecks2.TextStrokeTransparency = 1
  674. tecks2.TextColor3 = SKILLTEXTCOLOR
  675. tecks2.TextStrokeColor3 = Color3.new(255/255,0/255,0/255)
  676. tecks2.Size = UDim2.new(1,0,0.5,0)
  677. for i = 1,string.len(text),1 do
  678. tecks2.Text = string.sub(text,1,i)
  679. wait(0.0001)
  680. end
  681. wait(waitt)
  682. coroutine.resume(coroutine.create(function()
  683. for i = 1, 10 do
  684. tecks2.TextTransparency = tecks2.TextTransparency + 0.1
  685. wait(0.0001)
  686. end
  687. naeeym2:Destroy()
  688. end))
  689. end)
  690. chat()
  691. end
  692.  
  693. --// Start Stuff for Banishing \\--
  694.  
  695. local TOBANISH = {}
  696.  
  697. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  698. local DIRECTION = CF(StartPos,EndPos).lookVector
  699. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  700. end
  701.  
  702. function printbye(Name)
  703. 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 life 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, "}
  704. chatfunc(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  705. end
  706.  
  707. function Banish(Foe)
  708. if Foe then
  709. local who = game.Players:GetPlayerFromCharacter(Foe)
  710. coroutine.resume(coroutine.create(function()
  711. --if game.Players:FindFirstChild(Foe.Name) then
  712. table.insert(TOBANISH,Foe.Name)
  713. printbye(Foe.Name)
  714. --end
  715. Foe.Archivable = true
  716. local CLONE = Foe:Clone()
  717. Foe:Destroy()
  718. CLONE.Parent = Effects
  719. CLONE:BreakJoints()
  720. local MATERIALS = {"Glass","Neon"}
  721. for _, c in pairs(CLONE:GetDescendants()) do
  722. if c:IsA("BasePart") then
  723. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  724. CreateSound(340722848, c, 10, 1, false)
  725. end
  726. c.Anchored = true
  727. c.Transparency = c.Transparency + 0.2
  728. c.Material = MATERIALS[MRANDOM(1,2)]
  729. c.Color = C3(0,255,0)
  730. if c.ClassName == "MeshPart" then
  731. c.TextureID = ""
  732. end
  733. if c:FindFirstChildOfClass("SpecialMesh") then
  734. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  735. end
  736. if c:FindFirstChildOfClass("Decal") then
  737. c:FindFirstChildOfClass("Decal"):remove()
  738. end
  739. c.Name = "Banished"
  740. c.CanCollide = false
  741. else
  742. c:remove()
  743. end
  744. end
  745. local A = false
  746. for i = 1, 35 do
  747. if A == false then
  748. A = true
  749. elseif A == true then
  750. A = false
  751. end
  752. for _, c in pairs(CLONE:GetDescendants()) do
  753. if c:IsA("BasePart") then
  754. c.Anchored = true
  755. c.Material = MATERIALS[MRANDOM(1,2)]
  756. c.Transparency = c.Transparency + 0.8/35
  757. if A == false then
  758. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  759. elseif A == true then
  760. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  761. end
  762. end
  763. end
  764. wait(0.0001)
  765. end
  766. CLONE:remove()
  767. who:Kick()
  768. end))
  769. end
  770. end
  771. function Banish2(Foe)
  772. if Foe then
  773. local who = game.Players:GetPlayerFromCharacter(Foe)
  774. coroutine.resume(coroutine.create(function()
  775. --if game.Players:FindFirstChild(Foe.Name) then
  776. table.insert(TOBANISH,Foe.Name)
  777. printbye(Foe.Name)
  778. --end
  779. Foe.Archivable = true
  780. local CLONE = Foe:Clone()
  781. Foe:Destroy()
  782. CLONE.Parent = Effects
  783. CLONE:BreakJoints()
  784. local MATERIALS = {"Glass","Neon"}
  785. for _, c in pairs(CLONE:GetDescendants()) do
  786. if c:IsA("BasePart") then
  787. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  788. CreateSound(340722848, c, 10, 1, false)
  789. end
  790. c.Anchored = true
  791. c.Transparency = c.Transparency + 0.2
  792. c.Material = MATERIALS[MRANDOM(1,2)]
  793. c.Color = C3(0,255,0)
  794. if c.ClassName == "MeshPart" then
  795. c.TextureID = ""
  796. end
  797. if c:FindFirstChildOfClass("SpecialMesh") then
  798. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  799. end
  800. if c:FindFirstChildOfClass("Decal") then
  801. c:FindFirstChildOfClass("Decal"):remove()
  802. end
  803. c.Name = "Banished"
  804. c.CanCollide = false
  805. else
  806. c:remove()
  807. end
  808. end
  809. local A = false
  810. for i = 1, 35 do
  811. if A == false then
  812. A = true
  813. elseif A == true then
  814. A = false
  815. end
  816. for _, c in pairs(CLONE:GetDescendants()) do
  817. if c:IsA("BasePart") then
  818. c.Anchored = true
  819. c.Material = MATERIALS[MRANDOM(1,2)]
  820. c.Transparency = c.Transparency + 0.8/35
  821. if A == false then
  822. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  823. elseif A == true then
  824. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  825. end
  826. end
  827. end
  828. wait(0.0001)
  829. end
  830. CLONE:remove()
  831. --who:Kick()
  832. end))
  833. end
  834. end
  835. --[[function kick(who)
  836. local plr = game.Players:FindFirstChild(who)
  837. if plr then
  838. plr:Kick()
  839. end
  840. end
  841. local banned = {}
  842. workspace.ChildAdded:connect(function(instance)
  843. for BANISH = 1, #banned do
  844. if banned[BANISH] ~= nil then
  845. if instance.Name == banned[BANISH] then
  846. coroutine.resume(coroutine.create(function()
  847. kick(instance.Name)
  848. end))
  849. end
  850. end
  851. end
  852. end)]]--
  853. --[[function Ban(Foe)
  854. if Foe then
  855. coroutine.resume(coroutine.create(function()
  856. --if game.Players:FindFirstChild(Foe.Name) then
  857. table.insert(banned,Foe.Name)
  858. Banish2(Foe.Name)
  859. --end
  860. local plr = game.Players:GetPlayerFromCharacter(Foe)
  861. if plr then
  862. plr:Kick()
  863. end
  864. end))
  865. end
  866. end]]--
  867. function BANNEAREST(POS,RANGE)
  868. for i,v in ipairs(workspace:GetChildren()) do
  869. local body = v:GetChildren()
  870. for part = 1, #body do
  871. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  872. if(body[part].Position - POS).Magnitude < RANGE then
  873. if v:FindFirstChildOfClass("Humanoid") then
  874. Banish(v)
  875. if game.Players:FindFirstChild(v.Name) then
  876. local Value = IT("BoolValue",Delete)
  877. Value.Name = v.Name
  878. end
  879. end
  880. end
  881. end
  882. end
  883. end
  884. end
  885.  
  886. workspace.ChildAdded:connect(function(instance)
  887. for BANISH = 1, #TOBANISH do
  888. if TOBANISH[BANISH] ~= nil then
  889. if instance.Name == TOBANISH[BANISH] then
  890. coroutine.resume(coroutine.create(function()
  891. printbye(instance.Name)
  892. instance:ClearAllChildren()
  893. Debris:AddItem(instance,0.0005)
  894. end))
  895. end
  896. end
  897. end
  898. end)
  899.  
  900. function SpawnTrail(FROM,TO,BIG)
  901. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  902. MakeForm(TRAIL,"Cyl")
  903. local DIST = (FROM - TO).Magnitude
  904. if BIG == true then
  905. TRAIL.Size = VT(10,DIST,10)
  906. else
  907. TRAIL.Size = VT(0.25,DIST,0.25)
  908. end
  909. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  910. coroutine.resume(coroutine.create(function()
  911. for i = 1, 5 do
  912. wait(0.0001)
  913. TRAIL.Transparency = TRAIL.Transparency + 0.1
  914. end
  915. TRAIL:remove()
  916. end))
  917. end
  918.  
  919. function WACKYEFFECT(Table)
  920. local TYPE = (Table.EffectType or "Sphere")
  921. local SIZE = (Table.Size or VT(1,1,1))
  922. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  923. local TRANSPARENCY = (Table.Transparency or 0)
  924. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  925. local CFRAME = (Table.CFrame or Torso.CFrame)
  926. local MOVEDIRECTION = (Table.MoveToPos or nil)
  927. local ROTATION1 = (Table.RotationX or 0)
  928. local ROTATION2 = (Table.RotationY or 0)
  929. local ROTATION3 = (Table.RotationZ or 0)
  930. local MATERIAL = (Table.Material or "Neon")
  931. local COLOR = (Table.Color or C3(0,255,0))
  932. local TIME = (Table.Time or 45)
  933. local SOUNDID = (Table.SoundID or nil)
  934. local SOUNDPITCH = (Table.SoundPitch or nil)
  935. local SOUNDVOLUME = (Table.SoundVolume or nil)
  936. coroutine.resume(coroutine.create(function()
  937. local PLAYSSOUND = false
  938. local SOUND = nil
  939. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  940. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  941. PLAYSSOUND = true
  942. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  943. end
  944. EFFECT.Color = COLOR
  945. local MSH = nil
  946. if TYPE == "Sphere" then
  947. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  948. elseif TYPE == "Block" then
  949. MSH = IT("BlockMesh",EFFECT)
  950. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  951. elseif TYPE == "Wave" then
  952. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  953. elseif TYPE == "Ring" then
  954. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  955. elseif TYPE == "Slash" then
  956. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  957. elseif TYPE == "Round Slash" then
  958. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  959. elseif TYPE == "Swirl" then
  960. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  961. elseif TYPE == "Skull" then
  962. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  963. elseif TYPE == "Crystal" then
  964. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  965. end
  966. if MSH ~= nil then
  967. local MOVESPEED = nil
  968. if MOVEDIRECTION ~= nil then
  969. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  970. end
  971. local GROWTH = SIZE - ENDSIZE
  972. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  973. if TYPE == "Block" then
  974. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  975. else
  976. EFFECT.CFrame = CFRAME
  977. end
  978. for LOOP = 1, TIME+1 do
  979. wait(0.0001)
  980. MSH.Scale = MSH.Scale - GROWTH/TIME
  981. if TYPE == "Wave" then
  982. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  983. end
  984. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  985. if TYPE == "Block" then
  986. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  987. else
  988. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  989. end
  990. if MOVEDIRECTION ~= nil then
  991. local ORI = EFFECT.Orientation
  992. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  993. EFFECT.Orientation = ORI
  994. end
  995. end
  996. if PLAYSSOUND == false then
  997. EFFECT:remove()
  998. else
  999. SOUND.Stopped:Connect(function()
  1000. EFFECT:remove()
  1001. end)
  1002. end
  1003. else
  1004. if PLAYSSOUND == false then
  1005. EFFECT:remove()
  1006. else
  1007. repeat wait(0.0001) until SOUND.Playing == false
  1008. EFFECT:remove()
  1009. end
  1010. end
  1011. end))
  1012. end
  1013.  
  1014. -- \\ End Stuff for Banishing //--
  1015.  
  1016. --//=================================\\
  1017. --|| WEAPON CREATION
  1018. --\\=================================//
  1019. local Particle = IT("ParticleEmitter",nil)
  1020. Particle.Enabled = false
  1021. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  1022. Particle.LightEmission = 0.5
  1023. Particle.Rate = 150
  1024. Particle.ZOffset = 0.2
  1025. Particle.Rotation = NumberRange.new(-180, 180)
  1026. Particle.RotSpeed = NumberRange.new(-180, 180)
  1027. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  1028. Particle.Color = ColorSequence.new(C3(255,128,0),C3(0,155,0),C3(255,255,0),C3(0,255,0),C3(0,255,255),C3(0,0,255),C3(191,0,255),C3(255,0,191))
  1029.  
  1030. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  1031. function ParticleEmitter(Table)
  1032. local PRTCL = Particle:Clone()
  1033. local Speed = Table.Speed or 5
  1034. local Drag = Table.Drag or 0
  1035. local Size1 = Table.Size1 or 1
  1036. local Size2 = Table.Size2 or 5
  1037. local Lifetime1 = Table.Lifetime1 or 1
  1038. local Lifetime2 = Table.Lifetime2 or 1.5
  1039. local Parent = Table.Parent or Torso
  1040. local Emit = Table.Emit or 100
  1041. local Offset = Table.Offset or 360
  1042. local Acel = Table.Acel or VT(0,0,0)
  1043. local Enabled = Table.Enabled or false
  1044. PRTCL.Parent = Parent
  1045. PRTCL.Size = NumberSequence.new(Size1,Size2)
  1046. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1047. PRTCL.Speed = NumberRange.new(Speed)
  1048. PRTCL.VelocitySpread = Offset
  1049. PRTCL.Drag = Drag
  1050. PRTCL.Acceleration = Acel
  1051. if Enabled == false then
  1052. PRTCL:Emit(Emit)
  1053. Debris:AddItem(PRTCL,Lifetime2)
  1054. else
  1055. PRTCL.Enabled = true
  1056. end
  1057. return PRTCL
  1058. end
  1059.  
  1060. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1061. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1062. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1063. MakeForm(Part,"Wedge")
  1064. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1065. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1066. MakeForm(Part,"Wedge")
  1067. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1068. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1069. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1070. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1071. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1072. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1073. MakeForm(Part,"Cyl")
  1074. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1075. for i = 1, 8 do
  1076. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1077. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1078. end
  1079. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1080. MakeForm(Part,"Cyl")
  1081. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1082. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1083. MakeForm(Part,"Ball")
  1084. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1085. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1086. MakeForm(Part,"Wedge")
  1087. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1088. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1089. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1090. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1091. MakeForm(Part,"Cyl")
  1092. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1093. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1094. MakeForm(Part,"Cyl")
  1095. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1096. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1097. MakeForm(Part,"Cyl")
  1098. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1099. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1100. MakeForm(Part,"Wedge")
  1101. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1102. local LASTPART = Handle
  1103. for i = 1, 10 do
  1104. if LASTPART == Handle then
  1105. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1106. LASTPART = Part
  1107. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1108. else
  1109. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1110. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1111. LASTPART = Part
  1112. end
  1113. end
  1114.  
  1115. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  1116. MakeForm(Barrel,"Cyl")
  1117. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1118. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1119. MakeForm(Part,"Cyl")
  1120. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1121. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1122. MakeForm(Part,"Wedge")
  1123. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1124. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1125. MakeForm(Hole,"Cyl")
  1126. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  1127. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1128. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1129. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1130. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1131. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1132. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1133. coroutine.resume(coroutine.create(function()
  1134. while wait() do
  1135. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1136. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1137. end
  1138. end))
  1139.  
  1140. --W2--
  1141.  
  1142. local Handle = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1143. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1144. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1145. MakeForm(Part,"Wedge")
  1146. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1147. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1148. MakeForm(Part,"Wedge")
  1149. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1150. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1151. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1152. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1153. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1154. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1155. MakeForm(Part,"Cyl")
  1156. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1157. for i = 1, 8 do
  1158. local Piece = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1159. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1160. end
  1161. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1162. MakeForm(Part,"Cyl")
  1163. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1164. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1165. MakeForm(Part,"Ball")
  1166. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1167. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1168. MakeForm(Part,"Wedge")
  1169. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1170. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1171. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1172. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1173. MakeForm(Part,"Cyl")
  1174. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1175. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1176. MakeForm(Part,"Cyl")
  1177. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1178. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1179. MakeForm(Part,"Cyl")
  1180. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1181. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1182. MakeForm(Part,"Wedge")
  1183. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.65, -0.6) * ANGLES(RAD(135), RAD(180), RAD(180)), CF(0, -0.3, 0))
  1184. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1185. MakeForm(Part,"Cyl")
  1186. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1187. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1188. MakeForm(Part,"Wedge")
  1189. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, -0.6) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1190. local LASTPART = Handle
  1191. for i = 1, 10 do
  1192. if LASTPART == Handle then
  1193. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1194. LASTPART = Part
  1195. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1196. else
  1197. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1198. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1199. LASTPART = Part
  1200. end
  1201. end
  1202. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "exe", VT(0.2,0.5,0.2),false)
  1203. MakeForm(Part,"Wedge")
  1204. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, -0.6) * ANGLES(RAD(-125), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1205. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "exe2", VT(0.2,0.5,0.2),false)
  1206. MakeForm(Part,"Wedge")
  1207. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.65, -0.6) * ANGLES(RAD(125), RAD(180), RAD(180)), CF(0, -0.3, 0))
  1208. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "exe3", VT(0.2,0.5,0.2),false)
  1209. MakeForm(Part,"Wedge")
  1210. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, -0.6) * ANGLES(RAD(-145), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1211. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "exe4", VT(0.2,0.5,0.2),false)
  1212. MakeForm(Part,"Wedge")
  1213. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.65, -0.6) * ANGLES(RAD(145), RAD(180), RAD(180)), CF(0, -0.3, 0))
  1214.  
  1215. local Barrel = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,5,0.15),false)
  1216. MakeForm(Barrel,"Cyl")
  1217. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1218. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1219. MakeForm(Part,"Cyl")
  1220. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1221. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1222. MakeForm(Part,"Wedge")
  1223. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 2.4, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1224. local RHole = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1225. MakeForm(RHole,"Cyl")
  1226. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, RHole, CF(0, 2.5, 0), CF(0, 0, 0))
  1227. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1228. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1229. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1230. local Part = CreatePart(3, Weapon2, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1231. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1232. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1233. coroutine.resume(coroutine.create(function()
  1234. while wait() do
  1235. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1236. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1237. end
  1238. end))
  1239.  
  1240. local BODY = {}
  1241.  
  1242. for _, c in pairs(Character:GetDescendants()) do
  1243. if c:IsA("BasePart") and c.Name ~= "Handle" then
  1244. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  1245. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1246. end
  1247. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  1248. elseif c:IsA("JointInstance") then
  1249. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  1250. end
  1251. end
  1252.  
  1253. for e = 1, #BODY do
  1254. if BODY[e] ~= nil then
  1255. local STUFF = BODY[e]
  1256. local PART = STUFF[1]
  1257. local PARENT = STUFF[2]
  1258. local MATERIAL = STUFF[3]
  1259. local COLOR = STUFF[4]
  1260. local TRANSPARENCY = STUFF[5]
  1261. if PART.ClassName == "Part" and PART ~= RootPart then
  1262. PART.Material = MATERIAL
  1263. PART.Color = COLOR
  1264. PART.Transparency = TRANSPARENCY
  1265. end
  1266. PART.AncestryChanged:Connect(function()
  1267. PART.Parent = PARENT
  1268. end)
  1269. end
  1270. end
  1271.  
  1272. function refit()
  1273. Character.Parent = workspace
  1274. for e = 1, #BODY do
  1275. if BODY[e] ~= nil then
  1276. local STUFF = BODY[e]
  1277. local PART = STUFF[1]
  1278. local PARENT = STUFF[2]
  1279. local MATERIAL = STUFF[3]
  1280. local COLOR = STUFF[4]
  1281. local TRANSPARENCY = STUFF[5]
  1282. if PART.ClassName == "Part" and PART ~= RootPart then
  1283. PART.Material = MATERIAL
  1284. PART.Color = COLOR
  1285. PART.Transparency = TRANSPARENCY
  1286. end
  1287. if PART.Parent ~= PARENT then
  1288. Humanoid:remove()
  1289. PART.Parent = PARENT
  1290. Humanoid = IT("Humanoid",Character)
  1291. end
  1292. end
  1293. end
  1294. end
  1295.  
  1296. for _, c in pairs(Weapon:GetDescendants()) do
  1297. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1298. c.Material = "Glass"
  1299. c.Color = C3(0,0,0)
  1300. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1301. c.Color = C3(0,0,0)
  1302. c.Material = "Neon"
  1303. end
  1304. end
  1305.  
  1306. for _, c in pairs(Weapon2:GetDescendants()) do
  1307. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1308. c.Material = "Glass"
  1309. c.Color = C3(0,0,0)
  1310. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1311. c.Color = C3(1,0,0)
  1312. c.Material = "Neon"
  1313. end
  1314. end
  1315.  
  1316. Weapon.Parent = Character
  1317. Weapon2.Parent = nil
  1318. for _, c in pairs(Weapon:GetChildren()) do
  1319. if c.ClassName == "Part" then
  1320. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1321. end
  1322. end
  1323.  
  1324. local SKILLTEXTCOLOR = C3(0,0,0)
  1325. local SKILLFONT = "Antique"
  1326. local SKILLTEXTSIZE = 7
  1327.  
  1328. Humanoid.Died:connect(function()
  1329. ATTACK = true
  1330. end)
  1331.  
  1332. 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")
  1333.  
  1334. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  1335.  
  1336. function printbye(Name)
  1337. 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, "}
  1338. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1339. end
  1340.  
  1341. workspace.ChildAdded:connect(function(instance)
  1342. for BANISH = 1, #TOBANISH do
  1343. if TOBANISH[BANISH] ~= nil then
  1344. if instance.Name == TOBANISH[BANISH] then
  1345. coroutine.resume(coroutine.create(function()
  1346. printbye(instance.Name)
  1347. instance:ClearAllChildren()
  1348. Debris:AddItem(instance,0.0005)
  1349. end))
  1350. end
  1351. end
  1352. end
  1353. end)
  1354. --//=================================\\
  1355. --|| DAMAGING
  1356. --\\=================================//
  1357.  
  1358. function ApplyDamage(Humanoid,Damage,OneShot)
  1359. Damage = Damage * DAMAGEMULTIPLIER
  1360. local DEAD = false
  1361. if Humanoid.Health < 2000 and OneShot == false then
  1362. if Humanoid.Health - Damage > 0 then
  1363. Humanoid.Health = Humanoid.Health - Damage
  1364. else
  1365. Humanoid.Parent:BreakJoints()
  1366. DEAD = true
  1367. end
  1368. else
  1369. DEAD = true
  1370. Humanoid.Parent:BreakJoints()
  1371. end
  1372. if DEAD == true then
  1373. local PARTS = {}
  1374. for index, CHILD in pairs(Humanoid.Parent:GetChildren()) do
  1375. if CHILD:IsA("BasePart") then
  1376. table.insert(PARTS,CHILD)
  1377. end
  1378. end
  1379. coroutine.resume(coroutine.create(function()
  1380. wait(2)
  1381. repeat
  1382. wait(0.0001)
  1383. local PIECE = nil
  1384. if MRANDOM(1,5) == 1 then
  1385. for E = 1, #PARTS do
  1386. if MRANDOM(1,5) == 1 then
  1387. PIECE = PARTS[E]
  1388. table.remove(PARTS,E)
  1389. break
  1390. end
  1391. end
  1392. end
  1393. if PIECE ~= nil then
  1394. if PIECE.Name == "Head" then
  1395. WACKYEFFECT({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = VT(PIECE.Size.Z,PIECE.Size.Y,PIECE.Size.Z), Size2 = (VT(PIECE.Size.Z,PIECE.Size.Y,PIECE.Size.Z))*MRANDOM(7,14)/10, Transparency = PIECE.Transparency, Transparency2 = 1, CFrame = PIECE.CFrame, MoveToPos = PIECE.Position+VT(0,MRANDOM(5,8)/1.5,0), RotationX = MRANDOM(-25,25)/35, RotationY = MRANDOM(-25,25)/35, RotationZ = MRANDOM(-25,25)/35, Material = "Neon", Color = C3(0.4,0,0), SoundID = 3264923, SoundPitch = MRANDOM(12,16)/10, SoundVolume = 2})
  1396. else
  1397. WACKYEFFECT({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = PIECE.Size, Size2 = PIECE.Size*MRANDOM(7,14)/10, Transparency = PIECE.Transparency, Transparency2 = 1, CFrame = PIECE.CFrame, MoveToPos = PIECE.Position+VT(0,MRANDOM(5,8)/1.5,0), MRANDOM(-25,25)/35, RotationY = MRANDOM(-25,25)/35, RotationZ = MRANDOM(-25,25)/35, Material = "Neon", Color = C3(0.4,0,0), SoundID = 3264923, SoundPitch = MRANDOM(12,16)/10, SoundVolume = 2})
  1398. end
  1399. PIECE:remove()
  1400. end
  1401. until #PARTS == 0
  1402. end))
  1403. end
  1404. end
  1405.  
  1406.  
  1407. function ApplyDamage3(Humanoid,Damage,TorsoPart)
  1408. local defence = Instance.new("BoolValue",Humanoid.Parent)
  1409. defence.Name = ("HitBy"..Player.Name)
  1410. game:GetService("Debris"):AddItem(defence, 0.001)
  1411. Damage = Damage * DAMAGEMULTIPLIER
  1412. if Humanoid.Health ~= 0 then
  1413. local CritChance = MRANDOM(1,100)
  1414. if Damage > Humanoid.Health then
  1415. Damage = math.ceil(Humanoid.Health)
  1416. if Damage == 0 then
  1417. Damage = 0.1
  1418. end
  1419. end
  1420. Humanoid.Health = Humanoid.Health - Damage
  1421. end
  1422. end
  1423.  
  1424. function ApplyDamage3(Humanoid,Damage,TorsoPart)
  1425. local defence = Instance.new("BoolValue",Humanoid.Parent)
  1426. defence.Name = ("HitBy"..Player.Name)
  1427. game:GetService("Debris"):AddItem(defence, 0.001)
  1428. Damage = Damage * DAMAGEMULTIPLIER
  1429. if Humanoid.Health ~= 0 then
  1430. local CritChance = MRANDOM(1,100)
  1431. if Damage > Humanoid.Health then
  1432. Damage = math.ceil(Humanoid.Health)
  1433. if Damage == 0 then
  1434. Damage = 0.1
  1435. end
  1436. end
  1437. Humanoid.Health = Humanoid.Health - Damage
  1438. end
  1439. end
  1440.  
  1441. function ApplyAoE3(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  1442. local CHILDREN = workspace:GetDescendants()
  1443. for index, CHILD in pairs(CHILDREN) do
  1444. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1445. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1446. if HUM then
  1447. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1448. if TORSO then
  1449. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1450. if INSTAKILL == true then
  1451. CHILD:BreakJoints()
  1452. else
  1453. local DMG = MRANDOM(MINDMG,MAXDMG)
  1454. ApplyDamage(HUM,DMG,TORSO)
  1455. end
  1456. if FLING > 0 then
  1457. for _, c in pairs(CHILD:GetChildren()) do
  1458. if c:IsA("BasePart") then
  1459. local bv = Instance.new("BodyVelocity")
  1460. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1461. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1462. bv.Parent = c
  1463. Debris:AddItem(bv,0.05)
  1464. end
  1465. end
  1466. end
  1467. end
  1468. end
  1469. end
  1470. end
  1471. end
  1472. end
  1473.  
  1474. function CameraEnshaking(Length, Intensity)
  1475. coroutine.resume(coroutine.create(function()
  1476. local intensity = 1 * Intensity
  1477. local rotM = 0.01 * Intensity
  1478. for i = 0, Length, 0.1 do
  1479. wait(0.0001)
  1480. intensity = intensity - 0.05 * Intensity / Length
  1481. rotM = rotM - 5.0E-4 * Intensity / Length
  1482. Humanoid.CameraOffset = Vector3.new(RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity)))
  1483. Cam.CFrame = Cam.CFrame * CF(RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity))) * EULER(RAD(MRANDOM(-intensity, intensity)) * rotM, RAD(MRANDOM(-intensity, intensity)) * rotM, RAD(MRANDOM(-intensity, intensity)) * rotM)
  1484. end
  1485. Humanoid.CameraOffset = Vector3.new(0, 0, 0)
  1486. end))
  1487. end
  1488.  
  1489. function KillChildren(v)
  1490. v:BreakJoints()
  1491. for _, c in pairs(v:GetChildren()) do
  1492. if c:IsA("BasePart") then
  1493. if c.Transparency < 1 then
  1494. if c:FindFirstChildOfClass("Decal") then
  1495. c:FindFirstChildOfClass("Decal"):remove()
  1496. end
  1497. particles(c)
  1498. c.PE.Enabled = true
  1499. c.Parent = Effects
  1500. c.CanCollide = false
  1501. c.Material = "Neon"
  1502. c.Color = C3(1,0,0)
  1503. c.Transparency = 1
  1504. local grav = Instance.new("BodyPosition",c)
  1505. grav.P = 20000
  1506. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1507. grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
  1508. grav.Name = "GravityForce"
  1509. coroutine.resume(coroutine.create(function()
  1510. for i = 1, 20 do
  1511. wait(0.0001)
  1512. c.Transparency = c.Transparency + 1/20
  1513. end
  1514. c.PE.Enabled = false
  1515. Debris:AddItem(c,2)
  1516. end))
  1517. end
  1518. end
  1519. end
  1520. end
  1521.  
  1522. function ApplyAoE(POSITION,RANGE)
  1523. local CHILDREN = workspace:GetDescendants()
  1524. for index, CHILD in pairs(CHILDREN) do
  1525. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1526. local LISTED = false
  1527. for LIST = 1, #WHITELIST do
  1528. if WHITELIST[LIST] ~= nil then
  1529. if CHILD.Name == WHITELIST[LIST] then
  1530. LISTED = true
  1531. end
  1532. end
  1533. end
  1534. if LISTED == false then
  1535. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1536. if HUM then
  1537. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1538. if TORSO then
  1539. if (TORSO.Position - POSITION).Magnitude <= RANGE+TORSO.Size.Magnitude then
  1540. KillChildren(CHILD)
  1541. end
  1542. end
  1543. end
  1544. end
  1545. end
  1546. end
  1547. end
  1548.  
  1549. function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS)
  1550. coroutine.resume(coroutine.create(function()
  1551. local METEOR = IT("Model",Effects)
  1552. METEOR.Name = "Meteorite"
  1553. local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  1554. METEOR.PrimaryPart = CENTER
  1555. local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  1556. PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1557. for i = 1, 15 do
  1558. local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "Really red", "Fire", VT(5.1,1,5.1)*SIZE)
  1559. FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1560. end
  1561. if ISDEBREE ~= true then
  1562. METEOR:SetPrimaryPartCFrame(CF(POS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15)))*CF(0,500,0) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  1563. else
  1564. METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  1565. end
  1566. local IMPACT = false
  1567. CreateSound(463593339, CENTER, 10, 0.6)
  1568. if SIZE >= 3.5 then
  1569. for i = 1, MRANDOM(3,7) do
  1570. SpawnMeteor(CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,SIZE*12).p,SIZE/MRANDOM(4,5),true,CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SIZE*15).p)
  1571. end
  1572. end
  1573. for i = 1, 200 do
  1574. wait(0.0001)
  1575. local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character)
  1576. if HITFLOOR == nil then
  1577. local ORI = CENTER.Orientation
  1578. METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  1579. else
  1580. if HITFLOOR.Anchored == true then
  1581. CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
  1582. CreateFlyingDebree(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175)
  1583. end
  1584. IMPACT = true
  1585. break
  1586. end
  1587. end
  1588. if IMPACT == true then
  1589. WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*4*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  1590. WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*3*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 201858144, SoundPitch = 1, SoundVolume = 5})
  1591. WACKYEFFECT({EffectType = "Sphere", Size = VT(SIZE*20,0,SIZE*20), Size2 = VT(0,SIZE*750,0), Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  1592. ApplyAoE(CENTER.Position,30*SIZE)
  1593. end
  1594. METEOR:remove()
  1595. end))
  1596. end
  1597.  
  1598. function ApplyAoE4(POSITION,RANGE,BRUTAL)
  1599. local CHILDREN = workspace:GetDescendants()
  1600. for index, CHILD in pairs(CHILDREN) do
  1601. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1602. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1603. if HUM then
  1604. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1605. if TORSO then
  1606. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1607. if BRUTAL == true then
  1608. Kill(CHILD)
  1609. else
  1610. CHILD:BreakJoints()
  1611. end
  1612. end
  1613. end
  1614. end
  1615. end
  1616. end
  1617. end
  1618.  
  1619. function Kill(Char)
  1620. local NewCharacter = IT("Model",Effects)
  1621. NewCharacter.Name = "Ow im ded ;-;"
  1622. for _, c in pairs(Char:GetDescendants()) do
  1623. if c:IsA("BasePart") and c.Transparency == 0 then
  1624. c:BreakJoints()
  1625. c.Material = "Glass"
  1626. c.Color = C3(1,0,0)
  1627. c.CanCollide = true
  1628. c.Transparency = 0.3
  1629. if c:FindFirstChildOfClass("SpecialMesh") then
  1630. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1631. end
  1632. if c.Name == "Head" then
  1633. c:ClearAllChildren()
  1634. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1635. end
  1636. if c.ClassName == "MeshPart" then
  1637. c.TextureID = ""
  1638. end
  1639. if c:FindFirstChildOfClass("BodyPosition") then
  1640. c:FindFirstChildOfClass("BodyPosition"):remove()
  1641. end
  1642. if c:FindFirstChildOfClass("ParticleEmitter") then
  1643. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1644. end
  1645. c.Parent = NewCharacter
  1646. c.Name = "DeadPart"
  1647. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1648. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1649. end
  1650. end
  1651. Char:remove()
  1652. Debris:AddItem(NewCharacter,5)
  1653. end
  1654.  
  1655. function ApplyAoE(POSITION,RANGE,BRUTAL)
  1656. local CHILDREN = workspace:GetDescendants()
  1657. for index, CHILD in pairs(CHILDREN) do
  1658. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1659. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1660. if HUM then
  1661. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1662. if TORSO then
  1663. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1664. if BRUTAL == true then
  1665. Kill(CHILD)
  1666. else
  1667. CHILD:BreakJoints()
  1668. end
  1669. end
  1670. end
  1671. end
  1672. end
  1673. end
  1674. end
  1675.  
  1676. function ApplyAoE(POSITION,RANGE,BRUTAL)
  1677. local CHILDREN = workspace:GetDescendants()
  1678. for index, CHILD in pairs(CHILDREN) do
  1679. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1680. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1681. if HUM then
  1682. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1683. if TORSO then
  1684. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1685. if BRUTAL == true then
  1686. Kill(CHILD)
  1687. else
  1688. CHILD:BreakJoints()
  1689. end
  1690. end
  1691. end
  1692. end
  1693. end
  1694. end
  1695. end
  1696.  
  1697. function Banish(Foe)
  1698. if Foe then
  1699. coroutine.resume(coroutine.create(function()
  1700. --if game.Players:FindFirstChild(Foe.Name) then
  1701. table.insert(TOBANISH,Foe.Name)
  1702. printbye(Foe.Name)
  1703. --end
  1704. Foe.Archivable = true
  1705. local CLONE = Foe:Clone()
  1706. Foe:Destroy()
  1707. CLONE.Parent = Effects
  1708. CLONE:BreakJoints()
  1709. local MATERIALS = {"Glass","Neon"}
  1710. for _, c in pairs(CLONE:GetDescendants()) do
  1711. if c:IsA("BasePart") then
  1712. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1713. CreateSound(138271815, c, 10, 1, false)
  1714. end
  1715. c.Anchored = true
  1716. c.Transparency = c.Transparency + 0.2
  1717. c.Material = MATERIALS[MRANDOM(1,2)]
  1718. c.Color = C3(1,0,0)
  1719. if c.ClassName == "MeshPart" then
  1720. c.TextureID = ""
  1721. end
  1722. if c:FindFirstChildOfClass("SpecialMesh") then
  1723. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1724. end
  1725. if c:FindFirstChildOfClass("Decal") then
  1726. c:FindFirstChildOfClass("Decal"):remove()
  1727. end
  1728. c.Name = "Banished"
  1729. c.CanCollide = false
  1730. else
  1731. c:remove()
  1732. end
  1733. end
  1734. local A = false
  1735. for i = 1, 35 do
  1736. if A == false then
  1737. A = true
  1738. elseif A == true then
  1739. A = false
  1740. end
  1741. for _, c in pairs(CLONE:GetDescendants()) do
  1742. if c:IsA("BasePart") then
  1743. c.Anchored = true
  1744. c.Material = MATERIALS[MRANDOM(1,2)]
  1745. c.Transparency = c.Transparency + 0.8/35
  1746. if A == false then
  1747. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1748. elseif A == true then
  1749. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1750. end
  1751. end
  1752. end
  1753. wait(0.0001)
  1754. end
  1755. CLONE:remove()
  1756. end))
  1757. end
  1758. end
  1759.  
  1760.  
  1761. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1762. local CHILDREN = workspace:GetDescendants()
  1763. for index, CHILD in pairs(CHILDREN) do
  1764. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1765. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1766. if HUM then
  1767. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1768. if TORSO then
  1769. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1770. if ISBANISH == true then
  1771. Banish(CHILD)
  1772. else
  1773. if ISBANISH == "Gravity" then
  1774. HUM.PlatformStand = true
  1775. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1776. local grav = Instance.new("BodyPosition",TORSO)
  1777. grav.D = 15
  1778. grav.P = 20000
  1779. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1780. grav.position = TORSO.Position
  1781. grav.Name = "V3BanishForce"..Player.Name
  1782. else
  1783. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1784. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1785. end
  1786. else
  1787. HUM.PlatformStand = false
  1788. end
  1789. end
  1790. elseif ISBANISH == "Gravity" then
  1791. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1792. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1793. HUM.PlatformStand = false
  1794. end
  1795. end
  1796. end
  1797. end
  1798. end
  1799. end
  1800. end
  1801.  
  1802. function SpawnSmite(POS)
  1803. local HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, Character)
  1804. local EMITPOS = HITPOS
  1805. if HITFLOOR ~= nil then
  1806. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  1807. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
  1808. EMITPOS = HITPOS
  1809. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  1810. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
  1811. EMITPOS = HITPOS
  1812. end
  1813. end
  1814. if HITFLOOR ~= nil then
  1815. ApplyAoE(EMITPOS,10)
  1816. WACKYEFFECT({EffectType = "Sphere", Size = VT(0,100000,0), Size2 = VT(10,100000,10), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  1817. WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*2, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1818. WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*1.5, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1819. for i = 1, 5 do
  1820. local TOPOS = CF(EMITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,12)
  1821. WACKYEFFECT({EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.2,0,0.2), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS,TOPOS.p) * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = TOPOS.p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  1822. end
  1823. end
  1824. end
  1825.  
  1826. --//=================================\\
  1827. --|| TRANSFORMATIONS
  1828. --\\=================================//
  1829.  
  1830. function Switch()
  1831. ATTACK = true
  1832. Rooted = true
  1833. if MODE == "GoodCop" then
  1834. CreateSound("649634100", Head, 10, 0.5)
  1835. for i = 0, 0.1, 0.1 / Animation_Speed do
  1836. wait(0.0001)
  1837. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1838. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1839. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1840. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1841. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1842. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1843. end
  1844. CreateSound("289842971", RightArm, 10, 1)
  1845. for i = 0, 0.1, 0.1 / Animation_Speed do
  1846. wait(0.0001)
  1847. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(-5), RAD(0)), 0.5 / Animation_Speed)
  1848. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1849. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, -0.3) * ANGLES(RAD(0), RAD(0), RAD(8)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1850. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1851. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1852. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1853. end
  1854. Weapon.Parent = nil
  1855. Weapon2.Parent = Character
  1856. for i = 0, 0.1, 0.1 / Animation_Speed do
  1857. wait(0.0001)
  1858. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(5), RAD(0)), 0.5 / Animation_Speed)
  1859. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1860. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1.25, -0.3) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1861. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1862. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1863. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(5), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1864. end
  1865. for i=0, 0.1, 0.1 / Animation_Speed do
  1866. wait(0.0001)
  1867. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1 + 0.1 * COS(SINE / 24)) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed*3)
  1868. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 + MRANDOM(-5,5) - 4 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(15)), 1 / Animation_Speed)
  1869. if MRANDOM(1,7) == 1 then
  1870. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  1871. end
  1872. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(90), RAD(25), RAD(45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1873. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, -0.1 * Player_Size) * ANGLES(RAD(95), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1874. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3 - 0.1 * COS(SINE / 24), -1 - 0.1 * COS(SINE / 24)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1875. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.2, 0.2 - 0.1 * COS(SINE / 24), -0.4 - 0.1 * COS(SINE / 24)) * ANGLES(RAD(45), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1876. end
  1877. MODE = "BadCop"
  1878. tecks2.Text = "Thunder Gun"
  1879. sick.SoundId = "rbxassetid://1138145518"
  1880. sick.TimePosition = 0
  1881. elseif MODE == "BadCop" then
  1882. CreateSound(147722227, Torso, 4, 1.3, false)
  1883. for i=0, 0.1, 0.1 / Animation_Speed do
  1884. wait(0.0001)
  1885. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1886. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1887. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.4, 0.75, -0.3) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  1888. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1889. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1890. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1891. end
  1892. MODE = "GoodCop"
  1893. Weapon.Parent = Character
  1894. Weapon2.Parent = nil
  1895. tecks2.Text = "Dead Gun"
  1896. sick.SoundId = "rbxassetid://318812395"
  1897. sick.TimePosition = 22
  1898. end
  1899. ATTACK = false
  1900. Rooted = false
  1901. end
  1902. --//=================================\\
  1903. --|| ATTACK FUNCTIONS AND STUFF
  1904. --\\=================================//
  1905.  
  1906. function Intro()
  1907. ATTACK = true
  1908. Rooted = true
  1909. repeat
  1910. wait(0.0001)
  1911. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1912. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(-3.5 * COS(SINE / 12)), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1913. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.8 / Animation_Speed)
  1914. LeftShoulder.C0 = Clerp(LeftShoulder.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)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1915. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(2.5 * COS(SINE / 12))), 0.8 / Animation_Speed)
  1916. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-8), RAD(5), RAD(15-2.5 * COS(SINE / 12))), 0.8 / Animation_Speed)
  1917. until sick.TimePosition > 1
  1918. repeat
  1919. wait(0.0001)
  1920. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1921. 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)
  1922. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-15), RAD(5 + 1 * COS(SINE / 12))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1923. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-5 - 1 * COS(SINE / 12))) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1924. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(74), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1925. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(-74), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1926. until sick.TimePosition > 1
  1927. repeat
  1928. wait(0.0001)
  1929. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1930. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1931. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1932. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1933. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1934. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1935. until sick.TimePosition > 1
  1936. tecks2.TextTransparency = 0
  1937. for i = 1, 100 do
  1938. wait(0.0001)
  1939.  
  1940.  
  1941. end
  1942. TRANSFORMED = true
  1943. ATTACK = false
  1944. Rooted = false
  1945. end
  1946.  
  1947. function Shot1()
  1948. ATTACK = true
  1949. Rooted = false
  1950. for i=0, 0.1, 0.05 / Animation_Speed do
  1951. wait(0.0001)
  1952. turnto(Mouse.Hit.p)
  1953. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(60)), 0.5 / Animation_Speed)
  1954. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1955. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1956. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, -0.4) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1957. 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)
  1958. 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)
  1959. end
  1960. repeat
  1961. for i=0, 0.1, 0.05 / Animation_Speed do
  1962. wait(0.0001)
  1963. turnto(Mouse.Hit.p)
  1964. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(60)), 0.5 / Animation_Speed)
  1965. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)), 0.5 / Animation_Speed)
  1966. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1967. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0.6, -0.4) * ANGLES(RAD(170), RAD(0), RAD(20)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1968. 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)
  1969. 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)
  1970. end
  1971. local HIT,POS = CastProperRay(RHole.Position, Mouse.Hit.p, 1000, Character)
  1972. SpawnTrail(RHole.Position,POS)
  1973. if HIT ~= nil then
  1974. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1975. Banish(HIT.Parent)
  1976. end
  1977. end
  1978. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = RHole.CFrame, MoveToPos = RHole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1979. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = RHole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 1463566014, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1980. 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,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1981. 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,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1982. Humanoid.CameraOffset = VT(MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5)/30
  1983. for i=0, 0.1, 0.05 / Animation_Speed do
  1984. wait(0.0001)
  1985. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-5), RAD(0), RAD(60)), 0.5 / Animation_Speed)
  1986. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)), 0.25 / Animation_Speed)
  1987. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1988. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3, 0.6, -0.4) * ANGLES(RAD(172), RAD(0), RAD(20)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1989. 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)
  1990. 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)
  1991. end
  1992. until KEYHOLD == false
  1993. ATTACK = false
  1994. Rooted = false
  1995. end
  1996.  
  1997. function Shot2()
  1998. ATTACK = true
  1999. Rooted = false
  2000. for i=0, 0.2, 0.05 / Animation_Speed do
  2001. wait(0.0001)
  2002. turnto(Mouse.Hit.p)
  2003. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2004. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2005. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2006. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2007. 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)
  2008. 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)
  2009. end
  2010. repeat
  2011. for i=0, 0.2, 0.05 / Animation_Speed do
  2012. wait(0.0001)
  2013. turnto(Mouse.Hit.p)
  2014. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2015. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2016. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2017. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2018. 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)
  2019. 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)
  2020. end
  2021. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  2022. SpawnTrail(Hole.Position,POS)
  2023. if HIT ~= nil then
  2024. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2025. Banish(HIT.Parent)
  2026. end
  2027. end
  2028. 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,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2029. 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,0,0), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2030. 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,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2031. 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,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2032. Humanoid.CameraOffset = VT(MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5)/30
  2033. for i=0, 0.2, 0.05 / Animation_Speed do
  2034. wait(0.0001)
  2035. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2036. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  2037. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2038. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2039. 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)
  2040. 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)
  2041. end
  2042. until KEYHOLD == false
  2043. ATTACK = false
  2044. Rooted = false
  2045. end
  2046.  
  2047. function ScrewThis()
  2048. ATTACK = true
  2049. Rooted = true
  2050. Weapon.Parent = nil
  2051. sick.Volume = 0
  2052. CreateSound("1238240145", Effects, 10, 0.9)
  2053. CreateSound(363808674, Effects, 10, 1, false)
  2054. for i=0, 0.6, 0.1 / Animation_Speed do
  2055. wait(0.0001)
  2056. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2057. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
  2058. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2059. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2060. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2061. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2062. end
  2063. CreateSound(363808674, Effects, 10, 1, false)
  2064. for i=0, 0.6, 0.1 / Animation_Speed do
  2065. wait(0.0001)
  2066. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2067. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
  2068. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2069. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2070. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2071. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2072. end
  2073. CreateSound(363808674, Effects, 10, 1, false)
  2074. for i=0, 0.6, 0.1 / Animation_Speed do
  2075. wait(0.0001)
  2076. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2077. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
  2078. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2079. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2080. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2081. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2082. end
  2083. CreateSound(363808674, Effects, 10, 1, false)
  2084. for i=0, 0.6, 0.1 / Animation_Speed do
  2085. wait(0.0001)
  2086. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2087. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
  2088. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2089. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2090. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2091. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2092. end
  2093. CreateSound(363808674, Effects, 10, 1, false)
  2094. for i=0, 0.6, 0.1 / Animation_Speed do
  2095. wait(0.0001)
  2096. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2097. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
  2098. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2099. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2100. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2101. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2102. end
  2103. CreateSound(363808674, Effects, 10, 1, false)
  2104. for i=0, 0.6, 0.1 / Animation_Speed do
  2105. wait(0.0001)
  2106. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2107. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
  2108. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2109. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2110. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2111. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2112. end
  2113. Weapon.Parent = Character
  2114. sick.Volume = 2
  2115. ATTACK = false
  2116. Rooted = false
  2117. end
  2118.  
  2119. function Taunt()
  2120. ATTACK = true
  2121. Rooted = true
  2122. local L = CreateSound(2162230624,Head,8,1.1,false)
  2123. L.EmitterSize = 25
  2124. for i = 1, 20 do
  2125. wait(0.0001)
  2126. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed)
  2127. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2128. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-110)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2129. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.3, -0.35) * ANGLES(RAD(0), RAD(0), RAD(80)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2130. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2131. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2132. end
  2133. for i = 1, 40 do
  2134. wait(0.0001)
  2135. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.17, -0.075 + 0.1 * SIN(i / 3)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2136. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-3), RAD(15 * SIN(i / 1.5)), RAD(0)), 1 / Animation_Speed)
  2137. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(-5), RAD(120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2138. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(5), RAD(-120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2139. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2140. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2141. end
  2142. for i = 1, 60 do
  2143. wait(0.0001)
  2144. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed)
  2145. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2146. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-110)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2147. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.3, -0.35) * ANGLES(RAD(0), RAD(0), RAD(80)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2148. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2149. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2150. end
  2151. for i = 1, 60 do
  2152. wait(0.0001)
  2153. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.17, -0.075 + 0.1 * SIN(i / 3)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2154. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-3), RAD(15 * SIN(i / 1.5)), RAD(0)), 1 / Animation_Speed)
  2155. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(-5), RAD(120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2156. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(5), RAD(-120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2157. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2158. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2159. end
  2160. for i = 1, 90 do
  2161. wait(0.0001)
  2162. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed)
  2163. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2164. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-110)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2165. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.3, -0.35) * ANGLES(RAD(0), RAD(0), RAD(80)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2166. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2167. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2168. end
  2169. for i = 1, 72 do
  2170. wait(0.0001)
  2171. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.17, -0.075 + 0.1 * SIN(i / 3)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2172. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-3), RAD(15 * SIN(i / 1.5)), RAD(0)), 1 / Animation_Speed)
  2173. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(-5), RAD(120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2174. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(5), RAD(-120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2175. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2176. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2177. end
  2178. for i = 1, 96 do
  2179. wait(0.0001)
  2180. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed)
  2181. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2182. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-110)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2183. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.3, -0.35) * ANGLES(RAD(0), RAD(0), RAD(80)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2184. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2185. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2186. end
  2187. for i = 1, 98 do
  2188. wait(0.0001)
  2189. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.17, -0.075 + 0.1 * SIN(i / 3)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2190. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-3), RAD(15 * SIN(i / 1.5)), RAD(0)), 1 / Animation_Speed)
  2191. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(-5), RAD(120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2192. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(5), RAD(-120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2193. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2194. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2195. end
  2196. ATTACK = false
  2197. Rooted = false
  2198. end
  2199. --//=================================\\
  2200. --|| ASSIGN THINGS TO KEYS
  2201. --\\=================================//
  2202.  
  2203. function MouseDown(Mouse)
  2204. if ATTACK == false then
  2205.  
  2206. end
  2207. end
  2208.  
  2209. function MouseUp(Mouse)
  2210. HOLD = false
  2211. end
  2212.  
  2213. function KeyDown(Key)
  2214. KEYHOLD = true
  2215. if TRANSFORMED == true and Rooted == false then
  2216. --[[if Key == "f" and ATTACK == false then
  2217. Switch()
  2218. end]]--
  2219.  
  2220.  
  2221. if Key == "z" and ATTACK == false then
  2222. if MODE == "GoodCop" then
  2223. Shot2()
  2224. elseif MODE == "BadCop" then
  2225. Shot1()
  2226. end
  2227. end
  2228.  
  2229. if Key == "t" and ATTACK == false then
  2230. if MODE == "GoodCop" then
  2231. ScrewThis()
  2232. elseif MODE == "BadCop" then
  2233. Taunt()
  2234. end
  2235. end
  2236.  
  2237. end
  2238.  
  2239. if Key == "9" and ATTACK == false then
  2240. CreateSound("135017578", Effects, 5, 1)
  2241. end
  2242. end
  2243.  
  2244. function KeyUp(Key)
  2245. KEYHOLD = false
  2246. end
  2247.  
  2248. Mouse.Button1Down:connect(function(NEWKEY)
  2249. MouseDown(NEWKEY)
  2250. end)
  2251. Mouse.Button1Up:connect(function(NEWKEY)
  2252. MouseUp(NEWKEY)
  2253. end)
  2254. Mouse.KeyDown:connect(function(NEWKEY)
  2255. KeyDown(NEWKEY)
  2256. end)
  2257. Mouse.KeyUp:connect(function(NEWKEY)
  2258. KeyUp(NEWKEY)
  2259. end)
  2260.  
  2261. --//=================================\\
  2262. --\\=================================//
  2263.  
  2264.  
  2265. function unanchor()
  2266. if UNANCHOR == true then
  2267. RootPart.Anchored = false
  2268. end
  2269. for _, c in pairs(Weapon:GetChildren()) do
  2270. if c.ClassName == "Part" then
  2271. c.Anchored = false
  2272. end
  2273. end
  2274. end
  2275.  
  2276.  
  2277. --//=================================\\
  2278. --|| WRAP THE WHOLE SCRIPT UP
  2279. --\\=================================//
  2280.  
  2281. Humanoid.Changed:connect(function(Jump)
  2282. if Jump == "Jump" and (Disable_Jump == true) then
  2283. Humanoid.Jump = false
  2284. end
  2285. end)
  2286.  
  2287. while true do
  2288. wait(0.0001)
  2289. script.Parent = WEAPONGUI
  2290. ANIMATE.Parent = nil
  2291. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  2292. v:Stop();
  2293. end
  2294. SINE = SINE + CHANGE
  2295. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2296. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2297. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  2298. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  2299. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2300. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0.05 * COS(SINE / (WALKSPEEDVALUE/2))) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2301. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2302. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(35 * COS(SINE / WALKSPEEDVALUE))), 0.6 / Animation_Speed)
  2303. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(35 * COS(SINE / WALKSPEEDVALUE))), 0.6 / Animation_Speed)
  2304. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2305. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2306. 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)
  2307. 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.7 / Animation_Speed)
  2308. 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.7 / Animation_Speed)
  2309. end
  2310. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2311. ANIM = "Jump"
  2312. if ATTACK == false then
  2313. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2314. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2315. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2316. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2317. 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)
  2318. 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)
  2319. end
  2320. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2321. ANIM = "Fall"
  2322. if ATTACK == false then
  2323. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2324. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2325. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2326. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2327. 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)
  2328. 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)
  2329. end
  2330. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2331. ANIM = "Idle"
  2332. if ATTACK == false then
  2333. if MODE == "GoodCop" then
  2334. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0.05 * COS(SINE / 12), 0, 0 + 0.05 * SIN(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2335. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed)
  2336. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  2337. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.3) * ANGLES(RAD(-40), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2338. RightHip.C0 = Clerp(RightHip.C0, CF(1 + 0.05 * COS(SINE / 12), -1 - 0.05 * SIN(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2339. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 + 0.05 * COS(SINE / 12), -1 - 0.05 * SIN(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2340. elseif MODE == "BadCop" then
  2341. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1 + 0.1 * COS(SINE / 24)) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed*3)
  2342. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 + MRANDOM(-5,5) - 4 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(15)), 1 / Animation_Speed)
  2343. if MRANDOM(1,7) == 1 then
  2344. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  2345. end
  2346. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(90), RAD(25), RAD(45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2347. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, -0.1 * Player_Size) * ANGLES(RAD(95), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2348. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3 - 0.1 * COS(SINE / 24), -1 - 0.1 * COS(SINE / 24)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  2349. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.2, 0.2 - 0.1 * COS(SINE / 24), -0.4 - 0.1 * COS(SINE / 24)) * ANGLES(RAD(45), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2350. end
  2351. end
  2352. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2353. ANIM = "Walk"
  2354. if ATTACK == false then
  2355. if MODE == "GoodCop" then
  2356. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(0), RAD(180), RAD(180)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2357. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.05 * SIN(SINE / (WALKSPEEDVALUE/2)), 0.3) * ANGLES(RAD(-40), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2358. elseif MODE == "BadCop" then
  2359. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2360. 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)
  2361. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65, -0.15) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2362. 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)
  2363. 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)
  2364. 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)
  2365. end
  2366. end
  2367. end
  2368. Humanoid.DisplayDistanceType = "None"
  2369. unanchor()
  2370. tecks2.TextColor3 = BrickColor.Random().Color
  2371. tecks2.TextStrokeColor3 = BrickColor.Random().Color
  2372. Humanoid.MaxHealth = "inf"
  2373. Humanoid.Health = "inf"
  2374. if Rooted == false then
  2375. Disable_Jump = false
  2376. Humanoid.WalkSpeed = Speed
  2377. elseif Rooted == true then
  2378. Disable_Jump = true
  2379. Humanoid.WalkSpeed = 0
  2380. end
  2381. Humanoid.PlatformStand = false
  2382. if INTRO == false and INSTANT == false then
  2383. INTRO = true
  2384. coroutine.resume(coroutine.create(function()
  2385. sick:Play()
  2386. Intro()
  2387. end))
  2388. end
  2389. if INSTANT == true then
  2390. if TRANSFORMED == false then
  2391. sick.TimePosition = 60
  2392. sick:Play()
  2393. end
  2394. TRANSFORMED = true
  2395. end
  2396. script.Parent = PlayerGui
  2397. Character.Parent = workspace
  2398. Humanoid.Parent = Character
  2399. end
  2400. --//=================================\\
  2401. --\\=================================//
  2402.  
  2403.  
  2404.  
  2405.  
  2406.  
  2407. --//====================================================\\--
  2408. --|| END OF SCRIPT
  2409. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement