Advertisement
yabagaba

Untitled

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