Advertisement
Basykung7845

Demon Banisher

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