Advertisement
pakin2549

Untitled

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