Advertisement
uor

Untitled

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