Advertisement
AirdHeee

Sorry :P

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