Advertisement
HennadiY

Revenge

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