Advertisement
HenloMyDude

tf2 spy edit of atp soldier (by me)

Oct 28th, 2019
686
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 248.30 KB | None | 0 0
  1. local Player = owner
  2. print("by youngmacka123 btw this is not the spy edit of atpsoldier that ferrionn uses its my own ok")
  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 V2 by Mokiros")
  9. local RealPlayer = RealPlayer
  10. script.Parent = RealPlayer.Character
  11.  
  12. --Fake event to make stuff like Mouse.KeyDown work
  13. local Disconnect_Function = function(this)
  14. this[1].Functions[this[2]] = nil
  15. end
  16. local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
  17. local FakeEvent_Metatable = {__index={
  18. Connect = function(this,f)
  19. local i = tostring(math.random(0,10000))
  20. while this.Functions[i] do
  21. i = tostring(math.random(0,10000))
  22. end
  23. this.Functions[i] = f
  24. return setmetatable({this,i},Disconnect_Metatable)
  25. end
  26. }}
  27. FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
  28. local function fakeEvent()
  29. return setmetatable({Functions={}},FakeEvent_Metatable)
  30. end
  31.  
  32. --Creating fake input objects with fake variables
  33. local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  34. FakeMouse.keyUp = FakeMouse.KeyUp
  35. FakeMouse.keyDown = FakeMouse.KeyDown
  36. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  37. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  38. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  39. end}
  40. --Merged 2 functions into one by checking amount of arguments
  41. CAS.UnbindAction = CAS.BindAction
  42.  
  43. --This function will trigger the events that have been :Connect()'ed
  44. local function TriggerEvent(self,ev,...)
  45. for _,f in pairs(self[ev].Functions) do
  46. f(...)
  47. end
  48. end
  49. FakeMouse.TriggerEvent = TriggerEvent
  50. UIS.TriggerEvent = TriggerEvent
  51.  
  52. --Client communication
  53. local Event = Instance.new("RemoteEvent")
  54. Event.Name = "UserInput_Event"
  55. Event.OnServerEvent:Connect(function(plr,io)
  56. if plr~=RealPlayer then return end
  57. FakeMouse.Target = io.Target
  58. FakeMouse.Hit = io.Hit
  59. if not io.isMouse then
  60. local b = io.UserInputState == Enum.UserInputState.Begin
  61. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  62. return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
  63. end
  64. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  65. return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
  66. end
  67. for _,t in pairs(CAS.Actions) do
  68. for _,k in pairs(t.Keys) do
  69. if k==io.KeyCode then
  70. t.Function(t.Name,io.UserInputState,io)
  71. end
  72. end
  73. end
  74. FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  75. UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
  76. end
  77. end)
  78. Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
  79. local Mouse = owner:GetMouse()
  80. local UIS = game:GetService("UserInputService")
  81. local input = function(io,RobloxHandled)
  82. if RobloxHandled then return end
  83. --Since InputObject is a client-side instance, we create and pass table instead
  84. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  85. end
  86. UIS.InputBegan:Connect(input)
  87. UIS.InputEnded:Connect(input)
  88. local h,t
  89. --Give the server mouse data every second frame, but only if the values changed
  90. --If player is not moving their mouse, client won't fire events
  91. local HB = game:GetService("RunService").Heartbeat
  92. while true do
  93. if h~=Mouse.Hit or t~=Mouse.Target then
  94. h,t=Mouse.Hit,Mouse.Target
  95. Event:FireServer({isMouse=true,Target=t,Hit=h})
  96. end
  97. --Wait 2 frames
  98. for i=1,2 do
  99. HB:Wait()
  100. end
  101. end]==],script)
  102.  
  103. ----Sandboxed game object that allows the usage of client-side methods and services
  104. --Real game object
  105. local RealGame = game
  106.  
  107. --Metatable for fake service
  108. local FakeService_Metatable = {
  109. __index = function(self,k)
  110. local s = rawget(self,"_RealService")
  111. if s then
  112. return typeof(s[k])=="function"
  113. and function(_,...)return s[k](s,...)end or s[k]
  114. end
  115. end,
  116. __newindex = function(self,k,v)
  117. local s = rawget(self,"_RealService")
  118. if s then s[k]=v end
  119. end
  120. }
  121. local function FakeService(t,RealService)
  122. t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
  123. return setmetatable(t,FakeService_Metatable)
  124. end
  125.  
  126. --Fake game object
  127. local FakeGame = {
  128. GetService = function(self,s)
  129. return rawget(self,s) or RealGame:GetService(s)
  130. end,
  131. Players = FakeService({
  132. LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
  133. },"Players"),
  134. UserInputService = FakeService(UIS,"UserInputService"),
  135. ContextActionService = FakeService(CAS,"ContextActionService"),
  136. RunService = FakeService({
  137. _btrs = {},
  138. RenderStepped = RealGame:GetService("RunService").Heartbeat,
  139. BindToRenderStep = function(self,name,_,fun)
  140. self._btrs[name] = self.Heartbeat:Connect(fun)
  141. end,
  142. UnbindFromRenderStep = function(self,name)
  143. self._btrs[name]:Disconnect()
  144. end,
  145. },"RunService")
  146. }
  147. rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
  148. FakeGame.service = FakeGame.GetService
  149. FakeService(FakeGame,game)
  150. --Changing owner to fake player object to support owner:GetMouse()
  151. game,owner = FakeGame,FakeGame.Players.LocalPlayer
  152. end
  153.  
  154. --//====================================================\\--
  155. --|| CREATED BY IGNORANTROJO
  156. --\\====================================================//--
  157. --ATP SOLDIER
  158. --Script: 0000019
  159. --How many scripts did i make?
  160. --damn.
  161. --[[
  162. TODO:
  163. --Blood when hit (idea by nebu)--
  164. --forcefield--
  165. --make it so you can actually get damaged lollll--
  166. --more guns--
  167. goggle color modes
  168. --]]
  169. --[[UPDATE LOG (LAST VERSION):
  170. --ADDED MORE MODES ON THE NUCLEAR SIDE
  171. --ADDED CHAT FUNCTIONS
  172. --ADDED CHAT FUNCTION GUI
  173. --]]
  174.  
  175. wait(0.2)
  176.  
  177. Player = owner
  178. Mouse = Player:GetMouse()
  179. Cam = workspace.CurrentCamera
  180. Backpack = Player.Backpack
  181. Character = Player.Character
  182. Humanoid = Character.Humanoid
  183. RootPart = Character["HumanoidRootPart"]
  184. Torso = Character["Torso"]
  185. Head = Character["Head"]
  186. RightArm = Character["Right Arm"]
  187. LeftArm = Character["Left Arm"]
  188. RightLeg = Character["Right Leg"]
  189. LeftLeg = Character["Left Leg"]
  190. RootJoint = RootPart["RootJoint"]
  191. Neck = Torso["Neck"]
  192. RightShoulder = Torso["Right Shoulder"]
  193. LeftShoulder = Torso["Left Shoulder"]
  194. RightHip = Torso["Right Hip"]
  195. LeftHip = Torso["Left Hip"]
  196. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  197. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  198. LH=Torso["Left Hip"]
  199. RH=Torso["Right Hip"]
  200. local TIME = 0
  201. local sick = Instance.new("Sound",RootPart)
  202. plr = owner
  203. char = plr.Character
  204. ch = plr.Character
  205. hum = char.Humanoid
  206. local cam = game.Workspace.CurrentCamera
  207. Camera = cam
  208. local CamInterrupt = false
  209. local TwoD = false
  210. local TargetInfo = {nil, nil}
  211. cam.CameraType = "Custom"
  212. t = char.Torso
  213. h = char.Head
  214. ra = char["Right Arm"]
  215. la = char["Left Arm"]
  216. rl = char["Right Leg"]
  217. ll = char["Left Leg"]
  218. tors = char.Torso
  219. lleg = char["Left Leg"]
  220. root = char.HumanoidRootPart
  221. hed = char.Head
  222. rleg = char["Right Leg"]
  223. rarm = char["Right Arm"]
  224. larm = char["Left Arm"]
  225. radian = math.rad
  226. random = math.random
  227. Vec3 = Vector3.new
  228. Inst = Instance.new
  229. cFrame = CFrame.new
  230. Euler = CFrame.fromEulerAnglesXYZ
  231. vt = Vector3.new
  232. bc = BrickColor.new
  233. br = BrickColor.random
  234. it = Instance.new
  235. cf = CFrame.new
  236. IT = Instance.new
  237. CF = CFrame.new
  238. VT = Vector3.new
  239. RAD = math.rad
  240. C3 = Color3.new
  241. UD2 = UDim2.new
  242. BRICKC = BrickColor.new
  243. ANGLES = CFrame.Angles
  244. EULER = CFrame.fromEulerAnglesXYZ
  245. COS = math.cos
  246. ACOS = math.acos
  247. SIN = math.sin
  248. ASIN = math.asin
  249. ABS = math.abs
  250. MRANDOM = math.random
  251. FLOOR = math.floor
  252. RSH=ch.Torso["Right Shoulder"]
  253. LSH=ch.Torso["Left Shoulder"]
  254. vt=Vector3.new
  255. cf=CFrame.new
  256. euler=CFrame.fromEulerAnglesXYZ
  257. angles=CFrame.Angles
  258. cloaked=false
  259. RootCF=euler(-1.57,0,3.14)
  260. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  261. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  262. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  263. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  264. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  265. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  266. --
  267. RSH.Parent=nil
  268. LSH.Parent=nil
  269. --
  270. RW.Name="Right Shoulder"
  271. RW.Part0=ch.Torso
  272. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  273. RW.C1=cf(0, 0.5, 0)
  274. RW.Part1=ch["Right Arm"]
  275. RW.Parent=ch.Torso
  276. --
  277. LW.Name="Left Shoulder"
  278. LW.Part0=ch.Torso
  279. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  280. LW.C1=cf(0, 0.5, 0)
  281. LW.Part1=ch["Left Arm"]
  282. LW.Parent=ch.Torso
  283. CF = CFrame.new
  284. angles = CFrame.Angles
  285. attack = false
  286. Euler = CFrame.fromEulerAnglesXYZ
  287. Rad = math.rad
  288. IT = Instance.new
  289. BrickC = BrickColor.new
  290. Cos = math.cos
  291. Acos = math.acos
  292. Sin = math.sin
  293. Asin = math.asin
  294. Abs = math.abs
  295. Mrandom = math.random
  296. Floor = math.floor
  297. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  298. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  299. Humanoid.MaxHealth = "100"
  300. Humanoid.Health = "100"
  301. --//=================================\\
  302. --|| USEFUL VALUES
  303. --\\=================================//
  304. local change = 1
  305. local SONG = 1175569393
  306. local sine = 0
  307. local Nuclear = false
  308. local flying = false
  309. Animation_Speed = 3
  310. local FORCERESET = false
  311. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  312. local Speed = 16
  313. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  314. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  315. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  316. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  317. local DAMAGEMULTIPLIER = 1
  318. local ANIM = "Idle"
  319. local ATTACK = false
  320. local EQUIPPED = false
  321. local HOLD = false
  322. local COMBO = 1
  323. local Rooted = false
  324. local SINE = 0
  325. local KEYHOLD = false
  326. local CHANGE = 2 / Animation_Speed
  327. local WALKINGANIM = false
  328. local VALUE1 = false
  329. local VALUE2 = false
  330. local ROBLOXIDLEANIMATION = IT("Animation")
  331. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  332. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  333. --ROBLOXIDLEANIMATION.Parent = Humanoid
  334. local kek = IT("Model")
  335. kek.Name = "Adds"
  336. local Weapon = IT("Model")
  337. Weapon.Name = "Adds"
  338. local Gun = IT("Model")
  339. Gun.Name = "Adds"
  340. local SMG = IT("Model")
  341. SMG.Name = "Adds"
  342. local SMG2 = IT("Model")
  343. SMG2.Name = "Adds"
  344. local SMG3 = IT("Model")
  345. SMG3.Name = "Adds"
  346. local Shotgun = IT("Model")
  347. Shotgun.Name = "Adds"
  348. local A47 = IT("Model")
  349. A47.Name = "Adds"
  350. local Supressor = IT("Model")
  351. Supressor.Name = "Adds"
  352. local knif = IT("Model")
  353. knif.Name = "Adds"
  354. local DE = IT("Model")
  355. DE.Name = "Adds"
  356. local AUG = IT("Model")
  357. AUG.Name = "Adds"
  358. local AWP = IT("Model")
  359. AWP.Name = "Adds"
  360. local R8RA = IT("Model")
  361. R8RA.Name = "Adds"
  362. local AR = IT("Model")
  363. AR.Name = "Adds"
  364. local Effects = IT("Folder", Weapon)
  365. Effects.Name = "Effects"
  366. local ANIMATOR = Humanoid.Animator
  367. local ANIMATE = Character:FindFirstChild("Animate")
  368. local UNANCHOR = true
  369. local TOBANISH = {}
  370. local CLOCKTARGET = nil
  371. local CLOCKSPEED = 2.5
  372. local CLOCKLOOP = 0
  373. local SIZE = 1
  374. local Mode = "Normal"
  375. --//=================================\\
  376. --\\=================================//
  377.  
  378. --//=================================\\
  379. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  380. --\\=================================//
  381.  
  382. ArtificialHB = Instance.new("BindableEvent", script)
  383. ArtificialHB.Name = "ArtificialHB"
  384.  
  385. script:WaitForChild("ArtificialHB")
  386.  
  387. frame = Frame_Speed
  388. tf = 0
  389. allowframeloss = false
  390. tossremainder = false
  391. lastframe = tick()
  392. script.ArtificialHB:Fire()
  393.  
  394. game:GetService("RunService").Heartbeat:connect(function(s, p)
  395. tf = tf + s
  396. if tf >= frame then
  397. if allowframeloss then
  398. script.ArtificialHB:Fire()
  399. lastframe = tick()
  400. else
  401. for i = 1, math.floor(tf / frame) do
  402. script.ArtificialHB:Fire()
  403. end
  404. lastframe = tick()
  405. end
  406. if tossremainder then
  407. tf = 0
  408. else
  409. tf = tf - frame * math.floor(tf / frame)
  410. end
  411. end
  412. end)
  413.  
  414. --//=================================\\
  415. --\\=================================//
  416.  
  417. --//=================================\\
  418. --|| SOME FUNCTIONS
  419. --\\=================================//
  420.  
  421. function clerp(a,b,t)
  422. local qa = {QuaternionFromCFrame(a)}
  423. local qb = {QuaternionFromCFrame(b)}
  424. local ax, ay, az = a.x, a.y, a.z
  425. local bx, by, bz = b.x, b.y, b.z
  426. local _t = 1-t
  427. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  428. end
  429.  
  430. function QuaternionFromCFrame(cf)
  431. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  432. local trace = m00 + m11 + m22
  433. if trace > 0 then
  434. local s = math.sqrt(1 + trace)
  435. local recip = 0.5/s
  436. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  437. else
  438. local i = 0
  439. if m11 > m00 then
  440. i = 1
  441. end
  442. if m22 > (i == 0 and m00 or m11) then
  443. i = 2
  444. end
  445. if i == 0 then
  446. local s = math.sqrt(m00-m11-m22+1)
  447. local recip = 0.5/s
  448. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  449. elseif i == 1 then
  450. local s = math.sqrt(m11-m22-m00+1)
  451. local recip = 0.5/s
  452. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  453. elseif i == 2 then
  454. local s = math.sqrt(m22-m00-m11+1)
  455. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  456. end
  457. end
  458. end
  459.  
  460. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  461. local xs, ys, zs = x + x, y + y, z + z
  462. local wx, wy, wz = w*xs, w*ys, w*zs
  463. local xx = x*xs
  464. local xy = x*ys
  465. local xz = x*zs
  466. local yy = y*ys
  467. local yz = y*zs
  468. local zz = z*zs
  469. 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))
  470. end
  471.  
  472.  
  473. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  474. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  475. end
  476.  
  477. function PositiveAngle(NUMBER)
  478. if NUMBER >= 0 then
  479. NUMBER = 0
  480. end
  481. return NUMBER
  482. end
  483.  
  484. function NegativeAngle(NUMBER)
  485. if NUMBER <= 0 then
  486. NUMBER = 0
  487. end
  488. return NUMBER
  489. end
  490.  
  491. function Swait(NUMBER)
  492. if NUMBER == 0 or NUMBER == nil then
  493. ArtificialHB.Event:wait()
  494. else
  495. for i = 1, NUMBER do
  496. ArtificialHB.Event:wait()
  497. end
  498. end
  499. end
  500.  
  501. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  502. local NEWMESH = IT(MESH)
  503. if MESH == "SpecialMesh" then
  504. NEWMESH.MeshType = MESHTYPE
  505. if MESHID ~= "nil" and MESHID ~= "" then
  506. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  507. end
  508. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  509. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  510. end
  511. end
  512. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  513. NEWMESH.Scale = SCALE
  514. NEWMESH.Parent = PARENT
  515. return NEWMESH
  516. end
  517. local Create = LoadLibrary("RbxUtility").Create
  518.  
  519. CFuncs = {
  520. ["Part"] = {
  521. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  522. local Part = Create("Part"){
  523. Parent = Parent,
  524. Reflectance = Reflectance,
  525. Transparency = Transparency,
  526. CanCollide = false,
  527. Locked = true,
  528. BrickColor = BrickColor.new(tostring(BColor)),
  529. Name = Name,
  530. Size = Size,
  531. Material = Material,
  532. }
  533. RemoveOutlines(Part)
  534. return Part
  535. end;
  536. };
  537.  
  538. ["Mesh"] = {
  539. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  540. local Msh = Create(Mesh){
  541. Parent = Part,
  542. Offset = OffSet,
  543. Scale = Scale,
  544. }
  545. if Mesh == "SpecialMesh" then
  546. Msh.MeshType = MeshType
  547. Msh.MeshId = MeshId
  548. end
  549. return Msh
  550. end;
  551. };
  552.  
  553. ["Mesh"] = {
  554. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  555. local Msh = Create(Mesh){
  556. Parent = Part,
  557. Offset = OffSet,
  558. Scale = Scale,
  559. }
  560. if Mesh == "SpecialMesh" then
  561. Msh.MeshType = MeshType
  562. Msh.MeshId = MeshId
  563. end
  564. return Msh
  565. end;
  566. };
  567.  
  568. ["Weld"] = {
  569. Create = function(Parent, Part0, Part1, C0, C1)
  570. local Weld = Create("Weld"){
  571. Parent = Parent,
  572. Part0 = Part0,
  573. Part1 = Part1,
  574. C0 = C0,
  575. C1 = C1,
  576. }
  577. return Weld
  578. end;
  579. };
  580.  
  581. ["Sound"] = {
  582. Create = function(id, par, vol, pit)
  583. coroutine.resume(coroutine.create(function()
  584. local S = Create("Sound"){
  585. Volume = vol,
  586. Name = "EffectSoundo",
  587. Pitch = pit or 1,
  588. SoundId = id,
  589. Parent = par or workspace,
  590. }
  591. wait()
  592. S:play()
  593. game:GetService("Debris"):AddItem(S, 10)
  594. end))
  595. end;
  596. };
  597.  
  598. ["TimeSound"] = {
  599. Create = function(id, par, vol, pit, timepos)
  600. coroutine.resume(coroutine.create(function()
  601. local S = Create("Sound"){
  602. Volume = vol,
  603. Name = "EffectSoundo",
  604. Pitch = pit or 1,
  605. SoundId = id,
  606. TimePosition = timepos,
  607. Parent = par or workspace,
  608. }
  609. wait()
  610. S:play()
  611. game:GetService("Debris"):AddItem(S, 10)
  612. end))
  613. end;
  614. };
  615. ["EchoSound"] = {
  616. Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  617. coroutine.resume(coroutine.create(function()
  618. local Sas = Create("Sound"){
  619. Volume = vol,
  620. Name = "EffectSoundo",
  621. Pitch = pit or 1,
  622. SoundId = id,
  623. TimePosition = timepos,
  624. Parent = par or workspace,
  625. }
  626. local E = Create("EchoSoundEffect"){
  627. Delay = echodelay,
  628. Name = "Echo",
  629. Feedback = fedb,
  630. DryLevel = dryl,
  631. Parent = Sas,
  632. }
  633. wait()
  634. Sas:play()
  635. game:GetService("Debris"):AddItem(Sas, delays)
  636. end))
  637. end;
  638. };
  639.  
  640. ["LongSound"] = {
  641. Create = function(id, par, vol, pit)
  642. coroutine.resume(coroutine.create(function()
  643. local S = Create("Sound"){
  644. Volume = vol,
  645. Pitch = pit or 1,
  646. SoundId = id,
  647. Parent = par or workspace,
  648. }
  649. wait()
  650. S:play()
  651. game:GetService("Debris"):AddItem(S, 60)
  652. end))
  653. end;
  654. };
  655.  
  656. ["ParticleEmitter"] = {
  657. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  658. local fp = Create("ParticleEmitter"){
  659. Parent = Parent,
  660. Color = ColorSequence.new(Color1, Color2),
  661. LightEmission = LightEmission,
  662. Size = Size,
  663. Texture = Texture,
  664. Transparency = Transparency,
  665. ZOffset = ZOffset,
  666. Acceleration = Accel,
  667. Drag = Drag,
  668. LockedToPart = LockedToPart,
  669. VelocityInheritance = VelocityInheritance,
  670. EmissionDirection = EmissionDirection,
  671. Enabled = Enabled,
  672. Lifetime = LifeTime,
  673. Rate = Rate,
  674. Rotation = Rotation,
  675. RotSpeed = RotSpeed,
  676. Speed = Speed,
  677. VelocitySpread = VelocitySpread,
  678. }
  679. return fp
  680. end;
  681. };
  682.  
  683. CreateTemplate = {
  684.  
  685. };
  686. }
  687. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  688. local NEWPART = IT("Part")
  689. NEWPART.formFactor = FORMFACTOR
  690. NEWPART.Reflectance = REFLECTANCE
  691. NEWPART.Transparency = TRANSPARENCY
  692. NEWPART.CanCollide = false
  693. NEWPART.Locked = true
  694. NEWPART.Anchored = true
  695. if ANCHOR == false then
  696. NEWPART.Anchored = false
  697. end
  698. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  699. NEWPART.Name = NAME
  700. NEWPART.Size = SIZE
  701. NEWPART.Position = Torso.Position
  702. NEWPART.Material = MATERIAL
  703. NEWPART:BreakJoints()
  704. NEWPART.Parent = PARENT
  705. return NEWPART
  706. end
  707.  
  708. local function weldBetween(a, b)
  709. local weldd = Instance.new("ManualWeld")
  710. weldd.Part0 = a
  711. weldd.Part1 = b
  712. weldd.C0 = CFrame.new()
  713. weldd.C1 = b.CFrame:inverse() * a.CFrame
  714. weldd.Parent = a
  715. return weldd
  716. end
  717.  
  718.  
  719. function QuaternionFromCFrame(cf)
  720. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  721. local trace = m00 + m11 + m22
  722. if trace > 0 then
  723. local s = math.sqrt(1 + trace)
  724. local recip = 0.5 / s
  725. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  726. else
  727. local i = 0
  728. if m11 > m00 then
  729. i = 1
  730. end
  731. if m22 > (i == 0 and m00 or m11) then
  732. i = 2
  733. end
  734. if i == 0 then
  735. local s = math.sqrt(m00 - m11 - m22 + 1)
  736. local recip = 0.5 / s
  737. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  738. elseif i == 1 then
  739. local s = math.sqrt(m11 - m22 - m00 + 1)
  740. local recip = 0.5 / s
  741. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  742. elseif i == 2 then
  743. local s = math.sqrt(m22 - m00 - m11 + 1)
  744. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  745. end
  746. end
  747. end
  748.  
  749. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  750. local xs, ys, zs = x + x, y + y, z + z
  751. local wx, wy, wz = w * xs, w * ys, w * zs
  752. local xx = x * xs
  753. local xy = x * ys
  754. local xz = x * zs
  755. local yy = y * ys
  756. local yz = y * zs
  757. local zz = z * zs
  758. 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))
  759. end
  760. function swait(num)
  761. if num==0 or num==nil then
  762. game:service'RunService'.Stepped:wait(0)
  763. else
  764. for i=0,num do
  765. game:service'RunService'.Stepped:wait(0)
  766. end
  767. end
  768. end
  769. function QuaternionSlerp(a, b, t)
  770. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  771. local startInterp, finishInterp;
  772. if cosTheta >= 0.0001 then
  773. if (1 - cosTheta) > 0.0001 then
  774. local theta = ACOS(cosTheta)
  775. local invSinTheta = 1 / SIN(theta)
  776. startInterp = SIN((1 - t) * theta) * invSinTheta
  777. finishInterp = SIN(t * theta) * invSinTheta
  778. else
  779. startInterp = 1 - t
  780. finishInterp = t
  781. end
  782. else
  783. if (1 + cosTheta) > 0.0001 then
  784. local theta = ACOS(-cosTheta)
  785. local invSinTheta = 1 / SIN(theta)
  786. startInterp = SIN((t - 1) * theta) * invSinTheta
  787. finishInterp = SIN(t * theta) * invSinTheta
  788. else
  789. startInterp = t - 1
  790. finishInterp = t
  791. end
  792. end
  793. 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
  794. end
  795.  
  796. function Clerp(a, b, t)
  797. local qa = {QuaternionFromCFrame(a)}
  798. local qb = {QuaternionFromCFrame(b)}
  799. local ax, ay, az = a.x, a.y, a.z
  800. local bx, by, bz = b.x, b.y, b.z
  801. local _t = 1 - t
  802. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  803. end
  804.  
  805. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  806. local frame = IT("Frame")
  807. frame.BackgroundTransparency = TRANSPARENCY
  808. frame.BorderSizePixel = BORDERSIZEPIXEL
  809. frame.Position = POSITION
  810. frame.Size = SIZE
  811. frame.BackgroundColor3 = COLOR
  812. frame.BorderColor3 = BORDERCOLOR
  813. frame.Name = NAME
  814. frame.Parent = PARENT
  815. return frame
  816. end
  817.  
  818. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  819. local label = IT("TextLabel")
  820. label.BackgroundTransparency = 1
  821. label.Size = UD2(1, 0, 1, 0)
  822. label.Position = UD2(0, 0, 0, 0)
  823. label.TextColor3 = TEXTCOLOR
  824. label.TextStrokeTransparency = STROKETRANSPARENCY
  825. label.TextTransparency = TRANSPARENCY
  826. label.FontSize = TEXTFONTSIZE
  827. label.Font = TEXTFONT
  828. label.BorderSizePixel = BORDERSIZEPIXEL
  829. label.TextScaled = false
  830. label.Text = TEXT
  831. label.Name = NAME
  832. label.Parent = PARENT
  833. return label
  834. end
  835.  
  836. function NoOutlines(PART)
  837. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  838. end
  839.  
  840. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  841. local NEWWELD = IT(TYPE)
  842. NEWWELD.Part0 = PART0
  843. NEWWELD.Part1 = PART1
  844. NEWWELD.C0 = C0
  845. NEWWELD.C1 = C1
  846. NEWWELD.Parent = PARENT
  847. return NEWWELD
  848. end
  849.  
  850. local S = IT("Sound")
  851. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  852. local NEWSOUND = nil
  853. coroutine.resume(coroutine.create(function()
  854. NEWSOUND = S:Clone()
  855. NEWSOUND.Parent = PARENT
  856. NEWSOUND.Volume = VOLUME
  857. NEWSOUND.Pitch = PITCH
  858. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  859. NEWSOUND:play()
  860. if DOESLOOP == true then
  861. NEWSOUND.Looped = true
  862. else
  863. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  864. NEWSOUND:remove()
  865. end
  866. end))
  867. return NEWSOUND
  868. end
  869.  
  870. function CFrameFromTopBack(at, top, back)
  871. local right = top:Cross(back)
  872. 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)
  873. end
  874.  
  875. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  876. function WACKYEFFECT(Table)
  877. local TYPE = (Table.EffectType or "Sphere")
  878. local SIZE = (Table.Size or VT(1,1,1))
  879. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  880. local TRANSPARENCY = (Table.Transparency or 0)
  881. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  882. local CFRAME = (Table.CFrame or Torso.CFrame)
  883. local MOVEDIRECTION = (Table.MoveToPos or nil)
  884. local ROTATION1 = (Table.RotationX or 0)
  885. local ROTATION2 = (Table.RotationY or 0)
  886. local ROTATION3 = (Table.RotationZ or 0)
  887. local MATERIAL = (Table.Material or "Neon")
  888. local COLOR = (Table.Color or C3(1,1,1))
  889. local TIME = (Table.Time or 45)
  890. local SOUNDID = (Table.SoundID or nil)
  891. local SOUNDPITCH = (Table.SoundPitch or nil)
  892. local SOUNDVOLUME = (Table.SoundVolume or nil)
  893. coroutine.resume(coroutine.create(function()
  894. local PLAYSSOUND = false
  895. local SOUND = nil
  896. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  897. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  898. PLAYSSOUND = true
  899. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  900. end
  901. EFFECT.Color = COLOR
  902. local MSH = nil
  903. if TYPE == "Sphere" then
  904. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  905. elseif TYPE == "Block" then
  906. MSH = IT("BlockMesh",EFFECT)
  907. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  908. elseif TYPE == "Wave" then
  909. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  910. elseif TYPE == "Ring" then
  911. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  912. elseif TYPE == "Slash" then
  913. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  914. elseif TYPE == "Round Slash" then
  915. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  916. elseif TYPE == "Swirl" then
  917. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  918. elseif TYPE == "Skull" then
  919. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  920. elseif TYPE == "Crystal" then
  921. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  922. end
  923. if MSH ~= nil then
  924. local MOVESPEED = nil
  925. if MOVEDIRECTION ~= nil then
  926. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  927. end
  928. local GROWTH = SIZE - ENDSIZE
  929. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  930. if TYPE == "Block" then
  931. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  932. else
  933. EFFECT.CFrame = CFRAME
  934. end
  935. for LOOP = 1, TIME+1 do
  936. Swait()
  937. MSH.Scale = MSH.Scale - GROWTH/TIME
  938. if TYPE == "Wave" then
  939. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  940. end
  941. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  942. if TYPE == "Block" then
  943. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  944. else
  945. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  946. end
  947. if MOVEDIRECTION ~= nil then
  948. local ORI = EFFECT.Orientation
  949. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  950. EFFECT.Orientation = ORI
  951. end
  952. end
  953. if PLAYSSOUND == false then
  954. EFFECT:remove()
  955. else
  956. SOUND.Stopped:Connect(function()
  957. EFFECT:remove()
  958. end)
  959. end
  960. else
  961. if PLAYSSOUND == false then
  962. EFFECT:remove()
  963. else
  964. repeat Swait() until SOUND.Playing == false
  965. EFFECT:remove()
  966. end
  967. end
  968. end))
  969. end
  970.  
  971. function CharacterFade(COLOR,TIMER,MOVEDIRECTION,PARENT)
  972. coroutine.resume(coroutine.create(function()
  973. local FADE = IT("Model",Effects)
  974. if PARENT ~= nil then
  975. FADE.Parent = PARENT
  976. end
  977. FADE.Name = "FadingEffect"
  978. for _, c in pairs(Character:GetChildren()) do
  979. if c.ClassName == "Part" then
  980. c.CanCollide = false
  981. local FADER = CreatePart(3, FADE, "Neon", 0, 0.75, BRICKC("Pearl"), c.Name, c.Size, true)
  982. FADER.CFrame = c.CFrame
  983. FADER.Color = COLOR
  984. if FADER.Name == "Head" then
  985. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FADER
  986. elseif FADER.Name == "HumanoidRootPart" then
  987. FADE.PrimaryPart = FADER
  988. FADER.Transparency = 1
  989. end
  990. end
  991. end
  992. local TRANS = 0.25/TIMER
  993. local DIST = nil
  994. if MOVEDIRECTION ~= nil then
  995. DIST = (FADE.PrimaryPart.Position - MOVEDIRECTION).Magnitude
  996. end
  997. for i = 1, TIMER do
  998. Swait()
  999. for _, c in pairs(FADE:GetChildren()) do
  1000. if c.ClassName == "Part" then
  1001. c.Transparency = c.Transparency + TRANS
  1002. end
  1003. end
  1004. if MOVEDIRECTION ~= nil then
  1005. local ORI = FADE.PrimaryPart.Orientation
  1006. FADE:SetPrimaryPartCFrame(CF(CF(FADE.PrimaryPart.Position,MOVEDIRECTION)*CF(0,0,-DIST/TIMER).p) * ANGLES(RAD(ORI.X), RAD(ORI.Y), RAD(ORI.Z)))
  1007. end
  1008. end
  1009. FADE:remove()
  1010. end))
  1011. end
  1012.  
  1013. function R_RANDOM(CFRAME,DIST)
  1014. return CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-DIST)
  1015. end
  1016.  
  1017. function MakeForm(PART,TYPE)
  1018. if TYPE == "Cyl" then
  1019. local MSH = IT("CylinderMesh",PART)
  1020. elseif TYPE == "Ball" then
  1021. local MSH = IT("SpecialMesh",PART)
  1022. MSH.MeshType = "Sphere"
  1023. elseif TYPE == "Wedge" then
  1024. local MSH = IT("SpecialMesh",PART)
  1025. MSH.MeshType = "Wedge"
  1026. end
  1027. end
  1028.  
  1029. function SpawnTrail(FROM,TO,BIG)
  1030. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  1031. MakeForm(TRAIL,"Cyl")
  1032. local DIST = (FROM - TO).Magnitude
  1033. if BIG == true then
  1034. TRAIL.Size = VT(0.5,DIST,0.5)
  1035. else
  1036. TRAIL.Size = VT(0.25,DIST,0.25)
  1037. end
  1038. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  1039. coroutine.resume(coroutine.create(function()
  1040. for i = 1, 5 do
  1041. Swait()
  1042. TRAIL.Transparency = TRAIL.Transparency + 0.1
  1043. end
  1044. TRAIL:remove()
  1045. end))
  1046. end
  1047.  
  1048. Debris = game:GetService("Debris")
  1049.  
  1050. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  1051. local DIRECTION = CF(StartPos,EndPos).lookVector
  1052. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  1053. end
  1054.  
  1055. function turnto(position)
  1056. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1057. end
  1058.  
  1059. --//=================================\\
  1060. --|| WEAPONS/MISC CREATION
  1061. --\\=================================//
  1062.  
  1063. title = [[
  1064.  
  1065. // C H A T L I S T \\
  1066. AAAA
  1067. I CANT BELIEVE YOUVE DONE THIS
  1068. DS
  1069. HEX
  1070. TOPHAT
  1071. NOHATS
  1072. I CAN DO ANYTHING
  1073. ah yes
  1074. SIT
  1075. NOSIT
  1076. /e time (timeposition)
  1077. /e play (id)
  1078. thats how mafia works
  1079. curb
  1080. GET REKT FOOL
  1081.  
  1082. [E] Open/Close CHAT GUI
  1083.  
  1084. GUI made by @Kyutatsuki#9221
  1085. ]]
  1086. backgroundcolortitle = C3(0.1,0.1,0)
  1087. bordercolortitle = C3(1,1,0)
  1088. GUI = Instance.new("ScreenGui", Player.PlayerGui)
  1089. GUI.Name = "BlackHoleKyutatsukiGui"
  1090. textlabel = Instance.new("TextLabel",GUI)
  1091. textlabel.AnchorPoint = Vector2.new(1,1)
  1092. textlabel.Position = UDim2.new(1,500+5,1,-5)
  1093. textlabel.Size = UDim2.new(0,500,0,400)
  1094. textlabel.BorderSizePixel = 5
  1095. textlabel.BorderColor3 = bordercolortitle
  1096. textlabel.BackgroundColor3 = backgroundcolortitle
  1097. textlabel.BackgroundTransparency = 0.1
  1098. textlabel.TextTransparency = 0.1
  1099. textlabel.TextColor3 = C3(1,1,0)
  1100. textlabel.TextScaled = true
  1101. textlabel.TextYAlignment = Enum.TextYAlignment.Center
  1102. textlabel.Font = Enum.Font.SciFi
  1103. textlabel.Text = title
  1104.  
  1105. guiopen = false
  1106. debouncebutton = false
  1107. function openhelp()
  1108. if debouncebutton == false then
  1109. if guiopen == false then
  1110. debouncebutton = true
  1111. textlabel:TweenPosition(UDim2.new(1,0-5,1,-5),Enum.EasingDirection.InOut,Enum.EasingStyle.Quad,0.2)
  1112. guiopen = true
  1113. wait(0.2)
  1114. else
  1115. debouncebutton = true
  1116. textlabel:TweenPosition(UDim2.new(1,500+5,1,-5),Enum.EasingDirection.InOut,Enum.EasingStyle.Quad,0.2)
  1117. guiopen = false
  1118. wait(0.2)
  1119. end
  1120. end
  1121. debouncebutton = false
  1122. end
  1123. openhelp()
  1124.  
  1125. Mouse.KeyDown:connect(function(key)
  1126. if key == "e" then
  1127. openhelp()
  1128. end
  1129. end)
  1130.  
  1131. if Character:FindFirstChild("Shirt") then
  1132. Character.Shirt:Destroy()
  1133. end
  1134. if Character:FindFirstChild("Pants") then
  1135. Character.Pants:Destroy()
  1136. end
  1137.  
  1138. for i,v in pairs(Character:children()) do
  1139. if v:IsA("Accessory") or v:IsA("Hat") then
  1140. v:Destroy()
  1141. end
  1142. end
  1143.  
  1144.  
  1145. Player_Size = 1 --Size of the player.
  1146. whatteam = math.random(1, 2)
  1147.  
  1148.  
  1149. if whatteam == 1 then
  1150.  
  1151. local Shirto = Instance.new("Shirt")
  1152. Shirto.Name = "S"
  1153. Shirto.ShirtTemplate = "rbxassetid://1634098903"
  1154. Shirto.Parent = Character
  1155.  
  1156. local Panto = Instance.new("Pants")
  1157. Panto.Name = "S"
  1158. Panto.PantsTemplate = "rbxassetid://3219446791"
  1159. Panto.Parent = Character
  1160.  
  1161. else
  1162.  
  1163. local Shirto = Instance.new("Shirt")
  1164. Shirto.Name = "S"
  1165. Shirto.ShirtTemplate = "rbxassetid://3822713490"
  1166. Shirto.Parent = Character
  1167.  
  1168. local Panto = Instance.new("Pants")
  1169. Panto.Name = "S"
  1170. Panto.PantsTemplate = "rbxassetid://3822717588"
  1171. Panto.Parent = Character
  1172.  
  1173. end
  1174.  
  1175. New = function(Object, Parent, Name, Data)
  1176. local Object = Instance.new(Object)
  1177. for Index, Value in pairs(Data or {}) do
  1178. Object[Index] = Value
  1179. end
  1180. Object.Parent = Parent
  1181. Object.Name = Name
  1182. return Object
  1183. end
  1184.  
  1185. --[[
  1186. tommygun = Instance.new("Part",Character)
  1187. tommygun.Size = Vector3.new(2,2,2)
  1188. tommygun.CFrame = RightArm.CFrame
  1189. tommygun.CanCollide = false
  1190. tommygunweld = Instance.new("Weld",tommygun)
  1191. tommygunweld.Part0 = tommygun
  1192. tommygunweld.Part1 = RightArm
  1193. tommygunweld.C0 = tommygun.CFrame:inverse() * RightArm.CFrame * CFrame.new(0,-.80,1.25) * CFrame.Angles(math.rad(98),math.rad(0),0)
  1194. mtommygun = Instance.new("SpecialMesh", tommygun)
  1195. mtommygun.MeshType = "FileMesh"
  1196. mtommygun.Scale = Vector3.new(1, 1, 1)
  1197. mtommygun.MeshId,mtommygun.TextureId = 'http://www.roblox.com/asset/?id=116679805','http://www.roblox.com/asset/?id=116679995'
  1198. tommygunammo = Instance.new("Part",Character)
  1199. tommygunammo.Size = Vector3.new(2,2,2)
  1200. tommygunammo.CFrame = tommygun.CFrame
  1201. tommygunammo.CanCollide = false
  1202. tommygunammoweld = Instance.new("Weld",tommygunammo)
  1203. tommygunammoweld.Part0 = tommygunammo
  1204. tommygunammoweld.Part1 = tommygun
  1205. tommygunammoweld.C0 = tommygun.CFrame:inverse() * tommygun.CFrame * CFrame.new(0,.4,.25) * CFrame.Angles(math.rad(0),math.rad(0),0)
  1206. mtommygunammo = Instance.new("SpecialMesh", tommygunammo)
  1207. mtommygunammo.MeshType = "FileMesh"
  1208. mtommygunammo.Scale = Vector3.new(1, 1, 1)
  1209. mtommygunammo.MeshId,mtommygunammo.TextureId = 'http://www.roblox.com/asset/?id=116740155','http://www.roblox.com/asset/?id=116679995'
  1210. ]]--
  1211.  
  1212. local AK = CreatePart(3, A47, "Neon", 0, 0, "Really black", "Gun", VT(1, 0.8, 3),false)
  1213. CreateMesh("SpecialMesh", AK, "FileMesh", "430309675", "430310377", VT(0.01, 0.01, 0.01), VT(0,0,0))
  1214. --CreateMesh("SpecialMesh", AK, "FileMesh", "430054350", "430310377", VT(1, 1, 1), VT(0,0,0))
  1215. local AKWELD = CreateWeldOrSnapOrMotor("Weld", AK, RightArm, AK, CFrame.new(0,-1.8,0.25) * CFrame.Angles(math.rad(270),math.rad(180),0), CF(0, 0, 0))
  1216. local AH = CreatePart(3, A47, "SmoothPlastic", 0, 1, "Really black", "Handle", VT(0, 0, 0),false)
  1217. local AHW = CreateWeldOrSnapOrMotor("Weld", AH, RightArm, AH, CF(0 * Player_Size, -5.6 * Player_Size, -0.6 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0))
  1218.  
  1219. AKMMO2 = Instance.new("Part",A47)
  1220. AKMMO2.Size = Vector3.new(2,2,2)
  1221. AKMMO2.CFrame = AK.CFrame
  1222. AKMMO2.CanCollide = false
  1223. AKMO = Instance.new("Weld",AKMMO2)
  1224. AKMO.Part0 = AKMMO2
  1225. AKMO.Part1 = AK
  1226. AKMO.C0 = AK.CFrame:inverse() * AK.CFrame * CFrame.new(0,.4,.25) * CFrame.Angles(math.rad(0),math.rad(0),0)
  1227. AKMMO = Instance.new("SpecialMesh", AKMMO2)
  1228. AKMMO.MeshType = "FileMesh"
  1229. AKMMO.Scale = Vector3.new(0.01, 0.01, 0.01)
  1230. AKMMO.MeshId,AKMMO.TextureId = 'http://www.roblox.com/asset/?id=430310311','http://www.roblox.com/asset/?id=430310377'
  1231.  
  1232. --[[
  1233. Shotii = New("Model",Character,"Shotii",{})
  1234. SHandaru = New("Part",Shotii,"SHandaru",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.299999952, 0.299999923, 0.299999803),CFrame = CFrame.new(82.7000122, 8.4184885, -48.6482887, 0, 0, 1, -0.173647001, 0.984807968, 0, -0.984807968, -0.173647001, 0),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  1235. Mesh = New("SpecialMesh",SHandaru,"Mesh",{Scale = Vector3.new(0.00200000019, 0.00200000019, 0.00200000019),MeshId = "rbxassetid://450250994",TextureId = "rbxassetid://450251128",MeshType = Enum.MeshType.FileMesh,})
  1236. Weld = New("ManualWeld",SHandaru,"Weld",{Part0 = SHandaru,Part1 = RightArm,C0 = CFrame.new(0, 0, 0, 0, -0.173647001, -0.984807968, 0, 0.984807968, -0.173647001, 1, 0, 0),C1 = CFrame.new(0.292991638, -7.6862278, -0.349998474, 0.984807849, -0.030152997, -0.171009988, 0.173647955, 0.17100893, 0.969846547, 4.55671426e-07, -0.984807968, 0.173646942),})
  1237. SShot = New("Part",Shotii,"SShot",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.299999952, 0.299999923, 0.299999803),CFrame = CFrame.new(82.7000122, 8.3150301, -54.4179688, 0, 0, 1, -0.173647001, 0.984807968, 0, -0.984807968, -0.173647001, 0),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  1238. Weld = New("ManualWeld",SShot,"Weld",{Part0 = SShot,Part1 = SHandaru,C0 = CFrame.new(0, 0, 0, 0, -0.173647001, -0.984807968, 0, 0.984807968, -0.173647001, 1, 0, 0),C1 = CFrame.new(5.69999313, 0.900001526, 0, 0, -0.173647001, -0.984807968, 0, 0.984807968, -0.173647001, 1, 0, 0),})
  1239. SSExit = New("Part",Shotii,"SSExit",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.299999952, 0.299999923, 0.299999803),CFrame = CFrame.new(83.0000076, 9.67517471, -46.1282616, 0, 0, 1, -0.173647001, 0.984807968, 0, -0.984807968, -0.173647001, 0),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  1240. Weld = New("ManualWeld",SSExit,"Weld",{Part0 = SSExit,Part1 = SHandaru,C0 = CFrame.new(0, 0, 0, 0, -0.173647001, -0.984807968, 0, 0.984807968, -0.173647001, 1, 0, 0),C1 = CFrame.new(-2.69996262, 0.799999237, 0.299995422, 0, -0.173647001, -0.984807968, 0, 0.984807968, -0.173647001, 1, 0, 0),})
  1241. SHandaru.Transparency = 1]]--
  1242. local AWH = CreatePart(3, AWP, "Neon", 0, 0, "Really black", "Gun", VT(1, 0.8, 3),false)
  1243. CreateMesh("SpecialMesh", AWH, "FileMesh", "504829483", "504829510", VT(0.01, 0.01, 0.01), VT(0,0,0))
  1244. local AWW = CreateWeldOrSnapOrMotor("Weld", AWH, RightArm, AWH, CFrame.new(0,-1.8,-0.1) * CFrame.Angles(math.rad(270),math.rad(180),0), CF(0, 0, 0))
  1245.  
  1246. --[[
  1247.  
  1248. local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Eye", Vector3.new(0.375,0.375,0.385),false)
  1249. local weld = CreateWeldOrSnapOrMotor("Weld", part, Head, part, CF(-0.21,0.25,-0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1250.  
  1251. local CLOCKWORK = CreatePart(3, Character, "Neon", 0, 0, "New Yeller", "Eye", Vector3.new(0.25,0.25,0.26),false)
  1252. local weld = CreateWeldOrSnapOrMotor("Weld", CLOCKWORK, Head, CLOCKWORK, CF(-0.21,0.25,-0.5785) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1253. ]]--
  1254.  
  1255. local assault = CreatePart(3, AR, "Neon", 0, 0, "Really black", "assault", VT(1, 0.8, 3),false)
  1256. CreateMesh("SpecialMesh", assault, "FileMesh", "537039121", "537039226", VT(0.3, 0.3, 0.3), VT(0,0,0))
  1257. local rifweld = CreateWeldOrSnapOrMotor("Weld", assault, RightArm, assault, CFrame.new(0,-1.8,-.05) * CFrame.Angles(math.rad(270),math.rad(0),0), CF(0, 0, 0))
  1258. local EAE = CreatePart(3, AR, "SmoothPlastic", 0, 1, "Really black", "Handle", VT(0, 0, 0),false)
  1259. local EAES = CreateWeldOrSnapOrMotor("Weld", EAE, RightArm, EAE, CF(0 * Player_Size, -5.15* Player_Size, -0.6 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0))
  1260.  
  1261. --[[
  1262. local GunModel = Instance.new("Part", Character)--Shotgun)
  1263. GunModel.Name = "Pistol"
  1264. GunModel.Shape = Enum.PartType.Ball
  1265. GunModel.CanCollide = false
  1266. GunModel.BrickColor = BrickColor.new("Medium stone grey")
  1267. GunModel.Transparency = 1
  1268. GunModel.Material = "Grass"
  1269. GunModel.Size = Vector3.new(0.01, 0.01, 0.01)
  1270. GunModel.TopSurface = Enum.SurfaceType.Smooth
  1271. GunModel.BottomSurface = Enum.SurfaceType.Smooth
  1272. local Weld = Instance.new("Weld", GunModel)
  1273. Weld.Part0 = RightArm
  1274. Weld.Part1 = GunModel
  1275. Weld.C1 = CFrame.new(0, -0.3, -1.4) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(180))
  1276. GunModelMesh = Instance.new("FileMesh", GunModel)
  1277. GunModelMesh.MeshId = "http://www.roblox.com/asset/?id=450250994"
  1278. GunModelMesh.TextureId = "http://www.roblox.com/asset/?id=450251128"
  1279. GunModelMesh.Scale = Vector3.new(0.035, 0.02, 0.02)
  1280. ]]--
  1281.  
  1282. local UGB = CreatePart(3, AUG, "Neon", 0, 0, "Really black", "Gun", VT(1, 0.8, 3),false)
  1283. CreateMesh("SpecialMesh", UGB, "FileMesh", "431717702", "431717780", VT(0.08, 0.08, 0.08), VT(0,0,0))
  1284. local UGW = CreateWeldOrSnapOrMotor("Weld", UGB, RightArm, UGB, CFrame.new(0,-1.8,0.25) * CFrame.Angles(math.rad(270),math.rad(180),0), CF(0, 0, 0))
  1285.  
  1286.  
  1287. local SGUN = CreatePart(3, Shotgun, "Neon", 0, 0, "Really black", "Gun", VT(1, 0.8, 3),false)
  1288. CreateMesh("SpecialMesh", SGUN, "FileMesh", "450250994", "450251128", VT(0.002, 0.002, 0.002), VT(0,0,0))
  1289. local GUNWELD = CreateWeldOrSnapOrMotor("Weld", SGUN, RightArm, SGUN, CF(-0.45,-1.4,0.1) * ANGLES(RAD(-90), RAD(110), RAD(0)), CF(0, 0, 0))
  1290.  
  1291. local Barrel = CreatePart(3, Shotgun, "SmoothPlastic", 0, 1, "Really black", "Handle", VT(0, 0, 0),false)
  1292. local BarrelWeld = CreateWeldOrSnapOrMotor("Weld", Barrel, RightArm, Barrel, CF(0 * Player_Size, -4.6 * Player_Size, -0.6 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0))
  1293.  
  1294. local OUTSIDE = CreatePart(3, nil, "SmoothPlastic", 0, 0, "Really black", "Eye", Vector3.new(0.395,0.485,0.405),false)
  1295. local weld = CreateWeldOrSnapOrMotor("Weld", OUTSIDE, Head, OUTSIDE, CF(0.18,0.05,-0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1296.  
  1297. local CLOCKWORK2 = CreatePart(3, nil, "Neon", 0, 0, "Bright yellow", "Eye", Vector3.new(0.29,0.37,0.30),false)
  1298. local weld = CreateWeldOrSnapOrMotor("Weld", CLOCKWORK2, Head, CLOCKWORK2, CF(0.18,0.05,-0.5785) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1299. MakeForm(OUTSIDE,"Cyl")
  1300. MakeForm(CLOCKWORK2,"Cyl")
  1301. local BELT = CreatePart(3, nil, "SmoothPlastic", 0, 0, "Really black", "Eye", Vector3.new(1.3,0.225,1.3),false)
  1302. local weld = CreateWeldOrSnapOrMotor("Weld", BELT, Head, BELT, CF(0,0.05,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1303. MakeForm(BELT,"Cyl")
  1304.  
  1305. if whatteam == 1 then
  1306.  
  1307. local maskyeet = CreatePart(3, Character, "Plastic", 0, 0, "Really black", "Eye", Vector3.new(1.1, 1.1, 1.1), false)
  1308. local maskmesh = Instance.new("SpecialMesh",maskyeet)
  1309. maskmesh.MeshId = "rbxassetid://1286427"
  1310. maskmesh.TextureId = "rbxassetid://123724099"
  1311. maskmesh.Scale = Vector3.new(1.1, 1.1, 1.1)
  1312. local weld = CreateWeldOrSnapOrMotor("Weld", maskyeet, Head, maskyeet, CF(0,0.15,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1313.  
  1314. else
  1315.  
  1316. local maskyeet = CreatePart(3, Character, "Plastic", 0, 0, "Bright blue", "Eye", Vector3.new(1.1, 1.1, 1.1), false)
  1317. local maskmesh = Instance.new("SpecialMesh",maskyeet)
  1318. maskmesh.MeshId = "rbxassetid://1286427"
  1319. maskmesh.Scale = Vector3.new(1.1, 1.1, 1.1)
  1320. local weld = CreateWeldOrSnapOrMotor("Weld", maskyeet, Head, maskyeet, CF(0,0.15,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1321.  
  1322. end
  1323.  
  1324. local BC = char["Body Colors"]
  1325. BC.HeadColor = BrickColor.new("Light stone grey")
  1326. BC.LeftArmColor = BrickColor.new("Light stone grey")
  1327. BC.LeftLegColor = BrickColor.new("Light stone grey")
  1328. BC.RightArmColor = BrickColor.new("Light stone grey")
  1329. BC.RightLegColor = BrickColor.new("Light stone grey")
  1330. BC.TorsoColor = BrickColor.new("Light stone grey")
  1331.  
  1332. local kek9= CreatePart(3, kek, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false)
  1333. local kek9M = CreateMesh("SpecialMesh", kek9, "FileMesh", "742046473", "742046691", VT(0.002, 0.002, 0.002), VT(0,0, 0))
  1334. local kek9W = CreateWeldOrSnapOrMotor("Weld", kek9, RightArm, kek9, CF(0 * Player_Size, -1.6 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(270), RAD(180), RAD(0)), CF(0, 0, 0))
  1335.  
  1336. local kepoint = CreatePart(3, kek, "SmoothPlastic", 0, 1, "Really black", "Handle", VT(0, 0, 0),false)
  1337. local kepointweld = CreateWeldOrSnapOrMotor("Weld", kepoint, RightArm, kepoint, CF(0 * Player_Size, -2.6 * Player_Size, -0.6 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0))
  1338.  
  1339.  
  1340. local Gun = CreatePart(3, Gun, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false)
  1341. --local HandleMesh = CreateMesh("SpecialMesh", Gun, "FileMesh", "72012879", "72012859", VT(2,2,2), VT(0,0, 0))
  1342. local HandleMesh = CreateMesh("SpecialMesh", Gun, "FileMesh", "430348960", "430888952", VT(0.002, 0.002, 0.002), VT(0,0, 0))
  1343. --local Weld = CreateWeldOrSnapOrMotor("Weld", Gun, RightArm, Gun, CF(0 * Player_Size, -1.6 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1344. local Weld = CreateWeldOrSnapOrMotor("Weld", Gun, RightArm, Gun, CF(0 * Player_Size, -1.6 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(270), RAD(180), RAD(0)), CF(0, 0, 0))
  1345.  
  1346. local GunPoint = CreatePart(3, Gun, "SmoothPlastic", 0, 1, "Really black", "Handle", VT(0, 0, 0),false)
  1347. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", GunPoint, RightArm, GunPoint, CF(0 * Player_Size, -2.6 * Player_Size, -0.6 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0))
  1348.  
  1349.  
  1350. local S2S = CreatePart(3, Supressor, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false)
  1351. local HandleMesh = CreateMesh("SpecialMesh", S2S, "FileMesh", "430884744", "430888952", VT(0.002, 0.002, 0.002), VT(0,0, 0))
  1352. local Weld = CreateWeldOrSnapOrMotor("Weld", S2S, Gun, S2S, CF(0 * Player_Size, 0.45 * Player_Size, 1.725 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0))
  1353.  
  1354. --GunModelMesh.MeshId = "http://www.roblox.com/asset/?id=0"
  1355. local SSDE = CreatePart(3, SMG, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false)
  1356. local HandleMesh = CreateMesh("SpecialMesh", SSDE, "FileMesh", "453175434", "453175461", VT(0.02, 0.02, 0.02), VT(0,0, 0))
  1357. local Weld = CreateWeldOrSnapOrMotor("Weld", SSDE, RightArm, SSDE, CF(0 * Player_Size, -1.6 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(270), RAD(180), RAD(0)), CF(0, 0, 0))
  1358.  
  1359. local Flare = CreatePart(3, SMG, "SmoothPlastic", 0, 1, "Really black", "Handle", VT(0, 0, 0),false)
  1360. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", Flare, RightArm, Flare, CF(0 * Player_Size, -2.6 * Player_Size, -0.6 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0))
  1361.  
  1362. local SSDE2 = CreatePart(3, SMG, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false)
  1363. local HandleMesh2 = CreateMesh("SpecialMesh", SSDE2, "FileMesh", "453175434", "453175461", VT(0.02, 0.02, 0.02), VT(0,0, 0))
  1364. local Weld2 = CreateWeldOrSnapOrMotor("Weld", SSDE2, LeftArm, SSDE2, CF(0 * Player_Size, -1.6 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(270), RAD(180), RAD(0)), CF(0, 0, 0))
  1365.  
  1366. local Flare2 = CreatePart(3, SMG, "SmoothPlastic", 0, 1, "Really black", "Handle", VT(0, 0, 0),false)
  1367. local Handle2 = CreateWeldOrSnapOrMotor("Weld", Flare2, LeftArm, Flare2, CF(0 * Player_Size, -2.6 * Player_Size, -0.6 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0))
  1368.  
  1369. local KL2 = CreatePart(3, knif, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false)
  1370. local KLM = CreateMesh("SpecialMesh", KL2, "FileMesh", "437420170", "437420120", VT(0.3, 0.3, 0.3), VT(0,0, 0))
  1371. local KLW = CreateWeldOrSnapOrMotor("Weld", KL2, RightArm, KL2, CF(0 * Player_Size, -1 * Player_Size, -1 * Player_Size) * ANGLES(RAD(270), RAD(180), RAD(0)), CF(0, 0, 0))
  1372.  
  1373. local R8A = CreatePart(3, R8RA, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false)
  1374. local R8M = CreateMesh("SpecialMesh", R8A, "FileMesh", "541863381", "541863491", VT(0.3, 0.3, 0.3), VT(0,0, 0))
  1375. --local R8W = CreateWeldOrSnapOrMotor("Weld", R8A, RightArm, R8A, CF(0 * Player_Size, -1.6 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
  1376. local R8W = CreateWeldOrSnapOrMotor("Weld", R8A, RightArm, R8A, CF(0.2 * Player_Size, -1.6 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(-90), RAD(-20), RAD(0)), CF(0, 0, 0))
  1377.  
  1378. local REVOLV = CreatePart(3, R8RA, "SmoothPlastic", 0, 1, "Really black", "Handle", VT(0, 0, 0),false)
  1379. local HOLEWELD = CreateWeldOrSnapOrMotor("Weld", REVOLV, RightArm, REVOLV, CF(0 * Player_Size, -2.6 * Player_Size, -0.6 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0))
  1380.  
  1381.  
  1382. local DEAGLE = CreatePart(3, DE, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false)
  1383. local DEAGLEMESH = CreateMesh("SpecialMesh", DEAGLE, "FileMesh", "441587064", "441587082", VT(0.03, 0.03, 0.03), VT(0,0, 0))
  1384. local DEAGLEWeld = CreateWeldOrSnapOrMotor("Weld", DEAGLE, RightArm, DEAGLE, CF(0 * Player_Size, -1.6 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(270), RAD(180), RAD(0)), CF(0, 0, 0))
  1385.  
  1386. local JUAND = CreatePart(3, DE, "SmoothPlastic", 0, 1, "Really black", "Handle", VT(0, 0, 0),false)
  1387. local JUANDW = CreateWeldOrSnapOrMotor("Weld", JUAND, RightArm, JUAND, CF(0 * Player_Size, -2.6 * Player_Size, -0.6 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0))
  1388.  
  1389.  
  1390.  
  1391.  
  1392. local SOL = CreatePart(3, SMG2, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false)
  1393. local SOLM = CreateMesh("SpecialMesh", SOL, "FileMesh", "540384540", "540384666", VT(0.2, 0.2, 0.2), VT(0,0, 0))
  1394. local SOLW = CreateWeldOrSnapOrMotor("Weld", SOL, RightArm, SOL, CF(0 * Player_Size, -1.6 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(270), RAD(0), RAD(0)), CF(0, 0, 0))
  1395.  
  1396. local VOL = CreatePart(3, SMG2, "SmoothPlastic", 0, 1, "Really black", "Handle", VT(0, 0, 0),false)
  1397. local HENDLE = CreateWeldOrSnapOrMotor("Weld", VOL, RightArm, VOL, CF(0 * Player_Size, -2.6 * Player_Size, -0.6 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0))
  1398.  
  1399. local SOL2 = CreatePart(3, SMG2, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false)
  1400. local SOLM2 = CreateMesh("SpecialMesh", SOL2, "FileMesh", "540384540", "540384666", VT(0.2, 0.2, 0.2), VT(0,0, 0))
  1401. local SOLW2 = CreateWeldOrSnapOrMotor("Weld", SOL2, LeftArm, SOL2, CF(0 * Player_Size, -1.6 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(270), RAD(0), RAD(0)), CF(0, 0, 0))
  1402.  
  1403. local VOL2 = CreatePart(3, SMG2, "SmoothPlastic", 0, 1, "Really black", "Handle", VT(0, 0, 0),false)
  1404. local HENDLE2 = CreateWeldOrSnapOrMotor("Weld", VOL2, LeftArm, VOL2, CF(0 * Player_Size, -2.6 * Player_Size, -0.6 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0))
  1405.  
  1406.  
  1407.  
  1408.  
  1409.  
  1410.  
  1411.  
  1412.  
  1413. local MAC = CreatePart(3, SMG3, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false)
  1414. local MAC2M = CreateMesh("SpecialMesh", MAC, "FileMesh", "431951963", "431951966", VT(0.1, 0.1, 0.1), VT(0,0, 0))
  1415. local MACW = CreateWeldOrSnapOrMotor("Weld", MAC, RightArm, MAC, CF(0 * Player_Size, -1 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(270), RAD(180), RAD(0)), CF(0, 0, 0))
  1416.  
  1417. local BOI = CreatePart(3, SMG3, "SmoothPlastic", 0, 1, "Really black", "Handle", VT(0, 0, 0),false)
  1418. local BAEDF = CreateWeldOrSnapOrMotor("Weld", BOI, RightArm, BOI, CF(0 * Player_Size, -2 * Player_Size, -0.6 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0))
  1419.  
  1420. local MAC2 = CreatePart(3, SMG3, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false)
  1421. local MAC2M = CreateMesh("SpecialMesh", MAC2, "FileMesh", "431951963", "431951966", VT(0.1, 0.1, 0.1), VT(0,0, 0))
  1422. local MAC2W = CreateWeldOrSnapOrMotor("Weld", MAC2, LeftArm, MAC2, CF(0 * Player_Size, -1 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(270), RAD(180), RAD(0)), CF(0, 0, 0))
  1423.  
  1424. local BOI2 = CreatePart(3, SMG3, "SmoothPlastic", 0, 1, "Really black", "Handle", VT(0, 0, 0),false)
  1425. local BAEDF2 = CreateWeldOrSnapOrMotor("Weld", BOI2, LeftArm, BOI2, CF(0 * Player_Size, -2 * Player_Size, -0.6 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0))
  1426.  
  1427.  
  1428.  
  1429.  
  1430. DE.Parent = nil
  1431. for _, c in pairs(DE:GetChildren()) do
  1432. if c.ClassName == "Part" then
  1433. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1434. end
  1435. end
  1436. AWP.Parent = nil
  1437. for _, c in pairs(AWP:GetChildren()) do
  1438. if c.ClassName == "Part" then
  1439. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1440. end
  1441. end
  1442.  
  1443. Gun.Parent = nil
  1444. for _, c in pairs(Gun:GetChildren()) do
  1445. if c.ClassName == "Part" then
  1446. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1447. end
  1448. end
  1449.  
  1450. Supressor.Parent = nil
  1451. for _, c in pairs(Supressor:GetChildren()) do
  1452. if c.ClassName == "Part" then
  1453. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1454. end
  1455. end
  1456.  
  1457. AR.Parent = nil
  1458. for _, c in pairs(AR:GetChildren()) do
  1459. if c.ClassName == "Part" then
  1460. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1461. end
  1462. end
  1463.  
  1464.  
  1465. SMG.Parent = nil
  1466. for _, c in pairs(SMG:GetChildren()) do
  1467. if c.ClassName == "Part" then
  1468. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1469. end
  1470. end
  1471.  
  1472. SMG3.Parent = nil
  1473. for _, c in pairs(SMG3:GetChildren()) do
  1474. if c.ClassName == "Part" then
  1475. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1476. end
  1477. end
  1478.  
  1479. SMG2.Parent = nil
  1480. for _, c in pairs(SMG2:GetChildren()) do
  1481. if c.ClassName == "Part" then
  1482. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1483. end
  1484. end
  1485.  
  1486. Weapon.Parent = Character
  1487. for _, c in pairs(Weapon:GetChildren()) do
  1488. if c.ClassName == "Part" then
  1489. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1490. end
  1491. end
  1492.  
  1493. local SKILLTEXTCOLOR = C3(1,1,0)
  1494. local SKILLFONT = "SciFi"
  1495. local SKILLTEXTSIZE = 7
  1496. --HEALTH FUNCTIONS
  1497. hp = Humanoid.Health
  1498. h = Humanoid
  1499. canbleed = true
  1500. function HealthChanged()
  1501. if h.Health < hp then
  1502. if h.Health > 0 then
  1503. canbleed = false
  1504. for i = 1,3 do
  1505. SprayBlood(Torso.CFrame * CF(0, Torso.Size.Y / 2, 0).p, Torso.CFrame * CF(MRANDOM(-55, 55), MRANDOM(-25, 25), MRANDOM(-55, 55)).p, MRANDOM(17, 26))
  1506. end
  1507. for i = 1,17 do
  1508. wait()
  1509. end
  1510. canbleed = true
  1511. end
  1512. end
  1513. hp = h.Health
  1514. end
  1515. h.HealthChanged:connect(HealthChanged)
  1516.  
  1517. Humanoid.Died:connect(function()
  1518. local oww = Instance.new("Sound",Head) oww.Volume = 3.45 oww.SoundId = "rbxassetid://565424468" oww:Play()
  1519. canbleed = false
  1520. for i = 1, 23 do
  1521. SprayBlood(Torso.CFrame * CF(0, Torso.Size.Y / 2, 0).p, Torso.CFrame * CF(MRANDOM(-55, 55), MRANDOM(-25, 25), MRANDOM(-55, 55)).p, MRANDOM(17, 26))
  1522. end
  1523. Character:FindFirstChildOfClass("Humanoid").PlatformStand = true
  1524. if Character:findFirstChild("Torso") then
  1525. Character.Torso.Velocity = Character.Torso.CFrame.lookVector * 10
  1526. for i,v in pairs(Character.Torso:GetChildren()) do
  1527. if v.ClassName == "Motor6D" then
  1528. if v.Name == "Neck" then
  1529.  
  1530. else
  1531. v:destroy()
  1532. end
  1533. end
  1534. end
  1535. end
  1536. if Character:findFirstChild("Right Arm") then
  1537. local attachment = Instance.new("Attachment", Character.Torso)
  1538. attachment.Position = Vector3.new(1, 1, 0)
  1539. local ball = Instance.new("BallSocketConstraint", Character)
  1540. ball.Attachment0 = Character["Right Arm"].RightShoulderAttachment
  1541. ball.Attachment1 = attachment
  1542. local collidepartofleftleg = Instance.new("Part", Character.Torso)
  1543. collidepartofleftleg.Name = "Bone"
  1544. collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  1545. collidepartofleftleg.Transparency = 1
  1546. collidepartofleftleg:BreakJoints()
  1547. local weeld = Instance.new("Weld", collidepartofleftleg)
  1548. weeld.Part0 = Character["Right Arm"]
  1549. weeld.Part1 = collidepartofleftleg
  1550. weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  1551. end
  1552. if Character:findFirstChild("Left Arm") then
  1553. local attachment = Instance.new("Attachment", Character.Torso)
  1554. attachment.Position = Vector3.new(-1, 1, 0)
  1555. local ball = Instance.new("BallSocketConstraint", Character)
  1556. ball.Attachment0 = attachment
  1557. ball.Attachment1 = Character["Left Arm"].LeftShoulderAttachment
  1558. local collidepartofleftleg = Instance.new("Part", Character.Torso)
  1559. collidepartofleftleg.Name = "Bone"
  1560. collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  1561. collidepartofleftleg.Transparency = 1
  1562. collidepartofleftleg:BreakJoints()
  1563. local weeld = Instance.new("Weld", collidepartofleftleg)
  1564. weeld.Part0 = Character["Left Arm"]
  1565. weeld.Part1 = collidepartofleftleg
  1566. weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  1567. end
  1568. if Character:findFirstChild("Right Leg") then
  1569. local attachment = Instance.new("Attachment", Character.Torso)
  1570. attachment.Position = Vector3.new(0.5, -1, 0)
  1571. local ball = Instance.new("BallSocketConstraint", Character)
  1572. ball.Attachment0 = Character["Right Leg"].RightFootAttachment
  1573. ball.Attachment1 = attachment
  1574. Character["Right Leg"].RightFootAttachment.Position = Vector3.new(0, 1, 0)
  1575. local collidepartofleftleg = Instance.new("Part", Character.Torso)
  1576. collidepartofleftleg.Name = "Bone"
  1577. collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  1578. collidepartofleftleg.Transparency = 1
  1579. collidepartofleftleg:BreakJoints()
  1580. local weeld = Instance.new("Weld", collidepartofleftleg)
  1581. weeld.Part0 = Character["Right Leg"]
  1582. weeld.Part1 = collidepartofleftleg
  1583. weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  1584. end
  1585. if Character:findFirstChild("Left Leg") then
  1586. local attachment = Instance.new("Attachment", Character.Torso)
  1587. attachment.Position = Vector3.new(-0.5, -1, 0)
  1588. local ball = Instance.new("BallSocketConstraint", Character)
  1589. ball.Attachment0 = Character["Left Leg"].LeftFootAttachment
  1590. ball.Attachment1 = attachment
  1591. Character["Left Leg"].LeftFootAttachment.Position = Vector3.new(0, 1, 0)
  1592. local collidepartofleftleg = Instance.new("Part", Character.Torso)
  1593. collidepartofleftleg.Name = "Bone"
  1594. collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  1595. collidepartofleftleg.Transparency = 1
  1596. collidepartofleftleg:BreakJoints()
  1597. local weeld = Instance.new("Weld", collidepartofleftleg)
  1598. weeld.Part0 = Character["Left Leg"]
  1599. weeld.Part1 = collidepartofleftleg
  1600. weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  1601. end
  1602. if Character:findFirstChild("Head") then
  1603. local attachment = Instance.new("Attachment", Character.Head)
  1604. attachment.Position = Vector3.new(0, -0.5, 0)
  1605. attachment.Name = "lol"
  1606. attachment.Visible = false
  1607. Character.Torso.NeckAttachment.Visible = false
  1608. Character.Torso.NeckAttachment.Position = Character.Torso.NeckAttachment.Position + Vector3.new(0,0,0)
  1609. local ball = Instance.new("BallSocketConstraint", Character)
  1610. ball.Attachment0 = Character.Torso.NeckAttachment
  1611. ball.Attachment1 = attachment
  1612. ball.LimitsEnabled = true
  1613. ball.TwistLimitsEnabled = true
  1614. ball.UpperAngle = 90
  1615. ball.Restitution = 0.5
  1616. ball.TwistUpperAngle = 180
  1617. ball.TwistLowerAngle = -180
  1618. local collidepartofleftleg = Instance.new("Part", Character.Torso)
  1619. collidepartofleftleg.Name = "Bone"
  1620. collidepartofleftleg.Size = Vector3.new(0.7,0.7,0.7)
  1621. collidepartofleftleg.Transparency = 1
  1622. collidepartofleftleg:BreakJoints()
  1623. local weeld = Instance.new("Weld", collidepartofleftleg)
  1624. weeld.Part0 = collidepartofleftleg
  1625. weeld.Part1 = Character["Head"]
  1626. if Character.Torso:findFirstChild("Neck") then
  1627. Character.Torso.Neck:destroy()
  1628. end
  1629. end
  1630. Character:FindFirstChildOfClass("Humanoid"):SetStateEnabled(Enum.HumanoidStateType.Dead, false)
  1631. Character:FindFirstChildOfClass("Humanoid").Health = 0.1
  1632. Character:FindFirstChildOfClass("Humanoid").WalkSpeed = 0
  1633. Character:FindFirstChildOfClass("Humanoid").JumpPower = 0
  1634. for i = 1,12 do
  1635. wait()
  1636. end
  1637. canbleed = true
  1638. end)
  1639.  
  1640. function PuddleOfBlood(Position, MaxDrop, Model, MaxSize)
  1641. local HITFLOOR, HITPOS, NORMAL = Raycast(Position, CF(Position, Position + VT(0, -1, 0)).lookVector, MaxDrop, Model)
  1642. if HITFLOOR ~= nil and HITFLOOR.Parent ~= Weapon and HITFLOOR.Parent ~= Character then
  1643. if HITFLOOR.Name == "BloodPuddle" then
  1644. local DIST = (Position - HITFLOOR.Position).Magnitude
  1645. if HITFLOOR.Size.Z <= 5 and MaxSize > HITFLOOR.Size.Z or HITFLOOR.Size.Z > 5 and MaxSize > HITFLOOR.Size.Z and DIST < HITFLOOR.Size.Z / 3 then
  1646. HITFLOOR.Size = HITFLOOR.Size + VT(0.1, 0, 0.1)
  1647. end
  1648. elseif HITFLOOR.Anchored == true then
  1649. do
  1650. local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Really red", "BloodPuddle", VT(2, 0, 2))
  1651. BLOOD.CFrame = CF(HITPOS, HITPOS + NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0))
  1652. MakeForm(BLOOD, "Cyl")
  1653. coroutine.resume(coroutine.create(function()
  1654. Swait(75)
  1655. while true do
  1656. Swait()
  1657. BLOOD.Size = BLOOD.Size - VT(0.02, 0, 0.02)
  1658. if BLOOD.Size.Z < 0.051 then
  1659. BLOOD:remove()
  1660. break
  1661. end
  1662. end
  1663. end))
  1664. end
  1665. end
  1666. end
  1667. end
  1668. function SprayBlood(POSITION, DIRECTION, BloodSize)
  1669. local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Really red", "BloodPuddle", VT(1, 1, 1), false)
  1670. BLOOD.CFrame = CF(POSITION)
  1671. MakeForm(BLOOD, "Ball")
  1672. local bv = Instance.new("BodyVelocity", BLOOD)
  1673. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1674. bv.velocity = CF(POSITION, DIRECTION + VT(MRANDOM(-3, 3) / 30, MRANDOM(-3, 3) / 30, MRANDOM(-3, 3) / 30)).lookVector * 25
  1675. bv.Name = "MOVE"
  1676. Debris:AddItem(bv, 0.05)
  1677. coroutine.resume(coroutine.create(function()
  1678. local HASTOUCHEDGROUND = false
  1679. local HIT = BLOOD.Touched:Connect(function(hit)
  1680. if hit.Anchored == true then
  1681. HASTOUCHEDGROUND = true
  1682. PuddleOfBlood(BLOOD.Position + VT(0, 1, 0), 2, BLOOD, BloodSize)
  1683. end
  1684. end)
  1685. wait(5)
  1686. if HASTOUCHEDGROUND == false then
  1687. BLOOD:remove()
  1688. end
  1689. end))
  1690. end
  1691.  
  1692. local lastHp=Humanoid.Health
  1693. --Thanks nebby ;3
  1694. Humanoid:GetPropertyChangedSignal("Health"):connect(function()
  1695. local hp = Humanoid.Health
  1696. if(hp<lastHp)then
  1697. local lost = lastHp-hp
  1698. if lost < 370 then
  1699. for i = 1, lost/71 do
  1700. SprayBlood(Torso.CFrame * CF(0, Torso.Size.Y / 2, 0).p, Torso.CFrame * CF(MRANDOM(-55, 55), MRANDOM(-25, 25), MRANDOM(-55, 55)).p, lost/57)
  1701. end
  1702. elseif lost > 370 then
  1703. for i = 1, lost/32 do
  1704. SprayBlood(Torso.CFrame * CF(0, Torso.Size.Y / 2, 0).p, Torso.CFrame * CF(MRANDOM(-55, 55), MRANDOM(-25, 25), MRANDOM(-55, 55)).p, lost/15)
  1705. end
  1706. end
  1707. --blood depending on the lost amount of HP
  1708. end
  1709. lastHp=hp
  1710. end)
  1711.  
  1712. --//=================================\\
  1713. --|| DAMAGING
  1714. --\\=================================//
  1715. function sphere(bonuspeed,type,pos,scale,value,color)
  1716. local type = type
  1717. local rng = Instance.new("Part", char)
  1718. rng.Anchored = true
  1719. if ModeOfGlitch ~= 9 then
  1720. rng.BrickColor = color
  1721. elseif ModeOfGlitch == 9 then
  1722. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  1723. end
  1724. rng.CanCollide = false
  1725. rng.FormFactor = 3
  1726. rng.Name = "Ring"
  1727. rng.Material = "Neon"
  1728. rng.Size = Vector3.new(1, 1, 1)
  1729. rng.Transparency = 0
  1730. rng.TopSurface = 0
  1731. rng.BottomSurface = 0
  1732. rng.CFrame = pos
  1733. local rngm = Instance.new("SpecialMesh", rng)
  1734. rngm.MeshType = "Sphere"
  1735. rngm.Scale = scale
  1736. if rainbowmode == true then
  1737. rng.Color = Color3.new(r/255,g/255,b/255)
  1738. end
  1739. if ModeOfGlitch == 9 then
  1740. coroutine.resume(coroutine.create(function()
  1741. while true do
  1742. swait()
  1743. if rng.Parent ~= nil then
  1744. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  1745. else
  1746. break
  1747. end
  1748. end
  1749. end))
  1750. end
  1751. local scaler2 = 1
  1752. if type == "Add" then
  1753. scaler2 = 1*value
  1754. elseif type == "Divide" then
  1755. scaler2 = 1/value
  1756. end
  1757. coroutine.resume(coroutine.create(function()
  1758. for i = 0,10/bonuspeed,0.1 do
  1759. swait()
  1760. if rainbowmode == true then
  1761. rng.Color = Color3.new(r/255,g/255,b/255)
  1762. end
  1763. if type == "Add" then
  1764. scaler2 = scaler2 - 0.01*value/bonuspeed
  1765. elseif type == "Divide" then
  1766. scaler2 = scaler2 - 0.01/value*bonuspeed
  1767. end
  1768. if chaosmode == true then
  1769. rng.BrickColor = BrickColor.random()
  1770. end
  1771. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  1772. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  1773. end
  1774. rng:Destroy()
  1775. end))
  1776. end
  1777.  
  1778. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  1779. local type = type
  1780. local rng = Instance.new("Part", char)
  1781. rng.Anchored = true
  1782. if ModeOfGlitch ~= 9 then
  1783. rng.BrickColor = color
  1784. elseif ModeOfGlitch == 9 then
  1785. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  1786. end
  1787. rng.CanCollide = false
  1788. rng.FormFactor = 3
  1789. rng.Name = "Ring"
  1790. rng.Material = "Neon"
  1791. rng.Size = Vector3.new(1, 1, 1)
  1792. rng.Transparency = 0
  1793. rng.TopSurface = 0
  1794. rng.BottomSurface = 0
  1795. rng.CFrame = pos
  1796. local rngm = Instance.new("SpecialMesh", rng)
  1797. rngm.MeshType = "Sphere"
  1798. rngm.Scale = scale
  1799. local scaler2 = 1
  1800. local scaler2b = 1
  1801. local scaler2c = 1
  1802. if type == "Add" then
  1803. scaler2 = 1*value
  1804. scaler2b = 1*value2
  1805. scaler2c = 1*value3
  1806. elseif type == "Divide" then
  1807. scaler2 = 1/value
  1808. scaler2b = 1/value2
  1809. scaler2c = 1/value3
  1810. end
  1811. if ModeOfGlitch == 9 then
  1812. coroutine.resume(coroutine.create(function()
  1813. while true do
  1814. swait()
  1815. if rng.Parent ~= nil then
  1816. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  1817. else
  1818. break
  1819. end
  1820. end
  1821. end))
  1822. end
  1823. coroutine.resume(coroutine.create(function()
  1824. for i = 0,10/bonuspeed,0.1 do
  1825. swait()
  1826. if type == "Add" then
  1827. scaler2 = scaler2 - 0.01*value/bonuspeed
  1828. scaler2b = scaler2b - 0.01*value/bonuspeed
  1829. scaler2c = scaler2c - 0.01*value/bonuspeed
  1830. elseif type == "Divide" then
  1831. scaler2 = scaler2 - 0.01/value*bonuspeed
  1832. scaler2b = scaler2b - 0.01/value*bonuspeed
  1833. scaler2c = scaler2c - 0.01/value*bonuspeed
  1834. end
  1835. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  1836. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  1837. end
  1838. rng:Destroy()
  1839. end))
  1840. end
  1841.  
  1842. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  1843. local type = type
  1844. local rng = Instance.new("Part", char)
  1845. rng.Anchored = true
  1846. rng.BrickColor = color
  1847. rng.CanCollide = false
  1848. rng.FormFactor = 3
  1849. rng.Name = "Ring"
  1850. rng.Material = "Neon"
  1851. rng.Size = Vector3.new(1, 1, 1)
  1852. rng.Transparency = 0
  1853. rng.TopSurface = 0
  1854. rng.BottomSurface = 0
  1855. rng.CFrame = pos
  1856. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  1857. local rngm = Instance.new("SpecialMesh", rng)
  1858. rngm.MeshType = "Brick"
  1859. rngm.Scale = vt(x1,y1,z1)
  1860. if rainbowmode == true then
  1861. rng.Color = Color3.new(r/255,g/255,b/255)
  1862. end
  1863. local scaler2 = 1
  1864. local speeder = FastSpeed/10
  1865. if type == "Add" then
  1866. scaler2 = 1*value
  1867. elseif type == "Divide" then
  1868. scaler2 = 1/value
  1869. end
  1870. coroutine.resume(coroutine.create(function()
  1871. for i = 0,10/bonuspeed,0.1 do
  1872. swait()
  1873. if rainbowmode == true then
  1874. rng.Color = Color3.new(r/255,g/255,b/255)
  1875. end
  1876. if type == "Add" then
  1877. scaler2 = scaler2 - 0.01*value/bonuspeed
  1878. elseif type == "Divide" then
  1879. scaler2 = scaler2 - 0.01/value*bonuspeed
  1880. end
  1881. if chaosmode == true then
  1882. rng.BrickColor = BrickColor.random()
  1883. end
  1884. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  1885. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  1886. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  1887. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  1888. end
  1889. rng:Destroy()
  1890. end))
  1891. end
  1892.  
  1893. function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  1894. local type = type
  1895. local rng = Instance.new("Part", char)
  1896. rng.Anchored = true
  1897. rng.BrickColor = color
  1898. rng.CanCollide = false
  1899. rng.FormFactor = 3
  1900. rng.Name = "Ring"
  1901. rng.Material = "Neon"
  1902. rng.Size = Vector3.new(1, 1, 1)
  1903. rng.Transparency = 0
  1904. rng.TopSurface = 0
  1905. rng.BottomSurface = 0
  1906. rng.CFrame = pos
  1907. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  1908. local rngm = Instance.new("SpecialMesh", rng)
  1909. rngm.MeshType = "Brick"
  1910. rngm.Scale = vt(x1,y1,z1)
  1911. if rainbowmode == true then
  1912. rng.Color = Color3.new(r/255,g/255,b/255)
  1913. end
  1914. local scaler2 = 1
  1915. local speeder = FastSpeed/10
  1916. if type == "Add" then
  1917. scaler2 = 1*value
  1918. elseif type == "Divide" then
  1919. scaler2 = 1/value
  1920. end
  1921. coroutine.resume(coroutine.create(function()
  1922. for i = 0,10/bonuspeed,0.1 do
  1923. swait()
  1924. if rainbowmode == true then
  1925. rng.Color = Color3.new(r/255,g/255,b/255)
  1926. end
  1927. if type == "Add" then
  1928. scaler2 = scaler2 - 0.01*value/bonuspeed
  1929. elseif type == "Divide" then
  1930. scaler2 = scaler2 - 0.01/value*bonuspeed
  1931. end
  1932. if chaosmode == true then
  1933. rng.BrickColor = BrickColor.random()
  1934. end
  1935. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  1936. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  1937. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  1938. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  1939. end
  1940. rng:Destroy()
  1941. end))
  1942. end
  1943.  
  1944. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  1945. local type = type
  1946. local rng = Instance.new("Part", char)
  1947. rng.Anchored = true
  1948. rng.BrickColor = color
  1949. rng.CanCollide = false
  1950. rng.FormFactor = 3
  1951. rng.Name = "Ring"
  1952. rng.Material = "Neon"
  1953. rng.Size = Vector3.new(1, 1, 1)
  1954. rng.Transparency = 0
  1955. rng.TopSurface = 0
  1956. rng.BottomSurface = 0
  1957. rng.CFrame = pos
  1958. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  1959. local rngm = Instance.new("SpecialMesh", rng)
  1960. rngm.MeshType = "Brick"
  1961. rngm.Scale = vt(x1,y1,z1)
  1962. if rainbowmode == true then
  1963. rng.Color = Color3.new(r/255,g/255,b/255)
  1964. end
  1965. local scaler2 = 0
  1966. local speeder = FastSpeed/10
  1967. if type == "Add" then
  1968. scaler2 = 1*value
  1969. elseif type == "Divide" then
  1970. scaler2 = 1/value
  1971. end
  1972. coroutine.resume(coroutine.create(function()
  1973. for i = 0,10/bonuspeed,0.1 do
  1974. swait()
  1975. if rainbowmode == true then
  1976. rng.Color = Color3.new(r/255,g/255,b/255)
  1977. end
  1978. if type == "Add" then
  1979. scaler2 = scaler2 - 0.01*value/bonuspeed
  1980. elseif type == "Divide" then
  1981. scaler2 = scaler2 - 0.01/value*bonuspeed
  1982. end
  1983. if chaosmode == true then
  1984. rng.BrickColor = BrickColor.random()
  1985. end
  1986. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  1987. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  1988. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  1989. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  1990. end
  1991. rng:Destroy()
  1992. end))
  1993. end
  1994.  
  1995. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  1996. local type = type
  1997. local rng = Instance.new("Part", char)
  1998. rng.Anchored = true
  1999. if ModeOfGlitch ~= 9 then
  2000. rng.BrickColor = color
  2001. elseif ModeOfGlitch == 9 then
  2002. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2003. end
  2004. rng.CanCollide = false
  2005. rng.FormFactor = 3
  2006. rng.Name = "Ring"
  2007. rng.Material = "Neon"
  2008. rng.Size = Vector3.new(1, 1, 1)
  2009. rng.Transparency = 0
  2010. rng.TopSurface = 0
  2011. rng.BottomSurface = 0
  2012. rng.CFrame = pos
  2013. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2014. local rngm = Instance.new("SpecialMesh", rng)
  2015. rngm.MeshType = "Sphere"
  2016. rngm.Scale = vt(x1,y1,z1)
  2017. if rainbowmode == true then
  2018. rng.Color = Color3.new(r/255,g/255,b/255)
  2019. end
  2020. if ModeOfGlitch == 9 then
  2021. coroutine.resume(coroutine.create(function()
  2022. while true do
  2023. swait()
  2024. if rng.Parent ~= nil then
  2025. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2026. else
  2027. break
  2028. end
  2029. end
  2030. end))
  2031. end
  2032. local scaler2 = 1
  2033. local speeder = FastSpeed
  2034. if type == "Add" then
  2035. scaler2 = 1*value
  2036. elseif type == "Divide" then
  2037. scaler2 = 1/value
  2038. end
  2039. coroutine.resume(coroutine.create(function()
  2040. for i = 0,10/bonuspeed,0.1 do
  2041. swait()
  2042. if rainbowmode == true then
  2043. rng.Color = Color3.new(r/255,g/255,b/255)
  2044. end
  2045. if type == "Add" then
  2046. scaler2 = scaler2 - 0.01*value/bonuspeed
  2047. elseif type == "Divide" then
  2048. scaler2 = scaler2 - 0.01/value*bonuspeed
  2049. end
  2050. if chaosmode == true then
  2051. rng.BrickColor = BrickColor.random()
  2052. end
  2053. speeder = speeder - 0.01*FastSpeed*bonuspeed
  2054. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2055. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2056. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  2057. end
  2058. rng:Destroy()
  2059. end))
  2060. end
  2061.  
  2062.  
  2063. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2064. local type = type
  2065. local rng = Instance.new("Part", char)
  2066. rng.Anchored = true
  2067. if ModeOfGlitch ~= 9 then
  2068. rng.BrickColor = color
  2069. elseif ModeOfGlitch == 9 then
  2070. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2071. end
  2072. rng.CanCollide = false
  2073. rng.FormFactor = 3
  2074. rng.Name = "Ring"
  2075. rng.Material = "Neon"
  2076. rng.Size = Vector3.new(1, 1, 1)
  2077. rng.Transparency = 1
  2078. rng.TopSurface = 0
  2079. rng.BottomSurface = 0
  2080. rng.CFrame = pos
  2081. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2082. local rngm = Instance.new("SpecialMesh", rng)
  2083. rngm.MeshType = "Sphere"
  2084. rngm.Scale = vt(x1,y1,z1)
  2085. if rainbowmode == true then
  2086. rng.Color = Color3.new(r/255,g/255,b/255)
  2087. end
  2088. if ModeOfGlitch == 9 then
  2089. coroutine.resume(coroutine.create(function()
  2090. while true do
  2091. swait()
  2092. if rng.Parent ~= nil then
  2093. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2094. else
  2095. break
  2096. end
  2097. end
  2098. end))
  2099. end
  2100. local scaler2 = 1
  2101. local speeder = FastSpeed
  2102. if type == "Add" then
  2103. scaler2 = 1*value
  2104. elseif type == "Divide" then
  2105. scaler2 = 1/value
  2106. end
  2107. coroutine.resume(coroutine.create(function()
  2108. for i = 0,10/bonuspeed,0.1 do
  2109. swait()
  2110. if rainbowmode == true then
  2111. rng.Color = Color3.new(r/255,g/255,b/255)
  2112. end
  2113. if type == "Add" then
  2114. scaler2 = scaler2 - 0.01*value/bonuspeed
  2115. elseif type == "Divide" then
  2116. scaler2 = scaler2 - 0.01/value*bonuspeed
  2117. end
  2118. if chaosmode == true then
  2119. rng.BrickColor = BrickColor.random()
  2120. end
  2121. speeder = speeder - 0.01*FastSpeed*bonuspeed
  2122. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2123. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  2124. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  2125. end
  2126. rng:Destroy()
  2127. end))
  2128. end
  2129. --//=================================\\
  2130. --|| ATTACK FUNCTIONS AND STUFF
  2131. --\\=================================//
  2132.  
  2133. function chatfunc(text,color,typet,font,timeex)
  2134. local chat = coroutine.wrap(function()
  2135. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  2136. Character:FindFirstChild("TalkingBillBoard"):destroy()
  2137. end
  2138. local naeeym2 = Instance.new("BillboardGui",Character)
  2139. naeeym2.Size = UDim2.new(0,100,0,40)
  2140. naeeym2.StudsOffset = Vector3.new(0,3,0)
  2141. naeeym2.Adornee = Character.Head
  2142. naeeym2.Name = "TalkingBillBoard"
  2143. local tecks2 = Instance.new("TextLabel",naeeym2)
  2144. tecks2.BackgroundTransparency = 1
  2145. tecks2.BorderSizePixel = 0
  2146. tecks2.Text = ""
  2147. tecks2.Font = font
  2148. tecks2.TextSize = 30
  2149. tecks2.TextStrokeTransparency = 0
  2150. tecks2.TextColor3 = color
  2151. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  2152. tecks2.Size = UDim2.new(1,0,0.5,0)
  2153. local tecks3 = Instance.new("TextLabel",naeeym2)
  2154. tecks3.BackgroundTransparency = 1
  2155. tecks3.BorderSizePixel = 0
  2156. tecks3.Text = ""
  2157. tecks3.Font = font
  2158. tecks3.TextSize = 30
  2159. tecks3.TextStrokeTransparency = 0
  2160. if typet == "Inverted" then
  2161. tecks3.TextColor3 = Color3.new(0,0,0)
  2162. tecks3.TextStrokeColor3 = color
  2163. elseif typet == "Normal" then
  2164. tecks3.TextColor3 = color
  2165. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  2166. end
  2167. tecks3.Size = UDim2.new(1,0,0.5,0)
  2168. coroutine.resume(coroutine.create(function()
  2169. while true do
  2170. swait(1)
  2171. end
  2172. end))
  2173. for i = 0, 74*timeex do
  2174. swait()
  2175. tecks2.Text = text
  2176. tecks3.Text = text
  2177. end
  2178. local randomrot = math.random(1,2)
  2179. if randomrot == 1 then
  2180. for i = 1, 50 do
  2181. swait()
  2182. tecks2.Text = text
  2183. tecks3.Text = text
  2184. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  2185. tecks2.TextTransparency = tecks2.TextTransparency + .04
  2186. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  2187. tecks3.TextTransparency = tecks2.TextTransparency + .04
  2188. end
  2189. elseif randomrot == 2 then
  2190. for i = 1, 50 do
  2191. swait()
  2192. tecks2.Text = text
  2193. tecks3.Text = text
  2194. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  2195. tecks2.TextTransparency = tecks2.TextTransparency + .04
  2196. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  2197. tecks3.TextTransparency = tecks2.TextTransparency + .04
  2198. end
  2199. end
  2200. naeeym2:Destroy()
  2201. end)
  2202. chat()
  2203. end
  2204.  
  2205.  
  2206.  
  2207.  
  2208. function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
  2209. local type = type
  2210. local rotenable = rotatingop
  2211. local rng = Instance.new("Part", char)
  2212. rng.Anchored = true
  2213. rng.BrickColor = color
  2214. rng.CanCollide = false
  2215. rng.FormFactor = 3
  2216. rng.Name = "Ring"
  2217. rng.Material = "Neon"
  2218. rng.Size = Vector3.new(1, 1, 1)
  2219. rng.Transparency = 0
  2220. if typeoftrans == "In" then
  2221. rng.Transparency = 1
  2222. end
  2223. rng.TopSurface = 0
  2224. rng.BottomSurface = 0
  2225. rng.CFrame = pos
  2226. local rngm = Instance.new("SpecialMesh", rng)
  2227. rngm.MeshType = "FileMesh"
  2228. if typeofshape == "Normal" then
  2229. rngm.MeshId = "rbxassetid://662586858"
  2230. elseif typeofshape == "Round" then
  2231. rngm.MeshId = "rbxassetid://662585058"
  2232. end
  2233. rngm.Scale = scale
  2234. local scaler2 = 1/10
  2235. if type == "Add" then
  2236. scaler2 = 1*value/10
  2237. elseif type == "Divide" then
  2238. scaler2 = 1/value/10
  2239. end
  2240. local randomrot = math.random(1,2)
  2241. coroutine.resume(coroutine.create(function()
  2242. for i = 0,10/bonuspeed,0.1 do
  2243. swait()
  2244. if type == "Add" then
  2245. scaler2 = scaler2 - 0.01*value/bonuspeed/10
  2246. elseif type == "Divide" then
  2247. scaler2 = scaler2 - 0.01/value*bonuspeed/10
  2248. end
  2249. if rotenable == true then
  2250. if randomrot == 1 then
  2251. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
  2252. elseif randomrot == 2 then
  2253. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
  2254. end
  2255. end
  2256. if typeoftrans == "Out" then
  2257. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2258. elseif typeoftrans == "In" then
  2259. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  2260. end
  2261. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
  2262. end
  2263. rng:Destroy()
  2264. end))
  2265. end
  2266.  
  2267. local MAINRUINCOLOR = BrickColor.new("New Yeller")
  2268.  
  2269.  
  2270.  
  2271.  
  2272.  
  2273. NEWS4 = Instance.new("Sound", tors) --O NO
  2274. NEWS4.SoundId = "http://www.roblox.com/asset/?id=374091819"
  2275. NEWS4.Volume = 100
  2276. NEWS4.Pitch = 1
  2277. NEWS4.Looped = false
  2278. NEWS4.TimePosition = 1
  2279. function die()
  2280. ATTACK = true
  2281. Humanoid.WalkSpeed = 0
  2282. NEWS4:Play()
  2283. repeat
  2284. NEWS4.Parent = Torso
  2285. Swait()
  2286. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size + 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2287. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(math.random(-360,360)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2288. RW.C0 = Clerp(RW.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(math.random(-360,360)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2289. LW.C0 = Clerp(LW.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(math.random(-360,360)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2290. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0 * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2291. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0 * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2292. until NEWS4.Playing == false
  2293. ATTACK = false
  2294. Humanoid.WalkSpeed = 75
  2295. ATTACK = false
  2296. Humanoid.WalkSpeed = 75
  2297. end
  2298. --[[
  2299. local dancing = false
  2300. local clockedyes = false
  2301. Mouse.KeyDown:connect(function(Press)
  2302. Press=Press:lower()
  2303. if Press=='h' then
  2304. if dancing then
  2305. dancing = false
  2306. else
  2307. dancing = true
  2308. Speed = 0
  2309. change = .5
  2310. ATTACK = true
  2311. jellyfishjam = Instance.new("Sound",Torso)
  2312. jellyfishjam.SoundId = "rbxassetid://840189092"
  2313. jellyfishjam.Volume = 8
  2314. jellyfishjam.Looped = true
  2315. jellyfishjam.TimePosition = 14.8
  2316. jellyfishjam:Play()
  2317. coroutine.wrap(function()
  2318. while dancing do
  2319. for i = 1, 15 do
  2320. if not dancing then break end
  2321. RootJoint.C0 = RootJoint.C0:Lerp(CFrame.new(.5,-.4 + .1 * math.sin(sine/4),0) * CFrame.Angles(math.rad(0),math.rad(20 * math.sin(sine/8)),math.rad(20)),.25)
  2322. RW.C0 = RW.C0:lerp(CFrame.new(-.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(50 + 3 * math.sin(sine/12)),math.rad(3 - 1 * math.sin(sine/12))),.3)
  2323. LW.C0 = LW.C0:lerp(CFrame.new(.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(-50 - 3 * math.sin(sine/12)),math.rad(-3 + 1 * math.sin(sine/12))), .3)
  2324. RH.C0 = RH.C0:lerp(CFrame.new(0.25, 2.05,-0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-35)), 0.25)
  2325. LH.C0 = LH.C0:lerp(CFrame.new(0.31, 2.05,-0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(14)), 0.25)
  2326. swait()
  2327. end
  2328. for i = 1, 15 do
  2329. if not dancing then break end
  2330. RootJoint.C0 = RootJoint.C0:Lerp(CFrame.new(0,-.1 * math.sin(sine/4),0) * CFrame.Angles(math.rad(0),math.rad(20 * math.sin(sine/8)),math.rad(0)),.25)
  2331. RW.C0 = RW.C0:lerp(CFrame.new(-.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(50 + 3 * math.sin(sine/12)),math.rad(3 - 1 * math.sin(sine/12))),.3)
  2332. LW.C0 = LW.C0:lerp(CFrame.new(.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(-50 - 3 * math.sin(sine/12)),math.rad(-3 + 1 * math.sin(sine/12))), .3)
  2333. RH.C0 = RH.C0:lerp(CFrame.new(-0.25, .7,1.5) * CFrame.Angles(math.rad(72), math.rad(25), math.rad(-2)), 0.25)
  2334. LH.C0 = LH.C0:lerp(CFrame.new(0.3, 2.0, 0) * CFrame.Angles(0, math.rad(0), math.rad(10)), 0.25)
  2335. swait()
  2336. end
  2337. for i = 1, 15 do
  2338. if not dancing then break end
  2339. RootJoint.C0 = RootJoint.C0:Lerp(CFrame.new(-.5,-.4 + .1 * math.sin(sine/4),0) * CFrame.Angles(math.rad(0),math.rad(20 * math.sin(sine/8)),math.rad(-20)),.25)
  2340. RW.C0 = RW.C0:lerp(CFrame.new(-.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(50 + 3 * math.sin(sine/12)),math.rad(3 - 1 * math.sin(sine/12))),.3)
  2341. LW.C0 = LW.C0:lerp(CFrame.new(.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(-50 - 3 * math.sin(sine/12)),math.rad(-3 + 1 * math.sin(sine/12))), .3)
  2342. RH.C0 = RH.C0:lerp(CFrame.new(-0.3, 2 , 0) * CFrame.Angles(0, math.rad(0), math.rad(-10)), 0.25)
  2343. LH.C0 = LH.C0:lerp(CFrame.new(-0.25, 2.05,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(35)), 0.25)
  2344. swait()
  2345. end
  2346. for i = 1, 15 do
  2347. if not dancing then break end
  2348. RootJoint.C0 = RootJoint.C0:Lerp(CFrame.new(-.5,-.1,0) * CFrame.Angles(math.rad(0),math.rad(20 * math.sin(sine/8)),math.rad(0)),.25)
  2349. RW.C0 = RW.C0:lerp(CFrame.new(-.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(50 + 3 * math.sin(sine/12)),math.rad(3 - 1 * math.sin(sine/12))),.3)
  2350. LW.C0 = LW.C0:lerp(CFrame.new(.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(-50 - 3 * math.sin(sine/12)),math.rad(-3 + 1 * math.sin(sine/12))), .3)
  2351. RH.C0 = RH.C0:lerp(CFrame.new(-0.31, 2.05,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-14)), 0.3)
  2352. LH.C0 = LH.C0:lerp(CFrame.new(0.25, .7,1.5) * CFrame.Angles(math.rad(72), math.rad(-25), math.rad(-2)), 0.25)
  2353. swait()
  2354. end
  2355. swait()
  2356. end
  2357. Speed = 26
  2358. jellyfishjam:Remove()
  2359. ATTACK = false
  2360. end)()
  2361. end
  2362. end
  2363. end)
  2364. --]]
  2365. thonks = Instance.new("Sound", tors) --wat?
  2366. thonks.SoundId = "http://www.roblox.com/asset/?id=1532157598"
  2367. thonks.Volume = 10
  2368. thonks.Pitch = 1
  2369. thonks.Looped = false
  2370. thonks.TimePosition = 0
  2371.  
  2372. function thonki()
  2373. ATTACK = true
  2374. Character.Head.face.Texture = "rbxassetid://1528105298"
  2375. thonks:Play()
  2376. repeat
  2377. for i = 0,8.3,0.1 do
  2378. swait()
  2379. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(90)), 0.7)
  2380. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-30), Rad(0), Rad(0)), 0.7)
  2381. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.7)
  2382. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.7)
  2383. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-.6), Rad(0)), 0.7)
  2384. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-45), Rad(-.6), Rad(136 - 4.5 * Sin(sine / 20))), 0.7)
  2385. end
  2386. until thonks.Playing == false
  2387. thonks:Stop()
  2388. ATTACK = false
  2389. hum.WalkSpeed = 40
  2390. end
  2391. so = function(id,par,vol,pit)
  2392. coroutine.resume(coroutine.create(function()
  2393. local sou = Instance.new("Sound",par or workspace)
  2394. sou.Volume=vol
  2395. sou.Pitch=pit or 1
  2396. sou.SoundId=id
  2397. swait()
  2398. sou:play()
  2399. game:GetService("Debris"):AddItem(sou,6)
  2400. end))
  2401. end
  2402. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  2403. if hit.Parent==nil then
  2404. return
  2405. end
  2406. h=hit.Parent:FindFirstChild("Humanoid")
  2407. for _,v in pairs(hit.Parent:children()) do
  2408. if v:IsA("Humanoid") then
  2409. h=v
  2410. end
  2411. end
  2412. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  2413. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  2414. end
  2415. if hit.Parent.className=="Hat" then
  2416. hit=hit.Parent.Parent:findFirstChild("Head")
  2417. end
  2418. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  2419. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  2420. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  2421. return
  2422. end]]
  2423. -- hs(hit,1.2)
  2424. Damage=math.random(minim,maxim)
  2425. -- h:TakeDamage(Damage)
  2426. blocked=false
  2427. block=hit.Parent:findFirstChild("Block")
  2428. if block~=nil then
  2429. print(block.className)
  2430. if block.className=="NumberValue" then
  2431. if block.Value>0 then
  2432. blocked=true
  2433. if decreaseblock==nil then
  2434. block.Value=block.Value-1
  2435. end
  2436. end
  2437. end
  2438. if block.className=="IntValue" then
  2439. if block.Value>0 then
  2440. blocked=true
  2441. if decreaseblock~=nil then
  2442. block.Value=block.Value-1
  2443. end
  2444. end
  2445. end
  2446. end
  2447. if blocked==false then
  2448. -- h:TakeDamage(Damage)
  2449. h.Health=h.Health-Damage
  2450. --showDamage(hit.Parent,Damage,.5,BrickColor.new("Really red"))
  2451. else
  2452. h.Health=h.Health-(Damage/2)
  2453. -- showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  2454. end
  2455. if Type=="Knockdown" then
  2456. hum=hit.Parent.Humanoid
  2457. hum.PlatformStand=true
  2458. coroutine.resume(coroutine.create(function(HHumanoid)
  2459. swait(1)
  2460. HHumanoid.PlatformStand=false
  2461. end),hum)
  2462. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  2463. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  2464. local bodvol=Instance.new("BodyVelocity")
  2465. bodvol.velocity=angle*knockback
  2466. bodvol.P=5000
  2467. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  2468. bodvol.Parent=hit
  2469. rl=Instance.new("BodyAngularVelocity")
  2470. rl.P=3000
  2471. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  2472. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  2473. rl.Parent=hit
  2474. game:GetService("Debris"):AddItem(bodvol,.5)
  2475. game:GetService("Debris"):AddItem(rl,.5)
  2476. elseif Type=="Normal" then
  2477. vp=Instance.new("BodyVelocity")
  2478. vp.P=500
  2479. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  2480. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  2481. if KnockbackType==1 then
  2482. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  2483. elseif KnockbackType==2 then
  2484. vp.velocity=Property.CFrame.lookVector*knockback
  2485. end
  2486. if knockback>0 then
  2487. vp.Parent=hit.Parent.Torso
  2488. end
  2489. game:GetService("Debris"):AddItem(vp,.5)
  2490. elseif Type=="Up" then
  2491. local bodyVelocity=Instance.new("BodyVelocity")
  2492. bodyVelocity.velocity=vt(0,60,0)
  2493. bodyVelocity.P=5000
  2494. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  2495. bodyVelocity.Parent=hit
  2496. game:GetService("Debris"):AddItem(bodyVelocity,1)
  2497. rl=Instance.new("BodyAngularVelocity")
  2498. rl.P=3000
  2499. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  2500. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  2501. rl.Parent=hit
  2502. game:GetService("Debris"):AddItem(rl,.5)
  2503. elseif Type=="Snare" then
  2504. bp=Instance.new("BodyPosition")
  2505. bp.P=2000
  2506. bp.D=100
  2507. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  2508. bp.position=hit.Parent.Torso.Position
  2509. bp.Parent=hit.Parent.Torso
  2510. game:GetService("Debris"):AddItem(bp,1)
  2511. elseif Type=="Target" then
  2512. if Targetting==false then
  2513. ZTarget=hit.Parent.Torso
  2514. coroutine.resume(coroutine.create(function(Part)
  2515. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  2516. swait(5)
  2517. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  2518. end),ZTarget)
  2519. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  2520. targetgui=Instance.new("BillboardGui")
  2521. targetgui.Parent=ZTarget
  2522. targetgui.Size=UDim2.new(10,100,10,100)
  2523. targ=Instance.new("ImageLabel")
  2524. targ.Parent=targetgui
  2525. targ.BackgroundTransparency=1
  2526. targ.Image="rbxassetid://4834067"
  2527. targ.Size=UDim2.new(1,0,1,0)
  2528. cam.CameraType="Scriptable"
  2529. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  2530. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  2531. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  2532. Targetting=true
  2533. RocketTarget=ZTarget
  2534. for i=1,Property do
  2535. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  2536. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  2537. swait()
  2538. end
  2539. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  2540. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  2541. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  2542. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  2543. end
  2544. Targetting=false
  2545. RocketTarget=nil
  2546. targetgui.Parent=nil
  2547. cam.CameraType="Custom"
  2548. end
  2549. end
  2550. debounce=Instance.new("BoolValue")
  2551. debounce.Name="DebounceHit"
  2552. debounce.Parent=hit.Parent
  2553. debounce.Value=true
  2554. game:GetService("Debris"):AddItem(debounce,Delay)
  2555. CRIT=false
  2556. hitDeb=true
  2557. AttackPos=6
  2558. end
  2559. end
  2560. function shoot()
  2561. ATTACK = true
  2562. for i = 0,2,0.1 do
  2563. swait()
  2564. turnto(Mouse.Hit.p)
  2565. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  2566. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3)
  2567. RW.C0=clerp(RW.C0,cf(1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(8 + 8 * math.cos(sine / 35)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(90 + 4 * math.cos(sine / 22))),.1)
  2568. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3)
  2569. end
  2570. so("http://roblox.com/asset/?id=231897565",GunPoint,60,1)
  2571. local lb = Instance.new("Part")
  2572. lb.Parent = char
  2573. lb.Material = "Neon"
  2574. lb.Color = BrickColor.new("New Yeller").Color
  2575. lb.CanCollide = false
  2576. lb.Shape = "Ball"
  2577. lb.CFrame = GunPoint.CFrame
  2578. lb.Anchored = true
  2579. lb.Transparency = 0
  2580. lb.Size = vt(0.6,0.6,0.6)
  2581. local thing = Instance.new("SpecialMesh",lb)
  2582. thing.MeshType = "Sphere"
  2583. for i = 0, 1 do
  2584. slash(10,5,true,"Round","Add","Out",GunPoint.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.002,0.01),math.random(5,25)/250,BrickColor.new("White"))
  2585. end
  2586. -- + root.CFrame.lookVector*12
  2587. sphere2(10,"Add",GunPoint.CFrame,vt(0.125,0.125,0.125),0.1,0.1,0.1,BrickColor.new("New Yeller"),Color3.new(1,1,0))
  2588. -- + root.CFrame.lookVector*12
  2589. local b = Instance.new("Part")
  2590. b.Parent = char
  2591. b.Material = "Neon"
  2592. b.Color = BrickColor.new("New Yeller").Color
  2593. b.CanCollide = false
  2594. b.Shape = "Ball"
  2595. b.CFrame = GunPoint.CFrame
  2596. b.Anchored = true
  2597. b.Transparency = 0
  2598. b.Size = vt(1,1,1)
  2599. local z = Instance.new("SpecialMesh",b)
  2600. z.MeshType = "Sphere"
  2601. local hitted = false
  2602. lb.Anchored = false
  2603. local bv = Instance.new("BodyVelocity")
  2604. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2605. bv.velocity = Mouse.Hit.lookVector *150
  2606. bv.Parent = lb
  2607. game:GetService("Debris"):AddItem(lb, 19)
  2608. lb.Touched:connect(function(hit) Damagefunc(hit,33,74,math.random(10,20),"Normal",RootPart,.2,1) end)
  2609. for i = 0,2,0.1 do
  2610. swait()
  2611. turnto(Mouse.Hit.p)
  2612. z.Scale = z.Scale + vt(0.1,0.1,0.1)
  2613. b.Transparency = b.Transparency + 0.05
  2614. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  2615. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3)
  2616. RW.C0=clerp(RW.C0,cf(1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(8 + 8 * math.cos(sine / 35)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(120 + 4 * math.cos(sine / 22))),.1)
  2617. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3)
  2618. end
  2619. ATTACK = false
  2620. b:Destroy()
  2621. wait(10)
  2622. lb:Destroy()
  2623. end
  2624.  
  2625. cloakedyes = false
  2626. urfacexd = Head:FindFirstChildOfClass("Decal")
  2627. function lecloakguy()
  2628. if cloakedyes == true then
  2629. cloakedyes = false
  2630. knif.Parent = Character
  2631. urfacexd.Parent = Head
  2632. local cloaks = Instance.new("Sound",Head) cloaks.SoundId = "rbxassetid://195575792" cloaks.Volume = 2.5 cloaks:Play()
  2633. game.Debris:AddItem(cloaks,1.5)
  2634. for i = 1,15 do
  2635. Swait()
  2636. for _,v in pairs (Character:children()) do
  2637. if v:IsA("Part") then
  2638. v.Transparency = v.Transparency - 0.1
  2639. end
  2640. end
  2641. end
  2642. else
  2643. cloakedyes = true
  2644. knif.Parent = nil
  2645. urfacexd.Parent = nil
  2646. local cloaks = Instance.new("Sound",Head) cloaks.SoundId = "rbxassetid://195575792" cloaks.Volume = 2.5 cloaks:Play()
  2647. game.Debris:AddItem(cloaks,1.5)
  2648. for i = 1,15 do
  2649. Swait()
  2650. for _,v in pairs (Character:children()) do
  2651. if v:IsA("Part") then
  2652. v.Transparency = v.Transparency + 0.1
  2653. end
  2654. end
  2655. end
  2656. end
  2657. end
  2658.  
  2659. function shoots()
  2660. ATTACK = true
  2661. for i = 0,1.2,0.1 do
  2662. swait()
  2663. turnto(Mouse.Hit.p)
  2664. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(65)),.3)
  2665. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-65)),.3)
  2666. RW.C0=clerp(RW.C0,cf(1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(35 + 8 * math.cos(sine / 35)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(90 + 4 * math.cos(sine / 22))),.1)
  2667. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3)
  2668. end
  2669. so("http://roblox.com/asset/?id=235099882",GunPoint,60,1)
  2670. local lb = Instance.new("Part")
  2671. lb.Parent = char
  2672. lb.Material = "Neon"
  2673. lb.Color = BrickColor.new("New Yeller").Color
  2674. lb.CanCollide = false
  2675. lb.Shape = "Ball"
  2676. lb.CFrame = GunPoint.CFrame
  2677. lb.Anchored = true
  2678. lb.Transparency = 0
  2679. lb.Size = vt(0.6,0.6,0.6)
  2680. local thing = Instance.new("SpecialMesh",lb)
  2681. thing.MeshType = "Sphere"
  2682. --for i = 0, 1 do
  2683. --slash(10,5,true,"Round","Add","Out",GunPoint.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.002,0.01),math.random(5,25)/250,BrickColor.new("White"))
  2684. --end
  2685. -- + root.CFrame.lookVector*12
  2686. --sphere2(10,"Add",GunPoint.CFrame,vt(0.125,0.125,0.125),0.1,0.1,0.1,BrickColor.new("New Yeller"),Color3.new(1,1,0))
  2687. -- + root.CFrame.lookVector*12
  2688. local b = Instance.new("Part")
  2689. b.Parent = char
  2690. b.Material = "Neon"
  2691. b.Color = BrickColor.new("New Yeller").Color
  2692. b.CanCollide = false
  2693. b.Shape = "Ball"
  2694. b.CFrame = GunPoint.CFrame
  2695. b.Anchored = true
  2696. b.Transparency = 0
  2697. b.Size = vt(1,1,1)
  2698. local z = Instance.new("SpecialMesh",b)
  2699. z.MeshType = "Sphere"
  2700. local hitted = false
  2701. lb.Anchored = false
  2702. local bv = Instance.new("BodyVelocity")
  2703. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2704. bv.velocity = Mouse.Hit.lookVector *150
  2705. bv.Parent = lb
  2706. game:GetService("Debris"):AddItem(lb, 19)
  2707. lb.Touched:connect(function(hit) Damagefunc(hit,27,67,math.random(10,20),"Normal",RootPart,.2,1) end)
  2708. for i = 0,1.65,0.1 do
  2709. swait()
  2710. turnto(Mouse.Hit.p)
  2711. z.Scale = z.Scale + vt(0.1,0.1,0.1)
  2712. b.Transparency = b.Transparency + 0.05
  2713. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(65)),.3)
  2714. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-65)),.3)
  2715. RW.C0=clerp(RW.C0,cf(1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(35 + 8 * math.cos(sine / 35)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(120 + 4 * math.cos(sine / 22))),.1)
  2716. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3)
  2717. end
  2718. ATTACK = false
  2719. b:Destroy()
  2720. wait(10)
  2721. lb:Destroy()
  2722. end
  2723.  
  2724.  
  2725. function deag()
  2726. ATTACK = true
  2727. for i = 0,0.9,0.1 do
  2728. swait()
  2729. turnto(Mouse.Hit.p)
  2730. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(65)),.3)
  2731. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-65)),.3)
  2732. RW.C0=clerp(RW.C0,cf(1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(35 + 8 * math.cos(sine / 35)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(90 + 4 * math.cos(sine / 22))),.1)
  2733. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3)
  2734. end
  2735. so("http://roblox.com/asset/?id=131205975",JUAND,60,1)
  2736. local lb = Instance.new("Part")
  2737. lb.Parent = char
  2738. lb.Material = "Neon"
  2739. lb.Color = BrickColor.new("New Yeller").Color
  2740. lb.CanCollide = false
  2741. lb.Shape = "Ball"
  2742. lb.CFrame = JUAND.CFrame
  2743. lb.Anchored = true
  2744. lb.Transparency = 0
  2745. lb.Size = vt(0.6,0.6,0.6)
  2746. local thing = Instance.new("SpecialMesh",lb)
  2747. thing.MeshType = "Sphere"
  2748. for i = 0, 1 do
  2749. slash(10,5,true,"Round","Add","Out",JUAND.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.002,0.01),math.random(5,25)/250,BrickColor.new("White"))
  2750. end
  2751. -- + root.CFrame.lookVector*12
  2752. sphere2(10,"Add",JUAND.CFrame,vt(0.125,0.125,0.125),0.1,0.1,0.1,BrickColor.new("New Yeller"),Color3.new(1,1,0))
  2753. -- + root.CFrame.lookVector*12
  2754. local b = Instance.new("Part")
  2755. b.Parent = char
  2756. b.Material = "Neon"
  2757. b.Color = BrickColor.new("New Yeller").Color
  2758. b.CanCollide = false
  2759. b.Shape = "Ball"
  2760. b.CFrame = JUAND.CFrame
  2761. b.Anchored = true
  2762. b.Transparency = 0
  2763. b.Size = vt(1,1,1)
  2764. local z = Instance.new("SpecialMesh",b)
  2765. z.MeshType = "Sphere"
  2766. local hitted = false
  2767. lb.Anchored = false
  2768. local bv = Instance.new("BodyVelocity")
  2769. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2770. bv.velocity = Mouse.Hit.lookVector *150
  2771. bv.Parent = lb
  2772. game:GetService("Debris"):AddItem(lb, 19)
  2773. lb.Touched:connect(function(hit) Damagefunc(hit,450,740,math.random(10,20),"Normal",RootPart,.2,1) end)
  2774. for i = 0,1.15,0.1 do
  2775. swait()
  2776. turnto(Mouse.Hit.p)
  2777. z.Scale = z.Scale + vt(0.1,0.1,0.1)
  2778. b.Transparency = b.Transparency + 0.05
  2779. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(65)),.3)
  2780. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-65)),.3)
  2781. RW.C0=clerp(RW.C0,cf(1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(35 + 8 * math.cos(sine / 35)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(120 + 4 * math.cos(sine / 22))),.1)
  2782. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3)
  2783. end
  2784. ATTACK = false
  2785. b:Destroy()
  2786. wait(10)
  2787. lb:Destroy()
  2788. end
  2789.  
  2790. local animationspeed = 2
  2791. --local SwordThing = false
  2792. --local change = 2 / animationspeed
  2793. it = Instance.new
  2794. vt = Vector3.new
  2795. cf = CFrame.new
  2796. rad = math.rad
  2797. euler = CFrame.fromEulerAnglesXYZ
  2798. angles = CFrame.Angles
  2799. --[[
  2800. necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  2801. RootCF = angles(rad(-90), 0, rad(180))
  2802. ]]--
  2803. local PlayerSize = 1
  2804. local RWC0 = cf(-0.5, 0, 0) * angles(rad(0), rad(90), rad(0))
  2805. local LWC0 = cf(0.5, 0, 0) * angles(rad(0), rad(-90), rad(0))
  2806. bestmatess = Instance.new("Sound", Torso)
  2807. bestmatess.Volume = 14
  2808. bestmatess.TimePosition = 0
  2809. bestmatess.Pitch = 1
  2810. bestmatess.SoundId = "rbxassetid://780906273"
  2811. bestmatess.Looped = true
  2812.  
  2813. clerp2 = function(a, b, t)
  2814. return a:lerp(b, t)
  2815. end
  2816. -- local sine = 0
  2817. local bestmate = false
  2818. function bestmatesA()
  2819. if bestmate == false then
  2820. ATTACK = true
  2821. bestmate = true
  2822. --Humanoid.WalkSpeed = 3
  2823. --Humanoid.JumpPower = 10
  2824.  
  2825. bestmatess:Play()
  2826. while bestmate == true do
  2827. change = 0.8
  2828. Swait()
  2829. RH.C0=clerp(RH.C0,cf(1,-1 - 2.2 * math.cos(sine / 8),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  2830. LH.C0=clerp(LH.C0,cf(-1,-1 - 2.2 * math.cos(sine / 8),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  2831. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 2.2 * math.cos(sine / 8))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  2832. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2833. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 8),0)*angles(math.rad(90-36*SIN(SINE/8)),math.rad(0),math.rad(0)),.1)
  2834. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.05 * math.cos(sine / 8),0)*angles(math.rad(90-36*SIN(SINE/8)),math.rad(0),math.rad(0)),.1)
  2835. end
  2836. elseif bestmate == true then
  2837. ATTACK = false
  2838. bestmate = false
  2839. change = 1
  2840. --Humanoid.WalkSpeed = 5
  2841. --Humanoid.JumpPower = 60
  2842. bestmatess:Stop()
  2843. end
  2844. end
  2845. cheeki = Instance.new("Sound", Torso)
  2846. cheeki.Volume = 24
  2847. cheeki.TimePosition = 0
  2848. cheeki.Pitch = 1
  2849. cheeki.SoundId = "rbxassetid://800064337"
  2850. cheeki.Looped = true
  2851. function cheekibreeki()
  2852. if bestmate == false then
  2853. ATTACK = true
  2854. bestmate = true
  2855. cheeki:Play()
  2856. while bestmate == true do
  2857. change = 0.8
  2858. Swait()
  2859. RootJoint.C0 = clerp2(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.25 - 0.125 * math.cos((sine) / 4) * PlayerSize) * angles(rad(0), rad(5 * math.cos((sine) / 8)), rad(0)), 1 / animationspeed)
  2860. Neck.C0 = clerp2(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(5 * math.sin((sine) / 8)), rad(0)), 1 / animationspeed)
  2861. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 8),0)*angles(math.rad(90-36*SIN(sine/8)),math.rad(0),math.rad(0)),.1)
  2862. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.05 * math.cos(sine / 8),0)*angles(math.rad(90-36*SIN(sine/8)),math.rad(0),math.rad(0)),.1)
  2863. RightHip.C0 = clerp2(RightHip.C0, cf(1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 - 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(87.5), rad(0)) * angles(rad(-5 + 10 * math.cos((sine) / 8)), rad(0), rad(30 - 50 * math.cos((sine) / 8))), 1 / animationspeed)
  2864. LeftHip.C0 = clerp2(LeftHip.C0, cf(-1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 + 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(-87.5), rad(0)) * angles(rad(-5 - 10 * math.cos((sine) / 8)), rad(0), rad(-30 - 50 * math.cos((sine) / 8))), 1 / animationspeed)
  2865. end
  2866. elseif bestmate == true then
  2867. ATTACK = false
  2868. change = 1
  2869. bestmate = false
  2870. cheeki:Stop()
  2871. end
  2872. end
  2873.  
  2874.  
  2875. crab = Instance.new("Sound", Torso)
  2876. crab.Volume = 14
  2877. crab.TimePosition = 0
  2878. crab.Pitch = 1
  2879. crab.SoundId = "rbxassetid://2410799757"
  2880. crab.Looped = true
  2881.  
  2882. function bestmatesB()
  2883. if bestmate == false then
  2884. ATTACK = true
  2885. bestmate = true
  2886. --Humanoid.WalkSpeed = 3
  2887. --Humanoid.JumpPower = 10
  2888. crab.TimePosition = 0
  2889. crab:Play()
  2890. while bestmate == true do
  2891. change = 0.8
  2892. Swait()
  2893. RH.C0=clerp(RH.C0,cf(1,-1 - 2.2 * math.cos(sine / 8),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  2894. LH.C0=clerp(LH.C0,cf(-1,-1 - 2.2 * math.cos(sine / 8),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  2895. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 2.2 * math.cos(sine / 8))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  2896. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2897. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 8),0)*angles(math.rad(90-66*SIN(SINE/6)),math.rad(0),math.rad(0)),.1)
  2898. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.05 * math.cos(sine / 8),0)*angles(math.rad(90+66*SIN(SINE/6)),math.rad(0),math.rad(0)),.1)
  2899. end
  2900. elseif bestmate == true then
  2901. ATTACK = false
  2902. bestmate = false
  2903. change = 1
  2904. --Humanoid.WalkSpeed = 5
  2905. --Humanoid.JumpPower = 60
  2906. crab:Stop()
  2907. end
  2908. end
  2909.  
  2910. function SmgTest3()
  2911. ATTACK = true
  2912. --Rooted = false
  2913. for i=0, 0.25, 0.1 / Animation_Speed do
  2914. Swait()
  2915. turnto(Mouse.Hit.p)
  2916. --[[RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2917. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2918. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2919. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2920. 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)
  2921. 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)
  2922. --]]
  2923. end
  2924. repeat
  2925. for i = 0,0.05,0.1 do
  2926. swait()
  2927. turnto(Mouse.Hit.p)
  2928. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2929. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  2930. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(0)),.1)
  2931. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  2932. end
  2933. so("http://roblox.com/asset/?id=188904253",BOI,60,1)
  2934. so("http://roblox.com/asset/?id=188904253",BOI2,60,1)
  2935. local lb = Instance.new("Part")
  2936. lb.Parent = char
  2937. lb.Material = "Neon"
  2938. lb.Color = BrickColor.new("New Yeller").Color
  2939. lb.CanCollide = false
  2940. lb.Shape = "Ball"
  2941. lb.CFrame = BOI.CFrame
  2942. lb.Anchored = true
  2943. lb.Transparency = 0
  2944. lb.Size = vt(0.6,0.6,0.6)
  2945. local thing = Instance.new("SpecialMesh",lb)
  2946. thing.MeshType = "Sphere"
  2947. --for i = 0, 1 do
  2948. --slash(10,5,true,"Round","Add","Out",GunPoint.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.002,0.01),math.random(5,25)/250,BrickColor.new("White"))
  2949. --end
  2950. -- + root.CFrame.lookVector*12
  2951. --sphere2(10,"Add",GunPoint.CFrame,vt(0.125,0.125,0.125),0.1,0.1,0.1,BrickColor.new("New Yeller"),Color3.new(1,1,0))
  2952. -- + root.CFrame.lookVector*12
  2953. local b = Instance.new("Part")
  2954. b.Parent = char
  2955. b.Material = "Neon"
  2956. b.Color = BrickColor.new("New Yeller").Color
  2957. b.CanCollide = false
  2958. b.Shape = "Ball"
  2959. b.CFrame = BOI.CFrame
  2960. b.Anchored = true
  2961. b.Transparency = 0
  2962. b.Size = vt(1,1,1)
  2963. local z = Instance.new("SpecialMesh",b)
  2964. z.MeshType = "Sphere"
  2965. local hitted = false
  2966. lb.Anchored = false
  2967. local bv = Instance.new("BodyVelocity")
  2968. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2969. bv.velocity = Mouse.Hit.lookVector *150
  2970. bv.Parent = lb
  2971.  
  2972. local lb2 = Instance.new("Part")
  2973. lb2.Parent = char
  2974. lb2.Material = "Neon"
  2975. lb2.Color = BrickColor.new("New Yeller").Color
  2976. lb2.CanCollide = false
  2977. lb2.Shape = "Ball"
  2978. lb2.CFrame = BOI2.CFrame
  2979. lb2.Anchored = true
  2980. lb2.Transparency = 0
  2981. lb2.Size = vt(0.6,0.6,0.6)
  2982. local thing = Instance.new("SpecialMesh",lb2)
  2983. thing.MeshType = "Sphere"
  2984. --for i = 0, 1 do
  2985. --slash(10,5,true,"Round","Add","Out",GunPoint.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.002,0.01),math.random(5,25)/250,BrickColor.new("White"))
  2986. --end
  2987. -- + root.CFrame.lookVector*12
  2988. --sphere2(10,"Add",GunPoint.CFrame,vt(0.125,0.125,0.125),0.1,0.1,0.1,BrickColor.new("New Yeller"),Color3.new(1,1,0))
  2989. -- + root.CFrame.lookVector*12
  2990. local b2 = Instance.new("Part")
  2991. b2.Parent = char
  2992. b2.Material = "Neon"
  2993. b2.Color = BrickColor.new("New Yeller").Color
  2994. b2.CanCollide = false
  2995. b2.Shape = "Ball"
  2996. b2.CFrame = BOI2.CFrame
  2997. b2.Anchored = true
  2998. b2.Transparency = 0
  2999. b2.Size = vt(1,1,1)
  3000. local z = Instance.new("SpecialMesh",b2)
  3001. z.MeshType = "Sphere"
  3002. --local hitted = false
  3003. lb2.Anchored = false
  3004. local bv2 = Instance.new("BodyVelocity")
  3005. bv2.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3006. bv2.velocity = Mouse.Hit.lookVector *150
  3007. bv2.Parent = lb2
  3008. lb.Touched:connect(function(hit) Damagefunc(hit,33,74,math.random(10,20),"Normal",RootPart,.2,1) end)
  3009. lb2.Touched:connect(function(hit) Damagefunc(hit,33,74,math.random(10,20),"Normal",RootPart,.2,1) end)
  3010. for i = 0,0.1,0.1 do
  3011. swait()
  3012. turnto(Mouse.Hit.p)
  3013. z.Scale = z.Scale + vt(0.1,0.1,0.1)
  3014. b.Transparency = b.Transparency + 0.05
  3015. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3016. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  3017. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(0)),.1)
  3018. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  3019. end
  3020. game:GetService("Debris"):AddItem(lb, 19)
  3021. game:GetService("Debris"):AddItem(lb2, 19)
  3022. game:GetService("Debris"):AddItem(bv, 20)
  3023. game:GetService("Debris"):AddItem(bv2, 20)
  3024. b:Destroy()
  3025. b2:Destroy()
  3026. --wait(10)
  3027. --lb:Destroy()
  3028. --lb2:Destroy()
  3029. until HOLD == false
  3030. ATTACK = false
  3031. --Rooted = false
  3032. end
  3033.  
  3034.  
  3035. function SmgTest2()
  3036. ATTACK = true
  3037. --Rooted = false
  3038. for i=0, 0.25, 0.1 / Animation_Speed do
  3039. Swait()
  3040. turnto(Mouse.Hit.p)
  3041. --[[RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3042. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  3043. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3044. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3045. 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)
  3046. 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)
  3047. --]]
  3048. end
  3049. repeat
  3050. for i = 0,0.1,0.1 do
  3051. swait()
  3052. turnto(Mouse.Hit.p)
  3053. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3054. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  3055. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(0)),.1)
  3056. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  3057. end
  3058. so("http://roblox.com/asset/?id=2484694762",VOL,60,1)
  3059. so("http://roblox.com/asset/?id=2484694762",VOL2,60,1)
  3060. local lb = Instance.new("Part")
  3061. lb.Parent = char
  3062. lb.Material = "Neon"
  3063. lb.Color = BrickColor.new("New Yeller").Color
  3064. lb.CanCollide = false
  3065. lb.Shape = "Ball"
  3066. lb.CFrame = VOL.CFrame
  3067. lb.Anchored = true
  3068. lb.Transparency = 0
  3069. lb.Size = vt(0.6,0.6,0.6)
  3070. local thing = Instance.new("SpecialMesh",lb)
  3071. thing.MeshType = "Sphere"
  3072. --for i = 0, 1 do
  3073. --slash(10,5,true,"Round","Add","Out",GunPoint.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.002,0.01),math.random(5,25)/250,BrickColor.new("White"))
  3074. --end
  3075. -- + root.CFrame.lookVector*12
  3076. --sphere2(10,"Add",GunPoint.CFrame,vt(0.125,0.125,0.125),0.1,0.1,0.1,BrickColor.new("New Yeller"),Color3.new(1,1,0))
  3077. -- + root.CFrame.lookVector*12
  3078. local b = Instance.new("Part")
  3079. b.Parent = char
  3080. b.Material = "Neon"
  3081. b.Color = BrickColor.new("New Yeller").Color
  3082. b.CanCollide = false
  3083. b.Shape = "Ball"
  3084. b.CFrame = VOL.CFrame
  3085. b.Anchored = true
  3086. b.Transparency = 0
  3087. b.Size = vt(1,1,1)
  3088. local z = Instance.new("SpecialMesh",b)
  3089. z.MeshType = "Sphere"
  3090. local hitted = false
  3091. lb.Anchored = false
  3092. local bv = Instance.new("BodyVelocity")
  3093. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3094. bv.velocity = Mouse.Hit.lookVector *150
  3095. bv.Parent = lb
  3096.  
  3097. local lb2 = Instance.new("Part")
  3098. lb2.Parent = char
  3099. lb2.Material = "Neon"
  3100. lb2.Color = BrickColor.new("New Yeller").Color
  3101. lb2.CanCollide = false
  3102. lb2.Shape = "Ball"
  3103. lb2.CFrame = VOL2.CFrame
  3104. lb2.Anchored = true
  3105. lb2.Transparency = 0
  3106. lb2.Size = vt(0.6,0.6,0.6)
  3107. local thing = Instance.new("SpecialMesh",lb2)
  3108. thing.MeshType = "Sphere"
  3109. --for i = 0, 1 do
  3110. --slash(10,5,true,"Round","Add","Out",GunPoint.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.002,0.01),math.random(5,25)/250,BrickColor.new("White"))
  3111. --end
  3112. -- + root.CFrame.lookVector*12
  3113. --sphere2(10,"Add",GunPoint.CFrame,vt(0.125,0.125,0.125),0.1,0.1,0.1,BrickColor.new("New Yeller"),Color3.new(1,1,0))
  3114. -- + root.CFrame.lookVector*12
  3115. local b2 = Instance.new("Part")
  3116. b2.Parent = char
  3117. b2.Material = "Neon"
  3118. b2.Color = BrickColor.new("New Yeller").Color
  3119. b2.CanCollide = false
  3120. b2.Shape = "Ball"
  3121. b2.CFrame = VOL2.CFrame
  3122. b2.Anchored = true
  3123. b2.Transparency = 0
  3124. b2.Size = vt(1,1,1)
  3125. local z = Instance.new("SpecialMesh",b2)
  3126. z.MeshType = "Sphere"
  3127. --local hitted = false
  3128. lb2.Anchored = false
  3129. local bv2 = Instance.new("BodyVelocity")
  3130. bv2.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3131. bv2.velocity = Mouse.Hit.lookVector *150
  3132. bv2.Parent = lb2
  3133. lb.Touched:connect(function(hit) Damagefunc(hit,33,74,math.random(10,20),"Normal",RootPart,.2,1) end)
  3134. lb2.Touched:connect(function(hit) Damagefunc(hit,33,74,math.random(10,20),"Normal",RootPart,.2,1) end)
  3135. for i = 0,0.15,0.1 do
  3136. swait()
  3137. turnto(Mouse.Hit.p)
  3138. z.Scale = z.Scale + vt(0.1,0.1,0.1)
  3139. b.Transparency = b.Transparency + 0.05
  3140. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3141. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  3142. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(0)),.1)
  3143. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  3144. end
  3145. game:GetService("Debris"):AddItem(lb, 19)
  3146. game:GetService("Debris"):AddItem(lb2, 19)
  3147. game:GetService("Debris"):AddItem(bv, 20)
  3148. game:GetService("Debris"):AddItem(bv2, 20)
  3149. b:Destroy()
  3150. b2:Destroy()
  3151. --wait(10)
  3152. --lb:Destroy()
  3153. --lb2:Destroy()
  3154. until HOLD == false
  3155. ATTACK = false
  3156. --Rooted = false
  3157. end
  3158.  
  3159.  
  3160. --[[
  3161. wat = Instance.new("Sound", Torso)
  3162. wat.Volume = 14
  3163. wat.TimePosition = 0
  3164. wat.Pitch = 1
  3165. wat.SoundId = "rbxassetid://2095995144"
  3166. wat.Looped = false
  3167.  
  3168. function watde()
  3169. ATTACK = true
  3170. wat:Play()
  3171. chatfunc("wat.",C3(1,1,0),"Normal","SciFi",2)
  3172. wait(2)
  3173. ATTACK = false
  3174. end]]--
  3175.  
  3176. function SmgTest()
  3177. ATTACK = true
  3178. --Rooted = false
  3179. for i=0, 0.25, 0.1 / Animation_Speed do
  3180. Swait()
  3181. turnto(Mouse.Hit.p)
  3182. --[[RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3183. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  3184. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3185. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3186. 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)
  3187. 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)
  3188. --]]
  3189. end
  3190. repeat
  3191. for i = 0,0.3,0.1 do
  3192. swait()
  3193. turnto(Mouse.Hit.p)
  3194. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3195. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  3196. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(0)),.1)
  3197. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  3198. end
  3199. so("http://roblox.com/asset/?id=2484694762",Flare,60,1)
  3200. so("http://roblox.com/asset/?id=2484694762",Flare2,60,1)
  3201. local lb = Instance.new("Part")
  3202. lb.Parent = char
  3203. lb.Material = "Neon"
  3204. lb.Color = BrickColor.new("New Yeller").Color
  3205. lb.CanCollide = false
  3206. lb.Shape = "Ball"
  3207. lb.CFrame = Flare.CFrame
  3208. lb.Anchored = true
  3209. lb.Transparency = 0
  3210. lb.Size = vt(0.6,0.6,0.6)
  3211. local thing = Instance.new("SpecialMesh",lb)
  3212. thing.MeshType = "Sphere"
  3213. --for i = 0, 1 do
  3214. --slash(10,5,true,"Round","Add","Out",GunPoint.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.002,0.01),math.random(5,25)/250,BrickColor.new("White"))
  3215. --end
  3216. -- + root.CFrame.lookVector*12
  3217. --sphere2(10,"Add",GunPoint.CFrame,vt(0.125,0.125,0.125),0.1,0.1,0.1,BrickColor.new("New Yeller"),Color3.new(1,1,0))
  3218. -- + root.CFrame.lookVector*12
  3219. local b = Instance.new("Part")
  3220. b.Parent = char
  3221. b.Material = "Neon"
  3222. b.Color = BrickColor.new("New Yeller").Color
  3223. b.CanCollide = false
  3224. b.Shape = "Ball"
  3225. b.CFrame = Flare.CFrame
  3226. b.Anchored = true
  3227. b.Transparency = 0
  3228. b.Size = vt(1,1,1)
  3229. local z = Instance.new("SpecialMesh",b)
  3230. z.MeshType = "Sphere"
  3231. local hitted = false
  3232. lb.Anchored = false
  3233. local bv = Instance.new("BodyVelocity")
  3234. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3235. bv.velocity = Mouse.Hit.lookVector *150
  3236. bv.Parent = lb
  3237.  
  3238. local lb2 = Instance.new("Part")
  3239. lb2.Parent = char
  3240. lb2.Material = "Neon"
  3241. lb2.Color = BrickColor.new("New Yeller").Color
  3242. lb2.CanCollide = false
  3243. lb2.Shape = "Ball"
  3244. lb2.CFrame = Flare2.CFrame
  3245. lb2.Anchored = true
  3246. lb2.Transparency = 0
  3247. lb2.Size = vt(0.6,0.6,0.6)
  3248. local thing = Instance.new("SpecialMesh",lb2)
  3249. thing.MeshType = "Sphere"
  3250. --for i = 0, 1 do
  3251. --slash(10,5,true,"Round","Add","Out",GunPoint.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.002,0.01),math.random(5,25)/250,BrickColor.new("White"))
  3252. --end
  3253. -- + root.CFrame.lookVector*12
  3254. --sphere2(10,"Add",GunPoint.CFrame,vt(0.125,0.125,0.125),0.1,0.1,0.1,BrickColor.new("New Yeller"),Color3.new(1,1,0))
  3255. -- + root.CFrame.lookVector*12
  3256. local b2 = Instance.new("Part")
  3257. b2.Parent = char
  3258. b2.Material = "Neon"
  3259. b2.Color = BrickColor.new("New Yeller").Color
  3260. b2.CanCollide = false
  3261. b2.Shape = "Ball"
  3262. b2.CFrame = Flare2.CFrame
  3263. b2.Anchored = true
  3264. b2.Transparency = 0
  3265. b2.Size = vt(1,1,1)
  3266. local z = Instance.new("SpecialMesh",b2)
  3267. z.MeshType = "Sphere"
  3268. --local hitted = false
  3269. lb2.Anchored = false
  3270. local bv2 = Instance.new("BodyVelocity")
  3271. bv2.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3272. bv2.velocity = Mouse.Hit.lookVector *150
  3273. bv2.Parent = lb2
  3274. lb.Touched:connect(function(hit) Damagefunc(hit,33,74,math.random(10,20),"Normal",RootPart,.2,1) end)
  3275. lb2.Touched:connect(function(hit) Damagefunc(hit,33,74,math.random(10,20),"Normal",RootPart,.2,1) end)
  3276. for i = 0,0.4,0.1 do
  3277. swait()
  3278. turnto(Mouse.Hit.p)
  3279. z.Scale = z.Scale + vt(0.1,0.1,0.1)
  3280. b.Transparency = b.Transparency + 0.05
  3281. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3282. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  3283. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(0)),.1)
  3284. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  3285. end
  3286. game:GetService("Debris"):AddItem(lb, 19)
  3287. game:GetService("Debris"):AddItem(lb2, 19)
  3288. game:GetService("Debris"):AddItem(bv, 20)
  3289. game:GetService("Debris"):AddItem(bv2, 20)
  3290. b:Destroy()
  3291. b2:Destroy()
  3292. --wait(10)
  3293. --lb:Destroy()
  3294. --lb2:Destroy()
  3295. until HOLD == false
  3296. ATTACK = false
  3297. --Rooted = false
  3298. end
  3299.  
  3300.  
  3301. function AUGShoot()
  3302. ATTACK = true
  3303. --Rooted = false
  3304. for i=0, 0.25, 0.1 / Animation_Speed do
  3305. Swait()
  3306. turnto(Mouse.Hit.p)
  3307. --[[RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3308. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  3309. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3310. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3311. 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)
  3312. 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)
  3313. --]]
  3314. end
  3315. repeat
  3316. for i = 0,0.15,0.1 do
  3317. swait()
  3318. turnto(Mouse.Hit.p)
  3319. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3320. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  3321. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 1, 0.7) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  3322. LW.C0 = clerp(LW.C0, CFrame.new(-0.15, 0.5, -0.65) * angles(math.rad(90), math.rad(12), math.rad(50)), 0.3)
  3323. end
  3324. so("http://roblox.com/asset/?id=297606774",UGB,60,1)
  3325. --so("http://roblox.com/asset/?id=165946560",Flare2,60,1)
  3326. local lb = Instance.new("Part")
  3327. lb.Parent = char
  3328. lb.Material = "Neon"
  3329. lb.Color = BrickColor.new("New Yeller").Color
  3330. lb.CanCollide = false
  3331. lb.Shape = "Ball"
  3332. lb.CFrame = UGB.CFrame
  3333. lb.Anchored = true
  3334. lb.Transparency = 0
  3335. lb.Size = vt(0.45,1,0.45)
  3336. local thing = Instance.new("SpecialMesh",lb)
  3337. thing.MeshType = "Sphere"
  3338. --for i = 0, 1 do
  3339. --slash(10,5,true,"Round","Add","Out",GunPoint.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.002,0.01),math.random(5,25)/250,BrickColor.new("White"))
  3340. --end
  3341. -- + root.CFrame.lookVector*12
  3342. --sphere2(10,"Add",GunPoint.CFrame,vt(0.125,0.125,0.125),0.1,0.1,0.1,BrickColor.new("New Yeller"),Color3.new(1,1,0))
  3343. -- + root.CFrame.lookVector*12
  3344. local b = Instance.new("Part")
  3345. b.Parent = char
  3346. b.Material = "Neon"
  3347. b.Color = BrickColor.new("New Yeller").Color
  3348. b.CanCollide = false
  3349. b.Shape = "Ball"
  3350. b.CFrame = UGB.CFrame
  3351. b.Anchored = true
  3352. b.Transparency = 0
  3353. b.Size = vt(1,1,1)
  3354. local z = Instance.new("SpecialMesh",b)
  3355. z.MeshType = "Sphere"
  3356. local hitted = false
  3357. lb.Anchored = false
  3358. local bv = Instance.new("BodyVelocity")
  3359. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3360. bv.velocity = Mouse.Hit.lookVector *150
  3361. bv.Parent = lb
  3362. --[[
  3363. local lb2 = Instance.new("Part")
  3364. lb2.Parent = char
  3365. lb2.Material = "Neon"
  3366. lb2.Color = BrickColor.new("New Yeller").Color
  3367. lb2.CanCollide = false
  3368. lb2.Shape = "Ball"
  3369. lb2.CFrame = Flare2.CFrame
  3370. lb2.Anchored = true
  3371. lb2.Transparency = 0
  3372. lb2.Size = vt(0.6,0.6,0.6)
  3373. local thing = Instance.new("SpecialMesh",lb2)
  3374. thing.MeshType = "Sphere"
  3375. --for i = 0, 1 do
  3376. --slash(10,5,true,"Round","Add","Out",GunPoint.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.002,0.01),math.random(5,25)/250,BrickColor.new("White"))
  3377. --end
  3378. -- + root.CFrame.lookVector*12
  3379. --sphere2(10,"Add",GunPoint.CFrame,vt(0.125,0.125,0.125),0.1,0.1,0.1,BrickColor.new("New Yeller"),Color3.new(1,1,0))
  3380. -- + root.CFrame.lookVector*12
  3381. local b2 = Instance.new("Part")
  3382. b2.Parent = char
  3383. b2.Material = "Neon"
  3384. b2.Color = BrickColor.new("New Yeller").Color
  3385. b2.CanCollide = false
  3386. b2.Shape = "Ball"
  3387. b2.CFrame = Flare2.CFrame
  3388. b2.Anchored = true
  3389. b2.Transparency = 0
  3390. b2.Size = vt(1,1,1)
  3391. local z = Instance.new("SpecialMesh",b2)
  3392. z.MeshType = "Sphere"
  3393. --local hitted = false
  3394. lb2.Anchored = false
  3395. local bv2 = Instance.new("BodyVelocity")
  3396. bv2.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3397. bv2.velocity = Mouse.Hit.lookVector *150
  3398. bv2.Parent = lb2]]--
  3399. lb.Touched:connect(function(hit) Damagefunc(hit,12,43,math.random(10,20),"Normal",RootPart,.2,1) end)
  3400. --lb2.Touched:connect(function(hit) Damagefunc(hit,33,74,math.random(10,20),"Normal",RootPart,.2,1) end)
  3401. for i = 0,0.2,0.1 do
  3402. swait()
  3403. turnto(Mouse.Hit.p)
  3404. z.Scale = z.Scale + vt(0.1,0.1,0.1)
  3405. b.Transparency = b.Transparency + 0.05
  3406. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3407. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  3408. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 1, 0.2) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  3409. LW.C0 = clerp(LW.C0, CFrame.new(-0.15, 0.5, -0.15) * angles(math.rad(90), math.rad(12), math.rad(50)), 0.3)
  3410. end
  3411. game:GetService("Debris"):AddItem(lb, 19)
  3412. --game:GetService("Debris"):AddItem(lb2, 19)
  3413. game:GetService("Debris"):AddItem(bv, 20)
  3414. --game:GetService("Debris"):AddItem(bv2, 20)
  3415. b:Destroy()
  3416. --b2:Destroy()
  3417. --wait(10)
  3418. --lb:Destroy()
  3419. --lb2:Destroy()
  3420. until HOLD == false
  3421. ATTACK = false
  3422. --Rooted = false
  3423. end
  3424.  
  3425. function AEA()
  3426. ATTACK = true
  3427. --Rooted = false
  3428. for i=0, 0.25, 0.1 / Animation_Speed do
  3429. Swait()
  3430. turnto(Mouse.Hit.p)
  3431. --[[RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3432. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  3433. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3434. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3435. 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)
  3436. 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)
  3437. --]]
  3438. end
  3439. repeat
  3440. for i = 0,0.45,0.1 do
  3441. swait()
  3442. turnto(Mouse.Hit.p)
  3443. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3444. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  3445. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 1, 0.7) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  3446. LW.C0 = clerp(LW.C0, CFrame.new(-0.15, 0.5, -0.65) * angles(math.rad(90), math.rad(12), math.rad(50)), 0.3)
  3447. end
  3448. so("http://roblox.com/asset/?id=2550005685",EAE,60,1)
  3449. --so("http://roblox.com/asset/?id=165946560",Flare2,60,1)
  3450. local lb = Instance.new("Part")
  3451. lb.Parent = char
  3452. lb.Material = "Neon"
  3453. lb.Color = BrickColor.new("New Yeller").Color
  3454. lb.CanCollide = false
  3455. lb.Shape = "Ball"
  3456. lb.CFrame = EAE.CFrame
  3457. lb.Anchored = true
  3458. lb.Transparency = 0
  3459. lb.Size = vt(0.45,1,0.45)
  3460. local thing = Instance.new("SpecialMesh",lb)
  3461. thing.MeshType = "Sphere"
  3462. --for i = 0, 1 do
  3463. --slash(10,5,true,"Round","Add","Out",GunPoint.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.002,0.01),math.random(5,25)/250,BrickColor.new("White"))
  3464. --end
  3465. -- + root.CFrame.lookVector*12
  3466. --sphere2(10,"Add",GunPoint.CFrame,vt(0.125,0.125,0.125),0.1,0.1,0.1,BrickColor.new("New Yeller"),Color3.new(1,1,0))
  3467. -- + root.CFrame.lookVector*12
  3468. local b = Instance.new("Part")
  3469. b.Parent = char
  3470. b.Material = "Neon"
  3471. b.Color = BrickColor.new("New Yeller").Color
  3472. b.CanCollide = false
  3473. b.Shape = "Ball"
  3474. b.CFrame = EAE.CFrame
  3475. b.Anchored = true
  3476. b.Transparency = 0
  3477. b.Size = vt(1,1,1)
  3478. local z = Instance.new("SpecialMesh",b)
  3479. z.MeshType = "Sphere"
  3480. local hitted = false
  3481. lb.Anchored = false
  3482. local bv = Instance.new("BodyVelocity")
  3483. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3484. bv.velocity = Mouse.Hit.lookVector *150
  3485. bv.Parent = lb
  3486. --[[
  3487. local lb2 = Instance.new("Part")
  3488. lb2.Parent = char
  3489. lb2.Material = "Neon"
  3490. lb2.Color = BrickColor.new("New Yeller").Color
  3491. lb2.CanCollide = false
  3492. lb2.Shape = "Ball"
  3493. lb2.CFrame = Flare2.CFrame
  3494. lb2.Anchored = true
  3495. lb2.Transparency = 0
  3496. lb2.Size = vt(0.6,0.6,0.6)
  3497. local thing = Instance.new("SpecialMesh",lb2)
  3498. thing.MeshType = "Sphere"
  3499. --for i = 0, 1 do
  3500. --slash(10,5,true,"Round","Add","Out",GunPoint.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.002,0.01),math.random(5,25)/250,BrickColor.new("White"))
  3501. --end
  3502. -- + root.CFrame.lookVector*12
  3503. --sphere2(10,"Add",GunPoint.CFrame,vt(0.125,0.125,0.125),0.1,0.1,0.1,BrickColor.new("New Yeller"),Color3.new(1,1,0))
  3504. -- + root.CFrame.lookVector*12
  3505. local b2 = Instance.new("Part")
  3506. b2.Parent = char
  3507. b2.Material = "Neon"
  3508. b2.Color = BrickColor.new("New Yeller").Color
  3509. b2.CanCollide = false
  3510. b2.Shape = "Ball"
  3511. b2.CFrame = Flare2.CFrame
  3512. b2.Anchored = true
  3513. b2.Transparency = 0
  3514. b2.Size = vt(1,1,1)
  3515. local z = Instance.new("SpecialMesh",b2)
  3516. z.MeshType = "Sphere"
  3517. --local hitted = false
  3518. lb2.Anchored = false
  3519. local bv2 = Instance.new("BodyVelocity")
  3520. bv2.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3521. bv2.velocity = Mouse.Hit.lookVector *150
  3522. bv2.Parent = lb2]]--
  3523. lb.Touched:connect(function(hit) Damagefunc(hit,12,75,math.random(10,20),"Normal",RootPart,.2,1) end)
  3524. --lb2.Touched:connect(function(hit) Damagefunc(hit,33,74,math.random(10,20),"Normal",RootPart,.2,1) end)
  3525. for i = 0,0.525,0.1 do
  3526. swait()
  3527. turnto(Mouse.Hit.p)
  3528. z.Scale = z.Scale + vt(0.1,0.1,0.1)
  3529. b.Transparency = b.Transparency + 0.05
  3530. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3531. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  3532. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 1, 0.2) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  3533. LW.C0 = clerp(LW.C0, CFrame.new(-0.15, 0.5, -0.15) * angles(math.rad(90), math.rad(12), math.rad(50)), 0.3)
  3534. end
  3535. game:GetService("Debris"):AddItem(lb, 19)
  3536. --game:GetService("Debris"):AddItem(lb2, 19)
  3537. game:GetService("Debris"):AddItem(bv, 20)
  3538. --game:GetService("Debris"):AddItem(bv2, 20)
  3539. b:Destroy()
  3540. --b2:Destroy()
  3541. --wait(10)
  3542. --lb:Destroy()
  3543. --lb2:Destroy()
  3544. until HOLD == false
  3545. ATTACK = false
  3546. --Rooted = false
  3547. end
  3548.  
  3549. function AKS()
  3550. ATTACK = true
  3551. --Rooted = false
  3552. for i=0, 0.25, 0.1 / Animation_Speed do
  3553. Swait()
  3554. turnto(Mouse.Hit.p)
  3555. --[[RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3556. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  3557. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3558. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3559. 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)
  3560. 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)
  3561. --]]
  3562. end
  3563. repeat
  3564. for i = 0,0.15,0.1 do
  3565. swait()
  3566. turnto(Mouse.Hit.p)
  3567. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3568. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  3569. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 1, 0.7) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  3570. LW.C0 = clerp(LW.C0, CFrame.new(-0.15, 0.5, -0.65) * angles(math.rad(90), math.rad(12), math.rad(50)), 0.3)
  3571. end
  3572. so("http://roblox.com/asset/?id=168436671",AH,60,1)
  3573. --so("http://roblox.com/asset/?id=165946560",Flare2,60,1)
  3574. local lb = Instance.new("Part")
  3575. lb.Parent = char
  3576. lb.Material = "Neon"
  3577. lb.Color = BrickColor.new("New Yeller").Color
  3578. lb.CanCollide = false
  3579. lb.Shape = "Ball"
  3580. lb.CFrame = AH.CFrame
  3581. lb.Anchored = true
  3582. lb.Transparency = 0
  3583. lb.Size = vt(0.45,1,0.45)
  3584. local thing = Instance.new("SpecialMesh",lb)
  3585. thing.MeshType = "Sphere"
  3586. --for i = 0, 1 do
  3587. --slash(10,5,true,"Round","Add","Out",GunPoint.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.002,0.01),math.random(5,25)/250,BrickColor.new("White"))
  3588. --end
  3589. -- + root.CFrame.lookVector*12
  3590. --sphere2(10,"Add",GunPoint.CFrame,vt(0.125,0.125,0.125),0.1,0.1,0.1,BrickColor.new("New Yeller"),Color3.new(1,1,0))
  3591. -- + root.CFrame.lookVector*12
  3592. local b = Instance.new("Part")
  3593. b.Parent = char
  3594. b.Material = "Neon"
  3595. b.Color = BrickColor.new("New Yeller").Color
  3596. b.CanCollide = false
  3597. b.Shape = "Ball"
  3598. b.CFrame = AH.CFrame
  3599. b.Anchored = true
  3600. b.Transparency = 0
  3601. b.Size = vt(1,1,1)
  3602. local z = Instance.new("SpecialMesh",b)
  3603. z.MeshType = "Sphere"
  3604. local hitted = false
  3605. lb.Anchored = false
  3606. local bv = Instance.new("BodyVelocity")
  3607. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3608. bv.velocity = Mouse.Hit.lookVector *150
  3609. bv.Parent = lb
  3610. --[[
  3611. local lb2 = Instance.new("Part")
  3612. lb2.Parent = char
  3613. lb2.Material = "Neon"
  3614. lb2.Color = BrickColor.new("New Yeller").Color
  3615. lb2.CanCollide = false
  3616. lb2.Shape = "Ball"
  3617. lb2.CFrame = Flare2.CFrame
  3618. lb2.Anchored = true
  3619. lb2.Transparency = 0
  3620. lb2.Size = vt(0.6,0.6,0.6)
  3621. local thing = Instance.new("SpecialMesh",lb2)
  3622. thing.MeshType = "Sphere"
  3623. --for i = 0, 1 do
  3624. --slash(10,5,true,"Round","Add","Out",GunPoint.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.002,0.01),math.random(5,25)/250,BrickColor.new("White"))
  3625. --end
  3626. -- + root.CFrame.lookVector*12
  3627. --sphere2(10,"Add",GunPoint.CFrame,vt(0.125,0.125,0.125),0.1,0.1,0.1,BrickColor.new("New Yeller"),Color3.new(1,1,0))
  3628. -- + root.CFrame.lookVector*12
  3629. local b2 = Instance.new("Part")
  3630. b2.Parent = char
  3631. b2.Material = "Neon"
  3632. b2.Color = BrickColor.new("New Yeller").Color
  3633. b2.CanCollide = false
  3634. b2.Shape = "Ball"
  3635. b2.CFrame = Flare2.CFrame
  3636. b2.Anchored = true
  3637. b2.Transparency = 0
  3638. b2.Size = vt(1,1,1)
  3639. local z = Instance.new("SpecialMesh",b2)
  3640. z.MeshType = "Sphere"
  3641. --local hitted = false
  3642. lb2.Anchored = false
  3643. local bv2 = Instance.new("BodyVelocity")
  3644. bv2.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3645. bv2.velocity = Mouse.Hit.lookVector *150
  3646. bv2.Parent = lb2]]--
  3647. lb.Touched:connect(function(hit) Damagefunc(hit,12,75,math.random(10,20),"Normal",RootPart,.2,1) end)
  3648. --lb2.Touched:connect(function(hit) Damagefunc(hit,33,74,math.random(10,20),"Normal",RootPart,.2,1) end)
  3649. for i = 0,0.2,0.1 do
  3650. swait()
  3651. turnto(Mouse.Hit.p)
  3652. z.Scale = z.Scale + vt(0.1,0.1,0.1)
  3653. b.Transparency = b.Transparency + 0.05
  3654. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3655. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  3656. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 1, 0.2) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  3657. LW.C0 = clerp(LW.C0, CFrame.new(-0.15, 0.5, -0.15) * angles(math.rad(90), math.rad(12), math.rad(50)), 0.3)
  3658. end
  3659. game:GetService("Debris"):AddItem(lb, 19)
  3660. --game:GetService("Debris"):AddItem(lb2, 19)
  3661. game:GetService("Debris"):AddItem(bv, 20)
  3662. --game:GetService("Debris"):AddItem(bv2, 20)
  3663. b:Destroy()
  3664. --b2:Destroy()
  3665. --wait(10)
  3666. --lb:Destroy()
  3667. --lb2:Destroy()
  3668. until HOLD == false
  3669. ATTACK = false
  3670. --Rooted = false
  3671. end
  3672. function nearTorso(pos, dis)
  3673. local temp
  3674. local distance=dis
  3675. for i, v in pairs(workspace:children()) do
  3676. if v:isA("Model") then
  3677. temp=v:findFirstChild("Torso")
  3678. local humanoid=v:findFirstChild("Humanoid")
  3679. if temp and humanoid and v~=char and (temp.CFrame.p-pos).magnitude<distance then
  3680. distance=(temp.CFrame.p-pos).magnitude
  3681. return temp
  3682. end
  3683. end
  3684. end
  3685. end
  3686.  
  3687. function CRITICAL(port)
  3688. local sur = Instance.new("BillboardGui", port)
  3689. sur.Name = "BillboardGui"
  3690. sur.Adornee = port
  3691. sur.Size = UDim2.new(10, 0, 5, 0)
  3692. sur.StudsOffset = Vector3.new(0, 5, 0)
  3693. local text = Instance.new("TextLabel", sur)
  3694. text.Text = "CRITICAL!"
  3695. text.Size = UDim2.new(1, 0, 1, 0)
  3696. text.TextScaled = true
  3697. text.BackgroundTransparency = 1
  3698. text.Font = Enum.Font.SourceSansLight
  3699. text.TextColor3 = Color3.new(1, 1, 1)
  3700. text.TextStrokeColor3 = BrickColor.new("Lime green").Color
  3701. text.TextStrokeTransparency = 0
  3702. game.Debris:AddItem(sur, 2.5)
  3703. end
  3704.  
  3705. function Damagefunc2(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  3706. if hit.Parent == nil then
  3707. return
  3708. end
  3709. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  3710. for _, v in pairs(hit.Parent:children()) do
  3711. if v:IsA("Humanoid") then
  3712. h = v
  3713. end
  3714. end
  3715. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  3716. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  3717. return
  3718. end
  3719. if HitSound ~= nil and HitPitch ~= nil then
  3720. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  3721. end
  3722. local Damage = math.random(minim, maxim)
  3723. if Damage > 70 then
  3724. local hedhit = h.Parent:FindFirstChild("Head")
  3725. CRITICAL(hedhit)
  3726. end
  3727. local blocked = false
  3728. local block = hit.Parent:findFirstChild("Block")
  3729. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  3730. blocked = true
  3731. block.Value = block.Value - 1
  3732. print(block.Value)
  3733. end
  3734. if blocked == false then
  3735. HitHealth = h.Health
  3736. h.MaxHealth = 100
  3737. h.Health = h.Health - Damage
  3738. local nTorso=nearTorso(Torso.CFrame.p, 3)
  3739. if nTorso then
  3740. local offSet=nTorso.CFrame:toObjectSpace(Torso.CFrame)
  3741. if offSet.z>0 then
  3742. h.Health = h.Health - Damage*MRANDOM(180,560)
  3743. h.MaxHealth = 0
  3744. h.Health = 0
  3745. local hedhit = h.Parent:FindFirstChild("Head")
  3746. if hedhit then
  3747. BACKSTAB(hedhit)
  3748. end
  3749. end
  3750. end
  3751. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  3752. print("gained kill")
  3753. -- dmg(h.Parent)
  3754. end
  3755. else
  3756. h.Health = h.Health - Damage / 2
  3757. end
  3758. if h.Health < 1 then
  3759. dominate = Instance.new("Sound",hit) dominate.Volume = 1 dominate.SoundId = "rbxassetid://506469418" dominate:Play()
  3760. end
  3761. if Type == "Knockdown" then
  3762. local hum = hit.Parent.Humanoid
  3763. hum.PlatformStand = true
  3764. coroutine.resume(coroutine.create(function(HHumanoid)
  3765. swait(1)
  3766. HHumanoid.PlatformStand = false
  3767. end), hum)
  3768. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  3769. local bodvol = Create("BodyVelocity")({
  3770. velocity = angle * knockback,
  3771. P = 5000,
  3772. maxForce = Vector3.new(8000, 8000, 8000),
  3773. Parent = hit
  3774. })
  3775. local rl = Create("BodyAngularVelocity")({
  3776. P = 3000,
  3777. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  3778. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  3779. Parent = hit
  3780. })
  3781. game:GetService("Debris"):AddItem(bodvol, 0.5)
  3782. game:GetService("Debris"):AddItem(rl, 0.5)
  3783. elseif Type == "Normal" then
  3784. local vp = Create("BodyVelocity")({
  3785. P = 500,
  3786. maxForce = Vector3.new(math.huge, 0, math.huge),
  3787. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  3788. })
  3789. if knockback > 0 then
  3790. vp.Parent = hit.Parent.Head
  3791. end
  3792. game:GetService("Debris"):AddItem(vp, 0.5)
  3793. elseif Type == "Up" then
  3794. local bodyVelocity = Create("BodyVelocity")({
  3795. velocity = Vector3.new(0, 20, 0),
  3796. P = 5000,
  3797. maxForce = Vector3.new(8000, 8000, 8000),
  3798. Parent = hit
  3799. })
  3800. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  3801. local bodyVelocity = Create("BodyVelocity")({
  3802. velocity = Vector3.new(0, 20, 0),
  3803. P = 5000,
  3804. maxForce = Vector3.new(8000, 8000, 8000),
  3805. Parent = hit
  3806. })
  3807. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  3808. elseif Type == "Leech" then
  3809. local hum = hit.Parent.Humanoid
  3810. if hum ~= nil then
  3811. for i = 0, 2 do
  3812. Effects.Sphere.Create(BrickColor.new("Bright red"), hit.Parent.Torso.CFrame * cn(0, 0, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
  3813. end
  3814. Humanoid.Health = Humanoid.Health + 10
  3815. end
  3816. elseif Type == "UpKnock" then
  3817. local hum = hit.Parent.Humanoid
  3818. hum.PlatformStand = true
  3819. if hum ~= nil then
  3820. hitr = true
  3821. end
  3822. coroutine.resume(coroutine.create(function(HHumanoid)
  3823. swait(5)
  3824. HHumanoid.PlatformStand = false
  3825. hitr = false
  3826. end), hum)
  3827. local bodyVelocity = Create("BodyVelocity")({
  3828. velocity = Vector3.new(0, 20, 0),
  3829. P = 5000,
  3830. maxForce = Vector3.new(8000, 8000, 8000),
  3831. Parent = hit
  3832. })
  3833. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  3834. local bodyVelocity = Create("BodyVelocity")({
  3835. velocity = Vector3.new(0, 20, 0),
  3836. P = 5000,
  3837. maxForce = Vector3.new(8000, 8000, 8000),
  3838. Parent = hit
  3839. })
  3840. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  3841. elseif Type == "Snare" then
  3842. local bp = Create("BodyPosition")({
  3843. P = 2000,
  3844. D = 100,
  3845. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  3846. position = hit.Parent.Torso.Position,
  3847. Parent = hit.Parent.Torso
  3848. })
  3849. game:GetService("Debris"):AddItem(bp, 1)
  3850. elseif Type == "Slashnare" then
  3851. Effects.Block.Create(BrickColor.new("Pastel Blue"), hit.Parent.Torso.CFrame * cn(0, 0, 0), 15*4, 15*4, 15*4, 3*4, 3*4, 3*4, 0.07)
  3852. for i = 1, math.random(4, 5) do
  3853. Effects.Sphere.Create(BrickColor.new("Teal"), hit.Parent.Torso.CFrame * cn(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
  3854. end
  3855. local bp = Create("BodyPosition")({
  3856. P = 2000,
  3857. D = 100,
  3858. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  3859. position = hit.Parent.Torso.Position,
  3860. Parent = hit.Parent.Torso
  3861. })
  3862. game:GetService("Debris"):AddItem(bp, 1)
  3863. elseif Type == "Spike" then
  3864. --CreateBigIceSword(hit.Parent.Torso.CFrame)
  3865. local bp = Create("BodyPosition")({
  3866. P = 2000,
  3867. D = 100,
  3868. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  3869. position = hit.Parent.Torso.Position,
  3870. Parent = hit.Parent.Torso
  3871. })
  3872. game:GetService("Debris"):AddItem(bp, 1)
  3873. elseif Type == "Freeze" then
  3874. local BodPos = Create("BodyPosition")({
  3875. P = 50000,
  3876. D = 1000,
  3877. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  3878. position = hit.Parent.Torso.Position,
  3879. Parent = hit.Parent.Torso
  3880. })
  3881. local BodGy = Create("BodyGyro")({
  3882. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  3883. P = 20000,
  3884. Parent = hit.Parent.Torso,
  3885. cframe = hit.Parent.Torso.CFrame
  3886. })
  3887. hit.Parent.Torso.Anchored = true
  3888. coroutine.resume(coroutine.create(function(Part)
  3889. swait(1.5)
  3890. Part.Anchored = false
  3891. end), hit.Parent.Torso)
  3892. game:GetService("Debris"):AddItem(BodPos, 3)
  3893. game:GetService("Debris"):AddItem(BodGy, 3)
  3894. end
  3895. local debounce = Create("BoolValue")({
  3896. Name = "DebounceHit",
  3897. Parent = hit.Parent,
  3898. Value = true
  3899. })
  3900. game:GetService("Debris"):AddItem(debounce, Delay)
  3901. end
  3902. end
  3903.  
  3904. function BACKSTAB(port)
  3905. local sur = Instance.new("BillboardGui", port)
  3906. sur.Name = "BillboardGui"
  3907. sur.Adornee = port
  3908. sur.Size = UDim2.new(10, 0, 5, 0)
  3909. sur.StudsOffset = Vector3.new(0, 5, 0)
  3910. local text = Instance.new("TextLabel", sur)
  3911. text.Text = "BACKSTAB!"
  3912. text.Size = UDim2.new(1, 0, 1, 0)
  3913. text.TextScaled = true
  3914. text.BackgroundTransparency = 1
  3915. text.Font = Enum.Font.SourceSansLight
  3916. text.TextColor3 = Color3.new(1, 1, 1)
  3917. text.TextStrokeColor3 = BrickColor.new("Lime green").Color
  3918. text.TextStrokeTransparency = 0
  3919. game.Debris:AddItem(sur, 2.5)
  3920. end
  3921.  
  3922. function Damagefunc3(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  3923. if hit.Parent == nil then
  3924. return
  3925. end
  3926. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  3927. for _, v in pairs(hit.Parent:children()) do
  3928. if v:IsA("Humanoid") then
  3929. h = v
  3930. end
  3931. end
  3932. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  3933. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  3934. return
  3935. end
  3936. if HitSound ~= nil and HitPitch ~= nil then
  3937. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  3938. end
  3939. local Damage = math.random(minim, maxim)
  3940. local hedhit = h.Parent:FindFirstChild("Head")
  3941. BACKSTAB(hedhit)
  3942. local blocked = false
  3943. local block = hit.Parent:findFirstChild("Block")
  3944. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  3945. blocked = true
  3946. block.Value = block.Value - 1
  3947. print(block.Value)
  3948. end
  3949. if blocked == false then
  3950. HitHealth = h.Health
  3951. h.MaxHealth = 100
  3952. h.Health = h.Health - Damage
  3953. local nTorso=nearTorso(Torso.CFrame.p, 3)
  3954. if nTorso then
  3955. local offSet=nTorso.CFrame:toObjectSpace(Torso.CFrame)
  3956. if offSet.z>0 then
  3957. h.Health = h.Health - Damage*MRANDOM(180,560)
  3958. end
  3959. end
  3960. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  3961. print("gained kill")
  3962. -- dmg(h.Parent)
  3963. end
  3964. else
  3965. h.Health = h.Health - Damage / 2
  3966. end
  3967. if h.Health < 1 then
  3968. dominate = Instance.new("Sound",hit) dominate.Volume = 1 dominate.SoundId = "rbxassetid://506469418" dominate:Play()
  3969. end
  3970. if Type == "Knockdown" then
  3971. local hum = hit.Parent.Humanoid
  3972. hum.PlatformStand = true
  3973. coroutine.resume(coroutine.create(function(HHumanoid)
  3974. swait(1)
  3975. HHumanoid.PlatformStand = false
  3976. end), hum)
  3977. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  3978. local bodvol = Create("BodyVelocity")({
  3979. velocity = angle * knockback,
  3980. P = 5000,
  3981. maxForce = Vector3.new(8000, 8000, 8000),
  3982. Parent = hit
  3983. })
  3984. local rl = Create("BodyAngularVelocity")({
  3985. P = 3000,
  3986. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  3987. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  3988. Parent = hit
  3989. })
  3990. game:GetService("Debris"):AddItem(bodvol, 0.5)
  3991. game:GetService("Debris"):AddItem(rl, 0.5)
  3992. elseif Type == "Normal" then
  3993. local vp = Create("BodyVelocity")({
  3994. P = 500,
  3995. maxForce = Vector3.new(math.huge, 0, math.huge),
  3996. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  3997. })
  3998. if knockback > 0 then
  3999. vp.Parent = hit.Parent.Head
  4000. end
  4001. game:GetService("Debris"):AddItem(vp, 0.5)
  4002. elseif Type == "Up" then
  4003. local bodyVelocity = Create("BodyVelocity")({
  4004. velocity = Vector3.new(0, 20, 0),
  4005. P = 5000,
  4006. maxForce = Vector3.new(8000, 8000, 8000),
  4007. Parent = hit
  4008. })
  4009. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  4010. local bodyVelocity = Create("BodyVelocity")({
  4011. velocity = Vector3.new(0, 20, 0),
  4012. P = 5000,
  4013. maxForce = Vector3.new(8000, 8000, 8000),
  4014. Parent = hit
  4015. })
  4016. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  4017. elseif Type == "Leech" then
  4018. local hum = hit.Parent.Humanoid
  4019. if hum ~= nil then
  4020. for i = 0, 2 do
  4021. Effects.Sphere.Create(BrickColor.new("Bright red"), hit.Parent.Torso.CFrame * cn(0, 0, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
  4022. end
  4023. Humanoid.Health = Humanoid.Health + 10
  4024. end
  4025. elseif Type == "UpKnock" then
  4026. local hum = hit.Parent.Humanoid
  4027. hum.PlatformStand = true
  4028. if hum ~= nil then
  4029. hitr = true
  4030. end
  4031. coroutine.resume(coroutine.create(function(HHumanoid)
  4032. swait(5)
  4033. HHumanoid.PlatformStand = false
  4034. hitr = false
  4035. end), hum)
  4036. local bodyVelocity = Create("BodyVelocity")({
  4037. velocity = Vector3.new(0, 20, 0),
  4038. P = 5000,
  4039. maxForce = Vector3.new(8000, 8000, 8000),
  4040. Parent = hit
  4041. })
  4042. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  4043. local bodyVelocity = Create("BodyVelocity")({
  4044. velocity = Vector3.new(0, 20, 0),
  4045. P = 5000,
  4046. maxForce = Vector3.new(8000, 8000, 8000),
  4047. Parent = hit
  4048. })
  4049. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  4050. elseif Type == "Snare" then
  4051. local bp = Create("BodyPosition")({
  4052. P = 2000,
  4053. D = 100,
  4054. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  4055. position = hit.Parent.Torso.Position,
  4056. Parent = hit.Parent.Torso
  4057. })
  4058. game:GetService("Debris"):AddItem(bp, 1)
  4059. elseif Type == "Slashnare" then
  4060. Effects.Block.Create(BrickColor.new("Pastel Blue"), hit.Parent.Torso.CFrame * cn(0, 0, 0), 15*4, 15*4, 15*4, 3*4, 3*4, 3*4, 0.07)
  4061. for i = 1, math.random(4, 5) do
  4062. Effects.Sphere.Create(BrickColor.new("Teal"), hit.Parent.Torso.CFrame * cn(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
  4063. end
  4064. local bp = Create("BodyPosition")({
  4065. P = 2000,
  4066. D = 100,
  4067. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  4068. position = hit.Parent.Torso.Position,
  4069. Parent = hit.Parent.Torso
  4070. })
  4071. game:GetService("Debris"):AddItem(bp, 1)
  4072. elseif Type == "Spike" then
  4073. --CreateBigIceSword(hit.Parent.Torso.CFrame)
  4074. local bp = Create("BodyPosition")({
  4075. P = 2000,
  4076. D = 100,
  4077. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  4078. position = hit.Parent.Torso.Position,
  4079. Parent = hit.Parent.Torso
  4080. })
  4081. game:GetService("Debris"):AddItem(bp, 1)
  4082. elseif Type == "Freeze" then
  4083. local BodPos = Create("BodyPosition")({
  4084. P = 50000,
  4085. D = 1000,
  4086. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  4087. position = hit.Parent.Torso.Position,
  4088. Parent = hit.Parent.Torso
  4089. })
  4090. local BodGy = Create("BodyGyro")({
  4091. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  4092. P = 20000,
  4093. Parent = hit.Parent.Torso,
  4094. cframe = hit.Parent.Torso.CFrame
  4095. })
  4096. hit.Parent.Torso.Anchored = true
  4097. coroutine.resume(coroutine.create(function(Part)
  4098. swait(1.5)
  4099. Part.Anchored = false
  4100. end), hit.Parent.Torso)
  4101. game:GetService("Debris"):AddItem(BodPos, 3)
  4102. game:GetService("Debris"):AddItem(BodGy, 3)
  4103. end
  4104. local debounce = Create("BoolValue")({
  4105. Name = "DebounceHit",
  4106. Parent = hit.Parent,
  4107. Value = true
  4108. })
  4109. game:GetService("Debris"):AddItem(debounce, Delay)
  4110. end
  4111. end
  4112. function ShowDamage(Pos, Text, Time, Color)
  4113. local Rate = 0.03333333333333333
  4114. local Pos = Pos or Vector3.new(0, 0, 0)
  4115. local Text = Text or ""
  4116. local Time = Time or 2
  4117. local Color = Color or Color3.new(1, 0, 1)
  4118. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  4119. EffectPart.Anchored = true
  4120. local BillboardGui = Create("BillboardGui")({
  4121. Size = UDim2.new(3, 0, 3, 0),
  4122. Adornee = EffectPart,
  4123. Parent = EffectPart
  4124. })
  4125. local TextLabel = Create("TextLabel")({
  4126. BackgroundTransparency = 1,
  4127. Size = UDim2.new(1, 0, 1, 0),
  4128. Text = Text,
  4129. TextColor3 = Color,
  4130. TextScaled = true,
  4131. Font = Enum.Font.ArialBold,
  4132. Parent = BillboardGui
  4133. })
  4134. game.Debris:AddItem(EffectPart, Time + 0.1)
  4135. EffectPart.Parent = game:GetService("Workspace")
  4136. delay(0, function()
  4137. local Frames = Time / Rate
  4138. for Frame = 1, Frames do
  4139. wait(Rate)
  4140. local Percent = Frame / Frames
  4141. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  4142. TextLabel.TextTransparency = Percent
  4143. end
  4144. if EffectPart and EffectPart.Parent then
  4145. EffectPart:Destroy()
  4146. end
  4147. end)
  4148. end
  4149. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  4150. for _, c in pairs(workspace:children()) do
  4151. local hum = c:findFirstChildOfClass("Humanoid")
  4152. if hum ~= nil then
  4153. local head = c:findFirstChild("Head")
  4154. if head ~= nil then
  4155. local targ = head.Position - Part.Position
  4156. local mag = targ.magnitude
  4157. if magni >= mag and c.Name ~= Player.Name then
  4158. Damagefunc2(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://0", 1)
  4159. end
  4160. end
  4161. end
  4162. end
  4163. end
  4164.  
  4165. function BackstabDamage(Part, magni, mindam, maxdam, knock, Type)
  4166. for _, c in pairs(workspace:children()) do
  4167. local hum = c:findFirstChildOfClass("Humanoid")
  4168. if hum ~= nil then
  4169. local head = c:findFirstChild("Head")
  4170. if head ~= nil then
  4171. local targ = head.Position - Part.Position
  4172. local mag = targ.magnitude
  4173. if magni >= mag and c.Name ~= Player.Name then
  4174. Damagefunc3(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://0", 1)
  4175. end
  4176. end
  4177. end
  4178. end
  4179. end
  4180.  
  4181. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  4182. for _, c in pairs(workspace:children()) do
  4183. local hum = c:findFirstChild("Humanoid")
  4184. if hum ~= nil then
  4185. local head = c:findFirstChild("Torso")
  4186. if head ~= nil then
  4187. local targ = head.Position - Part.Position
  4188. local mag = targ.magnitude
  4189. if magni >= mag and c.Name ~= Player.Name then
  4190. --MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  4191. Damagefunc2(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  4192. end
  4193. end
  4194. end
  4195. end
  4196. end
  4197.  
  4198. function attackone()
  4199. ATTACK = true
  4200. CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1.1)
  4201. for i = 0,1,0.25 do
  4202. swait()
  4203. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-90)),1)
  4204. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(50)),1)
  4205. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(100)),1)
  4206. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)),1)
  4207. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0)),1)
  4208. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),1)
  4209. end
  4210. local hitb = Instance.new("Part", char)
  4211. hitb.Anchored = true
  4212. hitb.CanCollide = false
  4213. hitb.FormFactor = 3
  4214. hitb.Name = "Ring"
  4215. hitb.Material = "Neon"
  4216. hitb.Size = Vector3.new(1, 1, 1)
  4217. hitb.Transparency = 1
  4218. hitb.TopSurface = 0
  4219. hitb.BottomSurface = 0
  4220. hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
  4221. MagniDamage(hitb, 3, 12,32, 0, "Normal")
  4222. hitb:Destroy()
  4223. for i = 0,1,0.5 do
  4224. swait()
  4225. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.5)
  4226. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-80)),0.5)
  4227. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.5)
  4228. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.5)
  4229. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(0)),0.5)
  4230. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),0.5)
  4231. end
  4232. ATTACK = false
  4233. end
  4234.  
  4235. function attacktwo()
  4236. ATTACK = true
  4237. CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1.1)
  4238. for i=0,1,.25 do
  4239. swait()
  4240. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.5)
  4241. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-90)),0.5)
  4242. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.5)
  4243. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.5)
  4244. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(40),math.rad(0)),0.4)
  4245. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-140),math.rad(-10)),0.5)
  4246. end
  4247. local hitb = Instance.new("Part", char)
  4248. hitb.Anchored = true
  4249. hitb.CanCollide = false
  4250. hitb.FormFactor = 3
  4251. hitb.Name = "Ring"
  4252. hitb.Material = "Neon"
  4253. hitb.Size = Vector3.new(1, 1, 1)
  4254. hitb.Transparency = 1
  4255. hitb.TopSurface = 0
  4256. hitb.BottomSurface = 0
  4257. hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
  4258. MagniDamage(hitb, 3, 10,32, 0, "Normal")
  4259. hitb:Destroy()
  4260. for i = 0,1,0.5 do
  4261. swait()
  4262. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-90)),0.5)
  4263. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(90)),0.5)
  4264. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(90)),0.5)
  4265. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)),0.5)
  4266. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(140),math.rad(0)),0.5)
  4267. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-40),math.rad(-10)),0.5)
  4268. end
  4269. ATTACK = false
  4270. end
  4271.  
  4272. function attackthree()
  4273. ATTACK = true
  4274. CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1.1)
  4275. for i = 0,1,0.25 do
  4276. swait()
  4277. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-90)),1)
  4278. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(50)),1)
  4279. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(100)),1)
  4280. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)),1)
  4281. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0)),1)
  4282. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),1)
  4283. end
  4284. local hitb = Instance.new("Part", char)
  4285. hitb.Anchored = true
  4286. hitb.CanCollide = false
  4287. hitb.FormFactor = 3
  4288. hitb.Name = "Ring"
  4289. hitb.Material = "Neon"
  4290. hitb.Size = Vector3.new(1, 1, 1)
  4291. hitb.Transparency = 1
  4292. hitb.TopSurface = 0
  4293. hitb.BottomSurface = 0
  4294. hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
  4295. BackstabDamage(hitb, 3, 1000,1000, 0, "Normal")
  4296. hitb:Destroy()
  4297. for i = 0,1,0.5 do
  4298. swait()
  4299. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.5)
  4300. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-80)),0.5)
  4301. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.5)
  4302. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.5)
  4303. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(0)),0.5)
  4304. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),0.5)
  4305. end
  4306. ATTACK = false
  4307. end
  4308.  
  4309. function attackfour()
  4310. ATTACK = true
  4311. CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1.1)
  4312. for i=0,1,.25 do
  4313. swait()
  4314. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.5)
  4315. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-90)),0.5)
  4316. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.5)
  4317. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.5)
  4318. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(40),math.rad(0)),0.4)
  4319. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-140),math.rad(-10)),0.5)
  4320. end
  4321. local hitb = Instance.new("Part", char)
  4322. hitb.Anchored = true
  4323. hitb.CanCollide = false
  4324. hitb.FormFactor = 3
  4325. hitb.Name = "Ring"
  4326. hitb.Material = "Neon"
  4327. hitb.Size = Vector3.new(1, 1, 1)
  4328. hitb.Transparency = 1
  4329. hitb.TopSurface = 0
  4330. hitb.BottomSurface = 0
  4331. hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
  4332. BackstabDamage(hitb, 3, 1000,1000, 0, "Normal")
  4333. hitb:Destroy()
  4334. for i = 0,1,0.5 do
  4335. swait()
  4336. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-90)),0.5)
  4337. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(90)),0.5)
  4338. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(90)),0.5)
  4339. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)),0.5)
  4340. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(140),math.rad(0)),0.5)
  4341. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-40),math.rad(-10)),0.5)
  4342. end
  4343. ATTACK = false
  4344. end
  4345.  
  4346. local attacktype = 1
  4347. local COMBO = false
  4348. function stab()
  4349. if attacktype==1 and ATTACK==false and COMBO == false then
  4350. attacktype=2
  4351. COMBO = true
  4352. attackone()
  4353. COMBO = false
  4354. elseif attacktype==2 and ATTACK==false and COMBO == false then
  4355. attacktype=1
  4356. COMBO = true
  4357. attacktwo()
  4358. COMBO = false
  4359. end
  4360. end
  4361.  
  4362. function stab2()
  4363. if attacktype==1 and ATTACK==false and COMBO == false then
  4364. attacktype=2
  4365. COMBO = true
  4366. attackthree()
  4367. COMBO = false
  4368. elseif attacktype==2 and ATTACK==false and COMBO == false then
  4369. attacktype=1
  4370. COMBO = true
  4371. attackfour()
  4372. COMBO = false
  4373. end
  4374. end
  4375.  
  4376. Ne = Torso.Neck
  4377. local Ammo = 1000
  4378. local Depleted = false
  4379. function rayCast(Pos, Dir, Max, Ignore)
  4380. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  4381. end
  4382.  
  4383. function DamageASD(hit, damage, cooldown, Color1, Color2, HSound, HPitch)
  4384. for i, v in pairs(hit:GetChildren()) do
  4385. if v:IsA("Humanoid") and hit.Name ~= Character.Name then
  4386. local find = v:FindFirstChild("Hitz")
  4387. if not find then
  4388. if v.Parent:findFirstChild("Head") then
  4389. local BillG = Create("BillboardGui"){
  4390. Parent = v.Parent.Head,
  4391. Size = UDim2.new(1, 0, 1, 0),
  4392. Adornee = v.Parent.Head,
  4393. StudsOffset = Vector3.new(math.random(-3, 3), math.random(3, 5), math.random(-3, 3)),
  4394. }
  4395. local TL = Create("TextLabel"){
  4396. Parent = BillG,
  4397. Size = UDim2.new(3, 3, 3, 3),
  4398. BackgroundTransparency = 1,
  4399. Text = tostring(damage).."-",
  4400. TextColor3 = Color1.Color,
  4401. TextStrokeColor3 = Color2.Color,
  4402. TextStrokeTransparency = 0,
  4403. TextXAlignment = Enum.TextXAlignment.Center,
  4404. TextYAlignment = Enum.TextYAlignment.Center,
  4405. FontSize = Enum.FontSize.Size18,
  4406. Font = "SciFi",
  4407. }
  4408. coroutine.resume(coroutine.create(function()
  4409. wait(1)
  4410. for i = 0, 1, .1 do
  4411. wait(.1)
  4412. BillG.StudsOffset = BillG.StudsOffset + Vector3.new(0, .1, 0)
  4413. end
  4414. BillG:Destroy()
  4415. end))
  4416. end
  4417. v.Health = v.Health - damage
  4418. local bool = Create("BoolValue"){
  4419. Parent = v,
  4420. Name = 'Hitz',
  4421. }
  4422. if HSound ~= nil and HPitch ~= nil then
  4423. CreateSound(HSound, hit, 1, HPitch)
  4424. end
  4425. game:GetService("Debris"):AddItem(bool, cooldown)
  4426. end
  4427. end
  4428. end
  4429. end
  4430.  
  4431. function MagnitudeDamageB(Part, magni, mindam, maxdam, Color1, Color2, HitSound)
  4432. for _, c in pairs(workspace:children()) do
  4433. local hum = c:findFirstChild("Humanoid")
  4434. if hum ~= nil then
  4435. local head = c:findFirstChild("Torso")
  4436. if head ~= nil then
  4437. local targ = head.Position - Part.Position
  4438. local mag = targ.magnitude
  4439. if mag <= magni and c.Name ~= Player.Name then
  4440. DamageASD(head.Parent, math.random(mindam, maxdam), 0, Color1, Color2, HitSound, 1)
  4441. end
  4442. end
  4443. end
  4444. end
  4445. end
  4446. Effects2 = { }
  4447. function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  4448. local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  4449. prt.Anchored = true
  4450. prt.CFrame = cframe
  4451. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  4452. game:GetService("Debris"):AddItem(prt, 2)
  4453. Effects2[#Effects2 + 1] = {
  4454. prt,
  4455. "Cylinder",
  4456. delay,
  4457. x3,
  4458. y3,
  4459. z3
  4460. }
  4461. end
  4462. function Shoot(asd, spread1, spread2)
  4463. local MainPos = asd.Position
  4464. local MainPos2 = Mouse.Hit.p
  4465. local spread = Vector3.new((math.random(-spread1, 0) + math.random()) * spread2, (math.random(-spread1, 0) + math.random()) * spread2, (math.random(-spread1, 0) + math.random()) * spread2) * (asd.Position - Mouse.Hit.p).magnitude / 100
  4466. local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2 + spread)
  4467. num = 30
  4468. Ammo = Ammo - 1
  4469. print(Ammo)
  4470. if Ammo == 0 then
  4471. Depleted = true
  4472. end
  4473. coroutine.resume(coroutine.create(function(Spreaded)
  4474. repeat
  4475. wait()
  4476. local hit, pos = rayCast(MainPos, MouseLook.lookVector, 50, Character.HumanoidRootPart.Parent)
  4477. local TheHit = Mouse.Hit.p
  4478. local mag = (MainPos - pos).magnitude
  4479. CylinderEffect(BrickColor.new("New Yeller"), CFrame.new((MainPos + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 3, mag * 5, 3, .5, 1, .5, 0.2)
  4480. MainPos = MainPos + (MouseLook.lookVector * 50)
  4481. num = num - 1
  4482. if hit ~= nil then
  4483. num = 0
  4484. local ref = CreatePart(3, workspace, "Neon", 0, 1, BrickColor.new("Dark stone grey"), "Reference", Vector3.new())
  4485. ref.Anchored = true
  4486. ref.CFrame = CFrame.new(pos)
  4487. MagnitudeDamageB(ref, 5, 999999999, 999999999, BrickColor.new("Maroon"), BrickColor.new("Really red") , "rbxassetid://199149297")
  4488. game:GetService("Debris"):AddItem(ref, 1)
  4489. end
  4490. until num <= 0
  4491. end))
  4492. end
  4493. function CreateSound2(id, par, vol, pit)
  4494. coroutine.resume(coroutine.create(function()
  4495. local sou = Create("Sound"){
  4496. Parent = par or workspace,
  4497. Volume = vol,
  4498. Pitch = pit or 1,
  4499. SoundId = id,
  4500. }
  4501. wait()
  4502. sou:play()
  4503. end))
  4504. end
  4505. function Fire()
  4506. ATTACK = true
  4507. CreateSound2("rbxassetid://132572951", AWH, 10, .9)
  4508. CreateSound2("rbxassetid://130767489", AWH, 70.7, 1.2)
  4509. Shoot(AWH, 0, 0)
  4510. for i = 0, 1, 0.2 do
  4511. wait()
  4512. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  4513. Ne.C0 = clerp(Ne.C0, NECKC0 * CFrame.Angles(math.rad(5), math.rad(-10), math.rad(90)), .3)
  4514. RW.C0 = clerp(RW.C0, CFrame.new(.5, 0.5, -.6) * CFrame.Angles(math.rad(90), math.rad(-20), math.rad(-90)), .5)
  4515. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.7, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(140)), .5)
  4516. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  4517. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  4518. end
  4519. for i = 0, 1, 0.1 do
  4520. wait()
  4521. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  4522. Ne.C0 = clerp(Ne.C0, NECKC0 * CFrame.Angles(math.rad(5), math.rad(0), math.rad(90)), .3)
  4523. RW.C0 = clerp(RW.C0, CFrame.new(.5, 0.5, -.6) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), .3)
  4524. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(90)), .3)
  4525. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  4526. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  4527. end
  4528. for i = 0, 1, 0.1 do
  4529. wait()
  4530. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  4531. Ne.C0 = clerp(Ne.C0, NECKC0 * CFrame.Angles(math.rad(5), math.rad(0), math.rad(80)), .3)
  4532. RW.C0 = clerp(RW.C0, CFrame.new(.5, 0.5, -.6) * CFrame.Angles(math.rad(80), math.rad(-30), math.rad(-90)), .3)
  4533. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.3, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(70)), .3)
  4534. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  4535. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  4536. end
  4537. CreateSound2("rbxassetid://146740582", AWH, 70.7, 1)
  4538. for i = 0, 1, 0.1 do
  4539. wait()
  4540. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  4541. Ne.C0 = clerp(Ne.C0, NECKC0 * CFrame.Angles(math.rad(5), math.rad(0), math.rad(80)), .3)
  4542. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -.6) * CFrame.Angles(math.rad(80), math.rad(-30), math.rad(-90)), .5)
  4543. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.3, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(70)), .3)
  4544. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  4545. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  4546. end
  4547. for i = 0, 1, 0.1 do
  4548. wait()
  4549. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  4550. Ne.C0 = clerp(Ne.C0, NECKC0 * CFrame.Angles(math.rad(5), math.rad(0), math.rad(80)), .3)
  4551. RW.C0 = clerp(RW.C0, CFrame.new(.5, 0.5, -.6) * CFrame.Angles(math.rad(80), math.rad(-30), math.rad(-90)), .5)
  4552. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.3, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(70)), .3)
  4553. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  4554. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  4555. end
  4556. for i = 0, 1, 0.3 do
  4557. wait()
  4558. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  4559. Ne.C0 = clerp(Ne.C0, NECKC0 * CFrame.Angles(math.rad(5), math.rad(0), math.rad(90)), .4)
  4560. RW.C0 = clerp(RW.C0, CFrame.new(.51, 0.51, -.6) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), .4)
  4561. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.51, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(90)), .4)
  4562. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  4563. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  4564. end
  4565. ATTACK = false
  4566. end
  4567.  
  4568. function R8AS()
  4569. ATTACK = true
  4570. --Rooted = false
  4571. for i=0, 0.5, 0.1 / Animation_Speed do
  4572. Swait()
  4573. turnto(Mouse.Hit.p)
  4574. --[[RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  4575. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  4576. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  4577. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  4578. 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)
  4579. 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)
  4580. --]]
  4581. end
  4582. repeat
  4583. for i = 0,0.76,0.1 do
  4584. swait()
  4585. turnto(Mouse.Hit.p)
  4586. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  4587. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  4588. RW.C0=clerp(RW.C0,cf(0.8,0.5 + 0.1 * math.cos(sine / 28),-.75)*angles(math.rad(90),math.rad(0),math.rad(-30)),.1)
  4589. LW.C0=clerp(LW.C0,cf(-0.8,0.5 + 0.1 * math.cos(sine / 28),-0.75)*angles(math.rad(90),math.rad(0),math.rad(30)),.1)
  4590. end
  4591. for i = 0,1.98,0.1 do
  4592. swait()
  4593. turnto(Mouse.Hit.p)
  4594. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  4595. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  4596. RW.C0=clerp(RW.C0,cf(0.8,0.5 + 0.1 * math.cos(sine / 28),-.65)*angles(math.rad(90),math.rad(0),math.rad(-30)),.1)
  4597. LW.C0=clerp(LW.C0,cf(-0.8,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(90),math.rad(0),math.rad(30)),.1)
  4598. end
  4599. so("http://roblox.com/asset/?id=360648134",REVOLV,60,1)
  4600. --so("http://roblox.com/asset/?id=165946560",Flare2,60,1)
  4601. local lb = Instance.new("Part")
  4602. lb.Parent = char
  4603. lb.Material = "Neon"
  4604. lb.Color = BrickColor.new("New Yeller").Color
  4605. lb.CanCollide = false
  4606. lb.Shape = "Ball"
  4607. lb.CFrame = REVOLV.CFrame
  4608. lb.Anchored = true
  4609. lb.Transparency = 0
  4610. lb.Size = vt(0.45,1,0.45)
  4611. local thing = Instance.new("SpecialMesh",lb)
  4612. thing.MeshType = "Sphere"
  4613. --for i = 0, 1 do
  4614. --slash(10,5,true,"Round","Add","Out",GunPoint.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.002,0.01),math.random(5,25)/250,BrickColor.new("White"))
  4615. --end
  4616. -- + root.CFrame.lookVector*12
  4617. --sphere2(10,"Add",GunPoint.CFrame,vt(0.125,0.125,0.125),0.1,0.1,0.1,BrickColor.new("New Yeller"),Color3.new(1,1,0))
  4618. -- + root.CFrame.lookVector*12
  4619. local b = Instance.new("Part")
  4620. b.Parent = char
  4621. b.Material = "Neon"
  4622. b.Color = BrickColor.new("New Yeller").Color
  4623. b.CanCollide = false
  4624. b.Shape = "Ball"
  4625. b.CFrame = REVOLV.CFrame
  4626. b.Anchored = true
  4627. b.Transparency = 0
  4628. b.Size = vt(1,1,1)
  4629. local z = Instance.new("SpecialMesh",b)
  4630. z.MeshType = "Sphere"
  4631. local hitted = false
  4632. lb.Anchored = false
  4633. local bv = Instance.new("BodyVelocity")
  4634. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4635. bv.velocity = Mouse.Hit.lookVector *150
  4636. bv.Parent = lb
  4637. --[[
  4638. local lb2 = Instance.new("Part")
  4639. lb2.Parent = char
  4640. lb2.Material = "Neon"
  4641. lb2.Color = BrickColor.new("New Yeller").Color
  4642. lb2.CanCollide = false
  4643. lb2.Shape = "Ball"
  4644. lb2.CFrame = Flare2.CFrame
  4645. lb2.Anchored = true
  4646. lb2.Transparency = 0
  4647. lb2.Size = vt(0.6,0.6,0.6)
  4648. local thing = Instance.new("SpecialMesh",lb2)
  4649. thing.MeshType = "Sphere"
  4650. --for i = 0, 1 do
  4651. --slash(10,5,true,"Round","Add","Out",GunPoint.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.002,0.01),math.random(5,25)/250,BrickColor.new("White"))
  4652. --end
  4653. -- + root.CFrame.lookVector*12
  4654. --sphere2(10,"Add",GunPoint.CFrame,vt(0.125,0.125,0.125),0.1,0.1,0.1,BrickColor.new("New Yeller"),Color3.new(1,1,0))
  4655. -- + root.CFrame.lookVector*12
  4656. local b2 = Instance.new("Part")
  4657. b2.Parent = char
  4658. b2.Material = "Neon"
  4659. b2.Color = BrickColor.new("New Yeller").Color
  4660. b2.CanCollide = false
  4661. b2.Shape = "Ball"
  4662. b2.CFrame = Flare2.CFrame
  4663. b2.Anchored = true
  4664. b2.Transparency = 0
  4665. b2.Size = vt(1,1,1)
  4666. local z = Instance.new("SpecialMesh",b2)
  4667. z.MeshType = "Sphere"
  4668. --local hitted = false
  4669. lb2.Anchored = false
  4670. local bv2 = Instance.new("BodyVelocity")
  4671. bv2.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4672. bv2.velocity = Mouse.Hit.lookVector *150
  4673. bv2.Parent = lb2]]--
  4674. lb.Touched:connect(function(hit) Damagefunc(hit,64,250,math.random(10,20),"Normal",RootPart,.2,1) end)
  4675. --lb2.Touched:connect(function(hit) Damagefunc(hit,33,74,math.random(10,20),"Normal",RootPart,.2,1) end)
  4676. for i = 0,1.7,0.1 do
  4677. swait()
  4678. turnto(Mouse.Hit.p)
  4679. z.Scale = z.Scale + vt(0.1,0.1,0.1)
  4680. b.Transparency = b.Transparency + 0.05
  4681. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  4682. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  4683. RW.C0=clerp(RW.C0,cf(0.8,0.5 + 0.1 * math.cos(sine / 28),-.65)*angles(math.rad(120),math.rad(0),math.rad(-30)),.1)
  4684. LW.C0=clerp(LW.C0,cf(-0.8,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(120),math.rad(0),math.rad(30)),.1)
  4685. end
  4686. game:GetService("Debris"):AddItem(lb, 19)
  4687. --game:GetService("Debris"):AddItem(lb2, 19)
  4688. game:GetService("Debris"):AddItem(bv, 20)
  4689. --game:GetService("Debris"):AddItem(bv2, 20)
  4690. b:Destroy()
  4691. --b2:Destroy()
  4692. --wait(10)
  4693. --lb:Destroy()
  4694. --lb2:Destroy()
  4695. until HOLD == false
  4696. ATTACK = false
  4697. --Rooted = false
  4698. end
  4699. function nooutline(part)
  4700. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  4701. end
  4702.  
  4703. function partB(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  4704. local fp=it("Part")
  4705. fp.formFactor=formfactor
  4706. fp.Parent=parent
  4707. fp.Reflectance=reflectance
  4708. fp.Transparency=transparency
  4709. fp.CanCollide=false
  4710. fp.Locked=true
  4711. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  4712. fp.Name=name
  4713. fp.Size=size
  4714. fp.Position=Character.Torso.Position
  4715. nooutline(fp)
  4716. fp.Material=material
  4717. fp:BreakJoints()
  4718. return fp
  4719. end
  4720. function partB(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  4721. local fp = it("Part")
  4722. fp.formFactor = formfactor
  4723. fp.Parent = parent
  4724. fp.Reflectance = reflectance
  4725. fp.Transparency = transparency
  4726. fp.CanCollide = false
  4727. fp.Locked=true
  4728. fp.BrickColor = brickcolor
  4729. fp.Name = name
  4730. fp.Size = size
  4731. fp.Position = Torso.Position
  4732. nooutline(fp)
  4733. fp.Material="Neon"
  4734. fp:BreakJoints()
  4735. return fp
  4736. end
  4737. function MagicCylinder(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4738. local prt=partB(3,workspace,0,0,brickcolor,"Effect",vt(0.2,0.2,0.2))
  4739. prt.Anchored=true
  4740. prt.CFrame=cframe
  4741. msh=mesh("SpecialMesh",prt,"Head","",vt(0,0,0),vt(x1,y1,z1))
  4742. game:GetService("Debris"):AddItem(prt,2)
  4743. coroutine.resume(coroutine.create(function(Part,Mesh)
  4744. for i=0,1,delay do
  4745. swait()
  4746. Part.CFrame=Part.CFrame
  4747. Part.Transparency=i
  4748. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4749. end
  4750. Part.Parent=nil
  4751. end),prt,msh)
  4752. end
  4753.  
  4754. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4755. local prt=partB(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4756. prt.Anchored=true
  4757. prt.CFrame=cframe
  4758. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  4759. game:GetService("Debris"):AddItem(prt,2)
  4760. coroutine.resume(coroutine.create(function(Part,Mesh)
  4761. for i=0,1,delay do
  4762. swait()
  4763. Part.CFrame=Part.CFrame
  4764. Part.Transparency=i
  4765. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4766. end
  4767. Part.Parent=nil
  4768. end),prt,msh)
  4769. end
  4770. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  4771. local mesh=it(Mesh)
  4772. mesh.Parent=part
  4773. if Mesh=="SpecialMesh" then
  4774. mesh.MeshType=meshtype
  4775. mesh.MeshId=meshid
  4776. end
  4777. mesh.Offset=offset
  4778. mesh.Scale=scale
  4779. return mesh
  4780. end
  4781. function LaserBarrage(Prt,Parent)
  4782. attack=true
  4783. --so("BeamLockon",Prt,1,1)
  4784. local efprt=partB(3,Parent,0,0.5,BrickColor.new("New Yeller"),"Effect",vt(0.2,0.2,0.2))
  4785. efprt.Anchored=true
  4786. local efmsh=mesh("CylinderMesh",efprt,"","",vt(0,0,0),vt(1,1,1))
  4787. spread=vt((math.random(-1,0)+math.random())*7,(math.random(-1,0)+math.random())*7,(math.random(-1,0)+math.random())*7)*(Prt.Position-Mouse.Hit.p).magnitude/100
  4788. --spread=vt(0,0,0)
  4789. coroutine.resume(coroutine.create(function(Part,Mesh,Spreaded)
  4790. game:GetService("Debris"):AddItem(Part,6)
  4791. local TheHit=Mouse.Hit.p
  4792. local MouseLook=cf((Prt.Position+TheHit)/2,TheHit+Spreaded)
  4793. local hit,pos = rayCast(Prt.Position,MouseLook.lookVector,1000,Parent)
  4794. so("Elec",Prt,0.2,1)
  4795. local tefprt=partB(3,workspace,0,1,BrickColor.new("Black"),"Effect",vt(0.2,0.2,0.2))
  4796. tefprt.CFrame=cf(pos)
  4797. MagicCircle(BrickColor.new("New Yeller"),cf(pos),0.5,0.5,0.5,0.5,0.5,0.5,0.04)
  4798. so("Elec",tefprt,0.3,1)
  4799. game:GetService("Debris"):AddItem(tefprt,3)
  4800. Part.CFrame=CFrame.new((Prt.Position+pos)/2,pos)*angles(1.57,0,0)
  4801. if(hit.Parent:findFirstChild("Humanoid")~= nil)then
  4802. if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Name ~= "Base" and hit.Parent.Name ~= Player.Name then
  4803. hit.Parent.Humanoid:TakeDamage(MRANDOM(36,87))
  4804. end
  4805. end
  4806. local mag=(Prt.Position-pos).magnitude
  4807. MagicCylinder(BrickColor.new("New Yeller"),Part.CFrame,1,mag*5,1,0.5,0,0.5,0.05)
  4808. Part.Parent=nil
  4809. end),efprt,efmsh,spread)
  4810. end
  4811. function FireAAAA()
  4812. ATTACK=true
  4813.  
  4814. so("http://www.roblox.com/asset/?id=138083993",Barrel,1,1)
  4815. for i=0,3,0.3 do
  4816. LaserBarrage(Barrel,Shotgun)
  4817. end
  4818. for i=0,3,0.3 do
  4819. swait()
  4820. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  4821. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  4822. RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, 0.2) * angles(math.rad(120), math.rad(0), math.rad(-20)), 0.3)
  4823. LW.C0 = clerp(LW.C0, CFrame.new(-0.5, 0.5, -1.2) * angles(math.rad(140), math.rad(0), math.rad(40)), 0.3)
  4824. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  4825. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-10)),.3)
  4826. end
  4827. for i=0,3,0.3 do
  4828. swait()
  4829. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  4830. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  4831. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0.2) * angles(math.rad(90), math.rad(0), math.rad(-20)), 0.3)
  4832. LW.C0 = clerp(LW.C0, CFrame.new(-0.5, 0.5, -1.2) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.3)
  4833. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  4834. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-10)),.3)
  4835. end
  4836. for i=0,3,0.3 do
  4837. swait()
  4838. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  4839. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  4840. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(-10)), 0.3)
  4841. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -1) * angles(math.rad(120), math.rad(0), math.rad(-10)), 0.3)
  4842. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  4843. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-0)),.3)
  4844. end
  4845. so("http://www.roblox.com/asset/?id=131072992",Barrel,1,.8)
  4846. for i=0,3,0.3 do
  4847. swait()
  4848. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  4849. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  4850. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(-20)), 0.3)
  4851. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -1) * angles(math.rad(120), math.rad(0), math.rad(20)), 0.3)
  4852. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  4853. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-0)),.3)
  4854. end
  4855. for i=0,3,0.3 do
  4856. swait()
  4857. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  4858. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  4859. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(-10)), 0.3)
  4860. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -1) * angles(math.rad(120), math.rad(0), math.rad(-20)), 0.3)
  4861. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  4862. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-0)),.3)
  4863. end
  4864.  
  4865.  
  4866. ATTACK=false
  4867. end
  4868. function bosschatfunc(text,watval)
  4869. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  4870. coroutine.resume(coroutine.create(function()
  4871. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  4872. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  4873. end
  4874. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  4875. CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
  4876. scrg.Name = "Dialog"
  4877. --gui below
  4878. --text below
  4879. local txtlb = Instance.new("TextLabel",scrg)
  4880. txtlb.Text = ""
  4881. txtlb.Font = "Cartoon"
  4882. txtlb.TextColor3 = Color3.new(1,1,1)
  4883. txtlb.TextStrokeTransparency = 0
  4884. txtlb.BackgroundTransparency = 1
  4885. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  4886. txtlb.TextStrokeColor3 = C3(0,0,0)
  4887. txtlb.TextScaled = true
  4888. txtlb.Size = UDim2.new(1,0,0.25,0)
  4889. txtlb.TextXAlignment = "Center"
  4890. txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
  4891. coroutine.resume(coroutine.create(function()
  4892. while true do
  4893. swait()
  4894. end
  4895. end))
  4896. local fvalen = 0.55
  4897. local fval = -0.49
  4898. coroutine.resume(coroutine.create(function()
  4899. while true do
  4900. swait()
  4901. if scrg.Parent ~= nil then
  4902. fvalen = fvalen - 0.0001
  4903. elseif scrg.Parent == nil then
  4904. break
  4905. end
  4906. end
  4907. end))
  4908. local flol = 1.75
  4909. local flil = 1.6
  4910. coroutine.resume(coroutine.create(function()
  4911. for i = 0, 9 do
  4912. swait()
  4913. fval = fval + 0.05
  4914. flol = flol - 0.1
  4915. flil = flil - 0.1
  4916. txtlb.Text = ""
  4917. txtlb.Position = UDim2.new(0,0,flol,0)
  4918. end
  4919. txtlb.Text = text
  4920. wait(watval)
  4921. local valinc = 0
  4922. for i = 0, 99 do
  4923. swait()
  4924. valinc = valinc + 0.0001
  4925. flol = flol + valinc
  4926. flil = flil + valinc
  4927. txtlb.Rotation = txtlb.Rotation + valinc*20
  4928. txtlb.Position = UDim2.new(0,0,flol,0)
  4929. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  4930. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  4931. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  4932. end
  4933. scrg:Destroy()
  4934. end))
  4935. end))
  4936. end
  4937. end
  4938. function mafia()
  4939. ATTACK = true
  4940. CreateSound2("rbxassetid://2731402002", Character, 100, 1)
  4941. bosschatfunc("thats how mafia works",7)
  4942. for i = 0,38,0.1 do
  4943. swait()
  4944. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 10),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5),math.rad(-1 - 2 * math.cos(sine / 10))),.1)
  4945. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 10),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(5.5),math.rad(-1 + 2 * math.cos(sine / 10))),.1)
  4946. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 10),0 + 0.1 * math.cos(sine / 10))*angles(math.rad(1 - 2 * math.cos(sine / 10)),math.rad(0),math.rad(0)),.1)
  4947. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(3 - 3 * math.cos(sine / 40)),math.rad(0),math.rad(0 - 3 * math.cos(sine / 67))),.1)
  4948. RW.C0=clerp(RW.C0,cf(1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(8 + 8 * math.cos(sine / 35)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(5 + 4 * math.cos(sine / 32))),.1)
  4949. LW.C0=clerp(LW.C0,cf(-1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(10 + 2 * math.cos(sine / 38)),math.rad(4 - 3 * math.cos(sine / 31)),math.rad(-140 - 2 * math.cos(sine / 25))),.1)
  4950. end
  4951. ATTACK = false
  4952. end
  4953.  
  4954.  
  4955. function FUCKYOU()
  4956. ATTACK = true
  4957. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.25)
  4958. for i = 0,6,0.1 do
  4959. swait()
  4960. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,BRICKC'Really red',100)
  4961. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.2)
  4962. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.2)
  4963. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  4964. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2)
  4965. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  4966. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  4967. end
  4968. CFuncs["Sound"].Create("rbxassetid://206082327", root, 7.5,1)
  4969. CFuncs["Sound"].Create("rbxassetid://847061203", root, 10,1)
  4970. CFuncs["Sound"].Create("rbxassetid://239000203", root, 7.5,1)
  4971. CFuncs["Sound"].Create("rbxassetid://579687077", root, 7.5,0.75)
  4972. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 10,1)
  4973. CFuncs["Sound"].Create("rbxassetid://763718160", root, 7.5, 1.1)
  4974. CFuncs["Sound"].Create("rbxassetid://782353443", root, 7.5, 1)
  4975. sick.TimePosition = 5
  4976. SONG = 565439926
  4977. Mode = "INSANE-H"
  4978. for i = 0,2,0.1 do
  4979. swait()
  4980. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.5)
  4981. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.5)
  4982. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  4983. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 2.5 * math.cos(sine / 0.2))),.5)
  4984. RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2))),.5)
  4985. LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2))),.5)
  4986. end
  4987. ATTACK = false
  4988. end
  4989. --//=================================\\
  4990. --|| ASSIGN THINGS TO KEYS
  4991. --\\=================================//
  4992. local AddInstance = function(Object, ...)
  4993. local Obj = Instance.new(Object)
  4994. for i,v in next,(...) do
  4995. Obj[i] = v
  4996. end
  4997. return Obj
  4998. end
  4999.  
  5000. local TopHat = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hat", VT(1,1,1),false)
  5001. TopHat.Color = C3(0,0,0)
  5002. local HatWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, TopHat, CF(0,0.7,0), CF(0, 0, 0))
  5003. CreateMesh("SpecialMesh", TopHat, "FileMesh", "", "", VT(1,1,1)*1.05, VT(0,0,0))
  5004.  
  5005. local Jevil = false
  5006. local SITTING = false
  5007. plr.Chatted:connect(function(message)
  5008. if message:sub(1,8) == "/e play " then
  5009. SONG = message:sub(9)
  5010. end
  5011. if message:sub(1,6) == "NOHATS" then
  5012. if Head:FindFirstChild("Jevil") then
  5013. Head.Jevil:Remove()
  5014. end
  5015. CreateMesh("SpecialMesh", TopHat, "FileMesh", "", "", VT(1,1,1)*1.05, VT(0,0,0))
  5016. end
  5017. if message:sub(1,6) == "TOPHAT" then
  5018. if Mode ~= "Nuclear" then
  5019. CreateMesh("SpecialMesh", TopHat, "FileMesh", "1028713", "46542901", VT(1,1,1)*1.05, VT(0,0,0))
  5020. else
  5021. CreateMesh("SpecialMesh", TopHat, "FileMesh", "1028713", "1563327", VT(1,1,1)*1.05, VT(0,0,0))
  5022. end
  5023. end
  5024. if message:sub(1,17) == "I CAN DO ANYTHING" then
  5025. SONG = 2597271983
  5026. if Jevil == false then
  5027. Jevil = true
  5028. local sound = Instance.new("Sound")
  5029. sound.SoundId = "rbxassetid://2544975373"
  5030. sound.Volume = 10
  5031. sound.Parent = Head
  5032. sound:Play()
  5033. local Reaper = AddInstance("Part",{
  5034. Parent = hed,
  5035. CFrame = hed.CFrame,
  5036. Name = "Jevil",
  5037. formFactor = "Symmetric",
  5038. Size = Vector3.new(1, 1, 1),
  5039. CanCollide = false,
  5040. TopSurface = "Smooth",
  5041. BottomSurface = "Smooth",
  5042. Locked = true,
  5043. })
  5044. local Weld = AddInstance("Weld",{
  5045. Parent = Reaper,
  5046. Part0 = hed,
  5047. C0 = CFrame.new(0, 0.8, 0.4)*CFrame.Angles(0, 0, 0),
  5048. Part1 = Reaper,
  5049. })
  5050. local Mesh = AddInstance("SpecialMesh",{
  5051. Parent = Reaper,
  5052. MeshId = "rbxassetid://193760002",
  5053. TextureId = "rbxassetid://89867215",
  5054. Scale = Vector3.new(1.1, 1.1, 1.1),
  5055. VertexColor = Vector3.new(0.5, 0.5, 0.5),
  5056. })
  5057. end
  5058. end
  5059. if message:sub(1,13) == "GET REKT FOOL" then
  5060. CreateSound2("rbxassetid://1292661979", Character, 100, 1)
  5061. end
  5062. if message:sub(1,3) == "HEX" then
  5063. SONG = 1143128932
  5064. end
  5065. if message:sub(1,2) == "DS" then
  5066. SONG = 1751171913
  5067. end
  5068. if message:sub(1,21) == "thats how mafia works" then
  5069. mafia()
  5070. end
  5071. if message:sub(1,3) == "SIT" then
  5072. SITTING = true
  5073. end
  5074. if message:sub(1,5) == "NOSIT" then
  5075. SITTING = false
  5076. end
  5077. if message:sub(1,6) == "ah yes" then
  5078. SONG = 243199198
  5079. end
  5080. if message:sub(1,30) == "I CANT BELIEVE YOUVE DONE THIS" then
  5081. CreateSound2("rbxassetid://527749592", Character, 100, 1)
  5082. end
  5083. if message:sub(1,4) == "AAAA" then
  5084. CreateSound2("rbxassetid://547868092", Character, 100, 1)
  5085. end
  5086. if message:sub(1,4) == "curb" then
  5087. SONG = 434976383
  5088. sick.TimePosition = 0
  5089. end
  5090. if message:sub(1,8) == "/e time " then
  5091. sick.TimePosition = message:sub(9)
  5092. end
  5093. end)
  5094.  
  5095. function MouseDown(Mouse)
  5096. HOLD = true
  5097. if ATTACK == false then
  5098. if Mode == "Gun" then
  5099. shoot()
  5100. elseif Mode == "Gun-S" then
  5101. shoots()
  5102. elseif Mode == "Shotty" then
  5103. FireAAAA()
  5104. elseif Mode == "SMG" then
  5105. SmgTest()
  5106. elseif Mode == "SMG2" then
  5107. SmgTest2()
  5108. elseif Mode == "SMG3" then
  5109. SmgTest3()
  5110. elseif Mode == "DE" then
  5111. deag()
  5112. elseif Mode == "AK" then
  5113. AKS()
  5114. elseif Mode == "AR" then
  5115. AEA()
  5116. elseif Mode == "knif" then
  5117. stab()
  5118. elseif Mode == "AGB" then
  5119. AUGShoot()
  5120. elseif Mode == "AWP" then
  5121. Fire()
  5122. elseif Mode == "R8R" then
  5123. R8AS()
  5124. end
  5125. end
  5126. end
  5127.  
  5128. function MouseUp(Mouse)
  5129. HOLD = false
  5130. end
  5131.  
  5132. function KeyDown(Key)
  5133. KEYHOLD = true
  5134.  
  5135. if Key == "p" then
  5136. bestmatesA()
  5137. end
  5138. if Key == "y" then
  5139. bestmatesB()
  5140. end
  5141. if Key == "u" then
  5142. cheekibreeki()
  5143. end
  5144.  
  5145. if Key == "m" and ATTACK == false then
  5146. if Mode == "Nuclear" then
  5147. -- Nuclear = true
  5148. Mode = "Chronos"
  5149. SONG = 432493949
  5150. elseif Mode == "Chronos" then
  5151. --Nuclear = false
  5152. Mode = "Nuclear"
  5153. SONG = 566809627
  5154. end
  5155. end
  5156.  
  5157. if Key == "n" and ATTACK == false then
  5158. if Mode == "Nuclear" then
  5159. FUCKYOU()
  5160. elseif Mode == "INSANE-H" then
  5161. --Nuclear = false
  5162. Mode = "Nuclear"
  5163. SONG = 566809627
  5164. end
  5165. end
  5166.  
  5167.  
  5168. if Key == "b" and ATTACK == false then
  5169. if Mode == "Nuclear" then
  5170. sick.TimePosition = 0
  5171. SONG = 2598224585
  5172. Mode = "MARENOL"
  5173. elseif Mode == "MARENOL" then
  5174. --Nuclear = false
  5175. Mode = "Nuclear"
  5176. SONG = 566809627
  5177. end
  5178. end
  5179.  
  5180.  
  5181. if Key == "v" and ATTACK == false then
  5182. if Mode == "Nuclear" then
  5183. SONG = 2297862957
  5184. Mode = "Mutilated"
  5185. elseif Mode == "Mutilated" then
  5186. --Nuclear = false
  5187. Mode = "Nuclear"
  5188. SONG = 566809627
  5189. end
  5190. end
  5191. if Key == "l" and ATTACK == false then
  5192. if Mode == "Nuclear" then
  5193. SONG = 776030196
  5194. Mode = "S"
  5195. elseif Mode == "S" then
  5196. --Nuclear = false
  5197. Mode = "Nuclear"
  5198. SONG = 566809627
  5199. end
  5200. end
  5201.  
  5202.  
  5203. if Key == "k" and ATTACK == false then
  5204. --stab2()
  5205. end
  5206. --[[
  5207. if Key == "m" and ATTACK == false then if Key == "c" and ATTACK == false then
  5208. if Mode == "Nuclear" then
  5209. Mode = "Chronos"
  5210. sick.TimePosition = 0
  5211. SONG = 432493949
  5212. elseif Mode == "Chronos" then
  5213. Mode = "Nuclear"
  5214. SONG = 566809627
  5215. end
  5216. end
  5217. ]]--
  5218. if Key == "q" and ATTACK == false then
  5219. if Nuclear == false and Mode == "Normal" then
  5220. Nuclear = true
  5221. Mode = "Nuclear"
  5222. CLOCKWORK2.BrickColor = BRICKC'Lime green'
  5223. --SONG = 566809627
  5224. SONG = 1812212957
  5225. elseif Nuclear == true and Mode == "Nuclear" then
  5226. Nuclear = false
  5227. Mode = "Normal"
  5228. CLOCKWORK2.BrickColor = BRICKC'Bright yellow'
  5229. SONG = 1175569393
  5230. end
  5231. end
  5232.  
  5233. if Key == "t" then
  5234. Humanoid.Health = Humanoid.Health - MRANDOM(78,560)
  5235. end
  5236.  
  5237. if Key == "f" and ATTACK == false then
  5238. if Mode == "Normal" then
  5239. Gun.Parent = Character
  5240. Mode = "Gun"
  5241. SONG = 1632083717
  5242. elseif Mode == "Gun" then
  5243. Gun.Parent = nil
  5244. Mode = "Normal"
  5245. SONG = 1175569393
  5246. end
  5247. end
  5248.  
  5249. if Key == "g" and ATTACK == false then
  5250. if Mode == "Gun" then
  5251. Mode = "Gun-S"
  5252. Supressor.Parent = Character
  5253. SONG = 742414504
  5254. elseif Mode == "Gun-S" then
  5255. Supressor.Parent = nil
  5256. Mode = "Gun"
  5257. SONG = 1632083717
  5258. end
  5259. end
  5260.  
  5261. if Key == "b" then
  5262. lecloakguy()
  5263. end
  5264.  
  5265. if Key == "h" and ATTACK == false then
  5266. if Mode == "Normal" then
  5267. Mode = "SMG"
  5268. SMG.Parent = Character
  5269. SONG = 1684339203
  5270. elseif Mode == "SMG" then
  5271. SMG.Parent = nil
  5272. Mode = "Normal"
  5273. SONG = 1175569393
  5274. end
  5275. end
  5276.  
  5277. if Key == "g" and ATTACK == false then
  5278. if Mode == "SMG" then
  5279. Mode = "SMG2"
  5280. SMG2.Parent = Character
  5281. SMG.Parent = nil
  5282. SONG = 1846938217
  5283. elseif Mode == "SMG2" then
  5284. SMG2.Parent = nil
  5285. Mode = "SMG"
  5286. SMG.Parent = Character
  5287. SONG = 1684339203
  5288. end
  5289. end
  5290.  
  5291. if Key == "j" and ATTACK == false then
  5292. if Mode == "SMG" then
  5293. Mode = "SMG3"
  5294. SMG3.Parent = Character
  5295. SMG.Parent = nil
  5296. SONG = 856927010
  5297. elseif Mode == "SMG3" then
  5298. SMG3.Parent = nil
  5299. Mode = "SMG"
  5300. SMG.Parent = Character
  5301. SONG = 1684339203
  5302. end
  5303. end
  5304. if Key == "k" and ATTACK == false then
  5305. if Mode == "Normal" then
  5306. Mode = "AK"
  5307. A47.Parent = Character
  5308. SONG = 468448329
  5309. elseif Mode == "AK" then
  5310. A47.Parent = nil
  5311. Mode = "Normal"
  5312. SONG = 1175569393
  5313. end
  5314. end
  5315.  
  5316.  
  5317. if Key == "j" and ATTACK == false then
  5318. if Mode == "Normal" then
  5319. Mode = "DE"
  5320. DE.Parent = Character
  5321. SONG = 1473065092
  5322. elseif Mode == "DE" then
  5323. DE.Parent = nil
  5324. Mode = "Normal"
  5325. SONG = 1175569393
  5326. end
  5327. end
  5328.  
  5329. if Key == "l" and ATTACK == false then
  5330. if Mode == "Normal" then
  5331. Mode = "knif"
  5332. knif.Parent = Character
  5333. SONG = 1583110657
  5334. elseif Mode == "knif" then
  5335. knif.Parent = nil
  5336. Mode = "Normal"
  5337. SONG = 1175569393
  5338. end
  5339. end
  5340. if Key == "m" and ATTACK == false then
  5341. if Mode == "Normal" then
  5342. Mode = "AGB"
  5343. AUG.Parent = Character
  5344. SONG = 1317272392
  5345. elseif Mode == "AGB" then
  5346. AUG.Parent = nil
  5347. Mode = "Normal"
  5348. SONG = 1175569393
  5349. end
  5350. end
  5351.  
  5352. if Key == "n" and ATTACK == false then
  5353. if Mode == "Normal" then
  5354. Mode = "AWP"
  5355. AWP.Parent = Character
  5356. SONG = 2191904606
  5357. elseif Mode == "AWP" then
  5358. AWP.Parent = nil
  5359. Mode = "Normal"
  5360. SONG = 1175569393
  5361. end
  5362. end
  5363.  
  5364. if Key == "b" and ATTACK == false then
  5365. if Mode == "Normal" then
  5366. Mode = "R8R"
  5367. R8RA.Parent = Character
  5368. SONG = 729622879
  5369. elseif Mode == "R8R" then
  5370. R8RA.Parent = nil
  5371. Mode = "Normal"
  5372. SONG = 1175569393
  5373. end
  5374. end
  5375.  
  5376. if Key == "v" and ATTACK == false then
  5377. if Mode == "Normal" then
  5378. Mode = "INSANITY"
  5379. SONG = 943961217
  5380. elseif Mode == "INSANITY" then
  5381. Mode = "Normal"
  5382. SONG = 1175569393
  5383. end
  5384. end
  5385.  
  5386. if Key == "c" and ATTACK == false then
  5387. if Mode == "Normal" then
  5388. Mode = "AR"
  5389. AR.Parent = Character
  5390. SONG = 1537357758
  5391. elseif Mode == "AR" then
  5392. Mode = "Normal"
  5393. AR.Parent = nil
  5394. SONG = 1175569393
  5395. end
  5396. end
  5397. end
  5398.  
  5399. function KeyUp(Key)
  5400. KEYHOLD = false
  5401. end
  5402.  
  5403. Mouse.Button1Down:connect(function(NEWKEY)
  5404. MouseDown(NEWKEY)
  5405. end)
  5406. Mouse.Button1Up:connect(function(NEWKEY)
  5407. MouseUp(NEWKEY)
  5408. end)
  5409. Mouse.KeyDown:connect(function(NEWKEY)
  5410. KeyDown(NEWKEY)
  5411. end)
  5412. Mouse.KeyUp:connect(function(NEWKEY)
  5413. KeyUp(NEWKEY)
  5414. end)
  5415.  
  5416. --//=================================\\
  5417. --\\=================================//
  5418.  
  5419.  
  5420. function unanchor()
  5421. if UNANCHOR == true then
  5422. g = Character:GetChildren()
  5423. for i = 1, #g do
  5424. if g[i].ClassName == "Part" then
  5425. g[i].Anchored = false
  5426. end
  5427. end
  5428. end
  5429. end
  5430.  
  5431.  
  5432. --//=================================\\
  5433. --|| WRAP THE WHOLE SCRIPT UP
  5434. --\\=================================//
  5435.  
  5436. Humanoid.Changed:connect(function(Jump)
  5437. if Jump == "Jump" and (Disable_Jump == true) then
  5438. Humanoid.Jump = false
  5439. end
  5440. end)
  5441.  
  5442. local CONNECT = nil
  5443. while true do
  5444. Swait()
  5445. ANIMATE.Parent = nil
  5446. Mode = "knif"
  5447. SIT = Humanoid.Sit
  5448. if cloakedyes == false then
  5449. knif.Parent = Character
  5450. end
  5451. SONG = 4066896895
  5452. if Character:FindFirstChildOfClass("Humanoid") == nil then
  5453. Humanoid = IT("Humanoid",Character)
  5454. end
  5455. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  5456. v:Stop();
  5457. end
  5458. SINE = SINE + CHANGE
  5459. sine = sine + change
  5460. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  5461. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  5462. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4+hum.HipHeight, Character)
  5463. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  5464. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil and SIT == false then
  5465. ANIM = "Jump"
  5466. if ATTACK == false then
  5467. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  5468. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  5469. RW.C0=clerp(RW.C0,cf(1,0.45 - 0.075 * math.cos(sine / 18),0.5)*angles(math.rad(-26 + 3 * math.cos(sine / 38)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(-34 + 1 * math.cos(sine / 25))),.1)
  5470. LW.C0=clerp(LW.C0,cf(-1,0.45 - 0.075 * math.cos(sine / 18),0.5)*angles(math.rad(-26 + 3 * math.cos(sine / 38)),math.rad(0 - 2 * math.cos(sine / 31)),math.rad(34 - 1 * math.cos(sine / 25))),.1)
  5471. 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)
  5472. 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)
  5473. end
  5474. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  5475. ANIM = "Fall"
  5476. if ATTACK == false then
  5477. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  5478. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  5479. RW.C0=clerp(RW.C0,cf(1,0.45 - 0.075 * math.cos(sine / 18),0.5)*angles(math.rad(-26 + 3 * math.cos(sine / 38)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(-34 + 1 * math.cos(sine / 25))),.1)
  5480. LW.C0=clerp(LW.C0,cf(-1,0.45 - 0.075 * math.cos(sine / 18),0.5)*angles(math.rad(-26 + 3 * math.cos(sine / 38)),math.rad(0 - 2 * math.cos(sine / 31)),math.rad(34 - 1 * math.cos(sine / 25))),.1)
  5481. 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)
  5482. 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)
  5483. end
  5484. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil and SIT == false then
  5485. ANIM = "Idle"
  5486. if ATTACK == false then
  5487. if Mode == "Gun" then
  5488. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5),math.rad(-1 - 2 * math.cos(sine / 20))),.1)
  5489. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(5.5),math.rad(-1 + 2 * math.cos(sine / 20))),.1)
  5490. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(0)),.1)
  5491. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(3 - 3 * math.cos(sine / 40)),math.rad(0),math.rad(0 - 3 * math.cos(sine / 67))),.1)
  5492. RW.C0=clerp(RW.C0,cf(1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(8 + 8 * math.cos(sine / 35)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(14 + 4 * math.cos(sine / 22))),.1)
  5493. LW.C0=clerp(LW.C0,cf(-1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(10 + 2 * math.cos(sine / 38)),math.rad(4 - 3 * math.cos(sine / 31)),math.rad(-7 - 2 * math.cos(sine / 25))),.1)
  5494. elseif Mode == "Normal" then
  5495. if not SITTING then
  5496. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5),math.rad(-1 - 2 * math.cos(sine / 20))),.1)
  5497. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(5.5),math.rad(-1 + 2 * math.cos(sine / 20))),.1)
  5498. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(0)),.1)
  5499. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(3 - 3 * math.cos(sine / 40)),math.rad(0),math.rad(0 - 3 * math.cos(sine / 67))),.1)
  5500. RW.C0=clerp(RW.C0,cf(1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(8 + 8 * math.cos(sine / 35)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(14 + 4 * math.cos(sine / 22))),.1)
  5501. LW.C0=clerp(LW.C0,cf(-1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(10 + 2 * math.cos(sine / 38)),math.rad(4 - 3 * math.cos(sine / 31)),math.rad(-7 - 2 * math.cos(sine / 25))),.1)
  5502. else
  5503. RW.C0 = clerp(RW.C0, CF(1.5, .5, 0) * angles(math.rad(45), math.rad(-3), math.rad(-10)), 0.1)
  5504. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(5), math.rad(20)), 0.1)
  5505. LH.C0 = clerp(LH.C0, CF(-0.3, -1.5, 0) * angles(math.rad(100), math.rad(0), math.rad(-10)), 0.1)
  5506. RH.C0 = clerp(RH.C0, CF(0.3, -1.5, 0) * angles(math.rad(100), math.rad(0), math.rad(10)), 0.1)
  5507. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.6) * angles(math.rad(10 - 1.8 * math.cos(sine / 32)), math.rad(0), math.rad(0)), 0.1)
  5508. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(30 - 2.5 * math.cos(sine / 20)), math.rad(0 - 5 * math.cos(sine / 32)), math.rad(0 - 5 * math.cos(sine / 32))), 0.1)
  5509. end
  5510. elseif Mode == "SMG" then
  5511. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5),math.rad(-1 - 2 * math.cos(sine / 20))),.1)
  5512. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(5.5),math.rad(-1 + 2 * math.cos(sine / 20))),.1)
  5513. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(0)),.1)
  5514. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(3 - 3 * math.cos(sine / 40)),math.rad(0),math.rad(0 - 3 * math.cos(sine / 67))),.1)
  5515. RW.C0=clerp(RW.C0,cf(1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(170 + 8 * math.cos(sine / 35)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(14 + 4 * math.cos(sine / 22))),.1)
  5516. LW.C0=clerp(LW.C0,cf(-1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(170 + 2 * math.cos(sine / 38)),math.rad(4 - 3 * math.cos(sine / 31)),math.rad(-7 - 2 * math.cos(sine / 25))),.1)
  5517. elseif Mode == "SMG2" then
  5518. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5),math.rad(-1 - 2 * math.cos(sine / 20))),.1)
  5519. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(5.5),math.rad(-1 + 2 * math.cos(sine / 20))),.1)
  5520. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(0)),.1)
  5521. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(3 - 3 * math.cos(sine / 40)),math.rad(0),math.rad(0 - 3 * math.cos(sine / 67))),.1)
  5522. RW.C0=clerp(RW.C0,cf(1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(170 + 8 * math.cos(sine / 35)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(14 + 4 * math.cos(sine / 22))),.1)
  5523. LW.C0=clerp(LW.C0,cf(-1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(170 + 2 * math.cos(sine / 38)),math.rad(4 - 3 * math.cos(sine / 31)),math.rad(-7 - 2 * math.cos(sine / 25))),.1)
  5524. elseif Mode == "SMG3" then
  5525. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5),math.rad(-1 - 2 * math.cos(sine / 20))),.1)
  5526. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(5.5),math.rad(-1 + 2 * math.cos(sine / 20))),.1)
  5527. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(0)),.1)
  5528. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(3 - 3 * math.cos(sine / 40)),math.rad(0),math.rad(0 - 3 * math.cos(sine / 67))),.1)
  5529. RW.C0=clerp(RW.C0,cf(1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(150 + 8 * math.cos(sine / 35)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(14 + 4 * math.cos(sine / 22))),.1)
  5530. LW.C0=clerp(LW.C0,cf(-1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(150 + 2 * math.cos(sine / 38)),math.rad(4 - 3 * math.cos(sine / 31)),math.rad(-7 - 2 * math.cos(sine / 25))),.1)
  5531. elseif Mode == "PIXEL" then
  5532. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
  5533. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
  5534. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
  5535. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(10 + 2 * math.cos(sine / 53))),.1)
  5536. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 3 * math.cos(sine / 45))),.1)
  5537. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1)
  5538. elseif Mode == "Gun-S" then
  5539. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5),math.rad(-1 - 2 * math.cos(sine / 20))),.1)
  5540. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(5.5),math.rad(-1 + 2 * math.cos(sine / 20))),.1)
  5541. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(0)),.1)
  5542. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(3 - 3 * math.cos(sine / 40)),math.rad(0),math.rad(0 - 3 * math.cos(sine / 67))),.1)
  5543. RW.C0=clerp(RW.C0,cf(1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(170 + 8 * math.cos(sine / 35)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(14 + 4 * math.cos(sine / 22))),.1)
  5544. LW.C0=clerp(LW.C0,cf(-1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(10 + 2 * math.cos(sine / 38)),math.rad(4 - 3 * math.cos(sine / 31)),math.rad(-7 - 2 * math.cos(sine / 25))),.1)
  5545. elseif Mode == "DE" then
  5546. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5),math.rad(-1 - 2 * math.cos(sine / 20))),.1)
  5547. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(5.5),math.rad(-1 + 2 * math.cos(sine / 20))),.1)
  5548. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(0)),.1)
  5549. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(3 - 3 * math.cos(sine / 40)),math.rad(0),math.rad(0 - 3 * math.cos(sine / 67))),.1)
  5550. RW.C0=clerp(RW.C0,cf(1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(30 + 8 * math.cos(sine / 35)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(14 + 4 * math.cos(sine / 22))),.1)
  5551. LW.C0=clerp(LW.C0,cf(-1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(10 + 2 * math.cos(sine / 38)),math.rad(4 - 3 * math.cos(sine / 31)),math.rad(-7 - 2 * math.cos(sine / 25))),.1)
  5552. elseif Mode == "knif" then
  5553. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5),math.rad(-1 - 2 * math.cos(sine / 20))),.1)
  5554. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(5.5),math.rad(-1 + 2 * math.cos(sine / 20))),.1)
  5555. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(0)),.1)
  5556. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(3 - 3 * math.cos(sine / 40)),math.rad(0),math.rad(0 - 3 * math.cos(sine / 67))),.1)
  5557. RW.C0=clerp(RW.C0,cf(1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(30 + 8 * math.cos(sine / 35)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(14 + 4 * math.cos(sine / 22))),.1)
  5558. LW.C0=clerp(LW.C0,cf(-1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(10 + 2 * math.cos(sine / 38)),math.rad(4 - 3 * math.cos(sine / 31)),math.rad(-7 - 2 * math.cos(sine / 25))),.1)
  5559. elseif Mode == "AGB" then
  5560. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5),math.rad(-1 - 2 * math.cos(sine / 20))),.1)
  5561. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(5.5),math.rad(-1 + 2 * math.cos(sine / 20))),.1)
  5562. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(0)),.1)
  5563. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(3 - 3 * math.cos(sine / 40)),math.rad(0),math.rad(0 - 3 * math.cos(sine / 67))),.1)
  5564. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.8, 0.7) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  5565. LW.C0 = clerp(LW.C0, CFrame.new(-0.15, 0.5, -0.65) * angles(math.rad(90), math.rad(12), math.rad(50)), 0.3)
  5566. elseif Mode == "Shotty" then
  5567. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.8, 0.7) * angles(math.rad(90), math.rad(0), math.rad(15)), 0.3)
  5568. LW.C0 = clerp(LW.C0, CFrame.new(-0.15, 0.5, -0.65) * angles(math.rad(90), math.rad(12), math.rad(50)), 0.3)
  5569. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3 - 1 * math.cos(sine / 20)),math.rad(-5.5),math.rad(-1 - 2 * math.cos(sine / 20))),.1)
  5570. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 20)),math.rad(10),math.rad(-1 + 2 * math.cos(sine / 20))),.1)
  5571. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(-13)),.1)
  5572. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(12 + 3 * math.cos(sine / 25)),math.rad(-10),math.rad(13 - 3 * math.cos(sine / 67))),.1)
  5573. elseif Mode == "AK" then
  5574. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.8, 0.7) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  5575. LW.C0 = clerp(LW.C0, CFrame.new(-0.15, 0.5, -0.65) * angles(math.rad(90), math.rad(12), math.rad(50)), 0.3)
  5576. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3 - 1 * math.cos(sine / 20)),math.rad(-5.5),math.rad(-1 - 2 * math.cos(sine / 20))),.1)
  5577. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 20)),math.rad(10),math.rad(-1 + 2 * math.cos(sine / 20))),.1)
  5578. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(-13)),.1)
  5579. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(12 + 3 * math.cos(sine / 25)),math.rad(0),math.rad(13 - 3 * math.cos(sine / 67))),.1)
  5580. elseif Mode == "AWP" then
  5581. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  5582. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  5583. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  5584. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(-40),math.rad(0)),.1)
  5585. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.8 - 0.05 * math.cos(sine / 28), 0.7) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  5586. LW.C0 = clerp(LW.C0, CFrame.new(-0.15, 0.5 - 0.05 * math.cos(sine / 28), -0.65) * angles(math.rad(90), math.rad(12), math.rad(50)), 0.3)
  5587. elseif Mode == "R8R" then
  5588. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  5589. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  5590. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  5591. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  5592. RW.C0=clerp(RW.C0,cf(0.8,0.5 + 0.1 * math.cos(sine / 28),-.65)*angles(math.rad(90),math.rad(0),math.rad(-30)),.1)
  5593. LW.C0=clerp(LW.C0,cf(-0.8,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(90),math.rad(0),math.rad(30)),.1)
  5594. elseif Mode == "AR" then
  5595. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5),math.rad(-1 - 2 * math.cos(sine / 20))),.1)
  5596. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(5.5),math.rad(-1 + 2 * math.cos(sine / 20))),.1)
  5597. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(0)),.1)
  5598. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(3 - 3 * math.cos(sine / 40)),math.rad(0),math.rad(0 - 3 * math.cos(sine / 67))),.1)
  5599. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.8, 0.7) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  5600. LW.C0 = clerp(LW.C0, CFrame.new(-0.15, 0.5, -0.65) * angles(math.rad(90), math.rad(12), math.rad(50)), 0.3)
  5601. elseif Mode == "INSANITY" then
  5602. if MRANDOM(1,14) == 1 then
  5603. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CF(MRANDOM(-34,25), MRANDOM(-25,25), MRANDOM(-25,25)) * angles(Rad(Mrandom(-180,180)), Rad(Mrandom(-180,180)), Rad(Mrandom(-180,180))), 0.15)
  5604. tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(MRANDOM(-34,34), MRANDOM(-25,25), MRANDOM(-25,25)) * angles(Rad(Mrandom(-25,25)), Rad(Mrandom(-165,165)), Rad(Mrandom(-155,155))), 1)
  5605. RW.C0 = clerp(RW.C0, CF(MRANDOM(-34,34), MRANDOM(-34,35), MRANDOM(-31,33)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.1)
  5606. LW.C0 = clerp(LW.C0, CF(MRANDOM(-34,38), MRANDOM(-31,33), MRANDOM(-32,30)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.1)
  5607. RH.C0 = clerp(RH.C0, CF(MRANDOM(-24,24), MRANDOM(-26,23), MRANDOM(-23,20)) * RHCF * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15)
  5608. LH.C0 = clerp(LH.C0, CF(MRANDOM(-24,24), MRANDOM(-27,23), MRANDOM(-23,23)) * LHCF * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15)
  5609. end
  5610. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15)
  5611. tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-65,65)), Rad(Mrandom(-65,65)), Rad(Mrandom(-65,65))), 1)
  5612. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.1)
  5613. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.1)
  5614. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15)
  5615. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15)
  5616. elseif Mode == "S" then
  5617. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5 - 2 * math.cos(sine / 56)),math.rad(-12 - 2 * math.cos(sine / 32))),.1)
  5618. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  5619. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 32),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-22 + 2 * math.cos(sine / 56))),.1)
  5620. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(17 - 2 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 43) - 2 * math.cos(sine / 0.25)),math.rad(6 - 2 * math.cos(sine / 56))),.1)
  5621. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 40),0.45)*angles(math.rad(-30),math.rad(0),math.rad(-30)),.1)
  5622. LW.C0=clerp(LW.C0,cf(-0.85,0.49 + 0.05 * math.cos(sine / 40),-0.65)*angles(math.rad(40 - 1 * math.cos(sine / 58)),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 40))),.1)
  5623. elseif Mode == "Nuclear" then
  5624. if MRANDOM(1,23) == 1 then
  5625. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-35,35) - 4 * COS(SINE / 12)), RAD(MRANDOM(-35,35)), RAD(0)), 1.5 / Animation_Speed)
  5626. end
  5627. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 - 0.15 * COS(SINE / 12)) * ANGLES(RAD(0 - 2 * COS(sine / 32)),RAD(0),RAD(0)), 0.15 / Animation_Speed)
  5628. Neck.C0 = Clerp(Neck.C0, NECKC0*ANGLES(RAD(19 - 2 * COS(sine / 37)),RAD(0 + 5 * math.cos(sine / 55)),math.rad(0)), 0.15 / Animation_Speed)
  5629. WACKYEFFECT({EffectType = "Block", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  5630. WACKYEFFECT({EffectType = "Block", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  5631. RW.C0 = Clerp(RW.C0, CF(1.5, 0.5 - 0.15 * COS(SINE / 12), 0)*ANGLES(math.rad(2 + 11 * math.cos(sine / 73)),math.rad(18 - 6 * math.cos(sine / 57)),math.rad(17 + 5 * math.cos(sine / 52))), 0.15 / Animation_Speed)
  5632. LW.C0 = Clerp(LW.C0, CF(-1.5,0.5 - 0.15 * COS(SINE / 12),0)*ANGLES(math.rad(2 + 11 * math.cos(sine / 73)),math.rad(-18 + 6 * math.cos(sine / 57)),math.rad(-17 - 1 * math.cos(sine / 52))), 0.15 / Animation_Speed)
  5633. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  5634. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  5635. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.55,0.55,0.55), Size2 = VT(0.5,3.6,0.5), 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 = MRANDOM(-35,35), RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  5636. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.55,0.55,0.55), Size2 = VT(0.5,3.6,0.5), 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 = MRANDOM(-35,35), RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  5637.  
  5638. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.55,0.55,0.55), Size2 = VT(0.5,3.6,0.5), 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 = MRANDOM(-35,35), RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  5639. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.55,0.55,0.55), Size2 = VT(0.5,3.6,0.5), 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 = MRANDOM(-35,35), RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  5640. elseif Mode == "MARENOL" then
  5641. if MRANDOM(1,33) == 1 then
  5642. CharacterFade(C3(1,0,0),65,R_RANDOM(Torso.CFrame,0.5).p)
  5643. end
  5644. if MRANDOM(1,23) == 1 then
  5645. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-75,75) - 4 * COS(SINE / 12)), RAD(MRANDOM(-75,75)), RAD(0)), 1.5 / Animation_Speed)
  5646. end
  5647. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.2)*angles(math.rad(130 + 6 * math.cos(sine / 72) + MRANDOM(-20,20)),math.rad(3 - 2 * math.cos(sine / 58) + MRANDOM(-20,20)),math.rad(-38 + 2 * math.cos(sine / 45) + MRANDOM(-20,20))),.1)
  5648. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.2)*angles(math.rad(130 - 7 * math.cos(sine / 66) + MRANDOM(-20,20)),math.rad(4 - 3 * math.cos(sine / 59) + MRANDOM(-20,20)),math.rad(33 - 4 * math.cos(sine / 45) + MRANDOM(-20,20))),.1)
  5649. RootJoint.C0 = clerp2(RootJoint.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -1.6 + 0.1 * Player_Size * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.1)
  5650. Neck.C0 = clerp2(Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(30 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1)
  5651. RightHip.C0 = clerp2(RightHip.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(35), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(75)), 0.1)
  5652. LeftHip.C0 = clerp2(LeftHip.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(35), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-75)), 0.1)
  5653. elseif Mode == "Mutilated" then
  5654. if MRANDOM(1,7) == 1 then
  5655. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-55,55) - 4 * COS(SINE / 12)), RAD(MRANDOM(-55,55)), RAD(0)), 1.5 / Animation_Speed)
  5656. end
  5657. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
  5658. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  5659. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
  5660. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  5661. RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(79 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-87 + 2 * math.cos(sine / 45))),.1)
  5662. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(79 - 4 * math.cos(sine / 45))),.1)
  5663. elseif Mode == "G" then
  5664. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
  5665. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
  5666. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),-0.1 + 0.1 * math.cos(sine / 20))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
  5667. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(10 + 2 * math.cos(sine / 53))),.1)
  5668. RW.C0=clerp(RW.C0,cf(0.75,0.5 + 0.025 * math.cos(sine / 45),-0.75)*angles(math.rad(2 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-84 + 3 * math.cos(sine / 45))),.1)
  5669. LW.C0=clerp(LW.C0,cf(-0.8,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(12 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(87 - 3 * math.cos(sine / 45))),.1)
  5670. elseif Mode == "INSANE-H" then
  5671. local snap = math.random(1,75)
  5672. if snap == 1 then
  5673. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 + math.random(-60,60)),math.rad(math.random(-60,60)),math.rad(math.random(-60,60))),0.6)
  5674. RW.C0=clerp(RW.C0,cf(1.35,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 + 5 * math.cos(sine / 74) + math.random(-60,60)),math.rad(1 - 3 * math.cos(sine / 53) + math.random(-1,1)),math.rad(-15 + 3 * math.cos(sine / 45) + math.random(-60,60))),.6)
  5675. LW.C0=clerp(LW.C0,cf(-1.35,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 - 3 * math.cos(sine / 73) + math.random(-60,60)),math.rad(2 - 1 * math.cos(sine / 55) + math.random(-60,60)),math.rad(15 - 3 * math.cos(sine / 45) + math.random(-60,60))),.6)
  5676. end
  5677. RH.C0=clerp(RH.C0,cf(0,-1.125 - 0.05 * math.cos(sine / 32),-0.6)*angles(math.rad(-105),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-25 + 2 * math.cos(sine / 32))),.1)
  5678. LH.C0=clerp(LH.C0,cf(-1,-1.125 - 0.05 * math.cos(sine / 32),-0.6)*angles(math.rad(-105),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-25 + 2 * math.cos(sine / 32))),.1)
  5679. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1.3 + 0.05 * math.cos(sine / 32))*angles(math.rad(7.5 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  5680. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  5681. RW.C0=clerp(RW.C0,cf(1.3,0.5,0)*angles(math.rad(180 + math.random(-9,9)),math.rad(-90 + math.random(-9,9)),math.rad(15 + math.random(-9,9)))*angles(math.rad(-35 + math.random(-9,9)),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252) + math.random(-9,9)),math.rad(0 + 2.5 * math.cos(sine / 0.123) + math.random(-9,9)),math.rad(5 + 2.5 * math.cos(sine / 0.6) + math.random(-9,9)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25 + math.random(-9,9))),math.rad(0 - 15 * math.cos(sine / 0.465) + math.random(-9,9))),.1)
  5682. LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*angles(math.rad(180 + math.random(-9,9)),math.rad(90 + math.random(-9,9)),math.rad(-15 + math.random(-9,9)))*angles(math.rad(-35 + math.random(-9,9)),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568) + math.random(-9,9)),math.rad(0 + 2.5 * math.cos(sine / 0.664) + math.random(-9,9)),math.rad(-5 + 2.5 * math.cos(sine / 0.23) + math.random(-9,9)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25) + math.random(-9,9)),math.rad(0 - 15 * math.cos(sine / 0.465) + math.random(-9,9))),.1)
  5683. elseif Mode == "Chronos" then
  5684. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.15 * COS(SINE / 8)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  5685. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(1 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  5686. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 3 * math.cos(sine / 45))),.1)
  5687. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1)
  5688. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(SINE / 8), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  5689. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / 8), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  5690. end
  5691. end
  5692. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil and SIT == false then
  5693. ANIM = "Walk"
  5694. if ATTACK == false then
  5695. if Mode ~= "SMG" and Mode ~= "knif" and Mode ~= "INSANITY" and Mode ~= "SMG2" and Mode ~= "SMG3" then
  5696. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15)
  5697. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-1), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.15)
  5698. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 15 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  5699. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 15 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  5700. if Mode ~= "R8R" and Mode ~= "Shotty" then
  5701. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(56) * Cos(sine / 7) , Rad(10 * Cos(sine / 7)), Rad(6) - ra.RotVelocity.Y / 75), 0.1)
  5702. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(-56) * Cos(sine / 7) , Rad(10 * Cos(sine / 7)) , Rad(-6) + la.RotVelocity.Y / 75), 0.1)
  5703. --RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.25 * math.cos(sine / 8))*angles(math.rad(0 - 50 * math.cos(sine / 8)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 4))),.1)
  5704. --LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.25 * math.cos(sine / 8))*angles(math.rad(0 + 50 * math.cos(sine / 8)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 4))),.1)
  5705. elseif Mode == "R8R" then
  5706. RW.C0=clerp(RW.C0,cf(0.8,0.5 + 0.1 * math.cos(sine / 28),-.65)*angles(math.rad(90),math.rad(0),math.rad(-30)),.1)
  5707. LW.C0=clerp(LW.C0,cf(-0.8,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(90),math.rad(0),math.rad(30)),.1)
  5708. elseif Mode == "Shotty" then
  5709. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.8, 0.7) * angles(math.rad(90), math.rad(0), math.rad(15)), 0.3)
  5710. LW.C0 = clerp(LW.C0, CFrame.new(-0.15, 0.5, -0.65) * angles(math.rad(90), math.rad(12), math.rad(50)), 0.3)
  5711. end
  5712. else
  5713. if Mode ~= "INSANITY" then
  5714. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(20 - 2.5 * Cos(sine / 3.5)), Rad(0), Rad(0)), 0.15)
  5715. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(0)), 0.3)
  5716. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.925 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 55 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  5717. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.925 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 55 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  5718. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-65), Rad(0), Rad(25)), 0.1)
  5719. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-65), Rad(0), Rad(-25)), 0.1)
  5720. else
  5721. if MRANDOM(1,12) == 1 then
  5722. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CF(MRANDOM(-34,25), MRANDOM(-25,25), MRANDOM(-25,25)) * angles(Rad(Mrandom(-180,180)), Rad(Mrandom(-180,180)), Rad(Mrandom(-180,180))), 0.15)
  5723. tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(MRANDOM(-34,34), MRANDOM(-25,25), MRANDOM(-25,25)) * angles(Rad(Mrandom(-25,25)), Rad(Mrandom(-165,165)), Rad(Mrandom(-155,155))), 1)
  5724. RW.C0 = clerp(RW.C0, CF(MRANDOM(-34,34), MRANDOM(-34,35), MRANDOM(-31,33)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.1)
  5725. LW.C0 = clerp(LW.C0, CF(MRANDOM(-34,38), MRANDOM(-31,33), MRANDOM(-32,30)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.1)
  5726. RH.C0 = clerp(RH.C0, CF(MRANDOM(-24,24), MRANDOM(-26,23), MRANDOM(-23,20)) * RHCF * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15)
  5727. LH.C0 = clerp(LH.C0, CF(MRANDOM(-24,24), MRANDOM(-27,23), MRANDOM(-23,23)) * LHCF * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15)
  5728. end
  5729. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15)
  5730. tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-65,65)), Rad(Mrandom(-65,65)), Rad(Mrandom(-65,65))), 1)
  5731. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.1)
  5732. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.1)
  5733. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15)
  5734. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15)
  5735. end
  5736. end
  5737. end
  5738. elseif SIT == true then
  5739. ANIM = "Sit"
  5740. if ATTACK == false then
  5741. RW.C0 = clerp(RW.C0, CF(1.5, .5, 0) * angles(math.rad(45), math.rad(-3), math.rad(-10)), 0.1)
  5742. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(5), math.rad(20)), 0.1)
  5743. LH.C0 = clerp(LH.C0, CF(-0.3, -1.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-10)), 0.1)
  5744. RH.C0 = clerp(RH.C0, CF(0.3, -1.5, 0) * angles(math.rad(90), math.rad(0), math.rad(10)), 0.1)
  5745. RootJoint.C0 = clerp(RootJoint.C0, RootCF, 0.1)
  5746. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko, 0.1)
  5747. end
  5748. end
  5749. if Mode == "Nuclear" or Mode == "Chronos" then
  5750. CLOCKWORK2.BrickColor = BRICKC'Lime green'
  5751. elseif Mode == "INSANE-H" or Mode == "MARENOL" then
  5752. CLOCKWORK2.Color = C3(MRANDOM(-255,255),0,0)
  5753. elseif Mode == "PIXEL" then
  5754. CLOCKWORK2.BrickColor = BRICKC'Steel blue'
  5755. elseif Mode == "S" then
  5756. CLOCKWORK2.BrickColor = BRICKC'Toothpaste'
  5757. elseif Mode == "G" then
  5758. CLOCKWORK2.BrickColor = BRICKC'Institutional hite'
  5759. elseif Mode == "Mutilated" then
  5760. CLOCKWORK2.BrickColor = BrickColor.random()
  5761. elseif Mode ~= "Nuclear" or Mode ~= "Chronos" or Mode ~= "INSANE-H" or Mode ~= "MARENOL" or Mode ~= "S" or Mode ~= "PIXEL" or Mode ~= "Mutilated" or Mode ~= "G" then
  5762. CLOCKWORK2.BrickColor = BRICKC'Bright yellow'
  5763. end
  5764. --If your looking in the code, good job, I'll tell you some hints while your there.
  5765. --[[
  5766. Theres a hidden thing i HAVENT finished yet that has been a trend in glitchers
  5767. and it starts with an N
  5768.  
  5769. Second hint is.
  5770. If your gonna look at the attacks i didnt use, This was a edit out of the clockworker script i did.
  5771. --]]
  5772. if Head:FindFirstChild("face") then
  5773. Head.face.Texture = "rbxasset://textures/face.png" --187019542
  5774. end
  5775. if Mode == "Nuclear" then
  5776. if ANIM == "Walk" then
  5777. WACKYEFFECT({Time = 120, EffectType = "Sphere", Size = VT(5,0.75,5), Size2 = VT(16,0.75,16), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,-3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  5778. end
  5779. if MRANDOM(1,7) == 1 then
  5780. WACKYEFFECT({Time = 120, EffectType = "Sphere", Size = VT(0,0.75,0), Size2 = VT(15.5,0.75,15.5), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,-3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  5781. end
  5782. end
  5783. --unanchor()
  5784. if Mode ~= "SMG" and Mode ~= "DE" and Mode ~= "knif" and Mode ~= "INSANITY" and Mode ~= "SMG2" and Mode ~= "SMG3" then
  5785. Speed = 17
  5786. elseif Mode == "SMG" then
  5787. Speed = 56
  5788. elseif Mode == "SMG2" then
  5789. Speed = 65
  5790. elseif Mode == "SMG3" then
  5791. Speed = 69
  5792. elseif Mode == "DE" then
  5793. Speed = 26
  5794. elseif Mode == "INSANITY" then
  5795. Speed = 36
  5796. elseif Mode == "knif" then
  5797. Speed = 46
  5798. end
  5799. if Rooted == false then
  5800. Disable_Jump = false
  5801. Humanoid.WalkSpeed = Speed
  5802. elseif Rooted == true then
  5803. Disable_Jump = true
  5804. Humanoid.WalkSpeed = 0
  5805. end
  5806. for i,v in pairs(Character:children()) do
  5807. if v:IsA("Accessory") then
  5808. v:Destroy()
  5809. end
  5810. end
  5811. if Character:FindFirstChild("Shirt") then
  5812. Character.Shirt:Destroy()
  5813. end
  5814. if Character:FindFirstChild("Pants") then
  5815. Character.Pants:Destroy()
  5816. end
  5817. sick.Playing = true
  5818. if sick.Parent ~= RootPart then
  5819. sick = IT("Sound",RootPart)
  5820. end
  5821. sick.Volume = 3.25
  5822. sick.Pitch = 1
  5823. sick.Looped = true
  5824. sick.SoundId = "rbxassetid://"..SONG
  5825. sick.Name = "a"
  5826. end
  5827.  
  5828. --//=================================\\
  5829. --\\=================================//
  5830.  
  5831.  
  5832.  
  5833.  
  5834. --//====================================================\\--
  5835. --|| END OF SCRIPT
  5836. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement