Advertisement
AOM-GU-PRO

Corr

Jun 1st, 2018
445
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 83.74 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. Player = game:GetService("Players").LocalPlayer
  148. PlayerGui = Player.PlayerGui
  149. Cam = workspace.CurrentCamera
  150. Backpack = Player.Backpack
  151. Character = Player.Character
  152. Humanoid = Character.Humanoid
  153. Mouse = Player:GetMouse()
  154. RootPart = Character["HumanoidRootPart"]
  155. Torso = Character["Torso"]
  156. Head = Character["Head"]
  157. RightArm = Character["Right Arm"]
  158. LeftArm = Character["Left Arm"]
  159. RightLeg = Character["Right Leg"]
  160. LeftLeg = Character["Left Leg"]
  161. RootJoint = RootPart["RootJoint"]
  162. Neck = Torso["Neck"]
  163. RightShoulder = Torso["Right Shoulder"]
  164. LeftShoulder = Torso["Left Shoulder"]
  165. RightHip = Torso["Right Hip"]
  166. LeftHip = Torso["Left Hip"]
  167. local sick = Instance.new("Sound",Character)
  168. sick.SoundId = "rbxassetid://318812395"
  169. sick.Looped = true
  170. sick.Pitch = 1
  171. sick.Volume = 2
  172. sick.TimePosition = 0
  173. Character.Archivable = true
  174. Humanoid.DisplayDistanceType = "None"
  175.  
  176. local naeeym2 = Instance.new("BillboardGui",Character)
  177. naeeym2.AlwaysOnTop = true
  178. naeeym2.Size = UDim2.new(5,35,2,35)
  179. naeeym2.StudsOffset = Vector3.new(0,3,0)
  180. naeeym2.Adornee = Character.Head
  181. naeeym2.Name = "Name"
  182. local tecks2 = Instance.new("TextLabel",naeeym2)
  183. tecks2.BackgroundTransparency = 1
  184. tecks2.TextScaled = true
  185. tecks2.BorderSizePixel = 0
  186. tecks2.Text = "Dead Gun"
  187. tecks2.Font = "Code"
  188. tecks2.TextSize = 30
  189. tecks2.TextTransparency = 1
  190. tecks2.TextStrokeTransparency = 1
  191. tecks2.TextColor3 = Color3.new(255/255,0/255,0/255)
  192. tecks2.Size = UDim2.new(1,0,0.5,0)
  193. tecks2.Parent = naeeym2
  194.  
  195. IT = Instance.new
  196. CF = CFrame.new
  197. VT = Vector3.new
  198. RAD = math.rad
  199. C3 = Color3.new
  200. UD2 = UDim2.new
  201. BRICKC = BrickColor.new
  202. ANGLES = CFrame.Angles
  203. EULER = CFrame.fromEulerAnglesXYZ
  204. COS = math.cos
  205. ACOS = math.acos
  206. SIN = math.sin
  207. ASIN = math.asin
  208. ABS = math.abs
  209. MRANDOM = math.random
  210. FLOOR = math.floor
  211.  
  212. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  213. local NEWMESH = IT(MESH)
  214. if MESH == "SpecialMesh" then
  215. NEWMESH.MeshType = MESHTYPE
  216. if MESHID ~= "nil" and MESHID ~= "" then
  217. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  218. end
  219. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  220. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  221. end
  222. end
  223. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  224. NEWMESH.Scale = SCALE
  225. NEWMESH.Parent = PARENT
  226. return NEWMESH
  227. end
  228.  
  229. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  230. local NEWPART = IT("Part")
  231. NEWPART.formFactor = FORMFACTOR
  232. NEWPART.Reflectance = REFLECTANCE
  233. NEWPART.Transparency = TRANSPARENCY
  234. NEWPART.CanCollide = false
  235. NEWPART.Locked = true
  236. NEWPART.Anchored = true
  237. if ANCHOR == false then
  238. NEWPART.Anchored = false
  239. end
  240. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  241. NEWPART.Name = NAME
  242. NEWPART.Size = SIZE
  243. NEWPART.Position = Torso.Position
  244. NEWPART.Material = MATERIAL
  245. NEWPART:BreakJoints()
  246. NEWPART.Parent = PARENT
  247. return NEWPART
  248. end
  249.  
  250. --//=================================\\
  251. --|| CUSTOMIZATION
  252. --\\=================================//
  253.  
  254. Player_Size = 1 --Size of the player.
  255. Animation_Speed = 3
  256. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  257.  
  258. local Speed = 16
  259. local Effects2 = {}
  260.  
  261. --//=================================\\
  262. --|| END OF CUSTOMIZATION
  263. --\\=================================//
  264.  
  265. local function weldBetween(a, b)
  266. local weldd = Instance.new("ManualWeld")
  267. weldd.Part0 = a
  268. weldd.Part1 = b
  269. weldd.C0 = CFrame.new()
  270. weldd.C1 = b.CFrame:inverse() * a.CFrame
  271. weldd.Parent = a
  272. return weldd
  273. end
  274.  
  275. --//=================================\\
  276. --|| USEFUL VALUES
  277. --\\=================================//
  278.  
  279. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  280. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  281. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  282. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  283. local CHANGEDEFENSE = 0
  284. local CHANGEDAMAGE = 0
  285. local CHANGEMOVEMENT = 0
  286. local ANIM = "Idle"
  287. local ATTACK = false
  288. local EQUIPPED = false
  289. local HOLD = false
  290. local COMBO = 1
  291. local Rooted = false
  292. local SINE = 0
  293. local KEYHOLD = false
  294. local CHANGE = 2 / Animation_Speed
  295. local WALKINGANIM = false
  296. local WALK = 0
  297. local VALUE1 = false
  298. local VALUE2 = false
  299. local ROBLOXIDLEANIMATION = IT("Animation")
  300. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  301. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  302. --ROBLOXIDLEANIMATION.Parent = Humanoid
  303. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  304. WEAPONGUI.Name = "Weapon GUI"
  305. local Weapon = IT("Model")
  306. Weapon.Name = "Weapon"
  307. local Delete = IT("Model",Character)
  308. Delete.Name = "Banlist"
  309. local Effects = IT("Folder", Weapon)
  310. Effects.Name = "Effects"
  311. local ANIMATOR = Humanoid.Animator
  312. local ANIMATE = Character.Animate
  313. local UNANCHOR = true
  314. local LAUGHS = {834001699,834001752,834001797,834001828}
  315. local SONGS = {534861083,530959353,1534958855,0}
  316. local CHOICE = MRANDOM(1,4)
  317. local PLAYMAINANIM = true
  318. local INTRO = false
  319. local TRANSFORMED = false
  320. local INSTANT = false
  321. local MODE = "GoodCop"
  322.  
  323. --//=================================\\
  324. --\\=================================//
  325.  
  326.  
  327. --//=================================\\
  328. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  329. --\\=================================//
  330.  
  331. ArtificialHB = Instance.new("BindableEvent", script)
  332. ArtificialHB.Name = "ArtificialHB"
  333.  
  334. script:WaitForChild("ArtificialHB")
  335.  
  336. frame = Frame_Speed
  337. tf = 0
  338. allowframeloss = false
  339. tossremainder = false
  340. lastframe = tick()
  341. script.ArtificialHB:Fire()
  342.  
  343. game:GetService("RunService").Heartbeat:connect(function(s, p)
  344. tf = tf + s
  345. if tf >= frame then
  346. if allowframeloss then
  347. script.ArtificialHB:Fire()
  348. lastframe = tick()
  349. else
  350. for i = 1, math.floor(tf / frame) do
  351. script.ArtificialHB:Fire()
  352. end
  353. lastframe = tick()
  354. end
  355. if tossremainder then
  356. tf = 0
  357. else
  358. tf = tf - frame * math.floor(tf / frame)
  359. end
  360. end
  361. end)
  362.  
  363. --//=================================\\
  364. --\\=================================//
  365.  
  366.  
  367.  
  368.  
  369.  
  370. --//=================================\\
  371. --|| SOME FUNCTIONS
  372. --\\=================================//
  373.  
  374. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  375. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  376. end
  377.  
  378. function PositiveAngle(NUMBER)
  379. if NUMBER >= 0 then
  380. NUMBER = 0
  381. end
  382. return NUMBER
  383. end
  384.  
  385. function NegativeAngle(NUMBER)
  386. if NUMBER <= 0 then
  387. NUMBER = 0
  388. end
  389. return NUMBER
  390. end
  391.  
  392. function Swait(NUMBER)
  393. if NUMBER == 0 or NUMBER == nil then
  394. ArtificialHB.Event:wait()
  395. else
  396. for i = 1, NUMBER do
  397. ArtificialHB.Event:wait()
  398. end
  399. end
  400. end
  401.  
  402. function QuaternionFromCFrame(cf)
  403. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  404. local trace = m00 + m11 + m22
  405. if trace > 0 then
  406. local s = math.sqrt(1 + trace)
  407. local recip = 0.5 / s
  408. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  409. else
  410. local i = 0
  411. if m11 > m00 then
  412. i = 1
  413. end
  414. if m22 > (i == 0 and m00 or m11) then
  415. i = 2
  416. end
  417. if i == 0 then
  418. local s = math.sqrt(m00 - m11 - m22 + 1)
  419. local recip = 0.5 / s
  420. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  421. elseif i == 1 then
  422. local s = math.sqrt(m11 - m22 - m00 + 1)
  423. local recip = 0.5 / s
  424. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  425. elseif i == 2 then
  426. local s = math.sqrt(m22 - m00 - m11 + 1)
  427. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  428. end
  429. end
  430. end
  431.  
  432. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  433. local xs, ys, zs = x + x, y + y, z + z
  434. local wx, wy, wz = w * xs, w * ys, w * zs
  435. local xx = x * xs
  436. local xy = x * ys
  437. local xz = x * zs
  438. local yy = y * ys
  439. local yz = y * zs
  440. local zz = z * zs
  441. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  442. end
  443.  
  444. function QuaternionSlerp(a, b, t)
  445. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  446. local startInterp, finishInterp;
  447. if cosTheta >= 0.0001 then
  448. if (1 - cosTheta) > 0.0001 then
  449. local theta = ACOS(cosTheta)
  450. local invSinTheta = 1 / SIN(theta)
  451. startInterp = SIN((1 - t) * theta) * invSinTheta
  452. finishInterp = SIN(t * theta) * invSinTheta
  453. else
  454. startInterp = 1 - t
  455. finishInterp = t
  456. end
  457. else
  458. if (1 + cosTheta) > 0.0001 then
  459. local theta = ACOS(-cosTheta)
  460. local invSinTheta = 1 / SIN(theta)
  461. startInterp = SIN((t - 1) * theta) * invSinTheta
  462. finishInterp = SIN(t * theta) * invSinTheta
  463. else
  464. startInterp = t - 1
  465. finishInterp = t
  466. end
  467. end
  468. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  469. end
  470.  
  471. function Clerp(a, b, t)
  472. local qa = {QuaternionFromCFrame(a)}
  473. local qb = {QuaternionFromCFrame(b)}
  474. local ax, ay, az = a.x, a.y, a.z
  475. local bx, by, bz = b.x, b.y, b.z
  476. local _t = 1 - t
  477. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  478. end
  479.  
  480. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  481. local frame = IT("Frame")
  482. frame.BackgroundTransparency = TRANSPARENCY
  483. frame.BorderSizePixel = BORDERSIZEPIXEL
  484. frame.Position = POSITION
  485. frame.Size = SIZE
  486. frame.BackgroundColor3 = COLOR
  487. frame.BorderColor3 = BORDERCOLOR
  488. frame.Name = NAME
  489. frame.Parent = PARENT
  490. return frame
  491. end
  492.  
  493. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  494. local label = IT("TextLabel")
  495. label.BackgroundTransparency = 1
  496. label.Size = UD2(1, 0, 1, 0)
  497. label.Position = UD2(0, 0, 0, 0)
  498. label.TextColor3 = TEXTCOLOR
  499. label.TextStrokeTransparency = STROKETRANSPARENCY
  500. label.TextTransparency = TRANSPARENCY
  501. label.FontSize = TEXTFONTSIZE
  502. label.Font = TEXTFONT
  503. label.BorderSizePixel = BORDERSIZEPIXEL
  504. label.TextScaled = false
  505. label.Text = TEXT
  506. label.Name = NAME
  507. label.Parent = PARENT
  508. return label
  509. end
  510.  
  511. function NoOutlines(PART)
  512. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  513. end
  514.  
  515.  
  516. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  517. local NEWWELD = IT(TYPE)
  518. NEWWELD.Part0 = PART0
  519. NEWWELD.Part1 = PART1
  520. NEWWELD.C0 = C0
  521. NEWWELD.C1 = C1
  522. NEWWELD.Parent = PARENT
  523. return NEWWELD
  524. end
  525.  
  526. function CreateSound(ID, PARENT, VOLUME, PITCH)
  527. local NEWSOUND = nil
  528. coroutine.resume(coroutine.create(function()
  529. NEWSOUND = IT("Sound", PARENT)
  530. NEWSOUND.Volume = VOLUME
  531. NEWSOUND.Pitch = PITCH
  532. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  533. Swait()
  534. NEWSOUND:play()
  535. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  536. end))
  537. return NEWSOUND
  538. end
  539.  
  540. function CFrameFromTopBack(at, top, back)
  541. local right = top:Cross(back)
  542. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  543. end
  544.  
  545. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  546. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  547. local mesh = IT("SpecialMesh",wave)
  548. mesh.MeshType = "FileMesh"
  549. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  550. mesh.Scale = SIZE
  551. mesh.Offset = VT(0,0,0)
  552. wave.CFrame = CFRAME
  553. coroutine.resume(coroutine.create(function(PART)
  554. for i = 1, WAIT do
  555. Swait()
  556. mesh.Scale = mesh.Scale + GROW
  557. if DOESROT == true then
  558. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  559. end
  560. wave.Transparency = wave.Transparency + (0.5/WAIT)
  561. if wave.Transparency > 0.99 then
  562. wave:remove()
  563. end
  564. end
  565. end))
  566. end
  567.  
  568. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  569. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  570. local mesh = IT("SpecialMesh",wave)
  571. mesh.MeshType = "Sphere"
  572. mesh.Scale = SIZE
  573. mesh.Offset = VT(0,0,0)
  574. wave.CFrame = CFRAME
  575. coroutine.resume(coroutine.create(function(PART)
  576. for i = 1, WAIT do
  577. Swait()
  578. mesh.Scale = mesh.Scale + GROW
  579. wave.Transparency = wave.Transparency + (1/WAIT)
  580. if wave.Transparency > 0.99 then
  581. wave:remove()
  582. end
  583. end
  584. end))
  585. end
  586.  
  587. function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
  588. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  589. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  590. wave.CFrame = CFRAME
  591. coroutine.resume(coroutine.create(function(PART)
  592. for i = 1, WAIT do
  593. Swait()
  594. mesh.Scale = mesh.Scale * GROW
  595. wave.Transparency = wave.Transparency + (0.5/WAIT)
  596. if wave.Transparency > 0.99 then
  597. wave:remove()
  598. end
  599. end
  600. end))
  601. end
  602.  
  603. function MagicBlock(SIZE,WAIT,CFRAME,COLOR,GROW)
  604. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(SIZE,SIZE,SIZE), true)
  605. local mesh = IT("BlockMesh",wave)
  606. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  607. coroutine.resume(coroutine.create(function(PART)
  608. for i = 1, WAIT do
  609. Swait()
  610. mesh.Scale = mesh.Scale + GROW
  611. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  612. wave.Transparency = wave.Transparency + (1/WAIT)
  613. if wave.Transparency > 0.99 then
  614. wave:remove()
  615. end
  616. end
  617. end))
  618. end
  619.  
  620. function MakeForm(PART,TYPE)
  621. if TYPE == "Cyl" then
  622. local MSH = IT("CylinderMesh",PART)
  623. elseif TYPE == "Ball" then
  624. local MSH = IT("SpecialMesh",PART)
  625. MSH.MeshType = "Sphere"
  626. elseif TYPE == "Wedge" then
  627. local MSH = IT("SpecialMesh",PART)
  628. MSH.MeshType = "Wedge"
  629. end
  630. end
  631.  
  632. function CheckTableForString(Table, String)
  633. for i, v in pairs(Table) do
  634. if string.find(string.lower(String), string.lower(v)) then
  635. return true
  636. end
  637. end
  638. return false
  639. end
  640.  
  641.  
  642.  
  643. Debris = game:GetService("Debris")
  644.  
  645. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  646. local Direction = CFrame.new(StartPos, Vec).lookVector
  647. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  648. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  649. if RayHit and CheckIntangible(RayHit) then
  650. if DelayIfHit then
  651. wait()
  652. end
  653. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  654. end
  655. return RayHit, RayPos, RayNormal
  656. end
  657.  
  658. function RayCast(Position, Direction, MaxDistance, IgnoreList)
  659. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
  660. end
  661.  
  662. function turnto(position)
  663. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  664. end
  665.  
  666. function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
  667. PLAYMAINANIM = false
  668. if WhichPose == "Cast1" then
  669. for i=0, Time, 0.1 / Animation_Speed do
  670. Swait()
  671. if Magic == true then
  672. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  673. end
  674. if Gyro ~= nil and Gyro ~= false then
  675. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  676. end
  677. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(35)), Speed / Animation_Speed)
  678. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-35)), Speed / Animation_Speed)
  679. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(125), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  680. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  681. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  682. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  683. end
  684. elseif WhichPose == "Cast2" then
  685. for i=0, Time, 0.1 / Animation_Speed do
  686. Swait()
  687. if Magic == true then
  688. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  689. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  690. end
  691. if Gyro ~= nil and Gyro ~= false then
  692. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  693. end
  694. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  695. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  696. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(15)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  697. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  698. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  699. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  700. end
  701. elseif WhichPose == "RightArmUp" then
  702. for i=0, Time, 0.1 / Animation_Speed do
  703. Swait()
  704. if Magic == true then
  705. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  706. end
  707. if Gyro ~= nil and Gyro ~= false then
  708. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  709. end
  710. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), Speed / Animation_Speed)
  711. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), Speed / Animation_Speed)
  712. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(125), RAD(0), RAD(25)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  713. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  714. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  715. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  716. end
  717. elseif WhichPose == "Taunt" then
  718. for i=0, Time, 0.1 / Animation_Speed do
  719. Swait()
  720. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  721. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  722. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  723. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  724. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  725. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  726. end
  727. CreateSound(221057812,Torso,10,1,false)
  728. for i=0, Time*2, 0.1 / Animation_Speed do
  729. Swait()
  730. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  731. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  732. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(145), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  733. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(5), RAD(25), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  734. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  735. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  736. end
  737. for i=0, Time, 0.1 / Animation_Speed do
  738. Swait()
  739. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  740. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
  741. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.65, -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  742. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  743. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  744. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  745. end
  746. elseif WhichPose == "Prepare key" then
  747. for i=0, Time, 0.1 / Animation_Speed do
  748. Swait()
  749. if Gyro ~= nil and Gyro ~= false then
  750. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  751. end
  752. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(65)), Speed / Animation_Speed)
  753. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-65)), Speed / Animation_Speed)
  754. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  755. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  756. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  757. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  758. end
  759. elseif WhichPose == "Turn key" then
  760. for i=0, Time, 0.1 / Animation_Speed do
  761. Swait()
  762. if Gyro ~= nil and Gyro ~= false then
  763. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  764. end
  765. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(75)), Speed / Animation_Speed)
  766. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-75)), Speed / Animation_Speed)
  767. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(75)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  768. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  769. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  770. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  771. end
  772. end
  773. PLAYMAINANIM = true
  774. end
  775.  
  776. --//=================================\\
  777. --|| SPEECH
  778. --\\=================================//
  779.  
  780. function Chatter(Text,Timer)
  781. local chat = coroutine.wrap(function()
  782. if Character:FindFirstChild("SpeechBoard")~= nil then
  783. Character:FindFirstChild("SpeechBoard"):destroy()
  784. end
  785. local naeeym2 = IT("BillboardGui",Character)
  786. naeeym2.Size = UD2(0,100,0,40)
  787. naeeym2.StudsOffset = Vector3.new(0,2,0)
  788. naeeym2.Adornee = Character.Head
  789. naeeym2.Name = "SpeechBoard"
  790. naeeym2.AlwaysOnTop = true
  791. local tecks2 = IT("TextLabel",naeeym2)
  792. tecks2.BackgroundTransparency = 1
  793. tecks2.BorderSizePixel = 0
  794. tecks2.Text = ""
  795. tecks2.Font = "Legacy"
  796. tecks2.TextSize = 15
  797. tecks2.TextStrokeTransparency = 1
  798. tecks2.TextColor3 = Color3.new(255,0,0)
  799. tecks2.TextStrokeColor3 = Color3.new(255,0,0)
  800. tecks2.Size = UDim2.new(1,0,0.5,0)
  801. for i = 1,string.len(Text),1 do
  802. CreateSound(418252437, Head, 3, MRANDOM(8,12)/15, false)
  803. tecks2.Text = string.sub(Text,1,i)
  804. wait(Timer)
  805. end
  806. wait(1)
  807. naeeym2:Destroy()
  808. end)
  809. chat()
  810. end
  811.  
  812. function chatfunc(text,waitt)
  813. local chat = coroutine.wrap(function()
  814. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  815. Character:FindFirstChild("TalkingBillBoard"):destroy()
  816. end
  817. local naeeym2 = Instance.new("BillboardGui",Character)
  818. naeeym2.Size = UDim2.new(0,100,0,40)
  819. naeeym2.StudsOffset = Vector3.new(0,5,0)
  820. naeeym2.Adornee = Character.Head
  821. naeeym2.Name = "TalkingBillBoard"
  822. naeeym2.AlwaysOnTop = true
  823. local tecks2 = Instance.new("TextLabel",naeeym2)
  824. tecks2.BackgroundTransparency = 1
  825. tecks2.BorderSizePixel = 0
  826. tecks2.Text = ""
  827. tecks2.Font = "SciFi"
  828. tecks2.TextSize = 30
  829. tecks2.TextStrokeTransparency = 1
  830. tecks2.TextColor3 = SKILLTEXTCOLOR
  831. tecks2.TextStrokeColor3 = Color3.new(255/255,0/255,0/255)
  832. tecks2.Size = UDim2.new(1,0,0.5,0)
  833. for i = 1,string.len(text),1 do
  834. tecks2.Text = string.sub(text,1,i)
  835. Swait()
  836. end
  837. wait(waitt)
  838. coroutine.resume(coroutine.create(function()
  839. for i = 1, 10 do
  840. tecks2.TextTransparency = tecks2.TextTransparency + 0.1
  841. Swait()
  842. end
  843. naeeym2:Destroy()
  844. end))
  845. end)
  846. chat()
  847. end
  848.  
  849. --// Start Stuff for Banishing \\--
  850.  
  851. local TOBANISH = {}
  852.  
  853. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  854. local DIRECTION = CF(StartPos,EndPos).lookVector
  855. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  856. end
  857.  
  858. function printbye(Name)
  859. local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your life is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
  860. chatfunc(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  861. end
  862.  
  863. function Banish(Foe)
  864. if Foe then
  865. coroutine.resume(coroutine.create(function()
  866. --if game.Players:FindFirstChild(Foe.Name) then
  867. table.insert(TOBANISH,Foe.Name)
  868. printbye(Foe.Name)
  869. --end
  870. Foe.Archivable = true
  871. local CLONE = Foe:Clone()
  872. Foe:Destroy()
  873. CLONE.Parent = Effects
  874. CLONE:BreakJoints()
  875. local MATERIALS = {"Glass","Neon"}
  876. for _, c in pairs(CLONE:GetDescendants()) do
  877. if c:IsA("BasePart") then
  878. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  879. CreateSound(340722848, c, 10, 1, false)
  880. end
  881. c.Anchored = true
  882. c.Transparency = c.Transparency + 0.2
  883. c.Material = MATERIALS[MRANDOM(1,2)]
  884. c.Color = C3(0,255,0)
  885. if c.ClassName == "MeshPart" then
  886. c.TextureID = ""
  887. end
  888. if c:FindFirstChildOfClass("SpecialMesh") then
  889. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  890. end
  891. if c:FindFirstChildOfClass("Decal") then
  892. c:FindFirstChildOfClass("Decal"):remove()
  893. end
  894. c.Name = "Banished"
  895. c.CanCollide = false
  896. else
  897. c:remove()
  898. end
  899. end
  900. local A = false
  901. for i = 1, 35 do
  902. if A == false then
  903. A = true
  904. elseif A == true then
  905. A = false
  906. end
  907. for _, c in pairs(CLONE:GetDescendants()) do
  908. if c:IsA("BasePart") then
  909. c.Anchored = true
  910. c.Material = MATERIALS[MRANDOM(1,2)]
  911. c.Transparency = c.Transparency + 0.8/35
  912. if A == false then
  913. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  914. elseif A == true then
  915. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  916. end
  917. end
  918. end
  919. Swait()
  920. end
  921. CLONE:remove()
  922. end))
  923. end
  924. end
  925.  
  926. function BANNEAREST(POS,RANGE)
  927. for i,v in ipairs(workspace:GetChildren()) do
  928. local body = v:GetChildren()
  929. for part = 1, #body do
  930. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  931. if(body[part].Position - POS).Magnitude < RANGE then
  932. if v:FindFirstChildOfClass("Humanoid") then
  933. Banish(v)
  934. if game.Players:FindFirstChild(v.Name) then
  935. local Value = IT("BoolValue",Delete)
  936. Value.Name = v.Name
  937. end
  938. end
  939. end
  940. end
  941. end
  942. end
  943. end
  944.  
  945. workspace.ChildAdded:connect(function(instance)
  946. for BANISH = 1, #TOBANISH do
  947. if TOBANISH[BANISH] ~= nil then
  948. if instance.Name == TOBANISH[BANISH] then
  949. coroutine.resume(coroutine.create(function()
  950. printbye(instance.Name)
  951. instance:ClearAllChildren()
  952. Debris:AddItem(instance,0.0005)
  953. end))
  954. end
  955. end
  956. end
  957. end)
  958.  
  959. function SpawnTrail(FROM,TO,BIG)
  960. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  961. MakeForm(TRAIL,"Cyl")
  962. local DIST = (FROM - TO).Magnitude
  963. if BIG == true then
  964. TRAIL.Size = VT(10,DIST,10)
  965. else
  966. TRAIL.Size = VT(0.25,DIST,0.25)
  967. end
  968. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  969. coroutine.resume(coroutine.create(function()
  970. for i = 1, 5 do
  971. Swait()
  972. TRAIL.Transparency = TRAIL.Transparency + 0.1
  973. end
  974. TRAIL:remove()
  975. end))
  976. end
  977.  
  978. function WACKYEFFECT(Table)
  979. local TYPE = (Table.EffectType or "Sphere")
  980. local SIZE = (Table.Size or VT(1,1,1))
  981. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  982. local TRANSPARENCY = (Table.Transparency or 0)
  983. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  984. local CFRAME = (Table.CFrame or Torso.CFrame)
  985. local MOVEDIRECTION = (Table.MoveToPos or nil)
  986. local ROTATION1 = (Table.RotationX or 0)
  987. local ROTATION2 = (Table.RotationY or 0)
  988. local ROTATION3 = (Table.RotationZ or 0)
  989. local MATERIAL = (Table.Material or "Neon")
  990. local COLOR = (Table.Color or C3(0,255,0))
  991. local TIME = (Table.Time or 45)
  992. local SOUNDID = (Table.SoundID or nil)
  993. local SOUNDPITCH = (Table.SoundPitch or nil)
  994. local SOUNDVOLUME = (Table.SoundVolume or nil)
  995. coroutine.resume(coroutine.create(function()
  996. local PLAYSSOUND = false
  997. local SOUND = nil
  998. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  999. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1000. PLAYSSOUND = true
  1001. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1002. end
  1003. EFFECT.Color = COLOR
  1004. local MSH = nil
  1005. if TYPE == "Sphere" then
  1006. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  1007. elseif TYPE == "Block" then
  1008. MSH = IT("BlockMesh",EFFECT)
  1009. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  1010. elseif TYPE == "Wave" then
  1011. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  1012. elseif TYPE == "Ring" then
  1013. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  1014. elseif TYPE == "Slash" then
  1015. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1016. elseif TYPE == "Round Slash" then
  1017. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1018. elseif TYPE == "Swirl" then
  1019. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  1020. elseif TYPE == "Skull" then
  1021. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  1022. elseif TYPE == "Crystal" then
  1023. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  1024. end
  1025. if MSH ~= nil then
  1026. local MOVESPEED = nil
  1027. if MOVEDIRECTION ~= nil then
  1028. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  1029. end
  1030. local GROWTH = SIZE - ENDSIZE
  1031. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1032. if TYPE == "Block" then
  1033. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1034. else
  1035. EFFECT.CFrame = CFRAME
  1036. end
  1037. for LOOP = 1, TIME+1 do
  1038. Swait()
  1039. MSH.Scale = MSH.Scale - GROWTH/TIME
  1040. if TYPE == "Wave" then
  1041. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  1042. end
  1043. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1044. if TYPE == "Block" then
  1045. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1046. else
  1047. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1048. end
  1049. if MOVEDIRECTION ~= nil then
  1050. local ORI = EFFECT.Orientation
  1051. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1052. EFFECT.Orientation = ORI
  1053. end
  1054. end
  1055. if PLAYSSOUND == false then
  1056. EFFECT:remove()
  1057. else
  1058. SOUND.Stopped:Connect(function()
  1059. EFFECT:remove()
  1060. end)
  1061. end
  1062. else
  1063. if PLAYSSOUND == false then
  1064. EFFECT:remove()
  1065. else
  1066. repeat Swait() until SOUND.Playing == false
  1067. EFFECT:remove()
  1068. end
  1069. end
  1070. end))
  1071. end
  1072.  
  1073. -- \\ End Stuff for Banishing //--
  1074.  
  1075. --//=================================\\
  1076. --|| WEAPON CREATION
  1077. --\\=================================//
  1078. print("hello this is Epticallity and you're watching Disney Channel")
  1079. warn("let dreamer suck you off VengefulProgram")
  1080. local EyeSizes={
  1081. NumberSequenceKeypoint.new(0,1,0),
  1082. NumberSequenceKeypoint.new(1,0,0)
  1083. }
  1084. local EyeTrans={
  1085. NumberSequenceKeypoint.new(0,0.8,0),
  1086. NumberSequenceKeypoint.new(1,1,0)
  1087. }
  1088. local PE=Instance.new("ParticleEmitter")
  1089. PE.LightEmission=.8
  1090. PE.Color = ColorSequence.new(BRICKC("Really red").Color)
  1091. PE.Size=NumberSequence.new(EyeSizes)
  1092. PE.Transparency=NumberSequence.new(EyeTrans)
  1093. PE.Lifetime=NumberRange.new(0.35,1.5)
  1094. PE.Rotation=NumberRange.new(0,360)
  1095. PE.Rate=999
  1096. PE.VelocitySpread = 10000
  1097. PE.Acceleration = Vector3.new(0,0,0)
  1098. PE.Drag = 5
  1099. PE.Speed = NumberRange.new(0,0,0)
  1100. PE.Texture="http://www.roblox.com/asset/?id=0"
  1101. PE.ZOffset = -1.5
  1102. PE.Name = "PE"
  1103. PE.Enabled = false
  1104.  
  1105. function particles(art)
  1106. local PARTICLES = PE:Clone()
  1107. PARTICLES.Parent = art
  1108. end
  1109.  
  1110. local SCYTHE = IT("Model",Character)
  1111. SCYTHE.Name = "SCYTHE"
  1112.  
  1113. local B = SCYTHE
  1114. local HandlePart = CreatePart(0, B, "Neon", 0, 0, "Really red", "HandPart", VT(0,0,0),false)
  1115. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", Character, Torso, HandlePart, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1116. local HitBox = CreatePart(0, B, "Neon", 0, 0, "Really red", "Hitbox", VT(0,0,0),false)
  1117.  
  1118. for _, c in pairs(SCYTHE:GetChildren()) do
  1119. if c.ClassName == "Part" then
  1120. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1121. end
  1122. end
  1123.  
  1124. Weapon.Parent = Character
  1125.  
  1126. Humanoid.Died:connect(function()
  1127. KillChildren(Character)
  1128. SCYTHE:ClearAllChildren()
  1129. for i = 1, 100 do
  1130. Swait()
  1131. sick.Volume = sick.Volume - 0.02
  1132. end
  1133. end)
  1134.  
  1135. local Particle = IT("ParticleEmitter",nil)
  1136. Particle.Enabled = false
  1137. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  1138. Particle.LightEmission = 0.5
  1139. Particle.Rate = 150
  1140. Particle.ZOffset = 0.2
  1141. Particle.Rotation = NumberRange.new(-180, 180)
  1142. Particle.RotSpeed = NumberRange.new(-180, 180)
  1143. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  1144. 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))
  1145.  
  1146. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  1147. function ParticleEmitter(Table)
  1148. local PRTCL = Particle:Clone()
  1149. local Speed = Table.Speed or 5
  1150. local Drag = Table.Drag or 0
  1151. local Size1 = Table.Size1 or 1
  1152. local Size2 = Table.Size2 or 5
  1153. local Lifetime1 = Table.Lifetime1 or 1
  1154. local Lifetime2 = Table.Lifetime2 or 1.5
  1155. local Parent = Table.Parent or Torso
  1156. local Emit = Table.Emit or 100
  1157. local Offset = Table.Offset or 360
  1158. local Acel = Table.Acel or VT(0,0,0)
  1159. local Enabled = Table.Enabled or false
  1160. PRTCL.Parent = Parent
  1161. PRTCL.Size = NumberSequence.new(Size1,Size2)
  1162. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1163. PRTCL.Speed = NumberRange.new(Speed)
  1164. PRTCL.VelocitySpread = Offset
  1165. PRTCL.Drag = Drag
  1166. PRTCL.Acceleration = Acel
  1167. if Enabled == false then
  1168. PRTCL:Emit(Emit)
  1169. Debris:AddItem(PRTCL,Lifetime2)
  1170. else
  1171. PRTCL.Enabled = true
  1172. end
  1173. return PRTCL
  1174. end
  1175.  
  1176. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1177. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 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.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1181. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1182. MakeForm(Part,"Wedge")
  1183. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1184. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1185. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1186. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1187. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1188. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1189. MakeForm(Part,"Cyl")
  1190. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1191. for i = 1, 8 do
  1192. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1193. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1194. end
  1195. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1196. MakeForm(Part,"Cyl")
  1197. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1198. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1199. MakeForm(Part,"Ball")
  1200. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1201. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1202. MakeForm(Part,"Wedge")
  1203. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1204. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1205. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1206. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1207. MakeForm(Part,"Cyl")
  1208. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1209. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1210. MakeForm(Part,"Cyl")
  1211. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1212. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1213. MakeForm(Part,"Cyl")
  1214. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1215. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1216. MakeForm(Part,"Wedge")
  1217. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1218. local LASTPART = Handle
  1219. for i = 1, 10 do
  1220. if LASTPART == Handle then
  1221. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1222. LASTPART = Part
  1223. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1224. else
  1225. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1226. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1227. LASTPART = Part
  1228. end
  1229. end
  1230.  
  1231. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  1232. MakeForm(Barrel,"Cyl")
  1233. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1234. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1235. MakeForm(Part,"Cyl")
  1236. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1237. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1238. MakeForm(Part,"Wedge")
  1239. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1240. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1241. MakeForm(Hole,"Cyl")
  1242. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  1243. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1244. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1245. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1246. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1247. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1248. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1249. coroutine.resume(coroutine.create(function()
  1250. while wait() do
  1251. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1252. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1253. end
  1254. end))
  1255.  
  1256. local BODY = {}
  1257.  
  1258. for _, c in pairs(Character:GetDescendants()) do
  1259. if c:IsA("BasePart") and c.Name ~= "Handle" then
  1260. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  1261. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1262. end
  1263. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  1264. elseif c:IsA("JointInstance") then
  1265. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  1266. end
  1267. end
  1268.  
  1269. for e = 1, #BODY do
  1270. if BODY[e] ~= nil then
  1271. local STUFF = BODY[e]
  1272. local PART = STUFF[1]
  1273. local PARENT = STUFF[2]
  1274. local MATERIAL = STUFF[3]
  1275. local COLOR = STUFF[4]
  1276. local TRANSPARENCY = STUFF[5]
  1277. if PART.ClassName == "Part" and PART ~= RootPart then
  1278. PART.Material = MATERIAL
  1279. PART.Color = COLOR
  1280. PART.Transparency = TRANSPARENCY
  1281. end
  1282. PART.AncestryChanged:Connect(function()
  1283. PART.Parent = PARENT
  1284. end)
  1285. end
  1286. end
  1287.  
  1288. function refit()
  1289. Character.Parent = workspace
  1290. for e = 1, #BODY do
  1291. if BODY[e] ~= nil then
  1292. local STUFF = BODY[e]
  1293. local PART = STUFF[1]
  1294. local PARENT = STUFF[2]
  1295. local MATERIAL = STUFF[3]
  1296. local COLOR = STUFF[4]
  1297. local TRANSPARENCY = STUFF[5]
  1298. if PART.ClassName == "Part" and PART ~= RootPart then
  1299. PART.Material = MATERIAL
  1300. PART.Color = COLOR
  1301. PART.Transparency = TRANSPARENCY
  1302. end
  1303. if PART.Parent ~= PARENT then
  1304. Humanoid:remove()
  1305. PART.Parent = PARENT
  1306. Humanoid = IT("Humanoid",Character)
  1307. end
  1308. end
  1309. end
  1310. end
  1311.  
  1312. for _, c in pairs(Weapon:GetDescendants()) do
  1313. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1314. c.Material = "Glass"
  1315. c.Color = C3(0,0,0)
  1316. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1317. c.Color = C3(0,0,0)
  1318. c.Material = "Neon"
  1319. end
  1320. end
  1321.  
  1322. Weapon.Parent = Character
  1323. for _, c in pairs(Weapon:GetChildren()) do
  1324. if c.ClassName == "Part" then
  1325. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1326. end
  1327. end
  1328.  
  1329. local SKILLTEXTCOLOR = C3(0,0,0)
  1330. local SKILLFONT = "Antique"
  1331. local SKILLTEXTSIZE = 7
  1332.  
  1333. Humanoid.Died:connect(function()
  1334. ATTACK = true
  1335. end)
  1336.  
  1337. 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")
  1338.  
  1339. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  1340.  
  1341. function printbye(Name)
  1342. 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, "}
  1343. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1344. end
  1345.  
  1346. workspace.ChildAdded:connect(function(instance)
  1347. for BANISH = 1, #TOBANISH do
  1348. if TOBANISH[BANISH] ~= nil then
  1349. if instance.Name == TOBANISH[BANISH] then
  1350. coroutine.resume(coroutine.create(function()
  1351. printbye(instance.Name)
  1352. instance:ClearAllChildren()
  1353. Debris:AddItem(instance,0.0005)
  1354. end))
  1355. end
  1356. end
  1357. end
  1358. end)
  1359. --//=================================\\
  1360. --|| DAMAGING
  1361. --\\=================================//
  1362.  
  1363. function Banish(Foe)
  1364. if Foe then
  1365. coroutine.resume(coroutine.create(function()
  1366. --if game.Players:FindFirstChild(Foe.Name) then
  1367. table.insert(TOBANISH,Foe.Name)
  1368. printbye(Foe.Name)
  1369. --end
  1370. Foe.Archivable = true
  1371. local CLONE = Foe:Clone()
  1372. Foe:Destroy()
  1373. CLONE.Parent = Effects
  1374. CLONE:BreakJoints()
  1375. local MATERIALS = {"Glass","Neon"}
  1376. for _, c in pairs(CLONE:GetDescendants()) do
  1377. if c:IsA("BasePart") then
  1378. c.Anchored = true
  1379. c.Transparency = c.Transparency + 0.2
  1380. c.Material = MATERIALS[MRANDOM(1,2)]
  1381. c.Color = C3(0,0,0)
  1382. if c.ClassName == "MeshPart" then
  1383. c.TextureID = ""
  1384. end
  1385. if c:FindFirstChildOfClass("SpecialMesh") then
  1386. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1387. end
  1388. if c:FindFirstChildOfClass("Decal") then
  1389. c:FindFirstChildOfClass("Decal"):remove()
  1390. end
  1391. c.Name = "Banished"
  1392. c.CanCollide = false
  1393. else
  1394. c:remove()
  1395. end
  1396. end
  1397. local A = false
  1398. for i = 1, 35 do
  1399. if A == false then
  1400. A = true
  1401. elseif A == true then
  1402. A = false
  1403. end
  1404. for _, c in pairs(CLONE:GetDescendants()) do
  1405. if c:IsA("BasePart") then
  1406. c.Anchored = true
  1407. c.Material = MATERIALS[MRANDOM(1,2)]
  1408. c.Transparency = c.Transparency + 0.8/35
  1409. if A == false then
  1410. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1411. elseif A == true then
  1412. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1413. end
  1414. end
  1415. end
  1416. Swait()
  1417. end
  1418. CLONE:remove()
  1419. end))
  1420. end
  1421. end
  1422.  
  1423. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1424. local CHILDREN = workspace:GetDescendants()
  1425. for index, CHILD in pairs(CHILDREN) do
  1426. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1427. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1428. if HUM then
  1429. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1430. if TORSO then
  1431. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1432. if ISBANISH == true then
  1433. Banish(CHILD)
  1434. else
  1435. if ISBANISH == "Gravity" then
  1436. HUM.PlatformStand = true
  1437. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1438. local grav = Instance.new("BodyPosition",TORSO)
  1439. grav.D = 15
  1440. grav.P = 20000
  1441. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1442. grav.position = TORSO.Position
  1443. grav.Name = "V3BanishForce"..Player.Name
  1444. else
  1445. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1446. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1447. end
  1448. else
  1449. HUM.PlatformStand = false
  1450. end
  1451. end
  1452. elseif ISBANISH == "Gravity" then
  1453. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1454. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1455. HUM.PlatformStand = false
  1456. end
  1457. end
  1458. end
  1459. end
  1460. end
  1461. end
  1462. end
  1463.  
  1464. --//=================================\\
  1465. --|| TRANSFORMATIONS
  1466. --\\=================================//
  1467.  
  1468. function Switch()
  1469. ATTACK = true
  1470. Rooted = true
  1471. if MODE == "GoodCop" then
  1472. for i=0, 0.3, 0.1 / Animation_Speed do
  1473. Swait()
  1474. 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)
  1475. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1476. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1477. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1478. 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)
  1479. 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)
  1480. end
  1481. for i=0, 1, 0.1 / Animation_Speed do
  1482. Swait()
  1483. 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)
  1484. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1485. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1486. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1487. 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)
  1488. 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)
  1489. end
  1490. CreateSound(363808674, Torso, 6, 1, false)
  1491. for i=0, 0.6, 0.1 / Animation_Speed do
  1492. Swait()
  1493. 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)
  1494. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
  1495. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1496. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1497. 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)
  1498. 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)
  1499. end
  1500. CreateSound(363808674, Torso, 6, 1, false)
  1501. for i=0, 0.6, 0.1 / Animation_Speed do
  1502. Swait()
  1503. 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)
  1504. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
  1505. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1506. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1507. 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)
  1508. 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)
  1509. end
  1510. MODE = "BadCop"
  1511. tecks2.Text = "Thunder Gun"
  1512. sick.SoundId = "rbxassetid://1138145518"
  1513. sick.TimePosition = 0
  1514. for _, c in pairs(Weapon:GetDescendants()) do
  1515. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1516. c.Material = "Neon"
  1517. c.Color = C3(1,0,0)
  1518. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1519. c.Color = C3(1,0,0)
  1520. c.Material = "Neon"
  1521. end
  1522. end
  1523. elseif MODE == "BadCop" then
  1524. CreateSound(147722227, Torso, 4, 1.3, false)
  1525. for i=0, 0.3, 0.1 / Animation_Speed do
  1526. Swait()
  1527. 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)
  1528. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1529. 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)
  1530. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1531. 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)
  1532. 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)
  1533. end
  1534. MODE = "GoodCop"
  1535. tecks2.Text = "Dead Gun"
  1536. sick.SoundId = "rbxassetid://318812395"
  1537. sick.TimePosition = 22
  1538. for _, c in pairs(Weapon:GetDescendants()) do
  1539. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1540. c.Material = "Glass"
  1541. c.Color = C3(0,0,0)
  1542. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1543. c.Color = C3(0,0,0)
  1544. c.Material = "Neon"
  1545. end
  1546. end
  1547. end
  1548. ATTACK = false
  1549. Rooted = false
  1550. end
  1551. --//=================================\\
  1552. --|| ATTACK FUNCTIONS AND STUFF
  1553. --\\=================================//
  1554.  
  1555. function Intro()
  1556. ATTACK = true
  1557. Rooted = true
  1558. repeat
  1559. Swait()
  1560. 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)
  1561. 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)
  1562. 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)
  1563. 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)
  1564. 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)
  1565. 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)
  1566. until sick.TimePosition > 12
  1567. repeat
  1568. Swait()
  1569. 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)
  1570. 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)
  1571. 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)
  1572. 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)
  1573. 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)
  1574. 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)
  1575. until sick.TimePosition > 15
  1576. repeat
  1577. Swait()
  1578. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1579. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1580. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1581. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1582. 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)
  1583. 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)
  1584. until sick.TimePosition > 18
  1585. tecks2.TextTransparency = 0
  1586. HandleWeld.Part0 = RightArm
  1587. for i = 1, 100 do
  1588. Swait()
  1589.  
  1590.  
  1591. end
  1592. HandleWeld.Part0 = Torso
  1593. TRANSFORMED = true
  1594. ATTACK = false
  1595. Rooted = false
  1596. end
  1597.  
  1598. function Shot1()
  1599. ATTACK = true
  1600. Rooted = false
  1601. for i=0, 0.1, 0.1 / Animation_Speed do
  1602. Swait()
  1603. turnto(Mouse.Hit.p)
  1604. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1605. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1606. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1607. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1608. 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)
  1609. 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)
  1610. end
  1611. repeat
  1612. for i=0, 0.1, 0.1 / Animation_Speed do
  1613. Swait()
  1614. turnto(Mouse.Hit.p)
  1615. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1616. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1617. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1618. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1619. 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)
  1620. 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)
  1621. end
  1622. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1623. SpawnTrail(Hole.Position,POS)
  1624. if HIT ~= nil then
  1625. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1626. Banish(HIT.Parent)
  1627. end
  1628. end
  1629. 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})
  1630. 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 = 1463566014, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1631. 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})
  1632. 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})
  1633. for i=0, 0.1, 0.1 / Animation_Speed do
  1634. Swait()
  1635. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1636. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1637. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1638. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1639. 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)
  1640. 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)
  1641. end
  1642. until KEYHOLD == false
  1643. ATTACK = false
  1644. Rooted = false
  1645. end
  1646.  
  1647. function Shot2()
  1648. ATTACK = true
  1649. Rooted = false
  1650. for i=0, 0.5, 0.1 / Animation_Speed do
  1651. Swait()
  1652. turnto(Mouse.Hit.p)
  1653. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1654. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1655. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1656. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1657. 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)
  1658. 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)
  1659. end
  1660. repeat
  1661. for i=0, 0.3, 0.1 / Animation_Speed do
  1662. Swait()
  1663. turnto(Mouse.Hit.p)
  1664. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1665. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1666. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1667. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1668. 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)
  1669. 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)
  1670. end
  1671. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1672. SpawnTrail(Hole.Position,POS)
  1673. if HIT ~= nil then
  1674. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1675. Banish(HIT.Parent)
  1676. end
  1677. end
  1678. 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(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1679. 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(0,0,0), SoundID = 165946702, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1680. 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(0,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1681. 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(0,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1682. for i=0, 0.4, 0.1 / Animation_Speed do
  1683. Swait()
  1684. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1685. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1686. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1687. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1688. 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)
  1689. 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)
  1690. end
  1691. until KEYHOLD == false
  1692. ATTACK = false
  1693. Rooted = false
  1694. end
  1695. --//=================================\\
  1696. --|| ASSIGN THINGS TO KEYS
  1697. --\\=================================//
  1698.  
  1699. function MouseDown(Mouse)
  1700. if ATTACK == false then
  1701.  
  1702. end
  1703. end
  1704.  
  1705. function MouseUp(Mouse)
  1706. HOLD = false
  1707. end
  1708.  
  1709. function KeyDown(Key)
  1710. KEYHOLD = true
  1711. if TRANSFORMED == true and Rooted == false then
  1712. if Key == "f" and ATTACK == false then
  1713. Switch()
  1714. end
  1715.  
  1716.  
  1717. if Key == "z" and ATTACK == false then
  1718. if MODE == "GoodCop" then
  1719. Shot2()
  1720. elseif MODE == "BadCop" then
  1721. Shot1()
  1722. end
  1723. end
  1724.  
  1725. if Key == "T" and ATTACK == false then
  1726. if MODE == "GoodCop" then
  1727.  
  1728. elseif MODE == "BadCop" then
  1729. Shot2()
  1730. end
  1731. end
  1732.  
  1733. end
  1734.  
  1735. if Key == "9" and ATTACK == false then
  1736. CreateSound("135017578", Effects, 5, 1)
  1737. end
  1738. end
  1739.  
  1740. function KeyUp(Key)
  1741. KEYHOLD = false
  1742. end
  1743.  
  1744. Mouse.Button1Down:connect(function(NEWKEY)
  1745. MouseDown(NEWKEY)
  1746. end)
  1747. Mouse.Button1Up:connect(function(NEWKEY)
  1748. MouseUp(NEWKEY)
  1749. end)
  1750. Mouse.KeyDown:connect(function(NEWKEY)
  1751. KeyDown(NEWKEY)
  1752. end)
  1753. Mouse.KeyUp:connect(function(NEWKEY)
  1754. KeyUp(NEWKEY)
  1755. end)
  1756.  
  1757. --//=================================\\
  1758. --\\=================================//
  1759.  
  1760.  
  1761. function unanchor()
  1762. if UNANCHOR == true then
  1763. RootPart.Anchored = false
  1764. end
  1765. for _, c in pairs(SCYTHE:GetChildren()) do
  1766. if c.ClassName == "Part" then
  1767. c.Anchored = false
  1768. end
  1769. end
  1770. for _, c in pairs(Weapon:GetChildren()) do
  1771. if c.ClassName == "Part" then
  1772. c.Anchored = false
  1773. end
  1774. end
  1775. end
  1776.  
  1777.  
  1778. --//=================================\\
  1779. --|| WRAP THE WHOLE SCRIPT UP
  1780. --\\=================================//
  1781.  
  1782. Humanoid.Changed:connect(function(Jump)
  1783. if Jump == "Jump" and (Disable_Jump == true) then
  1784. Humanoid.Jump = false
  1785. end
  1786. end)
  1787.  
  1788. while true do
  1789. Swait()
  1790. script.Parent = WEAPONGUI
  1791. ANIMATE.Parent = nil
  1792. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1793. v:Stop();
  1794. end
  1795. SINE = SINE + CHANGE
  1796. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1797. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1798. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1799. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1800. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1801. 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)
  1802. 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)
  1803. 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)
  1804. 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)
  1805. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1806. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1807. 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)
  1808. 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)
  1809. 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)
  1810. end
  1811. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1812. ANIM = "Jump"
  1813. if ATTACK == false then
  1814. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1815. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1816. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1817. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1818. 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)
  1819. 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)
  1820. end
  1821. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1822. ANIM = "Fall"
  1823. if ATTACK == false then
  1824. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1825. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1826. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1827. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1828. 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)
  1829. 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)
  1830. end
  1831. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1832. ANIM = "Idle"
  1833. if ATTACK == false then
  1834. if MODE == "GoodCop" then
  1835. 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)
  1836. 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)
  1837. 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)
  1838. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.3) * ANGLES(RAD(-40), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1839. 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)
  1840. 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)
  1841. elseif MODE == "BadCop" then
  1842. 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)
  1843. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 2.5 * COS(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
  1844. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.9, 0.5 + 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1845. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.9, 0.25 + 0.05 * SIN(SINE / 12), -0.35) * ANGLES(RAD(70), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1846. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1847. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1848. end
  1849. end
  1850. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1851. ANIM = "Walk"
  1852. if ATTACK == false then
  1853. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.05) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1854. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1855. if MODE == "GoodCop" then
  1856. 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)
  1857. 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)
  1858. elseif MODE == "BadCop" then
  1859. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.9, 0.5 + 0.05 * SIN(SINE / (WALKSPEEDVALUE/2)), -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1860. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.9, 0.25 + 0.05 * SIN(SINE / (WALKSPEEDVALUE/2)), -0.35) * ANGLES(RAD(70), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1861. end
  1862. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-5)), 2 / Animation_Speed)
  1863. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(5)), 2 / Animation_Speed)
  1864. end
  1865. end
  1866. Humanoid.DisplayDistanceType = "None"
  1867. unanchor()
  1868. tecks2.TextColor3 = BrickColor.Random().Color
  1869. tecks2.TextStrokeColor3 = BrickColor.Random().Color
  1870. Humanoid.MaxHealth = "inf"
  1871. Humanoid.Health = "inf"
  1872. if Rooted == false then
  1873. Disable_Jump = false
  1874. Humanoid.WalkSpeed = Speed
  1875. elseif Rooted == true then
  1876. Disable_Jump = true
  1877. Humanoid.WalkSpeed = 0
  1878. end
  1879. Humanoid.PlatformStand = false
  1880. if INTRO == false and INSTANT == false then
  1881. INTRO = true
  1882. coroutine.resume(coroutine.create(function()
  1883. sick:Play()
  1884. Intro()
  1885. end))
  1886. end
  1887. if INSTANT == true then
  1888. if TRANSFORMED == false then
  1889. sick.TimePosition = 60
  1890. sick:Play()
  1891. end
  1892. TRANSFORMED = true
  1893. end
  1894. script.Parent = PlayerGui
  1895. Character.Parent = workspace
  1896. Humanoid.Parent = Character
  1897. end
  1898. --//=================================\\
  1899. --\\=================================//
  1900.  
  1901.  
  1902.  
  1903.  
  1904.  
  1905. --//====================================================\\--
  1906. --|| END OF SCRIPT
  1907. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement