Advertisement
arsem

???????????????????

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