Advertisement
naetza

fadad585d

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