Advertisement
lundofett

Untitled

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