Advertisement
Guest User

Untitled

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