reset234567890

Untitled

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