Advertisement
SniperZazzy

Untitled

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