Advertisement
RblxVoidScriptBuild

Mrflimflam

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