kaualima12

cool script for void XD

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