Advertisement
Guest User

Untitled

a guest
Oct 15th, 2019
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 235.17 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. no for you
  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. NO
  1139.  
  1140. NO CLOSE GUI
  1141.  
  1142. GUI made by None
  1143. ]]
  1144. backgroundcolortitle = C3(0.1,0.1,0)
  1145. bordercolortitle = C3(1,1,0)
  1146. GUI = Instance.new("ScreenGui", Player.PlayerGui)
  1147. GUI.Name = "BlackHoleKyutatsukiGui"
  1148. textlabel = Instance.new("TextLabel",GUI)
  1149. textlabel.AnchorPoint = Vector2.new(1,1)
  1150. textlabel.Position = UDim2.new(1,500+5,1,-5)
  1151. textlabel.Size = UDim2.new(0,500,0,400)
  1152. textlabel.BorderSizePixel = 5
  1153. textlabel.BorderColor3 = bordercolortitle
  1154. textlabel.BackgroundColor3 = backgroundcolortitle
  1155. textlabel.BackgroundTransparency = 0.1
  1156. textlabel.TextTransparency = 0.1
  1157. textlabel.TextColor3 = C3(1,1,0)
  1158. textlabel.TextScaled = true
  1159. textlabel.TextYAlignment = Enum.TextYAlignment.Center
  1160. textlabel.Font = Enum.Font.SciFi
  1161. textlabel.Text = title
  1162.  
  1163. guiopen = false
  1164. debouncebutton = false
  1165. function openhelp()
  1166. if debouncebutton == false then
  1167. if guiopen == false then
  1168. debouncebutton = true
  1169. textlabel:TweenPosition(UDim2.new(1,0-5,1,-5),Enum.EasingDirection.InOut,Enum.EasingStyle.Quad,0.2)
  1170. guiopen = true
  1171. wait(0.2)
  1172. else
  1173. debouncebutton = true
  1174. textlabel:TweenPosition(UDim2.new(1,500+5,1,-5),Enum.EasingDirection.InOut,Enum.EasingStyle.Quad,0.2)
  1175. guiopen = false
  1176. wait(0.2)
  1177. end
  1178. end
  1179. debouncebutton = false
  1180. end
  1181. openhelp()
  1182.  
  1183. Mouse.KeyDown:connect(function(key)
  1184. if key == "NO CLOSE" then
  1185. openhelp()
  1186. end
  1187. end)
  1188.  
  1189. if Character:FindFirstChild("Shirt") then
  1190. Character.Shirt:Destroy()
  1191. end
  1192. if Character:FindFirstChild("Pants") then
  1193. Character.Pants:Destroy()
  1194. end
  1195.  
  1196. for i,v in pairs(Character:children()) do
  1197. if v:IsA("Accessory") then
  1198. v:Destroy()
  1199. end
  1200. end
  1201.  
  1202.  
  1203. Player_Size = 1 --Size of the player.
  1204.  
  1205.  
  1206. local Shirto = Instance.new("Shirt")
  1207. Shirto.Name = "S"
  1208. Shirto.ShirtTemplate = "rbxassetid://787796132"
  1209. Shirto.Parent = Character
  1210.  
  1211. local Panto = Instance.new("Pants")
  1212. Panto.Name = "S"
  1213. Panto.PantsTemplate = "rbxassetid://844190661"
  1214. Panto.Parent = Character
  1215. New = function(Object, Parent, Name, Data)
  1216. local Object = Instance.new(Object)
  1217. for Index, Value in pairs(Data or {}) do
  1218. Object[Index] = Value
  1219. end
  1220. Object.Parent = Parent
  1221. Object.Name = Name
  1222. return Object
  1223. end
  1224.  
  1225. --[[
  1226. tommygun = Instance.new("Part",Character)
  1227. tommygun.Size = Vector3.new(2,2,2)
  1228. tommygun.CFrame = RightArm.CFrame
  1229. tommygun.CanCollide = false
  1230. tommygunweld = Instance.new("Weld",tommygun)
  1231. tommygunweld.Part0 = tommygun
  1232. tommygunweld.Part1 = RightArm
  1233. tommygunweld.C0 = tommygun.CFrame:inverse() * RightArm.CFrame * CFrame.new(0,-.80,1.25) * CFrame.Angles(math.rad(98),math.rad(0),0)
  1234. mtommygun = Instance.new("SpecialMesh", tommygun)
  1235. mtommygun.MeshType = "FileMesh"
  1236. mtommygun.Scale = Vector3.new(1, 1, 1)
  1237. mtommygun.MeshId,mtommygun.TextureId = 'http://www.roblox.com/asset/?id=116679805','http://www.roblox.com/asset/?id=116679995'
  1238. tommygunammo = Instance.new("Part",Character)
  1239. tommygunammo.Size = Vector3.new(2,2,2)
  1240. tommygunammo.CFrame = tommygun.CFrame
  1241. tommygunammo.CanCollide = false
  1242. tommygunammoweld = Instance.new("Weld",tommygunammo)
  1243. tommygunammoweld.Part0 = tommygunammo
  1244. tommygunammoweld.Part1 = tommygun
  1245. tommygunammoweld.C0 = tommygun.CFrame:inverse() * tommygun.CFrame * CFrame.new(0,.4,.25) * CFrame.Angles(math.rad(0),math.rad(0),0)
  1246. mtommygunammo = Instance.new("SpecialMesh", tommygunammo)
  1247. mtommygunammo.MeshType = "FileMesh"
  1248. mtommygunammo.Scale = Vector3.new(1, 1, 1)
  1249. mtommygunammo.MeshId,mtommygunammo.TextureId = 'http://www.roblox.com/asset/?id=116740155','http://www.roblox.com/asset/?id=116679995'
  1250. ]]--
  1251.  
  1252. local AK = CreatePart(3, A47, "Neon", 0, 0, "Really black", "Gun", VT(1, 0.8, 3),false)
  1253. CreateMesh("SpecialMesh", AK, "FileMesh", "430309675", "430310377", VT(0.01, 0.01, 0.01), VT(0,0,0))
  1254. --CreateMesh("SpecialMesh", AK, "FileMesh", "430054350", "430310377", VT(1, 1, 1), VT(0,0,0))
  1255. 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))
  1256. local AH = CreatePart(3, A47, "SmoothPlastic", 0, 1, "Really black", "Handle", VT(0, 0, 0),false)
  1257. 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))
  1258.  
  1259. AKMMO2 = Instance.new("Part",A47)
  1260. AKMMO2.Size = Vector3.new(2,2,2)
  1261. AKMMO2.CFrame = AK.CFrame
  1262. AKMMO2.CanCollide = false
  1263. AKMO = Instance.new("Weld",AKMMO2)
  1264. AKMO.Part0 = AKMMO2
  1265. AKMO.Part1 = AK
  1266. AKMO.C0 = AK.CFrame:inverse() * AK.CFrame * CFrame.new(0,.4,.25) * CFrame.Angles(math.rad(0),math.rad(0),0)
  1267. AKMMO = Instance.new("SpecialMesh", AKMMO2)
  1268. AKMMO.MeshType = "FileMesh"
  1269. AKMMO.Scale = Vector3.new(0.01, 0.01, 0.01)
  1270. AKMMO.MeshId,AKMMO.TextureId = 'http://www.roblox.com/asset/?id=430310311','http://www.roblox.com/asset/?id=430310377'
  1271.  
  1272. --[[
  1273. Shotii = New("Model",Character,"Shotii",{})
  1274. 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,})
  1275. Mesh = New("SpecialMesh",SHandaru,"Mesh",{Scale = Vector3.new(0.00200000019, 0.00200000019, 0.00200000019),MeshId = "rbxassetid://450250994",TextureId = "rbxassetid://450251128",MeshType = Enum.MeshType.FileMesh,})
  1276. 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),})
  1277. 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,})
  1278. 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),})
  1279. 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,})
  1280. 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),})
  1281. SHandaru.Transparency = 1]]--
  1282. local AWH = CreatePart(3, AWP, "Neon", 0, 0, "Really black", "Gun", VT(1, 0.8, 3),false)
  1283. CreateMesh("SpecialMesh", AWH, "FileMesh", "504829483", "504829510", VT(0.01, 0.01, 0.01), VT(0,0,0))
  1284. 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))
  1285.  
  1286. --[[
  1287.  
  1288. local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Eye", Vector3.new(0.375,0.375,0.385),false)
  1289. 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))
  1290.  
  1291. local CLOCKWORK = CreatePart(3, Character, "Neon", 0, 0, "New Yeller", "Eye", Vector3.new(0.25,0.25,0.26),false)
  1292. 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))
  1293. ]]--
  1294.  
  1295. local assault = CreatePart(3, AR, "Neon", 0, 0, "Really black", "assault", VT(1, 0.8, 3),false)
  1296. CreateMesh("SpecialMesh", assault, "FileMesh", "537039121", "537039226", VT(0.3, 0.3, 0.3), VT(0,0,0))
  1297. 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))
  1298. local EAE = CreatePart(3, AR, "SmoothPlastic", 0, 1, "Really black", "Handle", VT(0, 0, 0),false)
  1299. 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))
  1300.  
  1301. --[[
  1302. local GunModel = Instance.new("Part", Character)--Shotgun)
  1303. GunModel.Name = "Pistol"
  1304. GunModel.Shape = Enum.PartType.Ball
  1305. GunModel.CanCollide = false
  1306. GunModel.BrickColor = BrickColor.new("Medium stone grey")
  1307. GunModel.Transparency = 1
  1308. GunModel.Material = "Grass"
  1309. GunModel.Size = Vector3.new(0.01, 0.01, 0.01)
  1310. GunModel.TopSurface = Enum.SurfaceType.Smooth
  1311. GunModel.BottomSurface = Enum.SurfaceType.Smooth
  1312. local Weld = Instance.new("Weld", GunModel)
  1313. Weld.Part0 = RightArm
  1314. Weld.Part1 = GunModel
  1315. Weld.C1 = CFrame.new(0, -0.3, -1.4) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(180))
  1316. GunModelMesh = Instance.new("FileMesh", GunModel)
  1317. GunModelMesh.MeshId = "http://www.roblox.com/asset/?id=450250994"
  1318. GunModelMesh.TextureId = "http://www.roblox.com/asset/?id=450251128"
  1319. GunModelMesh.Scale = Vector3.new(0.035, 0.02, 0.02)
  1320. ]]--
  1321.  
  1322. local UGB = CreatePart(3, AUG, "Neon", 0, 0, "Really black", "Gun", VT(1, 0.8, 3),false)
  1323. CreateMesh("SpecialMesh", UGB, "FileMesh", "431717702", "431717780", VT(0.08, 0.08, 0.08), VT(0,0,0))
  1324. 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))
  1325.  
  1326.  
  1327. local SGUN = CreatePart(3, Shotgun, "Neon", 0, 0, "Really black", "Gun", VT(1, 0.8, 3),false)
  1328. CreateMesh("SpecialMesh", SGUN, "FileMesh", "450250994", "450251128", VT(0.002, 0.002, 0.002), VT(0,0,0))
  1329. 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))
  1330.  
  1331. local Barrel = CreatePart(3, Shotgun, "SmoothPlastic", 0, 1, "Really black", "Handle", VT(0, 0, 0),false)
  1332. 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))
  1333.  
  1334. local OUTSIDE = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Eye", Vector3.new(0.395,0.485,0.405),false)
  1335. 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))
  1336.  
  1337. local CLOCKWORK2 = CreatePart(3, Character, "Neon", 0, 0, "Bright yellow", "Eye", Vector3.new(0.29,0.37,0.30),false)
  1338. 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))
  1339. MakeForm(OUTSIDE,"Cyl")
  1340. MakeForm(CLOCKWORK2,"Cyl")
  1341. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Eye", Vector3.new(1.3,0.225,1.3),false)
  1342. local weld = CreateWeldOrSnapOrMotor("Weld", BELT, Head, BELT, CF(0,0.05,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1343. MakeForm(BELT,"Cyl")
  1344.  
  1345. local BC = char["Body Colors"]
  1346. BC.HeadColor = BrickColor.new("Light stone grey")
  1347. BC.LeftArmColor = BrickColor.new("Light stone grey")
  1348. BC.LeftLegColor = BrickColor.new("Light stone grey")
  1349. BC.RightArmColor = BrickColor.new("Light stone grey")
  1350. BC.RightLegColor = BrickColor.new("Light stone grey")
  1351. BC.TorsoColor = BrickColor.new("Light stone grey")
  1352.  
  1353. local kek9= CreatePart(3, kek, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false)
  1354. local kek9M = CreateMesh("SpecialMesh", kek9, "FileMesh", "742046473", "742046691", VT(0.002, 0.002, 0.002), VT(0,0, 0))
  1355. 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))
  1356.  
  1357. local kepoint = CreatePart(3, kek, "SmoothPlastic", 0, 1, "Really black", "Handle", VT(0, 0, 0),false)
  1358. 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))
  1359.  
  1360.  
  1361. local Gun = CreatePart(3, Gun, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false)
  1362. --local HandleMesh = CreateMesh("SpecialMesh", Gun, "FileMesh", "72012879", "72012859", VT(2,2,2), VT(0,0, 0))
  1363. local HandleMesh = CreateMesh("SpecialMesh", Gun, "FileMesh", "430348960", "430888952", VT(0.002, 0.002, 0.002), VT(0,0, 0))
  1364. --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))
  1365. 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))
  1366.  
  1367. local GunPoint = CreatePart(3, Gun, "SmoothPlastic", 0, 1, "Really black", "Handle", VT(0, 0, 0),false)
  1368. 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))
  1369.  
  1370.  
  1371. local S2S = CreatePart(3, Supressor, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false)
  1372. local HandleMesh = CreateMesh("SpecialMesh", S2S, "FileMesh", "430884744", "430888952", VT(0.002, 0.002, 0.002), VT(0,0, 0))
  1373. 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))
  1374.  
  1375. --GunModelMesh.MeshId = "http://www.roblox.com/asset/?id=0"
  1376. local SSDE = CreatePart(3, SMG, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false)
  1377. local HandleMesh = CreateMesh("SpecialMesh", SSDE, "FileMesh", "453175434", "453175461", VT(0.02, 0.02, 0.02), VT(0,0, 0))
  1378. 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))
  1379.  
  1380. local Flare = CreatePart(3, SMG, "SmoothPlastic", 0, 1, "Really black", "Handle", VT(0, 0, 0),false)
  1381. 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))
  1382.  
  1383. local SSDE2 = CreatePart(3, SMG, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false)
  1384. local HandleMesh2 = CreateMesh("SpecialMesh", SSDE2, "FileMesh", "453175434", "453175461", VT(0.02, 0.02, 0.02), VT(0,0, 0))
  1385. 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))
  1386.  
  1387. local Flare2 = CreatePart(3, SMG, "SmoothPlastic", 0, 1, "Really black", "Handle", VT(0, 0, 0),false)
  1388. 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))
  1389.  
  1390. local KL2 = CreatePart(3, knif, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false)
  1391. local KLM = CreateMesh("SpecialMesh", KL2, "FileMesh", "437420170", "437420120", VT(0.3, 0.3, 0.3), VT(0,0, 0))
  1392. 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))
  1393.  
  1394. local R8A = CreatePart(3, R8RA, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false)
  1395. local R8M = CreateMesh("SpecialMesh", R8A, "FileMesh", "541863381", "541863491", VT(0.3, 0.3, 0.3), VT(0,0, 0))
  1396. --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))
  1397. 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))
  1398.  
  1399. local REVOLV = CreatePart(3, R8RA, "SmoothPlastic", 0, 1, "Really black", "Handle", VT(0, 0, 0),false)
  1400. 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))
  1401.  
  1402.  
  1403. local DEAGLE = CreatePart(3, DE, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false)
  1404. local DEAGLEMESH = CreateMesh("SpecialMesh", DEAGLE, "FileMesh", "441587064", "441587082", VT(0.03, 0.03, 0.03), VT(0,0, 0))
  1405. 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))
  1406.  
  1407. local JUAND = CreatePart(3, DE, "SmoothPlastic", 0, 1, "Really black", "Handle", VT(0, 0, 0),false)
  1408. 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))
  1409.  
  1410.  
  1411.  
  1412.  
  1413. local SOL = CreatePart(3, SMG2, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false)
  1414. local SOLM = CreateMesh("SpecialMesh", SOL, "FileMesh", "540384540", "540384666", VT(0.2, 0.2, 0.2), VT(0,0, 0))
  1415. 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))
  1416.  
  1417. local VOL = CreatePart(3, SMG2, "SmoothPlastic", 0, 1, "Really black", "Handle", VT(0, 0, 0),false)
  1418. 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))
  1419.  
  1420. local SOL2 = CreatePart(3, SMG2, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false)
  1421. local SOLM2 = CreateMesh("SpecialMesh", SOL2, "FileMesh", "540384540", "540384666", VT(0.2, 0.2, 0.2), VT(0,0, 0))
  1422. 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))
  1423.  
  1424. local VOL2 = CreatePart(3, SMG2, "SmoothPlastic", 0, 1, "Really black", "Handle", VT(0, 0, 0),false)
  1425. 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))
  1426.  
  1427.  
  1428.  
  1429.  
  1430.  
  1431.  
  1432.  
  1433.  
  1434. local MAC = CreatePart(3, SMG3, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false)
  1435. local MAC2M = CreateMesh("SpecialMesh", MAC, "FileMesh", "431951963", "431951966", VT(0.1, 0.1, 0.1), VT(0,0, 0))
  1436. 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))
  1437.  
  1438. local BOI = CreatePart(3, SMG3, "SmoothPlastic", 0, 1, "Really black", "Handle", VT(0, 0, 0),false)
  1439. 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))
  1440.  
  1441. local MAC2 = CreatePart(3, SMG3, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false)
  1442. local MAC2M = CreateMesh("SpecialMesh", MAC2, "FileMesh", "431951963", "431951966", VT(0.1, 0.1, 0.1), VT(0,0, 0))
  1443. 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))
  1444.  
  1445. local BOI2 = CreatePart(3, SMG3, "SmoothPlastic", 0, 1, "Really black", "Handle", VT(0, 0, 0),false)
  1446. 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))
  1447.  
  1448.  
  1449.  
  1450.  
  1451. DE.Parent = nil
  1452. for _, c in pairs(DE:GetChildren()) do
  1453. if c.ClassName == "Part" then
  1454. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1455. end
  1456. end
  1457. AWP.Parent = nil
  1458. for _, c in pairs(AWP:GetChildren()) do
  1459. if c.ClassName == "Part" then
  1460. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1461. end
  1462. end
  1463.  
  1464. Gun.Parent = nil
  1465. for _, c in pairs(Gun:GetChildren()) do
  1466. if c.ClassName == "Part" then
  1467. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1468. end
  1469. end
  1470.  
  1471. Supressor.Parent = nil
  1472. for _, c in pairs(Supressor:GetChildren()) do
  1473. if c.ClassName == "Part" then
  1474. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1475. end
  1476. end
  1477.  
  1478. AR.Parent = nil
  1479. for _, c in pairs(AR:GetChildren()) do
  1480. if c.ClassName == "Part" then
  1481. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1482. end
  1483. end
  1484.  
  1485.  
  1486. SMG.Parent = nil
  1487. for _, c in pairs(SMG:GetChildren()) do
  1488. if c.ClassName == "Part" then
  1489. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1490. end
  1491. end
  1492.  
  1493. SMG3.Parent = nil
  1494. for _, c in pairs(SMG3:GetChildren()) do
  1495. if c.ClassName == "Part" then
  1496. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1497. end
  1498. end
  1499.  
  1500. SMG2.Parent = nil
  1501. for _, c in pairs(SMG2:GetChildren()) do
  1502. if c.ClassName == "Part" then
  1503. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1504. end
  1505. end
  1506.  
  1507. Weapon.Parent = Character
  1508. for _, c in pairs(Weapon:GetChildren()) do
  1509. if c.ClassName == "Part" then
  1510. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1511. end
  1512. end
  1513.  
  1514. local SKILLTEXTCOLOR = C3(1,1,0)
  1515. local SKILLFONT = "SciFi"
  1516. local SKILLTEXTSIZE = 7
  1517. --HEALTH FUNCTIONS
  1518. Humanoid.Died:connect(function()
  1519. for i = 1, 23 do
  1520. 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))
  1521. end
  1522. Character:FindFirstChildOfClass("Humanoid").PlatformStand = true
  1523. if Character:findFirstChild("Torso") then
  1524. Character.Torso.Velocity = Character.Torso.CFrame.lookVector * 10
  1525. for i,v in pairs(Character.Torso:GetChildren()) do
  1526. if v.ClassName == "Motor6D" then
  1527. if v.Name == "Neck" then
  1528.  
  1529. else
  1530. v:destroy()
  1531. end
  1532. end
  1533. end
  1534. end
  1535. if Character:findFirstChild("Right Arm") then
  1536. local attachment = Instance.new("Attachment", Character.Torso)
  1537. attachment.Position = Vector3.new(1, 1, 0)
  1538. local ball = Instance.new("BallSocketConstraint", Character)
  1539. ball.Attachment0 = Character["Right Arm"].RightShoulderAttachment
  1540. ball.Attachment1 = attachment
  1541. local collidepartofleftleg = Instance.new("Part", Character.Torso)
  1542. collidepartofleftleg.Name = "Bone"
  1543. collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  1544. collidepartofleftleg.Transparency = 1
  1545. collidepartofleftleg:BreakJoints()
  1546. local weeld = Instance.new("Weld", collidepartofleftleg)
  1547. weeld.Part0 = Character["Right Arm"]
  1548. weeld.Part1 = collidepartofleftleg
  1549. weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  1550. end
  1551. if Character:findFirstChild("Left Arm") then
  1552. local attachment = Instance.new("Attachment", Character.Torso)
  1553. attachment.Position = Vector3.new(-1, 1, 0)
  1554. local ball = Instance.new("BallSocketConstraint", Character)
  1555. ball.Attachment0 = attachment
  1556. ball.Attachment1 = Character["Left Arm"].LeftShoulderAttachment
  1557. local collidepartofleftleg = Instance.new("Part", Character.Torso)
  1558. collidepartofleftleg.Name = "Bone"
  1559. collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  1560. collidepartofleftleg.Transparency = 1
  1561. collidepartofleftleg:BreakJoints()
  1562. local weeld = Instance.new("Weld", collidepartofleftleg)
  1563. weeld.Part0 = Character["Left Arm"]
  1564. weeld.Part1 = collidepartofleftleg
  1565. weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  1566. end
  1567. if Character:findFirstChild("Right Leg") then
  1568. local attachment = Instance.new("Attachment", Character.Torso)
  1569. attachment.Position = Vector3.new(0.5, -1, 0)
  1570. local ball = Instance.new("BallSocketConstraint", Character)
  1571. ball.Attachment0 = Character["Right Leg"].RightFootAttachment
  1572. ball.Attachment1 = attachment
  1573. Character["Right Leg"].RightFootAttachment.Position = Vector3.new(0, 1, 0)
  1574. local collidepartofleftleg = Instance.new("Part", Character.Torso)
  1575. collidepartofleftleg.Name = "Bone"
  1576. collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  1577. collidepartofleftleg.Transparency = 1
  1578. collidepartofleftleg:BreakJoints()
  1579. local weeld = Instance.new("Weld", collidepartofleftleg)
  1580. weeld.Part0 = Character["Right Leg"]
  1581. weeld.Part1 = collidepartofleftleg
  1582. weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  1583. end
  1584. if Character:findFirstChild("Left Leg") then
  1585. local attachment = Instance.new("Attachment", Character.Torso)
  1586. attachment.Position = Vector3.new(-0.5, -1, 0)
  1587. local ball = Instance.new("BallSocketConstraint", Character)
  1588. ball.Attachment0 = Character["Left Leg"].LeftFootAttachment
  1589. ball.Attachment1 = attachment
  1590. Character["Left Leg"].LeftFootAttachment.Position = Vector3.new(0, 1, 0)
  1591. local collidepartofleftleg = Instance.new("Part", Character.Torso)
  1592. collidepartofleftleg.Name = "Bone"
  1593. collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  1594. collidepartofleftleg.Transparency = 1
  1595. collidepartofleftleg:BreakJoints()
  1596. local weeld = Instance.new("Weld", collidepartofleftleg)
  1597. weeld.Part0 = Character["Left Leg"]
  1598. weeld.Part1 = collidepartofleftleg
  1599. weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  1600. end
  1601. if Character:findFirstChild("Head") then
  1602. local attachment = Instance.new("Attachment", Character.Head)
  1603. attachment.Position = Vector3.new(0, -0.5, 0)
  1604. attachment.Name = "lol"
  1605. attachment.Visible = false
  1606. Character.Torso.NeckAttachment.Visible = false
  1607. Character.Torso.NeckAttachment.Position = Character.Torso.NeckAttachment.Position + Vector3.new(0,0,0)
  1608. local ball = Instance.new("BallSocketConstraint", Character)
  1609. ball.Attachment0 = Character.Torso.NeckAttachment
  1610. ball.Attachment1 = attachment
  1611. ball.LimitsEnabled = true
  1612. ball.TwistLimitsEnabled = true
  1613. ball.UpperAngle = 90
  1614. ball.Restitution = 0.5
  1615. ball.TwistUpperAngle = 180
  1616. ball.TwistLowerAngle = -180
  1617. local collidepartofleftleg = Instance.new("Part", Character.Torso)
  1618. collidepartofleftleg.Name = "Bone"
  1619. collidepartofleftleg.Size = Vector3.new(0.7,0.7,0.7)
  1620. collidepartofleftleg.Transparency = 1
  1621. collidepartofleftleg:BreakJoints()
  1622. local weeld = Instance.new("Weld", collidepartofleftleg)
  1623. weeld.Part0 = collidepartofleftleg
  1624. weeld.Part1 = Character["Head"]
  1625. if Character.Torso:findFirstChild("Neck") then
  1626. Character.Torso.Neck:destroy()
  1627. end
  1628. end
  1629. Character:FindFirstChildOfClass("Humanoid"):SetStateEnabled(Enum.HumanoidStateType.Dead, false)
  1630. Character:FindFirstChildOfClass("Humanoid").Health = 0.1
  1631. Character:FindFirstChildOfClass("Humanoid").WalkSpeed = 0
  1632. Character:FindFirstChildOfClass("Humanoid").JumpPower = 0
  1633. end)
  1634.  
  1635. function PuddleOfBlood(Position, MaxDrop, Model, MaxSize)
  1636. local HITFLOOR, HITPOS, NORMAL = Raycast(Position, CF(Position, Position + VT(0, -1, 0)).lookVector, MaxDrop, Model)
  1637. if HITFLOOR ~= nil and HITFLOOR.Parent ~= Weapon and HITFLOOR.Parent ~= Character then
  1638. if HITFLOOR.Name == "BloodPuddle" then
  1639. local DIST = (Position - HITFLOOR.Position).Magnitude
  1640. 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
  1641. HITFLOOR.Size = HITFLOOR.Size + VT(0.1, 0, 0.1)
  1642. end
  1643. elseif HITFLOOR.Anchored == true then
  1644. do
  1645. local BLOOD = CreatePart(3, Effects, "SmoothPlastic", 0, 0, "New Yeller", "BloodPuddle", VT(2, 0, 2))
  1646. BLOOD.CFrame = CF(HITPOS, HITPOS + NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0))
  1647. MakeForm(BLOOD, "Cyl")
  1648. coroutine.resume(coroutine.create(function()
  1649. Swait(75)
  1650. while true do
  1651. Swait()
  1652. BLOOD.Size = BLOOD.Size - VT(0.02, 0, 0.02)
  1653. if BLOOD.Size.Z < 0.051 then
  1654. BLOOD:remove()
  1655. break
  1656. end
  1657. end
  1658. end))
  1659. end
  1660. end
  1661. end
  1662. end
  1663. function SprayBlood(POSITION, DIRECTION, BloodSize)
  1664. local BLOOD = CreatePart(3, Effects, "SmoothPlastic", 0, 0, "New Yeller", "BloodPuddle", VT(1, 1, 1), false)
  1665. BLOOD.CFrame = CF(POSITION)
  1666. MakeForm(BLOOD, "Ball")
  1667. local bv = Instance.new("BodyVelocity", BLOOD)
  1668. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1669. bv.velocity = CF(POSITION, DIRECTION + VT(MRANDOM(-3, 3) / 30, MRANDOM(-3, 3) / 30, MRANDOM(-3, 3) / 30)).lookVector * 25
  1670. bv.Name = "MOVE"
  1671. Debris:AddItem(bv, 0.05)
  1672. coroutine.resume(coroutine.create(function()
  1673. local HASTOUCHEDGROUND = false
  1674. local HIT = BLOOD.Touched:Connect(function(hit)
  1675. if hit.Anchored == true then
  1676. HASTOUCHEDGROUND = true
  1677. PuddleOfBlood(BLOOD.Position + VT(0, 1, 0), 2, BLOOD, BloodSize)
  1678. end
  1679. end)
  1680. wait(5)
  1681. if HASTOUCHEDGROUND == false then
  1682. BLOOD:remove()
  1683. end
  1684. end))
  1685. end
  1686.  
  1687. local lastHp=Humanoid.Health
  1688. --Thanks nebby ;3
  1689. Humanoid:GetPropertyChangedSignal("Health"):connect(function()
  1690. local hp = Humanoid.Health
  1691. if(hp<lastHp)then
  1692. local lost = lastHp-hp
  1693. if lost < 370 then
  1694. for i = 1, lost/71 do
  1695. 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)
  1696. end
  1697. elseif lost > 370 then
  1698. for i = 1, lost/32 do
  1699. 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)
  1700. end
  1701. end
  1702. --blood depending on the lost amount of HP
  1703. end
  1704. lastHp=hp
  1705. end)
  1706.  
  1707. --//=================================\\
  1708. --|| DAMAGING
  1709. --\\=================================//
  1710. function sphere(bonuspeed,type,pos,scale,value,color)
  1711. local type = type
  1712. local rng = Instance.new("Part", char)
  1713. rng.Anchored = true
  1714. if ModeOfGlitch ~= 9 then
  1715. rng.BrickColor = color
  1716. elseif ModeOfGlitch == 9 then
  1717. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  1718. end
  1719. rng.CanCollide = false
  1720. rng.FormFactor = 3
  1721. rng.Name = "Ring"
  1722. rng.Material = "Neon"
  1723. rng.Size = Vector3.new(1, 1, 1)
  1724. rng.Transparency = 0
  1725. rng.TopSurface = 0
  1726. rng.BottomSurface = 0
  1727. rng.CFrame = pos
  1728. local rngm = Instance.new("SpecialMesh", rng)
  1729. rngm.MeshType = "Sphere"
  1730. rngm.Scale = scale
  1731. if rainbowmode == true then
  1732. rng.Color = Color3.new(r/255,g/255,b/255)
  1733. end
  1734. if ModeOfGlitch == 9 then
  1735. coroutine.resume(coroutine.create(function()
  1736. while true do
  1737. swait()
  1738. if rng.Parent ~= nil then
  1739. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  1740. else
  1741. break
  1742. end
  1743. end
  1744. end))
  1745. end
  1746. local scaler2 = 1
  1747. if type == "Add" then
  1748. scaler2 = 1*value
  1749. elseif type == "Divide" then
  1750. scaler2 = 1/value
  1751. end
  1752. coroutine.resume(coroutine.create(function()
  1753. for i = 0,10/bonuspeed,0.1 do
  1754. swait()
  1755. if rainbowmode == true then
  1756. rng.Color = Color3.new(r/255,g/255,b/255)
  1757. end
  1758. if type == "Add" then
  1759. scaler2 = scaler2 - 0.01*value/bonuspeed
  1760. elseif type == "Divide" then
  1761. scaler2 = scaler2 - 0.01/value*bonuspeed
  1762. end
  1763. if chaosmode == true then
  1764. rng.BrickColor = BrickColor.random()
  1765. end
  1766. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  1767. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  1768. end
  1769. rng:Destroy()
  1770. end))
  1771. end
  1772.  
  1773. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  1774. local type = type
  1775. local rng = Instance.new("Part", char)
  1776. rng.Anchored = true
  1777. if ModeOfGlitch ~= 9 then
  1778. rng.BrickColor = color
  1779. elseif ModeOfGlitch == 9 then
  1780. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  1781. end
  1782. rng.CanCollide = false
  1783. rng.FormFactor = 3
  1784. rng.Name = "Ring"
  1785. rng.Material = "Neon"
  1786. rng.Size = Vector3.new(1, 1, 1)
  1787. rng.Transparency = 0
  1788. rng.TopSurface = 0
  1789. rng.BottomSurface = 0
  1790. rng.CFrame = pos
  1791. local rngm = Instance.new("SpecialMesh", rng)
  1792. rngm.MeshType = "Sphere"
  1793. rngm.Scale = scale
  1794. local scaler2 = 1
  1795. local scaler2b = 1
  1796. local scaler2c = 1
  1797. if type == "Add" then
  1798. scaler2 = 1*value
  1799. scaler2b = 1*value2
  1800. scaler2c = 1*value3
  1801. elseif type == "Divide" then
  1802. scaler2 = 1/value
  1803. scaler2b = 1/value2
  1804. scaler2c = 1/value3
  1805. end
  1806. if ModeOfGlitch == 9 then
  1807. coroutine.resume(coroutine.create(function()
  1808. while true do
  1809. swait()
  1810. if rng.Parent ~= nil then
  1811. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  1812. else
  1813. break
  1814. end
  1815. end
  1816. end))
  1817. end
  1818. coroutine.resume(coroutine.create(function()
  1819. for i = 0,10/bonuspeed,0.1 do
  1820. swait()
  1821. if type == "Add" then
  1822. scaler2 = scaler2 - 0.01*value/bonuspeed
  1823. scaler2b = scaler2b - 0.01*value/bonuspeed
  1824. scaler2c = scaler2c - 0.01*value/bonuspeed
  1825. elseif type == "Divide" then
  1826. scaler2 = scaler2 - 0.01/value*bonuspeed
  1827. scaler2b = scaler2b - 0.01/value*bonuspeed
  1828. scaler2c = scaler2c - 0.01/value*bonuspeed
  1829. end
  1830. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  1831. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  1832. end
  1833. rng:Destroy()
  1834. end))
  1835. end
  1836.  
  1837. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  1838. local type = type
  1839. local rng = Instance.new("Part", char)
  1840. rng.Anchored = true
  1841. rng.BrickColor = color
  1842. rng.CanCollide = false
  1843. rng.FormFactor = 3
  1844. rng.Name = "Ring"
  1845. rng.Material = "Neon"
  1846. rng.Size = Vector3.new(1, 1, 1)
  1847. rng.Transparency = 0
  1848. rng.TopSurface = 0
  1849. rng.BottomSurface = 0
  1850. rng.CFrame = pos
  1851. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  1852. local rngm = Instance.new("SpecialMesh", rng)
  1853. rngm.MeshType = "Brick"
  1854. rngm.Scale = vt(x1,y1,z1)
  1855. if rainbowmode == true then
  1856. rng.Color = Color3.new(r/255,g/255,b/255)
  1857. end
  1858. local scaler2 = 1
  1859. local speeder = FastSpeed/10
  1860. if type == "Add" then
  1861. scaler2 = 1*value
  1862. elseif type == "Divide" then
  1863. scaler2 = 1/value
  1864. end
  1865. coroutine.resume(coroutine.create(function()
  1866. for i = 0,10/bonuspeed,0.1 do
  1867. swait()
  1868. if rainbowmode == true then
  1869. rng.Color = Color3.new(r/255,g/255,b/255)
  1870. end
  1871. if type == "Add" then
  1872. scaler2 = scaler2 - 0.01*value/bonuspeed
  1873. elseif type == "Divide" then
  1874. scaler2 = scaler2 - 0.01/value*bonuspeed
  1875. end
  1876. if chaosmode == true then
  1877. rng.BrickColor = BrickColor.random()
  1878. end
  1879. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  1880. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  1881. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  1882. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  1883. end
  1884. rng:Destroy()
  1885. end))
  1886. end
  1887.  
  1888. function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  1889. local type = type
  1890. local rng = Instance.new("Part", char)
  1891. rng.Anchored = true
  1892. rng.BrickColor = color
  1893. rng.CanCollide = false
  1894. rng.FormFactor = 3
  1895. rng.Name = "Ring"
  1896. rng.Material = "Neon"
  1897. rng.Size = Vector3.new(1, 1, 1)
  1898. rng.Transparency = 0
  1899. rng.TopSurface = 0
  1900. rng.BottomSurface = 0
  1901. rng.CFrame = pos
  1902. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  1903. local rngm = Instance.new("SpecialMesh", rng)
  1904. rngm.MeshType = "Brick"
  1905. rngm.Scale = vt(x1,y1,z1)
  1906. if rainbowmode == true then
  1907. rng.Color = Color3.new(r/255,g/255,b/255)
  1908. end
  1909. local scaler2 = 1
  1910. local speeder = FastSpeed/10
  1911. if type == "Add" then
  1912. scaler2 = 1*value
  1913. elseif type == "Divide" then
  1914. scaler2 = 1/value
  1915. end
  1916. coroutine.resume(coroutine.create(function()
  1917. for i = 0,10/bonuspeed,0.1 do
  1918. swait()
  1919. if rainbowmode == true then
  1920. rng.Color = Color3.new(r/255,g/255,b/255)
  1921. end
  1922. if type == "Add" then
  1923. scaler2 = scaler2 - 0.01*value/bonuspeed
  1924. elseif type == "Divide" then
  1925. scaler2 = scaler2 - 0.01/value*bonuspeed
  1926. end
  1927. if chaosmode == true then
  1928. rng.BrickColor = BrickColor.random()
  1929. end
  1930. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  1931. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  1932. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  1933. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  1934. end
  1935. rng:Destroy()
  1936. end))
  1937. end
  1938.  
  1939. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  1940. local type = type
  1941. local rng = Instance.new("Part", char)
  1942. rng.Anchored = true
  1943. rng.BrickColor = color
  1944. rng.CanCollide = false
  1945. rng.FormFactor = 3
  1946. rng.Name = "Ring"
  1947. rng.Material = "Neon"
  1948. rng.Size = Vector3.new(1, 1, 1)
  1949. rng.Transparency = 0
  1950. rng.TopSurface = 0
  1951. rng.BottomSurface = 0
  1952. rng.CFrame = pos
  1953. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  1954. local rngm = Instance.new("SpecialMesh", rng)
  1955. rngm.MeshType = "Brick"
  1956. rngm.Scale = vt(x1,y1,z1)
  1957. if rainbowmode == true then
  1958. rng.Color = Color3.new(r/255,g/255,b/255)
  1959. end
  1960. local scaler2 = 0
  1961. local speeder = FastSpeed/10
  1962. if type == "Add" then
  1963. scaler2 = 1*value
  1964. elseif type == "Divide" then
  1965. scaler2 = 1/value
  1966. end
  1967. coroutine.resume(coroutine.create(function()
  1968. for i = 0,10/bonuspeed,0.1 do
  1969. swait()
  1970. if rainbowmode == true then
  1971. rng.Color = Color3.new(r/255,g/255,b/255)
  1972. end
  1973. if type == "Add" then
  1974. scaler2 = scaler2 - 0.01*value/bonuspeed
  1975. elseif type == "Divide" then
  1976. scaler2 = scaler2 - 0.01/value*bonuspeed
  1977. end
  1978. if chaosmode == true then
  1979. rng.BrickColor = BrickColor.random()
  1980. end
  1981. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  1982. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  1983. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  1984. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  1985. end
  1986. rng:Destroy()
  1987. end))
  1988. end
  1989.  
  1990. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  1991. local type = type
  1992. local rng = Instance.new("Part", char)
  1993. rng.Anchored = true
  1994. if ModeOfGlitch ~= 9 then
  1995. rng.BrickColor = color
  1996. elseif ModeOfGlitch == 9 then
  1997. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  1998. end
  1999. rng.CanCollide = false
  2000. rng.FormFactor = 3
  2001. rng.Name = "Ring"
  2002. rng.Material = "Neon"
  2003. rng.Size = Vector3.new(1, 1, 1)
  2004. rng.Transparency = 0
  2005. rng.TopSurface = 0
  2006. rng.BottomSurface = 0
  2007. rng.CFrame = pos
  2008. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2009. local rngm = Instance.new("SpecialMesh", rng)
  2010. rngm.MeshType = "Sphere"
  2011. rngm.Scale = vt(x1,y1,z1)
  2012. if rainbowmode == true then
  2013. rng.Color = Color3.new(r/255,g/255,b/255)
  2014. end
  2015. if ModeOfGlitch == 9 then
  2016. coroutine.resume(coroutine.create(function()
  2017. while true do
  2018. swait()
  2019. if rng.Parent ~= nil then
  2020. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2021. else
  2022. break
  2023. end
  2024. end
  2025. end))
  2026. end
  2027. local scaler2 = 1
  2028. local speeder = FastSpeed
  2029. if type == "Add" then
  2030. scaler2 = 1*value
  2031. elseif type == "Divide" then
  2032. scaler2 = 1/value
  2033. end
  2034. coroutine.resume(coroutine.create(function()
  2035. for i = 0,10/bonuspeed,0.1 do
  2036. swait()
  2037. if rainbowmode == true then
  2038. rng.Color = Color3.new(r/255,g/255,b/255)
  2039. end
  2040. if type == "Add" then
  2041. scaler2 = scaler2 - 0.01*value/bonuspeed
  2042. elseif type == "Divide" then
  2043. scaler2 = scaler2 - 0.01/value*bonuspeed
  2044. end
  2045. if chaosmode == true then
  2046. rng.BrickColor = BrickColor.random()
  2047. end
  2048. speeder = speeder - 0.01*FastSpeed*bonuspeed
  2049. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2050. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2051. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  2052. end
  2053. rng:Destroy()
  2054. end))
  2055. end
  2056.  
  2057.  
  2058. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2059. local type = type
  2060. local rng = Instance.new("Part", char)
  2061. rng.Anchored = true
  2062. if ModeOfGlitch ~= 9 then
  2063. rng.BrickColor = color
  2064. elseif ModeOfGlitch == 9 then
  2065. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2066. end
  2067. rng.CanCollide = false
  2068. rng.FormFactor = 3
  2069. rng.Name = "Ring"
  2070. rng.Material = "Neon"
  2071. rng.Size = Vector3.new(1, 1, 1)
  2072. rng.Transparency = 1
  2073. rng.TopSurface = 0
  2074. rng.BottomSurface = 0
  2075. rng.CFrame = pos
  2076. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2077. local rngm = Instance.new("SpecialMesh", rng)
  2078. rngm.MeshType = "Sphere"
  2079. rngm.Scale = vt(x1,y1,z1)
  2080. if rainbowmode == true then
  2081. rng.Color = Color3.new(r/255,g/255,b/255)
  2082. end
  2083. if ModeOfGlitch == 9 then
  2084. coroutine.resume(coroutine.create(function()
  2085. while true do
  2086. swait()
  2087. if rng.Parent ~= nil then
  2088. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2089. else
  2090. break
  2091. end
  2092. end
  2093. end))
  2094. end
  2095. local scaler2 = 1
  2096. local speeder = FastSpeed
  2097. if type == "Add" then
  2098. scaler2 = 1*value
  2099. elseif type == "Divide" then
  2100. scaler2 = 1/value
  2101. end
  2102. coroutine.resume(coroutine.create(function()
  2103. for i = 0,10/bonuspeed,0.1 do
  2104. swait()
  2105. if rainbowmode == true then
  2106. rng.Color = Color3.new(r/255,g/255,b/255)
  2107. end
  2108. if type == "Add" then
  2109. scaler2 = scaler2 - 0.01*value/bonuspeed
  2110. elseif type == "Divide" then
  2111. scaler2 = scaler2 - 0.01/value*bonuspeed
  2112. end
  2113. if chaosmode == true then
  2114. rng.BrickColor = BrickColor.random()
  2115. end
  2116. speeder = speeder - 0.01*FastSpeed*bonuspeed
  2117. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2118. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  2119. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  2120. end
  2121. rng:Destroy()
  2122. end))
  2123. end
  2124. --//=================================\\
  2125. --|| ATTACK FUNCTIONS AND STUFF
  2126. --\\=================================//
  2127.  
  2128. function chatfunc(text,color,typet,font,timeex)
  2129. local chat = coroutine.wrap(function()
  2130. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  2131. Character:FindFirstChild("TalkingBillBoard"):destroy()
  2132. end
  2133. local naeeym2 = Instance.new("BillboardGui",Character)
  2134. naeeym2.Size = UDim2.new(0,100,0,40)
  2135. naeeym2.StudsOffset = Vector3.new(0,3,0)
  2136. naeeym2.Adornee = Character.Head
  2137. naeeym2.Name = "TalkingBillBoard"
  2138. local tecks2 = Instance.new("TextLabel",naeeym2)
  2139. tecks2.BackgroundTransparency = 1
  2140. tecks2.BorderSizePixel = 0
  2141. tecks2.Text = ""
  2142. tecks2.Font = font
  2143. tecks2.TextSize = 30
  2144. tecks2.TextStrokeTransparency = 0
  2145. tecks2.TextColor3 = color
  2146. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  2147. tecks2.Size = UDim2.new(1,0,0.5,0)
  2148. local tecks3 = Instance.new("TextLabel",naeeym2)
  2149. tecks3.BackgroundTransparency = 1
  2150. tecks3.BorderSizePixel = 0
  2151. tecks3.Text = ""
  2152. tecks3.Font = font
  2153. tecks3.TextSize = 30
  2154. tecks3.TextStrokeTransparency = 0
  2155. if typet == "Inverted" then
  2156. tecks3.TextColor3 = Color3.new(0,0,0)
  2157. tecks3.TextStrokeColor3 = color
  2158. elseif typet == "Normal" then
  2159. tecks3.TextColor3 = color
  2160. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  2161. end
  2162. tecks3.Size = UDim2.new(1,0,0.5,0)
  2163. coroutine.resume(coroutine.create(function()
  2164. while true do
  2165. swait(1)
  2166. end
  2167. end))
  2168. for i = 0, 74*timeex do
  2169. swait()
  2170. tecks2.Text = text
  2171. tecks3.Text = text
  2172. end
  2173. local randomrot = math.random(1,2)
  2174. if randomrot == 1 then
  2175. for i = 1, 50 do
  2176. swait()
  2177. tecks2.Text = text
  2178. tecks3.Text = text
  2179. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  2180. tecks2.TextTransparency = tecks2.TextTransparency + .04
  2181. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  2182. tecks3.TextTransparency = tecks2.TextTransparency + .04
  2183. end
  2184. elseif randomrot == 2 then
  2185. for i = 1, 50 do
  2186. swait()
  2187. tecks2.Text = text
  2188. tecks3.Text = text
  2189. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  2190. tecks2.TextTransparency = tecks2.TextTransparency + .04
  2191. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  2192. tecks3.TextTransparency = tecks2.TextTransparency + .04
  2193. end
  2194. end
  2195. naeeym2:Destroy()
  2196. end)
  2197. chat()
  2198. end
  2199.  
  2200.  
  2201.  
  2202.  
  2203. function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
  2204. local type = type
  2205. local rotenable = rotatingop
  2206. local rng = Instance.new("Part", char)
  2207. rng.Anchored = true
  2208. rng.BrickColor = color
  2209. rng.CanCollide = false
  2210. rng.FormFactor = 3
  2211. rng.Name = "Ring"
  2212. rng.Material = "Neon"
  2213. rng.Size = Vector3.new(1, 1, 1)
  2214. rng.Transparency = 0
  2215. if typeoftrans == "In" then
  2216. rng.Transparency = 1
  2217. end
  2218. rng.TopSurface = 0
  2219. rng.BottomSurface = 0
  2220. rng.CFrame = pos
  2221. local rngm = Instance.new("SpecialMesh", rng)
  2222. rngm.MeshType = "FileMesh"
  2223. if typeofshape == "Normal" then
  2224. rngm.MeshId = "rbxassetid://662586858"
  2225. elseif typeofshape == "Round" then
  2226. rngm.MeshId = "rbxassetid://662585058"
  2227. end
  2228. rngm.Scale = scale
  2229. local scaler2 = 1/10
  2230. if type == "Add" then
  2231. scaler2 = 1*value/10
  2232. elseif type == "Divide" then
  2233. scaler2 = 1/value/10
  2234. end
  2235. local randomrot = math.random(1,2)
  2236. coroutine.resume(coroutine.create(function()
  2237. for i = 0,10/bonuspeed,0.1 do
  2238. swait()
  2239. if type == "Add" then
  2240. scaler2 = scaler2 - 0.01*value/bonuspeed/10
  2241. elseif type == "Divide" then
  2242. scaler2 = scaler2 - 0.01/value*bonuspeed/10
  2243. end
  2244. if rotenable == true then
  2245. if randomrot == 1 then
  2246. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
  2247. elseif randomrot == 2 then
  2248. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
  2249. end
  2250. end
  2251. if typeoftrans == "Out" then
  2252. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2253. elseif typeoftrans == "In" then
  2254. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  2255. end
  2256. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
  2257. end
  2258. rng:Destroy()
  2259. end))
  2260. end
  2261.  
  2262. local MAINRUINCOLOR = BrickColor.new("New Yeller")
  2263.  
  2264.  
  2265.  
  2266.  
  2267.  
  2268. NEWS4 = Instance.new("Sound", tors) --O NO
  2269. NEWS4.SoundId = "http://www.roblox.com/asset/?id=374091819"
  2270. NEWS4.Volume = 100
  2271. NEWS4.Pitch = 1
  2272. NEWS4.Looped = false
  2273. NEWS4.TimePosition = 1
  2274. function die()
  2275. ATTACK = true
  2276. Humanoid.WalkSpeed = 0
  2277. NEWS4:Play()
  2278. repeat
  2279. NEWS4.Parent = Torso
  2280. Swait()
  2281. 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)
  2282. 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)
  2283. 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)
  2284. 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)
  2285. 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)
  2286. 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)
  2287. until NEWS4.Playing == false
  2288. ATTACK = false
  2289. Humanoid.WalkSpeed = 75
  2290. ATTACK = false
  2291. Humanoid.WalkSpeed = 75
  2292. end
  2293. --[[
  2294. local dancing = false
  2295. Mouse.KeyDown:connect(function(Press)
  2296. Press=Press:lower()
  2297. if Press=='h' then
  2298. if dancing then
  2299. dancing = false
  2300. else
  2301. dancing = true
  2302. Speed = 0
  2303. change = .5
  2304. ATTACK = true
  2305. jellyfishjam = Instance.new("Sound",Torso)
  2306. jellyfishjam.SoundId = "rbxassetid://840189092"
  2307. jellyfishjam.Volume = 8
  2308. jellyfishjam.Looped = true
  2309. jellyfishjam.TimePosition = 14.8
  2310. jellyfishjam:Play()
  2311. coroutine.wrap(function()
  2312. while dancing do
  2313. for i = 1, 15 do
  2314. if not dancing then break end
  2315. 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)
  2316. 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)
  2317. 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)
  2318. 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)
  2319. 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)
  2320. swait()
  2321. end
  2322. for i = 1, 15 do
  2323. if not dancing then break end
  2324. 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)
  2325. 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)
  2326. 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)
  2327. 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)
  2328. LH.C0 = LH.C0:lerp(CFrame.new(0.3, 2.0, 0) * CFrame.Angles(0, math.rad(0), math.rad(10)), 0.25)
  2329. swait()
  2330. end
  2331. for i = 1, 15 do
  2332. if not dancing then break end
  2333. 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)
  2334. 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)
  2335. 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)
  2336. RH.C0 = RH.C0:lerp(CFrame.new(-0.3, 2 , 0) * CFrame.Angles(0, math.rad(0), math.rad(-10)), 0.25)
  2337. 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)
  2338. swait()
  2339. end
  2340. for i = 1, 15 do
  2341. if not dancing then break end
  2342. 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)
  2343. 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)
  2344. 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)
  2345. 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)
  2346. 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)
  2347. swait()
  2348. end
  2349. swait()
  2350. end
  2351. Speed = 26
  2352. jellyfishjam:Remove()
  2353. ATTACK = false
  2354. end)()
  2355. end
  2356. end
  2357. end)
  2358. --]]
  2359. thonks = Instance.new("Sound", tors) --wat?
  2360. thonks.SoundId = "http://www.roblox.com/asset/?id=1532157598"
  2361. thonks.Volume = 10
  2362. thonks.Pitch = 1
  2363. thonks.Looped = false
  2364. thonks.TimePosition = 0
  2365.  
  2366. function thonki()
  2367. ATTACK = true
  2368. Character.Head.face.Texture = "rbxassetid://1528105298"
  2369. thonks:Play()
  2370. repeat
  2371. for i = 0,8.3,0.1 do
  2372. swait()
  2373. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(90)), 0.7)
  2374. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-30), Rad(0), Rad(0)), 0.7)
  2375. 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)
  2376. 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)
  2377. 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)
  2378. 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)
  2379. end
  2380. until thonks.Playing == false
  2381. thonks:Stop()
  2382. ATTACK = false
  2383. hum.WalkSpeed = 40
  2384. end
  2385. so = function(id,par,vol,pit)
  2386. coroutine.resume(coroutine.create(function()
  2387. local sou = Instance.new("Sound",par or workspace)
  2388. sou.Volume=vol
  2389. sou.Pitch=pit or 1
  2390. sou.SoundId=id
  2391. swait()
  2392. sou:play()
  2393. game:GetService("Debris"):AddItem(sou,6)
  2394. end))
  2395. end
  2396. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  2397. if hit.Parent==nil then
  2398. return
  2399. end
  2400. h=hit.Parent:FindFirstChild("Humanoid")
  2401. for _,v in pairs(hit.Parent:children()) do
  2402. if v:IsA("Humanoid") then
  2403. h=v
  2404. end
  2405. end
  2406. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  2407. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  2408. end
  2409. if hit.Parent.className=="Hat" then
  2410. hit=hit.Parent.Parent:findFirstChild("Head")
  2411. end
  2412. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  2413. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  2414. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  2415. return
  2416. end]]
  2417. -- hs(hit,1.2)
  2418. Damage=math.random(minim,maxim)
  2419. -- h:TakeDamage(Damage)
  2420. blocked=false
  2421. block=hit.Parent:findFirstChild("Block")
  2422. if block~=nil then
  2423. print(block.className)
  2424. if block.className=="NumberValue" then
  2425. if block.Value>0 then
  2426. blocked=true
  2427. if decreaseblock==nil then
  2428. block.Value=block.Value-1
  2429. end
  2430. end
  2431. end
  2432. if block.className=="IntValue" then
  2433. if block.Value>0 then
  2434. blocked=true
  2435. if decreaseblock~=nil then
  2436. block.Value=block.Value-1
  2437. end
  2438. end
  2439. end
  2440. end
  2441. if blocked==false then
  2442. -- h:TakeDamage(Damage)
  2443. h.Health=h.Health-Damage
  2444. --showDamage(hit.Parent,Damage,.5,BrickColor.new("Really red"))
  2445. else
  2446. h.Health=h.Health-(Damage/2)
  2447. -- showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  2448. end
  2449. if Type=="Knockdown" then
  2450. hum=hit.Parent.Humanoid
  2451. hum.PlatformStand=true
  2452. coroutine.resume(coroutine.create(function(HHumanoid)
  2453. swait(1)
  2454. HHumanoid.PlatformStand=false
  2455. end),hum)
  2456. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  2457. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  2458. local bodvol=Instance.new("BodyVelocity")
  2459. bodvol.velocity=angle*knockback
  2460. bodvol.P=5000
  2461. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  2462. bodvol.Parent=hit
  2463. rl=Instance.new("BodyAngularVelocity")
  2464. rl.P=3000
  2465. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  2466. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  2467. rl.Parent=hit
  2468. game:GetService("Debris"):AddItem(bodvol,.5)
  2469. game:GetService("Debris"):AddItem(rl,.5)
  2470. elseif Type=="Normal" then
  2471. vp=Instance.new("BodyVelocity")
  2472. vp.P=500
  2473. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  2474. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  2475. if KnockbackType==1 then
  2476. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  2477. elseif KnockbackType==2 then
  2478. vp.velocity=Property.CFrame.lookVector*knockback
  2479. end
  2480. if knockback>0 then
  2481. vp.Parent=hit.Parent.Torso
  2482. end
  2483. game:GetService("Debris"):AddItem(vp,.5)
  2484. elseif Type=="Up" then
  2485. local bodyVelocity=Instance.new("BodyVelocity")
  2486. bodyVelocity.velocity=vt(0,60,0)
  2487. bodyVelocity.P=5000
  2488. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  2489. bodyVelocity.Parent=hit
  2490. game:GetService("Debris"):AddItem(bodyVelocity,1)
  2491. rl=Instance.new("BodyAngularVelocity")
  2492. rl.P=3000
  2493. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  2494. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  2495. rl.Parent=hit
  2496. game:GetService("Debris"):AddItem(rl,.5)
  2497. elseif Type=="Snare" then
  2498. bp=Instance.new("BodyPosition")
  2499. bp.P=2000
  2500. bp.D=100
  2501. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  2502. bp.position=hit.Parent.Torso.Position
  2503. bp.Parent=hit.Parent.Torso
  2504. game:GetService("Debris"):AddItem(bp,1)
  2505. elseif Type=="Target" then
  2506. if Targetting==false then
  2507. ZTarget=hit.Parent.Torso
  2508. coroutine.resume(coroutine.create(function(Part)
  2509. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  2510. swait(5)
  2511. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  2512. end),ZTarget)
  2513. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  2514. targetgui=Instance.new("BillboardGui")
  2515. targetgui.Parent=ZTarget
  2516. targetgui.Size=UDim2.new(10,100,10,100)
  2517. targ=Instance.new("ImageLabel")
  2518. targ.Parent=targetgui
  2519. targ.BackgroundTransparency=1
  2520. targ.Image="rbxassetid://4834067"
  2521. targ.Size=UDim2.new(1,0,1,0)
  2522. cam.CameraType="Scriptable"
  2523. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  2524. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  2525. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  2526. Targetting=true
  2527. RocketTarget=ZTarget
  2528. for i=1,Property do
  2529. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  2530. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  2531. swait()
  2532. end
  2533. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  2534. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  2535. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  2536. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  2537. end
  2538. Targetting=false
  2539. RocketTarget=nil
  2540. targetgui.Parent=nil
  2541. cam.CameraType="Custom"
  2542. end
  2543. end
  2544. debounce=Instance.new("BoolValue")
  2545. debounce.Name="DebounceHit"
  2546. debounce.Parent=hit.Parent
  2547. debounce.Value=true
  2548. game:GetService("Debris"):AddItem(debounce,Delay)
  2549. CRIT=false
  2550. hitDeb=true
  2551. AttackPos=6
  2552. end
  2553. end
  2554. function shoot()
  2555. ATTACK = true
  2556. for i = 0,2,0.1 do
  2557. swait()
  2558. turnto(Mouse.Hit.p)
  2559. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  2560. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3)
  2561. 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)
  2562. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3)
  2563. end
  2564. so("http://roblox.com/asset/?id=231897565",GunPoint,60,1)
  2565. local lb = Instance.new("Part")
  2566. lb.Parent = char
  2567. lb.Material = "Neon"
  2568. lb.Color = BrickColor.new("New Yeller").Color
  2569. lb.CanCollide = false
  2570. lb.Shape = "Ball"
  2571. lb.CFrame = GunPoint.CFrame
  2572. lb.Anchored = true
  2573. lb.Transparency = 0
  2574. lb.Size = vt(0.6,0.6,0.6)
  2575. local thing = Instance.new("SpecialMesh",lb)
  2576. thing.MeshType = "Sphere"
  2577. for i = 0, 1 do
  2578. 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"))
  2579. end
  2580. -- + root.CFrame.lookVector*12
  2581. 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))
  2582. -- + root.CFrame.lookVector*12
  2583. local b = Instance.new("Part")
  2584. b.Parent = char
  2585. b.Material = "Neon"
  2586. b.Color = BrickColor.new("New Yeller").Color
  2587. b.CanCollide = false
  2588. b.Shape = "Ball"
  2589. b.CFrame = GunPoint.CFrame
  2590. b.Anchored = true
  2591. b.Transparency = 0
  2592. b.Size = vt(1,1,1)
  2593. local z = Instance.new("SpecialMesh",b)
  2594. z.MeshType = "Sphere"
  2595. local hitted = false
  2596. lb.Anchored = false
  2597. local bv = Instance.new("BodyVelocity")
  2598. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2599. bv.velocity = Mouse.Hit.lookVector *150
  2600. bv.Parent = lb
  2601. game:GetService("Debris"):AddItem(lb, 19)
  2602. lb.Touched:connect(function(hit) Damagefunc(hit,33,74,math.random(10,20),"Normal",RootPart,.2,1) end)
  2603. for i = 0,2,0.1 do
  2604. swait()
  2605. turnto(Mouse.Hit.p)
  2606. z.Scale = z.Scale + vt(0.1,0.1,0.1)
  2607. b.Transparency = b.Transparency + 0.05
  2608. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  2609. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3)
  2610. 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)
  2611. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3)
  2612. end
  2613. ATTACK = false
  2614. b:Destroy()
  2615. wait(10)
  2616. lb:Destroy()
  2617. end
  2618.  
  2619.  
  2620. function shoots()
  2621. ATTACK = true
  2622. for i = 0,1.2,0.1 do
  2623. swait()
  2624. turnto(Mouse.Hit.p)
  2625. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(65)),.3)
  2626. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-65)),.3)
  2627. 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)
  2628. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3)
  2629. end
  2630. so("http://roblox.com/asset/?id=235099882",GunPoint,60,1)
  2631. local lb = Instance.new("Part")
  2632. lb.Parent = char
  2633. lb.Material = "Neon"
  2634. lb.Color = BrickColor.new("New Yeller").Color
  2635. lb.CanCollide = false
  2636. lb.Shape = "Ball"
  2637. lb.CFrame = GunPoint.CFrame
  2638. lb.Anchored = true
  2639. lb.Transparency = 0
  2640. lb.Size = vt(0.6,0.6,0.6)
  2641. local thing = Instance.new("SpecialMesh",lb)
  2642. thing.MeshType = "Sphere"
  2643. --for i = 0, 1 do
  2644. --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"))
  2645. --end
  2646. -- + root.CFrame.lookVector*12
  2647. --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))
  2648. -- + root.CFrame.lookVector*12
  2649. local b = Instance.new("Part")
  2650. b.Parent = char
  2651. b.Material = "Neon"
  2652. b.Color = BrickColor.new("New Yeller").Color
  2653. b.CanCollide = false
  2654. b.Shape = "Ball"
  2655. b.CFrame = GunPoint.CFrame
  2656. b.Anchored = true
  2657. b.Transparency = 0
  2658. b.Size = vt(1,1,1)
  2659. local z = Instance.new("SpecialMesh",b)
  2660. z.MeshType = "Sphere"
  2661. local hitted = false
  2662. lb.Anchored = false
  2663. local bv = Instance.new("BodyVelocity")
  2664. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2665. bv.velocity = Mouse.Hit.lookVector *150
  2666. bv.Parent = lb
  2667. game:GetService("Debris"):AddItem(lb, 19)
  2668. lb.Touched:connect(function(hit) Damagefunc(hit,27,67,math.random(10,20),"Normal",RootPart,.2,1) end)
  2669. for i = 0,1.65,0.1 do
  2670. swait()
  2671. turnto(Mouse.Hit.p)
  2672. z.Scale = z.Scale + vt(0.1,0.1,0.1)
  2673. b.Transparency = b.Transparency + 0.05
  2674. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(65)),.3)
  2675. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-65)),.3)
  2676. 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)
  2677. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3)
  2678. end
  2679. ATTACK = false
  2680. b:Destroy()
  2681. wait(10)
  2682. lb:Destroy()
  2683. end
  2684.  
  2685.  
  2686. function deag()
  2687. ATTACK = true
  2688. for i = 0,0.9,0.1 do
  2689. swait()
  2690. turnto(Mouse.Hit.p)
  2691. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(65)),.3)
  2692. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-65)),.3)
  2693. 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)
  2694. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3)
  2695. end
  2696. so("http://roblox.com/asset/?id=131205975",JUAND,60,1)
  2697. local lb = Instance.new("Part")
  2698. lb.Parent = char
  2699. lb.Material = "Neon"
  2700. lb.Color = BrickColor.new("New Yeller").Color
  2701. lb.CanCollide = false
  2702. lb.Shape = "Ball"
  2703. lb.CFrame = JUAND.CFrame
  2704. lb.Anchored = true
  2705. lb.Transparency = 0
  2706. lb.Size = vt(0.6,0.6,0.6)
  2707. local thing = Instance.new("SpecialMesh",lb)
  2708. thing.MeshType = "Sphere"
  2709. for i = 0, 1 do
  2710. 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"))
  2711. end
  2712. -- + root.CFrame.lookVector*12
  2713. 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))
  2714. -- + root.CFrame.lookVector*12
  2715. local b = Instance.new("Part")
  2716. b.Parent = char
  2717. b.Material = "Neon"
  2718. b.Color = BrickColor.new("New Yeller").Color
  2719. b.CanCollide = false
  2720. b.Shape = "Ball"
  2721. b.CFrame = JUAND.CFrame
  2722. b.Anchored = true
  2723. b.Transparency = 0
  2724. b.Size = vt(1,1,1)
  2725. local z = Instance.new("SpecialMesh",b)
  2726. z.MeshType = "Sphere"
  2727. local hitted = false
  2728. lb.Anchored = false
  2729. local bv = Instance.new("BodyVelocity")
  2730. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2731. bv.velocity = Mouse.Hit.lookVector *150
  2732. bv.Parent = lb
  2733. game:GetService("Debris"):AddItem(lb, 19)
  2734. lb.Touched:connect(function(hit) Damagefunc(hit,450,740,math.random(10,20),"Normal",RootPart,.2,1) end)
  2735. for i = 0,1.15,0.1 do
  2736. swait()
  2737. turnto(Mouse.Hit.p)
  2738. z.Scale = z.Scale + vt(0.1,0.1,0.1)
  2739. b.Transparency = b.Transparency + 0.05
  2740. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(65)),.3)
  2741. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-65)),.3)
  2742. 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)
  2743. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3)
  2744. end
  2745. ATTACK = false
  2746. b:Destroy()
  2747. wait(10)
  2748. lb:Destroy()
  2749. end
  2750.  
  2751. local animationspeed = 2
  2752. --local SwordThing = false
  2753. --local change = 2 / animationspeed
  2754. it = Instance.new
  2755. vt = Vector3.new
  2756. cf = CFrame.new
  2757. rad = math.rad
  2758. euler = CFrame.fromEulerAnglesXYZ
  2759. angles = CFrame.Angles
  2760. --[[
  2761. necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  2762. RootCF = angles(rad(-90), 0, rad(180))
  2763. ]]--
  2764. local PlayerSize = 1
  2765. local RWC0 = cf(-0.5, 0, 0) * angles(rad(0), rad(90), rad(0))
  2766. local LWC0 = cf(0.5, 0, 0) * angles(rad(0), rad(-90), rad(0))
  2767. bestmatess = Instance.new("Sound", Torso)
  2768. bestmatess.Volume = 14
  2769. bestmatess.TimePosition = 0
  2770. bestmatess.Pitch = 1
  2771. bestmatess.SoundId = "rbxassetid://780906273"
  2772. bestmatess.Looped = true
  2773.  
  2774. clerp2 = function(a, b, t)
  2775. return a:lerp(b, t)
  2776. end
  2777. -- local sine = 0
  2778. local bestmate = false
  2779. function bestmatesA()
  2780. if bestmate == false then
  2781. ATTACK = true
  2782. bestmate = true
  2783. --Humanoid.WalkSpeed = 3
  2784. --Humanoid.JumpPower = 10
  2785.  
  2786. bestmatess:Play()
  2787. while bestmate == true do
  2788. change = 0.8
  2789. Swait()
  2790. 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)
  2791. 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)
  2792. 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)
  2793. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2794. 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)
  2795. 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)
  2796. end
  2797. elseif bestmate == true then
  2798. ATTACK = false
  2799. bestmate = false
  2800. change = 1
  2801. --Humanoid.WalkSpeed = 5
  2802. --Humanoid.JumpPower = 60
  2803. bestmatess:Stop()
  2804. end
  2805. end
  2806. cheeki = Instance.new("Sound", Torso)
  2807. cheeki.Volume = 24
  2808. cheeki.TimePosition = 0
  2809. cheeki.Pitch = 1
  2810. cheeki.SoundId = "rbxassetid://800064337"
  2811. cheeki.Looped = true
  2812. function cheekibreeki()
  2813. if bestmate == false then
  2814. ATTACK = true
  2815. bestmate = true
  2816. cheeki:Play()
  2817. while bestmate == true do
  2818. change = 0.8
  2819. Swait()
  2820. 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)
  2821. 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)
  2822. 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)
  2823. 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)
  2824. 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)
  2825. 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)
  2826. end
  2827. elseif bestmate == true then
  2828. ATTACK = false
  2829. change = 1
  2830. bestmate = false
  2831. cheeki:Stop()
  2832. end
  2833. end
  2834.  
  2835.  
  2836. crab = Instance.new("Sound", Torso)
  2837. crab.Volume = 14
  2838. crab.TimePosition = 0
  2839. crab.Pitch = 1
  2840. crab.SoundId = "rbxassetid://2410799757"
  2841. crab.Looped = true
  2842.  
  2843. function bestmatesB()
  2844. if bestmate == false then
  2845. ATTACK = true
  2846. bestmate = true
  2847. --Humanoid.WalkSpeed = 3
  2848. --Humanoid.JumpPower = 10
  2849. crab.TimePosition = 0
  2850. crab:Play()
  2851. while bestmate == true do
  2852. change = 0.8
  2853. Swait()
  2854. 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)
  2855. 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)
  2856. 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)
  2857. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2858. 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)
  2859. 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)
  2860. end
  2861. elseif bestmate == true then
  2862. ATTACK = false
  2863. bestmate = false
  2864. change = 1
  2865. --Humanoid.WalkSpeed = 5
  2866. --Humanoid.JumpPower = 60
  2867. crab:Stop()
  2868. end
  2869. end
  2870.  
  2871. function SmgTest3()
  2872. ATTACK = true
  2873. --Rooted = false
  2874. for i=0, 0.25, 0.1 / Animation_Speed do
  2875. Swait()
  2876. turnto(Mouse.Hit.p)
  2877. --[[RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2878. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2879. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2880. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2881. 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)
  2882. 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)
  2883. --]]
  2884. end
  2885. repeat
  2886. for i = 0,0.05,0.1 do
  2887. swait()
  2888. turnto(Mouse.Hit.p)
  2889. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2890. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  2891. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(0)),.1)
  2892. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  2893. end
  2894. so("http://roblox.com/asset/?id=188904253",BOI,60,1)
  2895. so("http://roblox.com/asset/?id=188904253",BOI2,60,1)
  2896. local lb = Instance.new("Part")
  2897. lb.Parent = char
  2898. lb.Material = "Neon"
  2899. lb.Color = BrickColor.new("New Yeller").Color
  2900. lb.CanCollide = false
  2901. lb.Shape = "Ball"
  2902. lb.CFrame = BOI.CFrame
  2903. lb.Anchored = true
  2904. lb.Transparency = 0
  2905. lb.Size = vt(0.6,0.6,0.6)
  2906. local thing = Instance.new("SpecialMesh",lb)
  2907. thing.MeshType = "Sphere"
  2908. --for i = 0, 1 do
  2909. --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"))
  2910. --end
  2911. -- + root.CFrame.lookVector*12
  2912. --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))
  2913. -- + root.CFrame.lookVector*12
  2914. local b = Instance.new("Part")
  2915. b.Parent = char
  2916. b.Material = "Neon"
  2917. b.Color = BrickColor.new("New Yeller").Color
  2918. b.CanCollide = false
  2919. b.Shape = "Ball"
  2920. b.CFrame = BOI.CFrame
  2921. b.Anchored = true
  2922. b.Transparency = 0
  2923. b.Size = vt(1,1,1)
  2924. local z = Instance.new("SpecialMesh",b)
  2925. z.MeshType = "Sphere"
  2926. local hitted = false
  2927. lb.Anchored = false
  2928. local bv = Instance.new("BodyVelocity")
  2929. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2930. bv.velocity = Mouse.Hit.lookVector *150
  2931. bv.Parent = lb
  2932.  
  2933. local lb2 = Instance.new("Part")
  2934. lb2.Parent = char
  2935. lb2.Material = "Neon"
  2936. lb2.Color = BrickColor.new("New Yeller").Color
  2937. lb2.CanCollide = false
  2938. lb2.Shape = "Ball"
  2939. lb2.CFrame = BOI2.CFrame
  2940. lb2.Anchored = true
  2941. lb2.Transparency = 0
  2942. lb2.Size = vt(0.6,0.6,0.6)
  2943. local thing = Instance.new("SpecialMesh",lb2)
  2944. thing.MeshType = "Sphere"
  2945. --for i = 0, 1 do
  2946. --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"))
  2947. --end
  2948. -- + root.CFrame.lookVector*12
  2949. --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))
  2950. -- + root.CFrame.lookVector*12
  2951. local b2 = Instance.new("Part")
  2952. b2.Parent = char
  2953. b2.Material = "Neon"
  2954. b2.Color = BrickColor.new("New Yeller").Color
  2955. b2.CanCollide = false
  2956. b2.Shape = "Ball"
  2957. b2.CFrame = BOI2.CFrame
  2958. b2.Anchored = true
  2959. b2.Transparency = 0
  2960. b2.Size = vt(1,1,1)
  2961. local z = Instance.new("SpecialMesh",b2)
  2962. z.MeshType = "Sphere"
  2963. --local hitted = false
  2964. lb2.Anchored = false
  2965. local bv2 = Instance.new("BodyVelocity")
  2966. bv2.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2967. bv2.velocity = Mouse.Hit.lookVector *150
  2968. bv2.Parent = lb2
  2969. lb.Touched:connect(function(hit) Damagefunc(hit,33,74,math.random(10,20),"Normal",RootPart,.2,1) end)
  2970. lb2.Touched:connect(function(hit) Damagefunc(hit,33,74,math.random(10,20),"Normal",RootPart,.2,1) end)
  2971. for i = 0,0.1,0.1 do
  2972. swait()
  2973. turnto(Mouse.Hit.p)
  2974. z.Scale = z.Scale + vt(0.1,0.1,0.1)
  2975. b.Transparency = b.Transparency + 0.05
  2976. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2977. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  2978. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(0)),.1)
  2979. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  2980. end
  2981. game:GetService("Debris"):AddItem(lb, 19)
  2982. game:GetService("Debris"):AddItem(lb2, 19)
  2983. game:GetService("Debris"):AddItem(bv, 20)
  2984. game:GetService("Debris"):AddItem(bv2, 20)
  2985. b:Destroy()
  2986. b2:Destroy()
  2987. --wait(10)
  2988. --lb:Destroy()
  2989. --lb2:Destroy()
  2990. until HOLD == false
  2991. ATTACK = false
  2992. --Rooted = false
  2993. end
  2994.  
  2995.  
  2996. function SmgTest2()
  2997. ATTACK = true
  2998. --Rooted = false
  2999. for i=0, 0.25, 0.1 / Animation_Speed do
  3000. Swait()
  3001. turnto(Mouse.Hit.p)
  3002. --[[RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3003. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  3004. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3005. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3006. 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)
  3007. 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)
  3008. --]]
  3009. end
  3010. repeat
  3011. for i = 0,0.1,0.1 do
  3012. swait()
  3013. turnto(Mouse.Hit.p)
  3014. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3015. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  3016. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(0)),.1)
  3017. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  3018. end
  3019. so("http://roblox.com/asset/?id=2484694762",VOL,60,1)
  3020. so("http://roblox.com/asset/?id=2484694762",VOL2,60,1)
  3021. local lb = Instance.new("Part")
  3022. lb.Parent = char
  3023. lb.Material = "Neon"
  3024. lb.Color = BrickColor.new("New Yeller").Color
  3025. lb.CanCollide = false
  3026. lb.Shape = "Ball"
  3027. lb.CFrame = VOL.CFrame
  3028. lb.Anchored = true
  3029. lb.Transparency = 0
  3030. lb.Size = vt(0.6,0.6,0.6)
  3031. local thing = Instance.new("SpecialMesh",lb)
  3032. thing.MeshType = "Sphere"
  3033. --for i = 0, 1 do
  3034. --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"))
  3035. --end
  3036. -- + root.CFrame.lookVector*12
  3037. --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))
  3038. -- + root.CFrame.lookVector*12
  3039. local b = Instance.new("Part")
  3040. b.Parent = char
  3041. b.Material = "Neon"
  3042. b.Color = BrickColor.new("New Yeller").Color
  3043. b.CanCollide = false
  3044. b.Shape = "Ball"
  3045. b.CFrame = VOL.CFrame
  3046. b.Anchored = true
  3047. b.Transparency = 0
  3048. b.Size = vt(1,1,1)
  3049. local z = Instance.new("SpecialMesh",b)
  3050. z.MeshType = "Sphere"
  3051. local hitted = false
  3052. lb.Anchored = false
  3053. local bv = Instance.new("BodyVelocity")
  3054. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3055. bv.velocity = Mouse.Hit.lookVector *150
  3056. bv.Parent = lb
  3057.  
  3058. local lb2 = Instance.new("Part")
  3059. lb2.Parent = char
  3060. lb2.Material = "Neon"
  3061. lb2.Color = BrickColor.new("New Yeller").Color
  3062. lb2.CanCollide = false
  3063. lb2.Shape = "Ball"
  3064. lb2.CFrame = VOL2.CFrame
  3065. lb2.Anchored = true
  3066. lb2.Transparency = 0
  3067. lb2.Size = vt(0.6,0.6,0.6)
  3068. local thing = Instance.new("SpecialMesh",lb2)
  3069. thing.MeshType = "Sphere"
  3070. --for i = 0, 1 do
  3071. --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"))
  3072. --end
  3073. -- + root.CFrame.lookVector*12
  3074. --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))
  3075. -- + root.CFrame.lookVector*12
  3076. local b2 = Instance.new("Part")
  3077. b2.Parent = char
  3078. b2.Material = "Neon"
  3079. b2.Color = BrickColor.new("New Yeller").Color
  3080. b2.CanCollide = false
  3081. b2.Shape = "Ball"
  3082. b2.CFrame = VOL2.CFrame
  3083. b2.Anchored = true
  3084. b2.Transparency = 0
  3085. b2.Size = vt(1,1,1)
  3086. local z = Instance.new("SpecialMesh",b2)
  3087. z.MeshType = "Sphere"
  3088. --local hitted = false
  3089. lb2.Anchored = false
  3090. local bv2 = Instance.new("BodyVelocity")
  3091. bv2.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3092. bv2.velocity = Mouse.Hit.lookVector *150
  3093. bv2.Parent = lb2
  3094. lb.Touched:connect(function(hit) Damagefunc(hit,33,74,math.random(10,20),"Normal",RootPart,.2,1) end)
  3095. lb2.Touched:connect(function(hit) Damagefunc(hit,33,74,math.random(10,20),"Normal",RootPart,.2,1) end)
  3096. for i = 0,0.15,0.1 do
  3097. swait()
  3098. turnto(Mouse.Hit.p)
  3099. z.Scale = z.Scale + vt(0.1,0.1,0.1)
  3100. b.Transparency = b.Transparency + 0.05
  3101. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3102. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  3103. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(0)),.1)
  3104. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  3105. end
  3106. game:GetService("Debris"):AddItem(lb, 19)
  3107. game:GetService("Debris"):AddItem(lb2, 19)
  3108. game:GetService("Debris"):AddItem(bv, 20)
  3109. game:GetService("Debris"):AddItem(bv2, 20)
  3110. b:Destroy()
  3111. b2:Destroy()
  3112. --wait(10)
  3113. --lb:Destroy()
  3114. --lb2:Destroy()
  3115. until HOLD == false
  3116. ATTACK = false
  3117. --Rooted = false
  3118. end
  3119.  
  3120.  
  3121. --[[
  3122. wat = Instance.new("Sound", Torso)
  3123. wat.Volume = 14
  3124. wat.TimePosition = 0
  3125. wat.Pitch = 1
  3126. wat.SoundId = "rbxassetid://2095995144"
  3127. wat.Looped = false
  3128.  
  3129. function watde()
  3130. ATTACK = true
  3131. wat:Play()
  3132. chatfunc("wat.",C3(1,1,0),"Normal","SciFi",2)
  3133. wait(2)
  3134. ATTACK = false
  3135. end]]--
  3136.  
  3137. function SmgTest()
  3138. ATTACK = true
  3139. --Rooted = false
  3140. for i=0, 0.25, 0.1 / Animation_Speed do
  3141. Swait()
  3142. turnto(Mouse.Hit.p)
  3143. --[[RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3144. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  3145. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3146. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3147. 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)
  3148. 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)
  3149. --]]
  3150. end
  3151. repeat
  3152. for i = 0,0.3,0.1 do
  3153. swait()
  3154. turnto(Mouse.Hit.p)
  3155. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3156. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  3157. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(0)),.1)
  3158. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  3159. end
  3160. so("http://roblox.com/asset/?id=2484694762",Flare,60,1)
  3161. so("http://roblox.com/asset/?id=2484694762",Flare2,60,1)
  3162. local lb = Instance.new("Part")
  3163. lb.Parent = char
  3164. lb.Material = "Neon"
  3165. lb.Color = BrickColor.new("New Yeller").Color
  3166. lb.CanCollide = false
  3167. lb.Shape = "Ball"
  3168. lb.CFrame = Flare.CFrame
  3169. lb.Anchored = true
  3170. lb.Transparency = 0
  3171. lb.Size = vt(0.6,0.6,0.6)
  3172. local thing = Instance.new("SpecialMesh",lb)
  3173. thing.MeshType = "Sphere"
  3174. --for i = 0, 1 do
  3175. --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"))
  3176. --end
  3177. -- + root.CFrame.lookVector*12
  3178. --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))
  3179. -- + root.CFrame.lookVector*12
  3180. local b = Instance.new("Part")
  3181. b.Parent = char
  3182. b.Material = "Neon"
  3183. b.Color = BrickColor.new("New Yeller").Color
  3184. b.CanCollide = false
  3185. b.Shape = "Ball"
  3186. b.CFrame = Flare.CFrame
  3187. b.Anchored = true
  3188. b.Transparency = 0
  3189. b.Size = vt(1,1,1)
  3190. local z = Instance.new("SpecialMesh",b)
  3191. z.MeshType = "Sphere"
  3192. local hitted = false
  3193. lb.Anchored = false
  3194. local bv = Instance.new("BodyVelocity")
  3195. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3196. bv.velocity = Mouse.Hit.lookVector *150
  3197. bv.Parent = lb
  3198.  
  3199. local lb2 = Instance.new("Part")
  3200. lb2.Parent = char
  3201. lb2.Material = "Neon"
  3202. lb2.Color = BrickColor.new("New Yeller").Color
  3203. lb2.CanCollide = false
  3204. lb2.Shape = "Ball"
  3205. lb2.CFrame = Flare2.CFrame
  3206. lb2.Anchored = true
  3207. lb2.Transparency = 0
  3208. lb2.Size = vt(0.6,0.6,0.6)
  3209. local thing = Instance.new("SpecialMesh",lb2)
  3210. thing.MeshType = "Sphere"
  3211. --for i = 0, 1 do
  3212. --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"))
  3213. --end
  3214. -- + root.CFrame.lookVector*12
  3215. --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))
  3216. -- + root.CFrame.lookVector*12
  3217. local b2 = Instance.new("Part")
  3218. b2.Parent = char
  3219. b2.Material = "Neon"
  3220. b2.Color = BrickColor.new("New Yeller").Color
  3221. b2.CanCollide = false
  3222. b2.Shape = "Ball"
  3223. b2.CFrame = Flare2.CFrame
  3224. b2.Anchored = true
  3225. b2.Transparency = 0
  3226. b2.Size = vt(1,1,1)
  3227. local z = Instance.new("SpecialMesh",b2)
  3228. z.MeshType = "Sphere"
  3229. --local hitted = false
  3230. lb2.Anchored = false
  3231. local bv2 = Instance.new("BodyVelocity")
  3232. bv2.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3233. bv2.velocity = Mouse.Hit.lookVector *150
  3234. bv2.Parent = lb2
  3235. lb.Touched:connect(function(hit) Damagefunc(hit,33,74,math.random(10,20),"Normal",RootPart,.2,1) end)
  3236. lb2.Touched:connect(function(hit) Damagefunc(hit,33,74,math.random(10,20),"Normal",RootPart,.2,1) end)
  3237. for i = 0,0.4,0.1 do
  3238. swait()
  3239. turnto(Mouse.Hit.p)
  3240. z.Scale = z.Scale + vt(0.1,0.1,0.1)
  3241. b.Transparency = b.Transparency + 0.05
  3242. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3243. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  3244. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(0)),.1)
  3245. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  3246. end
  3247. game:GetService("Debris"):AddItem(lb, 19)
  3248. game:GetService("Debris"):AddItem(lb2, 19)
  3249. game:GetService("Debris"):AddItem(bv, 20)
  3250. game:GetService("Debris"):AddItem(bv2, 20)
  3251. b:Destroy()
  3252. b2:Destroy()
  3253. --wait(10)
  3254. --lb:Destroy()
  3255. --lb2:Destroy()
  3256. until HOLD == false
  3257. ATTACK = false
  3258. --Rooted = false
  3259. end
  3260.  
  3261.  
  3262. function AUGShoot()
  3263. ATTACK = true
  3264. --Rooted = false
  3265. for i=0, 0.25, 0.1 / Animation_Speed do
  3266. Swait()
  3267. turnto(Mouse.Hit.p)
  3268. --[[RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3269. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  3270. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3271. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3272. 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)
  3273. 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)
  3274. --]]
  3275. end
  3276. repeat
  3277. for i = 0,0.15,0.1 do
  3278. swait()
  3279. turnto(Mouse.Hit.p)
  3280. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3281. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  3282. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 1, 0.7) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  3283. 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)
  3284. end
  3285. so("http://roblox.com/asset/?id=297606774",UGB,60,1)
  3286. --so("http://roblox.com/asset/?id=165946560",Flare2,60,1)
  3287. local lb = Instance.new("Part")
  3288. lb.Parent = char
  3289. lb.Material = "Neon"
  3290. lb.Color = BrickColor.new("New Yeller").Color
  3291. lb.CanCollide = false
  3292. lb.Shape = "Ball"
  3293. lb.CFrame = UGB.CFrame
  3294. lb.Anchored = true
  3295. lb.Transparency = 0
  3296. lb.Size = vt(0.45,1,0.45)
  3297. local thing = Instance.new("SpecialMesh",lb)
  3298. thing.MeshType = "Sphere"
  3299. --for i = 0, 1 do
  3300. --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"))
  3301. --end
  3302. -- + root.CFrame.lookVector*12
  3303. --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))
  3304. -- + root.CFrame.lookVector*12
  3305. local b = Instance.new("Part")
  3306. b.Parent = char
  3307. b.Material = "Neon"
  3308. b.Color = BrickColor.new("New Yeller").Color
  3309. b.CanCollide = false
  3310. b.Shape = "Ball"
  3311. b.CFrame = UGB.CFrame
  3312. b.Anchored = true
  3313. b.Transparency = 0
  3314. b.Size = vt(1,1,1)
  3315. local z = Instance.new("SpecialMesh",b)
  3316. z.MeshType = "Sphere"
  3317. local hitted = false
  3318. lb.Anchored = false
  3319. local bv = Instance.new("BodyVelocity")
  3320. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3321. bv.velocity = Mouse.Hit.lookVector *150
  3322. bv.Parent = lb
  3323. --[[
  3324. local lb2 = Instance.new("Part")
  3325. lb2.Parent = char
  3326. lb2.Material = "Neon"
  3327. lb2.Color = BrickColor.new("New Yeller").Color
  3328. lb2.CanCollide = false
  3329. lb2.Shape = "Ball"
  3330. lb2.CFrame = Flare2.CFrame
  3331. lb2.Anchored = true
  3332. lb2.Transparency = 0
  3333. lb2.Size = vt(0.6,0.6,0.6)
  3334. local thing = Instance.new("SpecialMesh",lb2)
  3335. thing.MeshType = "Sphere"
  3336. --for i = 0, 1 do
  3337. --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"))
  3338. --end
  3339. -- + root.CFrame.lookVector*12
  3340. --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))
  3341. -- + root.CFrame.lookVector*12
  3342. local b2 = Instance.new("Part")
  3343. b2.Parent = char
  3344. b2.Material = "Neon"
  3345. b2.Color = BrickColor.new("New Yeller").Color
  3346. b2.CanCollide = false
  3347. b2.Shape = "Ball"
  3348. b2.CFrame = Flare2.CFrame
  3349. b2.Anchored = true
  3350. b2.Transparency = 0
  3351. b2.Size = vt(1,1,1)
  3352. local z = Instance.new("SpecialMesh",b2)
  3353. z.MeshType = "Sphere"
  3354. --local hitted = false
  3355. lb2.Anchored = false
  3356. local bv2 = Instance.new("BodyVelocity")
  3357. bv2.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3358. bv2.velocity = Mouse.Hit.lookVector *150
  3359. bv2.Parent = lb2]]--
  3360. lb.Touched:connect(function(hit) Damagefunc(hit,12,43,math.random(10,20),"Normal",RootPart,.2,1) end)
  3361. --lb2.Touched:connect(function(hit) Damagefunc(hit,33,74,math.random(10,20),"Normal",RootPart,.2,1) end)
  3362. for i = 0,0.2,0.1 do
  3363. swait()
  3364. turnto(Mouse.Hit.p)
  3365. z.Scale = z.Scale + vt(0.1,0.1,0.1)
  3366. b.Transparency = b.Transparency + 0.05
  3367. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3368. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  3369. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 1, 0.2) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  3370. 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)
  3371. end
  3372. game:GetService("Debris"):AddItem(lb, 19)
  3373. --game:GetService("Debris"):AddItem(lb2, 19)
  3374. game:GetService("Debris"):AddItem(bv, 20)
  3375. --game:GetService("Debris"):AddItem(bv2, 20)
  3376. b:Destroy()
  3377. --b2:Destroy()
  3378. --wait(10)
  3379. --lb:Destroy()
  3380. --lb2:Destroy()
  3381. until HOLD == false
  3382. ATTACK = false
  3383. --Rooted = false
  3384. end
  3385.  
  3386. function AEA()
  3387. ATTACK = true
  3388. --Rooted = false
  3389. for i=0, 0.25, 0.1 / Animation_Speed do
  3390. Swait()
  3391. turnto(Mouse.Hit.p)
  3392. --[[RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3393. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  3394. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3395. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3396. 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)
  3397. 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)
  3398. --]]
  3399. end
  3400. repeat
  3401. for i = 0,0.45,0.1 do
  3402. swait()
  3403. turnto(Mouse.Hit.p)
  3404. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3405. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  3406. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 1, 0.7) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  3407. 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)
  3408. end
  3409. so("http://roblox.com/asset/?id=2550005685",EAE,60,1)
  3410. --so("http://roblox.com/asset/?id=165946560",Flare2,60,1)
  3411. local lb = Instance.new("Part")
  3412. lb.Parent = char
  3413. lb.Material = "Neon"
  3414. lb.Color = BrickColor.new("New Yeller").Color
  3415. lb.CanCollide = false
  3416. lb.Shape = "Ball"
  3417. lb.CFrame = EAE.CFrame
  3418. lb.Anchored = true
  3419. lb.Transparency = 0
  3420. lb.Size = vt(0.45,1,0.45)
  3421. local thing = Instance.new("SpecialMesh",lb)
  3422. thing.MeshType = "Sphere"
  3423. --for i = 0, 1 do
  3424. --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"))
  3425. --end
  3426. -- + root.CFrame.lookVector*12
  3427. --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))
  3428. -- + root.CFrame.lookVector*12
  3429. local b = Instance.new("Part")
  3430. b.Parent = char
  3431. b.Material = "Neon"
  3432. b.Color = BrickColor.new("New Yeller").Color
  3433. b.CanCollide = false
  3434. b.Shape = "Ball"
  3435. b.CFrame = EAE.CFrame
  3436. b.Anchored = true
  3437. b.Transparency = 0
  3438. b.Size = vt(1,1,1)
  3439. local z = Instance.new("SpecialMesh",b)
  3440. z.MeshType = "Sphere"
  3441. local hitted = false
  3442. lb.Anchored = false
  3443. local bv = Instance.new("BodyVelocity")
  3444. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3445. bv.velocity = Mouse.Hit.lookVector *150
  3446. bv.Parent = lb
  3447. --[[
  3448. local lb2 = Instance.new("Part")
  3449. lb2.Parent = char
  3450. lb2.Material = "Neon"
  3451. lb2.Color = BrickColor.new("New Yeller").Color
  3452. lb2.CanCollide = false
  3453. lb2.Shape = "Ball"
  3454. lb2.CFrame = Flare2.CFrame
  3455. lb2.Anchored = true
  3456. lb2.Transparency = 0
  3457. lb2.Size = vt(0.6,0.6,0.6)
  3458. local thing = Instance.new("SpecialMesh",lb2)
  3459. thing.MeshType = "Sphere"
  3460. --for i = 0, 1 do
  3461. --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"))
  3462. --end
  3463. -- + root.CFrame.lookVector*12
  3464. --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))
  3465. -- + root.CFrame.lookVector*12
  3466. local b2 = Instance.new("Part")
  3467. b2.Parent = char
  3468. b2.Material = "Neon"
  3469. b2.Color = BrickColor.new("New Yeller").Color
  3470. b2.CanCollide = false
  3471. b2.Shape = "Ball"
  3472. b2.CFrame = Flare2.CFrame
  3473. b2.Anchored = true
  3474. b2.Transparency = 0
  3475. b2.Size = vt(1,1,1)
  3476. local z = Instance.new("SpecialMesh",b2)
  3477. z.MeshType = "Sphere"
  3478. --local hitted = false
  3479. lb2.Anchored = false
  3480. local bv2 = Instance.new("BodyVelocity")
  3481. bv2.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3482. bv2.velocity = Mouse.Hit.lookVector *150
  3483. bv2.Parent = lb2]]--
  3484. lb.Touched:connect(function(hit) Damagefunc(hit,12,75,math.random(10,20),"Normal",RootPart,.2,1) end)
  3485. --lb2.Touched:connect(function(hit) Damagefunc(hit,33,74,math.random(10,20),"Normal",RootPart,.2,1) end)
  3486. for i = 0,0.525,0.1 do
  3487. swait()
  3488. turnto(Mouse.Hit.p)
  3489. z.Scale = z.Scale + vt(0.1,0.1,0.1)
  3490. b.Transparency = b.Transparency + 0.05
  3491. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3492. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  3493. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 1, 0.2) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  3494. 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)
  3495. end
  3496. game:GetService("Debris"):AddItem(lb, 19)
  3497. --game:GetService("Debris"):AddItem(lb2, 19)
  3498. game:GetService("Debris"):AddItem(bv, 20)
  3499. --game:GetService("Debris"):AddItem(bv2, 20)
  3500. b:Destroy()
  3501. --b2:Destroy()
  3502. --wait(10)
  3503. --lb:Destroy()
  3504. --lb2:Destroy()
  3505. until HOLD == false
  3506. ATTACK = false
  3507. --Rooted = false
  3508. end
  3509.  
  3510. function AKS()
  3511. ATTACK = true
  3512. --Rooted = false
  3513. for i=0, 0.25, 0.1 / Animation_Speed do
  3514. Swait()
  3515. turnto(Mouse.Hit.p)
  3516. --[[RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3517. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  3518. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3519. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3520. 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)
  3521. 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)
  3522. --]]
  3523. end
  3524. repeat
  3525. for i = 0,0.15,0.1 do
  3526. swait()
  3527. turnto(Mouse.Hit.p)
  3528. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3529. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  3530. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 1, 0.7) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  3531. 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)
  3532. end
  3533. so("http://roblox.com/asset/?id=168436671",AH,60,1)
  3534. --so("http://roblox.com/asset/?id=165946560",Flare2,60,1)
  3535. local lb = Instance.new("Part")
  3536. lb.Parent = char
  3537. lb.Material = "Neon"
  3538. lb.Color = BrickColor.new("New Yeller").Color
  3539. lb.CanCollide = false
  3540. lb.Shape = "Ball"
  3541. lb.CFrame = AH.CFrame
  3542. lb.Anchored = true
  3543. lb.Transparency = 0
  3544. lb.Size = vt(0.45,1,0.45)
  3545. local thing = Instance.new("SpecialMesh",lb)
  3546. thing.MeshType = "Sphere"
  3547. --for i = 0, 1 do
  3548. --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"))
  3549. --end
  3550. -- + root.CFrame.lookVector*12
  3551. --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))
  3552. -- + root.CFrame.lookVector*12
  3553. local b = Instance.new("Part")
  3554. b.Parent = char
  3555. b.Material = "Neon"
  3556. b.Color = BrickColor.new("New Yeller").Color
  3557. b.CanCollide = false
  3558. b.Shape = "Ball"
  3559. b.CFrame = AH.CFrame
  3560. b.Anchored = true
  3561. b.Transparency = 0
  3562. b.Size = vt(1,1,1)
  3563. local z = Instance.new("SpecialMesh",b)
  3564. z.MeshType = "Sphere"
  3565. local hitted = false
  3566. lb.Anchored = false
  3567. local bv = Instance.new("BodyVelocity")
  3568. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3569. bv.velocity = Mouse.Hit.lookVector *150
  3570. bv.Parent = lb
  3571. --[[
  3572. local lb2 = Instance.new("Part")
  3573. lb2.Parent = char
  3574. lb2.Material = "Neon"
  3575. lb2.Color = BrickColor.new("New Yeller").Color
  3576. lb2.CanCollide = false
  3577. lb2.Shape = "Ball"
  3578. lb2.CFrame = Flare2.CFrame
  3579. lb2.Anchored = true
  3580. lb2.Transparency = 0
  3581. lb2.Size = vt(0.6,0.6,0.6)
  3582. local thing = Instance.new("SpecialMesh",lb2)
  3583. thing.MeshType = "Sphere"
  3584. --for i = 0, 1 do
  3585. --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"))
  3586. --end
  3587. -- + root.CFrame.lookVector*12
  3588. --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))
  3589. -- + root.CFrame.lookVector*12
  3590. local b2 = Instance.new("Part")
  3591. b2.Parent = char
  3592. b2.Material = "Neon"
  3593. b2.Color = BrickColor.new("New Yeller").Color
  3594. b2.CanCollide = false
  3595. b2.Shape = "Ball"
  3596. b2.CFrame = Flare2.CFrame
  3597. b2.Anchored = true
  3598. b2.Transparency = 0
  3599. b2.Size = vt(1,1,1)
  3600. local z = Instance.new("SpecialMesh",b2)
  3601. z.MeshType = "Sphere"
  3602. --local hitted = false
  3603. lb2.Anchored = false
  3604. local bv2 = Instance.new("BodyVelocity")
  3605. bv2.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3606. bv2.velocity = Mouse.Hit.lookVector *150
  3607. bv2.Parent = lb2]]--
  3608. lb.Touched:connect(function(hit) Damagefunc(hit,12,75,math.random(10,20),"Normal",RootPart,.2,1) end)
  3609. --lb2.Touched:connect(function(hit) Damagefunc(hit,33,74,math.random(10,20),"Normal",RootPart,.2,1) end)
  3610. for i = 0,0.2,0.1 do
  3611. swait()
  3612. turnto(Mouse.Hit.p)
  3613. z.Scale = z.Scale + vt(0.1,0.1,0.1)
  3614. b.Transparency = b.Transparency + 0.05
  3615. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3616. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  3617. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 1, 0.2) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  3618. 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)
  3619. end
  3620. game:GetService("Debris"):AddItem(lb, 19)
  3621. --game:GetService("Debris"):AddItem(lb2, 19)
  3622. game:GetService("Debris"):AddItem(bv, 20)
  3623. --game:GetService("Debris"):AddItem(bv2, 20)
  3624. b:Destroy()
  3625. --b2:Destroy()
  3626. --wait(10)
  3627. --lb:Destroy()
  3628. --lb2:Destroy()
  3629. until HOLD == false
  3630. ATTACK = false
  3631. --Rooted = false
  3632. end
  3633. function nearTorso(pos, dis)
  3634. local temp
  3635. local distance=dis
  3636. for i, v in pairs(workspace:children()) do
  3637. if v:isA("Model") then
  3638. temp=v:findFirstChild("Torso")
  3639. local humanoid=v:findFirstChild("Humanoid")
  3640. if temp and humanoid and v~=char and (temp.CFrame.p-pos).magnitude<distance then
  3641. distance=(temp.CFrame.p-pos).magnitude
  3642. return temp
  3643. end
  3644. end
  3645. end
  3646. end
  3647.  
  3648. function Damagefunc2(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  3649. if hit.Parent == nil then
  3650. return
  3651. end
  3652. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  3653. for _, v in pairs(hit.Parent:children()) do
  3654. if v:IsA("Humanoid") then
  3655. h = v
  3656. end
  3657. end
  3658. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  3659. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  3660. return
  3661. end
  3662. if HitSound ~= nil and HitPitch ~= nil then
  3663. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  3664. end
  3665. local Damage = math.random(minim, maxim)
  3666. local blocked = false
  3667. local block = hit.Parent:findFirstChild("Block")
  3668. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  3669. blocked = true
  3670. block.Value = block.Value - 1
  3671. print(block.Value)
  3672. end
  3673. if blocked == false then
  3674. HitHealth = h.Health
  3675. h.MaxHealth = 100
  3676. h.Health = h.Health - Damage
  3677. local nTorso=nearTorso(Torso.CFrame.p, 3)
  3678. if nTorso then
  3679. local offSet=nTorso.CFrame:toObjectSpace(Torso.CFrame)
  3680. if offSet.z>0 then
  3681. h.Health = h.Health - Damage*MRANDOM(180,560)
  3682. end
  3683. end
  3684. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  3685. print("gained kill")
  3686. -- dmg(h.Parent)
  3687. end
  3688. else
  3689. h.Health = h.Health - Damage / 2
  3690. end
  3691. if Type == "Knockdown" then
  3692. local hum = hit.Parent.Humanoid
  3693. hum.PlatformStand = true
  3694. coroutine.resume(coroutine.create(function(HHumanoid)
  3695. swait(1)
  3696. HHumanoid.PlatformStand = false
  3697. end), hum)
  3698. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  3699. local bodvol = Create("BodyVelocity")({
  3700. velocity = angle * knockback,
  3701. P = 5000,
  3702. maxForce = Vector3.new(8000, 8000, 8000),
  3703. Parent = hit
  3704. })
  3705. local rl = Create("BodyAngularVelocity")({
  3706. P = 3000,
  3707. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  3708. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  3709. Parent = hit
  3710. })
  3711. game:GetService("Debris"):AddItem(bodvol, 0.5)
  3712. game:GetService("Debris"):AddItem(rl, 0.5)
  3713. elseif Type == "Normal" then
  3714. local vp = Create("BodyVelocity")({
  3715. P = 500,
  3716. maxForce = Vector3.new(math.huge, 0, math.huge),
  3717. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  3718. })
  3719. if knockback > 0 then
  3720. vp.Parent = hit.Parent.Head
  3721. end
  3722. game:GetService("Debris"):AddItem(vp, 0.5)
  3723. elseif Type == "Up" then
  3724. local bodyVelocity = Create("BodyVelocity")({
  3725. velocity = Vector3.new(0, 20, 0),
  3726. P = 5000,
  3727. maxForce = Vector3.new(8000, 8000, 8000),
  3728. Parent = hit
  3729. })
  3730. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  3731. local bodyVelocity = Create("BodyVelocity")({
  3732. velocity = Vector3.new(0, 20, 0),
  3733. P = 5000,
  3734. maxForce = Vector3.new(8000, 8000, 8000),
  3735. Parent = hit
  3736. })
  3737. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  3738. elseif Type == "Leech" then
  3739. local hum = hit.Parent.Humanoid
  3740. if hum ~= nil then
  3741. for i = 0, 2 do
  3742. 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)
  3743. end
  3744. Humanoid.Health = Humanoid.Health + 10
  3745. end
  3746. elseif Type == "UpKnock" then
  3747. local hum = hit.Parent.Humanoid
  3748. hum.PlatformStand = true
  3749. if hum ~= nil then
  3750. hitr = true
  3751. end
  3752. coroutine.resume(coroutine.create(function(HHumanoid)
  3753. swait(5)
  3754. HHumanoid.PlatformStand = false
  3755. hitr = false
  3756. end), hum)
  3757. local bodyVelocity = Create("BodyVelocity")({
  3758. velocity = Vector3.new(0, 20, 0),
  3759. P = 5000,
  3760. maxForce = Vector3.new(8000, 8000, 8000),
  3761. Parent = hit
  3762. })
  3763. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  3764. local bodyVelocity = Create("BodyVelocity")({
  3765. velocity = Vector3.new(0, 20, 0),
  3766. P = 5000,
  3767. maxForce = Vector3.new(8000, 8000, 8000),
  3768. Parent = hit
  3769. })
  3770. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  3771. elseif Type == "Snare" then
  3772. local bp = Create("BodyPosition")({
  3773. P = 2000,
  3774. D = 100,
  3775. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  3776. position = hit.Parent.Torso.Position,
  3777. Parent = hit.Parent.Torso
  3778. })
  3779. game:GetService("Debris"):AddItem(bp, 1)
  3780. elseif Type == "Slashnare" then
  3781. 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)
  3782. for i = 1, math.random(4, 5) do
  3783. 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)
  3784. end
  3785. local bp = Create("BodyPosition")({
  3786. P = 2000,
  3787. D = 100,
  3788. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  3789. position = hit.Parent.Torso.Position,
  3790. Parent = hit.Parent.Torso
  3791. })
  3792. game:GetService("Debris"):AddItem(bp, 1)
  3793. elseif Type == "Spike" then
  3794. --CreateBigIceSword(hit.Parent.Torso.CFrame)
  3795. local bp = Create("BodyPosition")({
  3796. P = 2000,
  3797. D = 100,
  3798. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  3799. position = hit.Parent.Torso.Position,
  3800. Parent = hit.Parent.Torso
  3801. })
  3802. game:GetService("Debris"):AddItem(bp, 1)
  3803. elseif Type == "Freeze" then
  3804. local BodPos = Create("BodyPosition")({
  3805. P = 50000,
  3806. D = 1000,
  3807. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  3808. position = hit.Parent.Torso.Position,
  3809. Parent = hit.Parent.Torso
  3810. })
  3811. local BodGy = Create("BodyGyro")({
  3812. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  3813. P = 20000,
  3814. Parent = hit.Parent.Torso,
  3815. cframe = hit.Parent.Torso.CFrame
  3816. })
  3817. hit.Parent.Torso.Anchored = true
  3818. coroutine.resume(coroutine.create(function(Part)
  3819. swait(1.5)
  3820. Part.Anchored = false
  3821. end), hit.Parent.Torso)
  3822. game:GetService("Debris"):AddItem(BodPos, 3)
  3823. game:GetService("Debris"):AddItem(BodGy, 3)
  3824. end
  3825. local debounce = Create("BoolValue")({
  3826. Name = "DebounceHit",
  3827. Parent = hit.Parent,
  3828. Value = true
  3829. })
  3830. game:GetService("Debris"):AddItem(debounce, Delay)
  3831. end
  3832. end
  3833. function ShowDamage(Pos, Text, Time, Color)
  3834. local Rate = 0.03333333333333333
  3835. local Pos = Pos or Vector3.new(0, 0, 0)
  3836. local Text = Text or ""
  3837. local Time = Time or 2
  3838. local Color = Color or Color3.new(1, 0, 1)
  3839. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  3840. EffectPart.Anchored = true
  3841. local BillboardGui = Create("BillboardGui")({
  3842. Size = UDim2.new(3, 0, 3, 0),
  3843. Adornee = EffectPart,
  3844. Parent = EffectPart
  3845. })
  3846. local TextLabel = Create("TextLabel")({
  3847. BackgroundTransparency = 1,
  3848. Size = UDim2.new(1, 0, 1, 0),
  3849. Text = Text,
  3850. TextColor3 = Color,
  3851. TextScaled = true,
  3852. Font = Enum.Font.ArialBold,
  3853. Parent = BillboardGui
  3854. })
  3855. game.Debris:AddItem(EffectPart, Time + 0.1)
  3856. EffectPart.Parent = game:GetService("Workspace")
  3857. delay(0, function()
  3858. local Frames = Time / Rate
  3859. for Frame = 1, Frames do
  3860. wait(Rate)
  3861. local Percent = Frame / Frames
  3862. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  3863. TextLabel.TextTransparency = Percent
  3864. end
  3865. if EffectPart and EffectPart.Parent then
  3866. EffectPart:Destroy()
  3867. end
  3868. end)
  3869. end
  3870. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  3871. for _, c in pairs(workspace:children()) do
  3872. local hum = c:findFirstChildOfClass("Humanoid")
  3873. if hum ~= nil then
  3874. local head = c:findFirstChild("Head")
  3875. if head ~= nil then
  3876. local targ = head.Position - Part.Position
  3877. local mag = targ.magnitude
  3878. if magni >= mag and c.Name ~= Player.Name then
  3879. Damagefunc2(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  3880. end
  3881. end
  3882. end
  3883. end
  3884. end
  3885.  
  3886.  
  3887. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  3888. for _, c in pairs(workspace:children()) do
  3889. local hum = c:findFirstChild("Humanoid")
  3890. if hum ~= nil then
  3891. local head = c:findFirstChild("Torso")
  3892. if head ~= nil then
  3893. local targ = head.Position - Part.Position
  3894. local mag = targ.magnitude
  3895. if magni >= mag and c.Name ~= Player.Name then
  3896. --MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  3897. Damagefunc2(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  3898. end
  3899. end
  3900. end
  3901. end
  3902. end
  3903.  
  3904. function attackone()
  3905. ATTACK = true
  3906. CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1.1)
  3907. for i = 0,1,0.25 do
  3908. swait()
  3909. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-90)),1)
  3910. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(50)),1)
  3911. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(100)),1)
  3912. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)),1)
  3913. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0)),1)
  3914. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),1)
  3915. end
  3916. local hitb = Instance.new("Part", char)
  3917. hitb.Anchored = true
  3918. hitb.CanCollide = false
  3919. hitb.FormFactor = 3
  3920. hitb.Name = "Ring"
  3921. hitb.Material = "Neon"
  3922. hitb.Size = Vector3.new(1, 1, 1)
  3923. hitb.Transparency = 1
  3924. hitb.TopSurface = 0
  3925. hitb.BottomSurface = 0
  3926. hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
  3927. MagniDamage(hitb, 3, 12,32, 0, "Normal")
  3928. hitb:Destroy()
  3929. for i = 0,1,0.5 do
  3930. swait()
  3931. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.5)
  3932. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-80)),0.5)
  3933. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.5)
  3934. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.5)
  3935. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(0)),0.5)
  3936. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),0.5)
  3937. end
  3938. ATTACK = false
  3939. end
  3940.  
  3941. function attacktwo()
  3942. ATTACK = true
  3943. CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1.1)
  3944. for i=0,1,.25 do
  3945. swait()
  3946. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.5)
  3947. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-90)),0.5)
  3948. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.5)
  3949. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.5)
  3950. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(40),math.rad(0)),0.4)
  3951. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-140),math.rad(-10)),0.5)
  3952. end
  3953. local hitb = Instance.new("Part", char)
  3954. hitb.Anchored = true
  3955. hitb.CanCollide = false
  3956. hitb.FormFactor = 3
  3957. hitb.Name = "Ring"
  3958. hitb.Material = "Neon"
  3959. hitb.Size = Vector3.new(1, 1, 1)
  3960. hitb.Transparency = 1
  3961. hitb.TopSurface = 0
  3962. hitb.BottomSurface = 0
  3963. hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
  3964. MagniDamage(hitb, 3, 10,32, 0, "Normal")
  3965. hitb:Destroy()
  3966. for i = 0,1,0.5 do
  3967. swait()
  3968. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-90)),0.5)
  3969. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(90)),0.5)
  3970. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(90)),0.5)
  3971. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)),0.5)
  3972. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(140),math.rad(0)),0.5)
  3973. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-40),math.rad(-10)),0.5)
  3974. end
  3975. ATTACK = false
  3976. end
  3977.  
  3978.  
  3979.  
  3980. local attacktype = 1
  3981. local COMBO = false
  3982. function stab()
  3983. if attacktype==1 and ATTACK==false and COMBO == false then
  3984. attacktype=2
  3985. COMBO = true
  3986. attackone()
  3987. COMBO = false
  3988. elseif attacktype==2 and ATTACK==false and COMBO == false then
  3989. attacktype=1
  3990. COMBO = true
  3991. attacktwo()
  3992. COMBO = false
  3993. end
  3994. end
  3995. Ne = Torso.Neck
  3996. local Ammo = 1000
  3997. local Depleted = false
  3998. function rayCast(Pos, Dir, Max, Ignore)
  3999. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  4000. end
  4001.  
  4002. function DamageASD(hit, damage, cooldown, Color1, Color2, HSound, HPitch)
  4003. for i, v in pairs(hit:GetChildren()) do
  4004. if v:IsA("Humanoid") and hit.Name ~= Character.Name then
  4005. local find = v:FindFirstChild("Hitz")
  4006. if not find then
  4007. if v.Parent:findFirstChild("Head") then
  4008. local BillG = Create("BillboardGui"){
  4009. Parent = v.Parent.Head,
  4010. Size = UDim2.new(1, 0, 1, 0),
  4011. Adornee = v.Parent.Head,
  4012. StudsOffset = Vector3.new(math.random(-3, 3), math.random(3, 5), math.random(-3, 3)),
  4013. }
  4014. local TL = Create("TextLabel"){
  4015. Parent = BillG,
  4016. Size = UDim2.new(3, 3, 3, 3),
  4017. BackgroundTransparency = 1,
  4018. Text = tostring(damage).."-",
  4019. TextColor3 = Color1.Color,
  4020. TextStrokeColor3 = Color2.Color,
  4021. TextStrokeTransparency = 0,
  4022. TextXAlignment = Enum.TextXAlignment.Center,
  4023. TextYAlignment = Enum.TextYAlignment.Center,
  4024. FontSize = Enum.FontSize.Size18,
  4025. Font = "SciFi",
  4026. }
  4027. coroutine.resume(coroutine.create(function()
  4028. wait(1)
  4029. for i = 0, 1, .1 do
  4030. wait(.1)
  4031. BillG.StudsOffset = BillG.StudsOffset + Vector3.new(0, .1, 0)
  4032. end
  4033. BillG:Destroy()
  4034. end))
  4035. end
  4036. v.Health = v.Health - damage
  4037. local bool = Create("BoolValue"){
  4038. Parent = v,
  4039. Name = 'Hitz',
  4040. }
  4041. if HSound ~= nil and HPitch ~= nil then
  4042. CreateSound(HSound, hit, 1, HPitch)
  4043. end
  4044. game:GetService("Debris"):AddItem(bool, cooldown)
  4045. end
  4046. end
  4047. end
  4048. end
  4049.  
  4050. function MagnitudeDamageB(Part, magni, mindam, maxdam, Color1, Color2, HitSound)
  4051. for _, c in pairs(workspace:children()) do
  4052. local hum = c:findFirstChild("Humanoid")
  4053. if hum ~= nil then
  4054. local head = c:findFirstChild("Torso")
  4055. if head ~= nil then
  4056. local targ = head.Position - Part.Position
  4057. local mag = targ.magnitude
  4058. if mag <= magni and c.Name ~= Player.Name then
  4059. DamageASD(head.Parent, math.random(mindam, maxdam), 0, Color1, Color2, HitSound, 1)
  4060. end
  4061. end
  4062. end
  4063. end
  4064. end
  4065. Effects2 = { }
  4066. function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  4067. local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  4068. prt.Anchored = true
  4069. prt.CFrame = cframe
  4070. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  4071. game:GetService("Debris"):AddItem(prt, 2)
  4072. Effects2[#Effects2 + 1] = {
  4073. prt,
  4074. "Cylinder",
  4075. delay,
  4076. x3,
  4077. y3,
  4078. z3
  4079. }
  4080. end
  4081. function Shoot(asd, spread1, spread2)
  4082. local MainPos = asd.Position
  4083. local MainPos2 = Mouse.Hit.p
  4084. 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
  4085. local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2 + spread)
  4086. num = 30
  4087. Ammo = Ammo - 1
  4088. print(Ammo)
  4089. if Ammo == 0 then
  4090. Depleted = true
  4091. end
  4092. coroutine.resume(coroutine.create(function(Spreaded)
  4093. repeat
  4094. wait()
  4095. local hit, pos = rayCast(MainPos, MouseLook.lookVector, 50, Character.HumanoidRootPart.Parent)
  4096. local TheHit = Mouse.Hit.p
  4097. local mag = (MainPos - pos).magnitude
  4098. 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)
  4099. MainPos = MainPos + (MouseLook.lookVector * 50)
  4100. num = num - 1
  4101. if hit ~= nil then
  4102. num = 0
  4103. local ref = CreatePart(3, workspace, "Neon", 0, 1, BrickColor.new("Dark stone grey"), "Reference", Vector3.new())
  4104. ref.Anchored = true
  4105. ref.CFrame = CFrame.new(pos)
  4106. MagnitudeDamageB(ref, 5, 999999999, 999999999, BrickColor.new("Maroon"), BrickColor.new("Really red") , "rbxassetid://199149297")
  4107. game:GetService("Debris"):AddItem(ref, 1)
  4108. end
  4109. until num <= 0
  4110. end))
  4111. end
  4112. function CreateSound2(id, par, vol, pit)
  4113. coroutine.resume(coroutine.create(function()
  4114. local sou = Create("Sound"){
  4115. Parent = par or workspace,
  4116. Volume = vol,
  4117. Pitch = pit or 1,
  4118. SoundId = id,
  4119. }
  4120. wait()
  4121. sou:play()
  4122. end))
  4123. end
  4124. function Fire()
  4125. ATTACK = true
  4126. CreateSound2("rbxassetid://132572951", AWH, 10, .9)
  4127. CreateSound2("rbxassetid://130767489", AWH, 70.7, 1.2)
  4128. Shoot(AWH, 0, 0)
  4129. for i = 0, 1, 0.2 do
  4130. wait()
  4131. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  4132. Ne.C0 = clerp(Ne.C0, NECKC0 * CFrame.Angles(math.rad(5), math.rad(-10), math.rad(90)), .3)
  4133. RW.C0 = clerp(RW.C0, CFrame.new(.5, 0.5, -.6) * CFrame.Angles(math.rad(90), math.rad(-20), math.rad(-90)), .5)
  4134. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.7, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(140)), .5)
  4135. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  4136. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  4137. end
  4138. for i = 0, 1, 0.1 do
  4139. wait()
  4140. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  4141. Ne.C0 = clerp(Ne.C0, NECKC0 * CFrame.Angles(math.rad(5), math.rad(0), math.rad(90)), .3)
  4142. RW.C0 = clerp(RW.C0, CFrame.new(.5, 0.5, -.6) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), .3)
  4143. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(90)), .3)
  4144. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  4145. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  4146. end
  4147. for i = 0, 1, 0.1 do
  4148. wait()
  4149. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  4150. Ne.C0 = clerp(Ne.C0, NECKC0 * CFrame.Angles(math.rad(5), math.rad(0), math.rad(80)), .3)
  4151. RW.C0 = clerp(RW.C0, CFrame.new(.5, 0.5, -.6) * CFrame.Angles(math.rad(80), math.rad(-30), math.rad(-90)), .3)
  4152. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.3, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(70)), .3)
  4153. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  4154. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  4155. end
  4156. CreateSound2("rbxassetid://146740582", AWH, 70.7, 1)
  4157. for i = 0, 1, 0.1 do
  4158. wait()
  4159. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  4160. Ne.C0 = clerp(Ne.C0, NECKC0 * CFrame.Angles(math.rad(5), math.rad(0), math.rad(80)), .3)
  4161. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -.6) * CFrame.Angles(math.rad(80), math.rad(-30), math.rad(-90)), .5)
  4162. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.3, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(70)), .3)
  4163. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  4164. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  4165. end
  4166. for i = 0, 1, 0.1 do
  4167. wait()
  4168. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  4169. Ne.C0 = clerp(Ne.C0, NECKC0 * CFrame.Angles(math.rad(5), math.rad(0), math.rad(80)), .3)
  4170. RW.C0 = clerp(RW.C0, CFrame.new(.5, 0.5, -.6) * CFrame.Angles(math.rad(80), math.rad(-30), math.rad(-90)), .5)
  4171. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.3, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(70)), .3)
  4172. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  4173. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  4174. end
  4175. for i = 0, 1, 0.3 do
  4176. wait()
  4177. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
  4178. Ne.C0 = clerp(Ne.C0, NECKC0 * CFrame.Angles(math.rad(5), math.rad(0), math.rad(90)), .4)
  4179. RW.C0 = clerp(RW.C0, CFrame.new(.51, 0.51, -.6) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), .4)
  4180. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.51, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(90)), .4)
  4181. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  4182. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
  4183. end
  4184. ATTACK = false
  4185. end
  4186.  
  4187. function R8AS()
  4188. ATTACK = true
  4189. --Rooted = false
  4190. for i=0, 0.5, 0.1 / Animation_Speed do
  4191. Swait()
  4192. turnto(Mouse.Hit.p)
  4193. --[[RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  4194. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  4195. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  4196. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  4197. 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)
  4198. 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)
  4199. --]]
  4200. end
  4201. repeat
  4202. for i = 0,0.76,0.1 do
  4203. swait()
  4204. turnto(Mouse.Hit.p)
  4205. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  4206. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  4207. 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)
  4208. 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)
  4209. end
  4210. for i = 0,1.98,0.1 do
  4211. swait()
  4212. turnto(Mouse.Hit.p)
  4213. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  4214. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  4215. 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)
  4216. 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)
  4217. end
  4218. so("http://roblox.com/asset/?id=360648134",REVOLV,60,1)
  4219. --so("http://roblox.com/asset/?id=165946560",Flare2,60,1)
  4220. local lb = Instance.new("Part")
  4221. lb.Parent = char
  4222. lb.Material = "Neon"
  4223. lb.Color = BrickColor.new("New Yeller").Color
  4224. lb.CanCollide = false
  4225. lb.Shape = "Ball"
  4226. lb.CFrame = REVOLV.CFrame
  4227. lb.Anchored = true
  4228. lb.Transparency = 0
  4229. lb.Size = vt(0.45,1,0.45)
  4230. local thing = Instance.new("SpecialMesh",lb)
  4231. thing.MeshType = "Sphere"
  4232. --for i = 0, 1 do
  4233. --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"))
  4234. --end
  4235. -- + root.CFrame.lookVector*12
  4236. --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))
  4237. -- + root.CFrame.lookVector*12
  4238. local b = Instance.new("Part")
  4239. b.Parent = char
  4240. b.Material = "Neon"
  4241. b.Color = BrickColor.new("New Yeller").Color
  4242. b.CanCollide = false
  4243. b.Shape = "Ball"
  4244. b.CFrame = REVOLV.CFrame
  4245. b.Anchored = true
  4246. b.Transparency = 0
  4247. b.Size = vt(1,1,1)
  4248. local z = Instance.new("SpecialMesh",b)
  4249. z.MeshType = "Sphere"
  4250. local hitted = false
  4251. lb.Anchored = false
  4252. local bv = Instance.new("BodyVelocity")
  4253. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4254. bv.velocity = Mouse.Hit.lookVector *150
  4255. bv.Parent = lb
  4256. --[[
  4257. local lb2 = Instance.new("Part")
  4258. lb2.Parent = char
  4259. lb2.Material = "Neon"
  4260. lb2.Color = BrickColor.new("New Yeller").Color
  4261. lb2.CanCollide = false
  4262. lb2.Shape = "Ball"
  4263. lb2.CFrame = Flare2.CFrame
  4264. lb2.Anchored = true
  4265. lb2.Transparency = 0
  4266. lb2.Size = vt(0.6,0.6,0.6)
  4267. local thing = Instance.new("SpecialMesh",lb2)
  4268. thing.MeshType = "Sphere"
  4269. --for i = 0, 1 do
  4270. --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"))
  4271. --end
  4272. -- + root.CFrame.lookVector*12
  4273. --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))
  4274. -- + root.CFrame.lookVector*12
  4275. local b2 = Instance.new("Part")
  4276. b2.Parent = char
  4277. b2.Material = "Neon"
  4278. b2.Color = BrickColor.new("New Yeller").Color
  4279. b2.CanCollide = false
  4280. b2.Shape = "Ball"
  4281. b2.CFrame = Flare2.CFrame
  4282. b2.Anchored = true
  4283. b2.Transparency = 0
  4284. b2.Size = vt(1,1,1)
  4285. local z = Instance.new("SpecialMesh",b2)
  4286. z.MeshType = "Sphere"
  4287. --local hitted = false
  4288. lb2.Anchored = false
  4289. local bv2 = Instance.new("BodyVelocity")
  4290. bv2.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4291. bv2.velocity = Mouse.Hit.lookVector *150
  4292. bv2.Parent = lb2]]--
  4293. lb.Touched:connect(function(hit) Damagefunc(hit,64,250,math.random(10,20),"Normal",RootPart,.2,1) end)
  4294. --lb2.Touched:connect(function(hit) Damagefunc(hit,33,74,math.random(10,20),"Normal",RootPart,.2,1) end)
  4295. for i = 0,1.7,0.1 do
  4296. swait()
  4297. turnto(Mouse.Hit.p)
  4298. z.Scale = z.Scale + vt(0.1,0.1,0.1)
  4299. b.Transparency = b.Transparency + 0.05
  4300. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  4301. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  4302. 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)
  4303. 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)
  4304. end
  4305. game:GetService("Debris"):AddItem(lb, 19)
  4306. --game:GetService("Debris"):AddItem(lb2, 19)
  4307. game:GetService("Debris"):AddItem(bv, 20)
  4308. --game:GetService("Debris"):AddItem(bv2, 20)
  4309. b:Destroy()
  4310. --b2:Destroy()
  4311. --wait(10)
  4312. --lb:Destroy()
  4313. --lb2:Destroy()
  4314. until HOLD == false
  4315. ATTACK = false
  4316. --Rooted = false
  4317. end
  4318. function nooutline(part)
  4319. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  4320. end
  4321.  
  4322. function partB(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  4323. local fp=it("Part")
  4324. fp.formFactor=formfactor
  4325. fp.Parent=parent
  4326. fp.Reflectance=reflectance
  4327. fp.Transparency=transparency
  4328. fp.CanCollide=false
  4329. fp.Locked=true
  4330. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  4331. fp.Name=name
  4332. fp.Size=size
  4333. fp.Position=Character.Torso.Position
  4334. nooutline(fp)
  4335. fp.Material=material
  4336. fp:BreakJoints()
  4337. return fp
  4338. end
  4339. function partB(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  4340. local fp = it("Part")
  4341. fp.formFactor = formfactor
  4342. fp.Parent = parent
  4343. fp.Reflectance = reflectance
  4344. fp.Transparency = transparency
  4345. fp.CanCollide = false
  4346. fp.Locked=true
  4347. fp.BrickColor = brickcolor
  4348. fp.Name = name
  4349. fp.Size = size
  4350. fp.Position = Torso.Position
  4351. nooutline(fp)
  4352. fp.Material="Neon"
  4353. fp:BreakJoints()
  4354. return fp
  4355. end
  4356. function MagicCylinder(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4357. local prt=partB(3,workspace,0,0,brickcolor,"Effect",vt(0.2,0.2,0.2))
  4358. prt.Anchored=true
  4359. prt.CFrame=cframe
  4360. msh=mesh("SpecialMesh",prt,"Head","",vt(0,0,0),vt(x1,y1,z1))
  4361. game:GetService("Debris"):AddItem(prt,2)
  4362. coroutine.resume(coroutine.create(function(Part,Mesh)
  4363. for i=0,1,delay do
  4364. swait()
  4365. Part.CFrame=Part.CFrame
  4366. Part.Transparency=i
  4367. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4368. end
  4369. Part.Parent=nil
  4370. end),prt,msh)
  4371. end
  4372.  
  4373. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4374. local prt=partB(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4375. prt.Anchored=true
  4376. prt.CFrame=cframe
  4377. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  4378. game:GetService("Debris"):AddItem(prt,2)
  4379. coroutine.resume(coroutine.create(function(Part,Mesh)
  4380. for i=0,1,delay do
  4381. swait()
  4382. Part.CFrame=Part.CFrame
  4383. Part.Transparency=i
  4384. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4385. end
  4386. Part.Parent=nil
  4387. end),prt,msh)
  4388. end
  4389. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  4390. local mesh=it(Mesh)
  4391. mesh.Parent=part
  4392. if Mesh=="SpecialMesh" then
  4393. mesh.MeshType=meshtype
  4394. mesh.MeshId=meshid
  4395. end
  4396. mesh.Offset=offset
  4397. mesh.Scale=scale
  4398. return mesh
  4399. end
  4400. function LaserBarrage(Prt,Parent)
  4401. attack=true
  4402. --so("BeamLockon",Prt,1,1)
  4403. local efprt=partB(3,Parent,0,0.5,BrickColor.new("New Yeller"),"Effect",vt(0.2,0.2,0.2))
  4404. efprt.Anchored=true
  4405. local efmsh=mesh("CylinderMesh",efprt,"","",vt(0,0,0),vt(1,1,1))
  4406. 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
  4407. --spread=vt(0,0,0)
  4408. coroutine.resume(coroutine.create(function(Part,Mesh,Spreaded)
  4409. game:GetService("Debris"):AddItem(Part,6)
  4410. local TheHit=Mouse.Hit.p
  4411. local MouseLook=cf((Prt.Position+TheHit)/2,TheHit+Spreaded)
  4412. local hit,pos = rayCast(Prt.Position,MouseLook.lookVector,1000,Parent)
  4413. so("Elec",Prt,0.2,1)
  4414. local tefprt=partB(3,workspace,0,1,BrickColor.new("Black"),"Effect",vt(0.2,0.2,0.2))
  4415. tefprt.CFrame=cf(pos)
  4416. MagicCircle(BrickColor.new("New Yeller"),cf(pos),0.5,0.5,0.5,0.5,0.5,0.5,0.04)
  4417. so("Elec",tefprt,0.3,1)
  4418. game:GetService("Debris"):AddItem(tefprt,3)
  4419. Part.CFrame=CFrame.new((Prt.Position+pos)/2,pos)*angles(1.57,0,0)
  4420. if(hit.Parent:findFirstChild("Humanoid")~= nil)then
  4421. if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Name ~= "Base" and hit.Parent.Name ~= Player.Name then
  4422. hit.Parent.Humanoid:TakeDamage(MRANDOM(36,87))
  4423. end
  4424. end
  4425. local mag=(Prt.Position-pos).magnitude
  4426. MagicCylinder(BrickColor.new("New Yeller"),Part.CFrame,1,mag*5,1,0.5,0,0.5,0.05)
  4427. Part.Parent=nil
  4428. end),efprt,efmsh,spread)
  4429. end
  4430. function FireAAAA()
  4431. ATTACK=true
  4432.  
  4433. so("http://www.roblox.com/asset/?id=138083993",Barrel,1,1)
  4434. for i=0,3,0.3 do
  4435. LaserBarrage(Barrel,Shotgun)
  4436. end
  4437. for i=0,3,0.3 do
  4438. swait()
  4439. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  4440. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  4441. 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)
  4442. 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)
  4443. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  4444. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-10)),.3)
  4445. end
  4446. for i=0,3,0.3 do
  4447. swait()
  4448. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  4449. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  4450. 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)
  4451. 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)
  4452. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  4453. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-10)),.3)
  4454. end
  4455. for i=0,3,0.3 do
  4456. swait()
  4457. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  4458. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  4459. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(-10)), 0.3)
  4460. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -1) * angles(math.rad(120), math.rad(0), math.rad(-10)), 0.3)
  4461. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  4462. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-0)),.3)
  4463. end
  4464. so("http://www.roblox.com/asset/?id=131072992",Barrel,1,.8)
  4465. for i=0,3,0.3 do
  4466. swait()
  4467. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  4468. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  4469. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(-20)), 0.3)
  4470. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -1) * angles(math.rad(120), math.rad(0), math.rad(20)), 0.3)
  4471. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  4472. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-0)),.3)
  4473. end
  4474. for i=0,3,0.3 do
  4475. swait()
  4476. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  4477. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  4478. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(-10)), 0.3)
  4479. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -1) * angles(math.rad(120), math.rad(0), math.rad(-20)), 0.3)
  4480. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  4481. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-0)),.3)
  4482. end
  4483.  
  4484.  
  4485. ATTACK=false
  4486. end
  4487. function bosschatfunc(text,watval)
  4488. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  4489. coroutine.resume(coroutine.create(function()
  4490. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  4491. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  4492. end
  4493. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  4494. CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
  4495. scrg.Name = "Dialog"
  4496. --gui below
  4497. --text below
  4498. local txtlb = Instance.new("TextLabel",scrg)
  4499. txtlb.Text = ""
  4500. txtlb.Font = "Cartoon"
  4501. txtlb.TextColor3 = Color3.new(1,1,1)
  4502. txtlb.TextStrokeTransparency = 0
  4503. txtlb.BackgroundTransparency = 1
  4504. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  4505. txtlb.TextStrokeColor3 = C3(0,0,0)
  4506. txtlb.TextScaled = true
  4507. txtlb.Size = UDim2.new(1,0,0.25,0)
  4508. txtlb.TextXAlignment = "Center"
  4509. txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
  4510. coroutine.resume(coroutine.create(function()
  4511. while true do
  4512. swait()
  4513. end
  4514. end))
  4515. local fvalen = 0.55
  4516. local fval = -0.49
  4517. coroutine.resume(coroutine.create(function()
  4518. while true do
  4519. swait()
  4520. if scrg.Parent ~= nil then
  4521. fvalen = fvalen - 0.0001
  4522. elseif scrg.Parent == nil then
  4523. break
  4524. end
  4525. end
  4526. end))
  4527. local flol = 1.75
  4528. local flil = 1.6
  4529. coroutine.resume(coroutine.create(function()
  4530. for i = 0, 9 do
  4531. swait()
  4532. fval = fval + 0.05
  4533. flol = flol - 0.1
  4534. flil = flil - 0.1
  4535. txtlb.Text = ""
  4536. txtlb.Position = UDim2.new(0,0,flol,0)
  4537. end
  4538. txtlb.Text = text
  4539. wait(watval)
  4540. local valinc = 0
  4541. for i = 0, 99 do
  4542. swait()
  4543. valinc = valinc + 0.0001
  4544. flol = flol + valinc
  4545. flil = flil + valinc
  4546. txtlb.Rotation = txtlb.Rotation + valinc*20
  4547. txtlb.Position = UDim2.new(0,0,flol,0)
  4548. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  4549. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  4550. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  4551. end
  4552. scrg:Destroy()
  4553. end))
  4554. end))
  4555. end
  4556. end
  4557. function mafia()
  4558. ATTACK = true
  4559. CreateSound2("rbxassetid://2731402002", Character, 100, 1)
  4560. bosschatfunc("thats how mafia works",7)
  4561. for i = 0,38,0.1 do
  4562. swait()
  4563. 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)
  4564. 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)
  4565. 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)
  4566. 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)
  4567. 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)
  4568. 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)
  4569. end
  4570. ATTACK = false
  4571. end
  4572.  
  4573.  
  4574. function FUCKYOU()
  4575. ATTACK = true
  4576. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.25)
  4577. for i = 0,6,0.1 do
  4578. swait()
  4579. 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)
  4580. 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)
  4581. 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)
  4582. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  4583. 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)
  4584. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  4585. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  4586. end
  4587. CFuncs["Sound"].Create("rbxassetid://206082327", root, 7.5,1)
  4588. CFuncs["Sound"].Create("rbxassetid://847061203", root, 10,1)
  4589. CFuncs["Sound"].Create("rbxassetid://239000203", root, 7.5,1)
  4590. CFuncs["Sound"].Create("rbxassetid://579687077", root, 7.5,0.75)
  4591. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 10,1)
  4592. CFuncs["Sound"].Create("rbxassetid://763718160", root, 7.5, 1.1)
  4593. CFuncs["Sound"].Create("rbxassetid://782353443", root, 7.5, 1)
  4594. sick.TimePosition = 5
  4595. SONG = 565439926
  4596. Mode = "INSANE-H"
  4597. for i = 0,2,0.1 do
  4598. swait()
  4599. 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)
  4600. 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)
  4601. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  4602. 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)
  4603. 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)
  4604. 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)
  4605. end
  4606. ATTACK = false
  4607. end
  4608. --//=================================\\
  4609. --|| ASSIGN THINGS TO KEYS
  4610. --\\=================================//
  4611. local AddInstance = function(Object, ...)
  4612. local Obj = Instance.new(Object)
  4613. for i,v in next,(...) do
  4614. Obj[i] = v
  4615. end
  4616. return Obj
  4617. end
  4618.  
  4619. local TopHat = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hat", VT(1,1,1),false)
  4620. TopHat.Color = C3(0,0,0)
  4621. local HatWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, TopHat, CF(0,0.7,0), CF(0, 0, 0))
  4622. CreateMesh("SpecialMesh", TopHat, "FileMesh", "", "", VT(1,1,1)*1.05, VT(0,0,0))
  4623.  
  4624. local Jevil = false
  4625. local SITTING = false
  4626. plr.Chatted:connect(function(message)
  4627. if message:sub(1,8) == "/e play " then
  4628. SONG = message:sub(9)
  4629. end
  4630. if message:sub(1,6) == "NOHATS" then
  4631. if Head:FindFirstChild("Jevil") then
  4632. Head.Jevil:Remove()
  4633. end
  4634. CreateMesh("SpecialMesh", TopHat, "FileMesh", "", "", VT(1,1,1)*1.05, VT(0,0,0))
  4635. end
  4636. if message:sub(1,6) == "TOPHAT" then
  4637. if Mode ~= "Nuclear" then
  4638. CreateMesh("SpecialMesh", TopHat, "FileMesh", "1028713", "46542901", VT(1,1,1)*1.05, VT(0,0,0))
  4639. else
  4640. CreateMesh("SpecialMesh", TopHat, "FileMesh", "1028713", "1563327", VT(1,1,1)*1.05, VT(0,0,0))
  4641. end
  4642. end
  4643. if message:sub(1,17) == "I CAN DO ANYTHING" then
  4644. SONG = 2597271983
  4645. if Jevil == false then
  4646. Jevil = true
  4647. local sound = Instance.new("Sound")
  4648. sound.SoundId = "rbxassetid://2544975373"
  4649. sound.Volume = 10
  4650. sound.Parent = Head
  4651. sound:Play()
  4652. local Reaper = AddInstance("Part",{
  4653. Parent = hed,
  4654. CFrame = hed.CFrame,
  4655. Name = "Jevil",
  4656. formFactor = "Symmetric",
  4657. Size = Vector3.new(1, 1, 1),
  4658. CanCollide = false,
  4659. TopSurface = "Smooth",
  4660. BottomSurface = "Smooth",
  4661. Locked = true,
  4662. })
  4663. local Weld = AddInstance("Weld",{
  4664. Parent = Reaper,
  4665. Part0 = hed,
  4666. C0 = CFrame.new(0, 0.8, 0.4)*CFrame.Angles(0, 0, 0),
  4667. Part1 = Reaper,
  4668. })
  4669. local Mesh = AddInstance("SpecialMesh",{
  4670. Parent = Reaper,
  4671. MeshId = "rbxassetid://193760002",
  4672. TextureId = "rbxassetid://89867215",
  4673. Scale = Vector3.new(1.1, 1.1, 1.1),
  4674. VertexColor = Vector3.new(0.5, 0.5, 0.5),
  4675. })
  4676. end
  4677. end
  4678. if message:sub(1,13) == "GET REKT FOOL" then
  4679. CreateSound2("rbxassetid://1292661979", Character, 100, 1)
  4680. end
  4681. if message:sub(1,3) == "HEX" then
  4682. SONG = 1143128932
  4683. end
  4684. if message:sub(1,2) == "DS" then
  4685. SONG = 1751171913
  4686. end
  4687. if message:sub(1,21) == "thats how mafia works" then
  4688. mafia()
  4689. end
  4690. if message:sub(1,3) == "SIT" then
  4691. SITTING = true
  4692. end
  4693. if message:sub(1,5) == "NOSIT" then
  4694. SITTING = false
  4695. end
  4696. if message:sub(1,6) == "ah yes" then
  4697. SONG = 243199198
  4698. end
  4699. if message:sub(1,30) == "I CANT BELIEVE YOUVE DONE THIS" then
  4700. CreateSound2("rbxassetid://527749592", Character, 100, 1)
  4701. end
  4702. if message:sub(1,4) == "AAAA" then
  4703. CreateSound2("rbxassetid://547868092", Character, 100, 1)
  4704. end
  4705. if message:sub(1,17) == "NO" then
  4706. CreateSound2(rbxassetid://679798810", Character, 100, 1)
  4707. end
  4708. if message:sub(1,4) == "curb" then
  4709. SONG = 434976383
  4710. sick.TimePosition = 0
  4711. end
  4712. if message:sub(1,8) == "/e time " then
  4713. sick.TimePosition = message:sub(9)
  4714. end
  4715. end)
  4716.  
  4717. function MouseDown(Mouse)
  4718. HOLD = true
  4719. if ATTACK == false then
  4720. if Mode == "Gun" then
  4721. shoot()
  4722. elseif Mode == "Gun-S" then
  4723. shoots()
  4724. elseif Mode == "Shotty" then
  4725. FireAAAA()
  4726. elseif Mode == "SMG" then
  4727. SmgTest()
  4728. elseif Mode == "SMG2" then
  4729. SmgTest2()
  4730. elseif Mode == "SMG3" then
  4731. SmgTest3()
  4732. elseif Mode == "DE" then
  4733. deag()
  4734. elseif Mode == "AK" then
  4735. AKS()
  4736. elseif Mode == "AR" then
  4737. AEA()
  4738. elseif Mode == "knif" then
  4739. stab()
  4740. elseif Mode == "AGB" then
  4741. AUGShoot()
  4742. elseif Mode == "AWP" then
  4743. Fire()
  4744. elseif Mode == "R8R" then
  4745. R8AS()
  4746. end
  4747. end
  4748. end
  4749.  
  4750. function MouseUp(Mouse)
  4751. HOLD = false
  4752. end
  4753.  
  4754. function KeyDown(Key)
  4755. KEYHOLD = true
  4756.  
  4757. if Key == "p" then
  4758. bestmatesA()
  4759. end
  4760. if Key == "y" then
  4761. bestmatesB()
  4762. end
  4763. if Key == "u" then
  4764. cheekibreeki()
  4765. end
  4766.  
  4767. if Key == "m" and ATTACK == false then
  4768. if Mode == "Nuclear" then
  4769. -- Nuclear = true
  4770. Mode = "Chronos"
  4771. SONG = 432493949
  4772. elseif Mode == "Chronos" then
  4773. --Nuclear = false
  4774. Mode = "Nuclear"
  4775. SONG = 566809627
  4776. end
  4777. end
  4778.  
  4779. if Key == "n" and ATTACK == false then
  4780. if Mode == "Nuclear" then
  4781. FUCKYOU()
  4782. elseif Mode == "INSANE-H" then
  4783. --Nuclear = false
  4784. Mode = "Nuclear"
  4785. SONG = 566809627
  4786. end
  4787. end
  4788.  
  4789.  
  4790. if Key == "b" and ATTACK == false then
  4791. if Mode == "Nuclear" then
  4792. sick.TimePosition = 0
  4793. SONG = 2598224585
  4794. Mode = "MARENOL"
  4795. elseif Mode == "MARENOL" then
  4796. --Nuclear = false
  4797. Mode = "Nuclear"
  4798. SONG = 566809627
  4799. end
  4800. end
  4801.  
  4802.  
  4803. if Key == "v" and ATTACK == false then
  4804. if Mode == "Nuclear" then
  4805. SONG = 2297862957
  4806. Mode = "Mutilated"
  4807. elseif Mode == "Mutilated" then
  4808. --Nuclear = false
  4809. Mode = "Nuclear"
  4810. SONG = 566809627
  4811. end
  4812. end
  4813. if Key == "l" and ATTACK == false then
  4814. if Mode == "Nuclear" then
  4815. SONG = 776030196
  4816. Mode = "S"
  4817. elseif Mode == "S" then
  4818. --Nuclear = false
  4819. Mode = "Nuclear"
  4820. SONG = 566809627
  4821. end
  4822. end
  4823.  
  4824.  
  4825. if Key == "k" and ATTACK == false then
  4826. if Mode == "Nuclear" then
  4827. SONG = 1669069269
  4828. Mode = "PIXEL"
  4829. sick.TimePosition = 0
  4830. elseif Mode == "PIXEL" then
  4831. --Nuclear = false
  4832. Mode = "Nuclear"
  4833. SONG = 566809627
  4834. end
  4835. end
  4836.  
  4837. if Key == "j" and ATTACK == false then
  4838. if Mode == "Nuclear" then
  4839. SONG = 1041867225
  4840. Mode = "G"
  4841. elseif Mode == "G" then
  4842. --Nuclear = false
  4843. Mode = "Nuclear"
  4844. SONG = 566809627
  4845. end
  4846. end
  4847. --[[
  4848. if Key == "m" and ATTACK == false then if Key == "c" and ATTACK == false then
  4849. if Mode == "Nuclear" then
  4850. Mode = "Chronos"
  4851. sick.TimePosition = 0
  4852. SONG = 432493949
  4853. elseif Mode == "Chronos" then
  4854. Mode = "Nuclear"
  4855. SONG = 566809627
  4856. end
  4857. end
  4858. ]]--
  4859. if Key == "q" and ATTACK == false then
  4860. if Nuclear == false and Mode == "Normal" then
  4861. Nuclear = true
  4862. Mode = "Nuclear"
  4863. CLOCKWORK2.BrickColor = BRICKC'Lime green'
  4864. --SONG = 566809627
  4865. SONG = 1812212957
  4866. elseif Nuclear == true and Mode == "Nuclear" then
  4867. Nuclear = false
  4868. Mode = "Normal"
  4869. CLOCKWORK2.BrickColor = BRICKC'Bright yellow'
  4870. SONG = 1175569393
  4871. end
  4872. end
  4873.  
  4874. if Key == "t" then
  4875. Humanoid.Health = Humanoid.Health - MRANDOM(78,560)
  4876. end
  4877.  
  4878. if Key == "f" and ATTACK == false then
  4879. if Mode == "Normal" then
  4880. Gun.Parent = Character
  4881. Mode = "Gun"
  4882. SONG = 1632083717
  4883. elseif Mode == "Gun" then
  4884. Gun.Parent = nil
  4885. Mode = "Normal"
  4886. SONG = 1175569393
  4887. end
  4888. end
  4889.  
  4890. if Key == "g" and ATTACK == false then
  4891. if Mode == "Gun" then
  4892. Mode = "Gun-S"
  4893. Supressor.Parent = Character
  4894. SONG = 742414504
  4895. elseif Mode == "Gun-S" then
  4896. Supressor.Parent = nil
  4897. Mode = "Gun"
  4898. SONG = 1632083717
  4899. end
  4900. end
  4901.  
  4902. if Key == "g" and ATTACK == false then
  4903. if Mode == "Normal" then
  4904. Mode = "Shotty"
  4905. -- SHandaru.Transparency = 0
  4906. Shotgun.Parent = Character
  4907. --GunModelMesh.MeshId = "http://www.roblox.com/asset/?id=450250994"
  4908. SONG = 1242541615
  4909. elseif Mode == "Shotty" then
  4910. Shotgun.Parent = nil
  4911. --SHandaru.Transparency = 1
  4912. --GunModelMesh.MeshId = "http://www.roblox.com/asset/?id=0"
  4913. Mode = "Normal"
  4914. SONG = 1175569393
  4915. end
  4916. end
  4917.  
  4918. if Key == "h" and ATTACK == false then
  4919. if Mode == "Normal" then
  4920. Mode = "SMG"
  4921. SMG.Parent = Character
  4922. SONG = 1684339203
  4923. elseif Mode == "SMG" then
  4924. SMG.Parent = nil
  4925. Mode = "Normal"
  4926. SONG = 1175569393
  4927. end
  4928. end
  4929.  
  4930. if Key == "g" and ATTACK == false then
  4931. if Mode == "SMG" then
  4932. Mode = "SMG2"
  4933. SMG2.Parent = Character
  4934. SMG.Parent = nil
  4935. SONG = 1846938217
  4936. elseif Mode == "SMG2" then
  4937. SMG2.Parent = nil
  4938. Mode = "SMG"
  4939. SMG.Parent = Character
  4940. SONG = 1684339203
  4941. end
  4942. end
  4943.  
  4944. if Key == "j" and ATTACK == false then
  4945. if Mode == "SMG" then
  4946. Mode = "SMG3"
  4947. SMG3.Parent = Character
  4948. SMG.Parent = nil
  4949. SONG = 856927010
  4950. elseif Mode == "SMG3" then
  4951. SMG3.Parent = nil
  4952. Mode = "SMG"
  4953. SMG.Parent = Character
  4954. SONG = 1684339203
  4955. end
  4956. end
  4957. if Key == "k" and ATTACK == false then
  4958. if Mode == "Normal" then
  4959. Mode = "AK"
  4960. A47.Parent = Character
  4961. SONG = 468448329
  4962. elseif Mode == "AK" then
  4963. A47.Parent = nil
  4964. Mode = "Normal"
  4965. SONG = 1175569393
  4966. end
  4967. end
  4968.  
  4969.  
  4970. if Key == "j" and ATTACK == false then
  4971. if Mode == "Normal" then
  4972. Mode = "DE"
  4973. DE.Parent = Character
  4974. SONG = 1473065092
  4975. elseif Mode == "DE" then
  4976. DE.Parent = nil
  4977. Mode = "Normal"
  4978. SONG = 1175569393
  4979. end
  4980. end
  4981.  
  4982. if Key == "l" and ATTACK == false then
  4983. if Mode == "Normal" then
  4984. Mode = "knif"
  4985. knif.Parent = Character
  4986. SONG = 1583110657
  4987. elseif Mode == "knif" then
  4988. knif.Parent = nil
  4989. Mode = "Normal"
  4990. SONG = 1175569393
  4991. end
  4992. end
  4993. if Key == "m" and ATTACK == false then
  4994. if Mode == "Normal" then
  4995. Mode = "AGB"
  4996. AUG.Parent = Character
  4997. SONG = 1317272392
  4998. elseif Mode == "AGB" then
  4999. AUG.Parent = nil
  5000. Mode = "Normal"
  5001. SONG = 1175569393
  5002. end
  5003. end
  5004.  
  5005. if Key == "n" and ATTACK == false then
  5006. if Mode == "Normal" then
  5007. Mode = "AWP"
  5008. AWP.Parent = Character
  5009. SONG = 2191904606
  5010. elseif Mode == "AWP" then
  5011. AWP.Parent = nil
  5012. Mode = "Normal"
  5013. SONG = 1175569393
  5014. end
  5015. end
  5016.  
  5017. if Key == "b" and ATTACK == false then
  5018. if Mode == "Normal" then
  5019. Mode = "R8R"
  5020. R8RA.Parent = Character
  5021. SONG = 729622879
  5022. elseif Mode == "R8R" then
  5023. R8RA.Parent = nil
  5024. Mode = "Normal"
  5025. SONG = 1175569393
  5026. end
  5027. end
  5028.  
  5029. if Key == "v" and ATTACK == false then
  5030. if Mode == "Normal" then
  5031. Mode = "INSANITY"
  5032. SONG = 943961217
  5033. elseif Mode == "INSANITY" then
  5034. Mode = "Normal"
  5035. SONG = 1175569393
  5036. end
  5037. end
  5038.  
  5039. if Key == "c" and ATTACK == false then
  5040. if Mode == "Normal" then
  5041. Mode = "AR"
  5042. AR.Parent = Character
  5043. SONG = 1537357758
  5044. elseif Mode == "AR" then
  5045. Mode = "Normal"
  5046. AR.Parent = nil
  5047. SONG = 1175569393
  5048. end
  5049. end
  5050. end
  5051.  
  5052. function KeyUp(Key)
  5053. KEYHOLD = false
  5054. end
  5055.  
  5056. Mouse.Button1Down:connect(function(NEWKEY)
  5057. MouseDown(NEWKEY)
  5058. end)
  5059. Mouse.Button1Up:connect(function(NEWKEY)
  5060. MouseUp(NEWKEY)
  5061. end)
  5062. Mouse.KeyDown:connect(function(NEWKEY)
  5063. KeyDown(NEWKEY)
  5064. end)
  5065. Mouse.KeyUp:connect(function(NEWKEY)
  5066. KeyUp(NEWKEY)
  5067. end)
  5068.  
  5069. --//=================================\\
  5070. --\\=================================//
  5071.  
  5072.  
  5073. function unanchor()
  5074. if UNANCHOR == true then
  5075. g = Character:GetChildren()
  5076. for i = 1, #g do
  5077. if g[i].ClassName == "Part" then
  5078. g[i].Anchored = false
  5079. end
  5080. end
  5081. end
  5082. end
  5083.  
  5084.  
  5085. --//=================================\\
  5086. --|| WRAP THE WHOLE SCRIPT UP
  5087. --\\=================================//
  5088.  
  5089. Humanoid.Changed:connect(function(Jump)
  5090. if Jump == "Jump" and (Disable_Jump == true) then
  5091. Humanoid.Jump = false
  5092. end
  5093. end)
  5094.  
  5095. local CONNECT = nil
  5096. Instance.new("ForceField",char).Visible = false
  5097. while true do
  5098. Swait()
  5099. ANIMATE.Parent = nil
  5100. if Character:FindFirstChildOfClass("Humanoid") == nil then
  5101. Humanoid = IT("Humanoid",Character)
  5102. end
  5103. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  5104. v:Stop();
  5105. end
  5106. SINE = SINE + CHANGE
  5107. sine = sine + change
  5108. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  5109. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  5110. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  5111. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  5112. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  5113. ANIM = "Jump"
  5114. if ATTACK == false then
  5115. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  5116. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  5117. 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)
  5118. 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)
  5119. 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)
  5120. 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)
  5121. end
  5122. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  5123. ANIM = "Fall"
  5124. if ATTACK == false then
  5125. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  5126. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  5127. 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)
  5128. 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)
  5129. 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)
  5130. 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)
  5131. end
  5132. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  5133. ANIM = "Idle"
  5134. if ATTACK == false then
  5135. if Mode == "Gun" then
  5136. 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)
  5137. 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)
  5138. 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)
  5139. 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)
  5140. 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)
  5141. 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)
  5142. elseif Mode == "Normal" then
  5143. if not SITTING then
  5144. 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)
  5145. 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)
  5146. 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)
  5147. 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)
  5148. 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)
  5149. 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)
  5150. else
  5151. RW.C0 = clerp(RW.C0, CF(1.5, .5, 0) * angles(math.rad(45), math.rad(-3), math.rad(-10)), 0.1)
  5152. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(5), math.rad(20)), 0.1)
  5153. LH.C0 = clerp(LH.C0, CF(-0.3, -1.5, 0) * angles(math.rad(100), math.rad(0), math.rad(-10)), 0.1)
  5154. RH.C0 = clerp(RH.C0, CF(0.3, -1.5, 0) * angles(math.rad(100), math.rad(0), math.rad(10)), 0.1)
  5155. 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)
  5156. 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)
  5157. end
  5158. elseif Mode == "SMG" then
  5159. 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)
  5160. 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)
  5161. 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)
  5162. 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)
  5163. 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)
  5164. 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)
  5165. elseif Mode == "SMG2" then
  5166. 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)
  5167. 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)
  5168. 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)
  5169. 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)
  5170. 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)
  5171. 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)
  5172. elseif Mode == "SMG3" then
  5173. 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)
  5174. 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)
  5175. 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)
  5176. 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)
  5177. 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)
  5178. 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)
  5179. elseif Mode == "PIXEL" then
  5180. 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)
  5181. 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)
  5182. 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)
  5183. 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)
  5184. 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)
  5185. 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)
  5186. elseif Mode == "Gun-S" then
  5187. 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)
  5188. 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)
  5189. 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)
  5190. 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)
  5191. 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)
  5192. 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)
  5193. elseif Mode == "DE" then
  5194. 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)
  5195. 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)
  5196. 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)
  5197. 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)
  5198. 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)
  5199. 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)
  5200. elseif Mode == "knif" then
  5201. 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)
  5202. 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)
  5203. 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)
  5204. 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)
  5205. 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)
  5206. 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)
  5207. elseif Mode == "AGB" then
  5208. 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)
  5209. 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)
  5210. 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)
  5211. 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)
  5212. 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)
  5213. 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)
  5214. elseif Mode == "Shotty" then
  5215. 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)
  5216. 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)
  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 - 1 * math.cos(sine / 20)),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 + 1 * math.cos(sine / 20)),math.rad(10),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(-13)),.1)
  5220. 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)
  5221. elseif Mode == "AK" then
  5222. 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)
  5223. 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)
  5224. 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)
  5225. 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)
  5226. 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)
  5227. 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)
  5228. elseif Mode == "AWP" then
  5229. 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)
  5230. 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)
  5231. 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)
  5232. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(-40),math.rad(0)),.1)
  5233. 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)
  5234. 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)
  5235. elseif Mode == "R8R" then
  5236. 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)
  5237. 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)
  5238. 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)
  5239. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  5240. 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)
  5241. 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)
  5242. elseif Mode == "AR" then
  5243. 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)
  5244. 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)
  5245. 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)
  5246. 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)
  5247. 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)
  5248. 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)
  5249. elseif Mode == "INSANITY" then
  5250. if MRANDOM(1,14) == 1 then
  5251. 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)
  5252. 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)
  5253. 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)
  5254. 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)
  5255. 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)
  5256. 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)
  5257. end
  5258. 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)
  5259. 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)
  5260. 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)
  5261. 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)
  5262. 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)
  5263. 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)
  5264. elseif Mode == "S" then
  5265. 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)
  5266. 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)
  5267. 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)
  5268. 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)
  5269. 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)
  5270. 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)
  5271. elseif Mode == "Nuclear" then
  5272. if MRANDOM(1,23) == 1 then
  5273. 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)
  5274. end
  5275. 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)
  5276. 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)
  5277. 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})
  5278. 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})
  5279. 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)
  5280. 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)
  5281. 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)
  5282. 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)
  5283. 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})
  5284. 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})
  5285.  
  5286. 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})
  5287. 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})
  5288. elseif Mode == "MARENOL" then
  5289. if MRANDOM(1,33) == 1 then
  5290. CharacterFade(C3(1,0,0),65,R_RANDOM(Torso.CFrame,0.5).p)
  5291. end
  5292. if MRANDOM(1,23) == 1 then
  5293. 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)
  5294. end
  5295. 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)
  5296. 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)
  5297. 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)
  5298. 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)
  5299. 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)
  5300. 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)
  5301. elseif Mode == "Mutilated" then
  5302. if MRANDOM(1,7) == 1 then
  5303. 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)
  5304. end
  5305. 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)
  5306. 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)
  5307. 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)
  5308. 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)
  5309. 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)
  5310. 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)
  5311. elseif Mode == "G" then
  5312. 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)
  5313. 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)
  5314. 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)
  5315. 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)
  5316. 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)
  5317. 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)
  5318. elseif Mode == "INSANE-H" then
  5319. local snap = math.random(1,75)
  5320. if snap == 1 then
  5321. 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)
  5322. 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)
  5323. 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)
  5324. end
  5325. 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)
  5326. 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)
  5327. 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)
  5328. 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)
  5329. 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)
  5330. 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)
  5331. elseif Mode == "Chronos" then
  5332. 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)
  5333. 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)
  5334. 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)
  5335. 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)
  5336. 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)
  5337. 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)
  5338. end
  5339. end
  5340. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  5341. ANIM = "Walk"
  5342. if ATTACK == false then
  5343. if Mode ~= "SMG" and Mode ~= "knif" and Mode ~= "INSANITY" and Mode ~= "SMG2" and Mode ~= "SMG3" then
  5344. 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)
  5345. 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)
  5346. 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)
  5347. 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)
  5348. if Mode ~= "R8R" and Mode ~= "Shotty" then
  5349. 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)
  5350. 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)
  5351. --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)
  5352. --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)
  5353. elseif Mode == "R8R" then
  5354. 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)
  5355. 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)
  5356. elseif Mode == "Shotty" then
  5357. 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)
  5358. 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)
  5359. end
  5360. else
  5361. if Mode ~= "INSANITY" then
  5362. 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)
  5363. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(0)), 0.3)
  5364. 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)
  5365. 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)
  5366. 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)
  5367. 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)
  5368. else
  5369. if MRANDOM(1,12) == 1 then
  5370. 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)
  5371. 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)
  5372. 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)
  5373. 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)
  5374. 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)
  5375. 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)
  5376. end
  5377. 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)
  5378. 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)
  5379. 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)
  5380. 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)
  5381. 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)
  5382. 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)
  5383. end
  5384. end
  5385. end
  5386. end
  5387. if Mode == "Nuclear" or Mode == "Chronos" then
  5388. CLOCKWORK2.BrickColor = BRICKC'Lime green'
  5389. elseif Mode == "INSANE-H" or Mode == "MARENOL" then
  5390. CLOCKWORK2.Color = C3(MRANDOM(-255,255),0,0)
  5391. elseif Mode == "PIXEL" then
  5392. CLOCKWORK2.BrickColor = BRICKC'Steel blue'
  5393. elseif Mode == "S" then
  5394. CLOCKWORK2.BrickColor = BRICKC'Toothpaste'
  5395. elseif Mode == "G" then
  5396. CLOCKWORK2.BrickColor = BRICKC'Institutional hite'
  5397. elseif Mode == "Mutilated" then
  5398. CLOCKWORK2.BrickColor = BrickColor.random()
  5399. 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
  5400. CLOCKWORK2.BrickColor = BRICKC'Bright yellow'
  5401. end
  5402. if Mode ~= "G" then
  5403. CLOCKWORK2.Transparency = 0
  5404. OUTSIDE.Transparency = 0
  5405. BELT.Transparency = 0
  5406. char.Head.Transparency = 0
  5407. char["Left Arm"].Transparency = 0
  5408. char["Left Leg"].Transparency = 0
  5409. char["Right Arm"].Transparency = 0
  5410. char["Right Leg"].Transparency = 0
  5411. char.Torso.Transparency = 0
  5412. else
  5413. CLOCKWORK2.Transparency = 0.65
  5414. OUTSIDE.Transparency = 0.65
  5415. BELT.Transparency = 0.65
  5416. char.Head.Transparency = 0.5
  5417. char["Left Arm"].Transparency = 0.65
  5418. char["Left Leg"].Transparency = 0.65
  5419. char["Right Arm"].Transparency = 0.65
  5420. char["Right Leg"].Transparency = 0.65
  5421. char.Torso.Transparency = 0.65
  5422. end
  5423. --If your looking in the code, good job, I'll tell you some hints while your there.
  5424. --[[
  5425. Theres a hidden thing i HAVENT finished yet that has been a trend in glitchers
  5426. and it starts with an N
  5427.  
  5428. Second hint is.
  5429. If your gonna look at the attacks i didnt use, This was a edit out of the clockworker script i did.
  5430. --]]
  5431. if Head:FindFirstChild("face") then
  5432. Head.face.Texture = "rbxassetid://2276263" --187019542
  5433. end
  5434. if Mode == "Nuclear" then
  5435. if ANIM == "Walk" then
  5436. 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})
  5437. end
  5438. if MRANDOM(1,7) == 1 then
  5439. 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})
  5440. end
  5441. end
  5442. --unanchor()
  5443. Humanoid.MaxHealth = "3700"
  5444. --Humanoid.Health = "3700"
  5445. if Mode ~= "SMG" and Mode ~= "DE" and Mode ~= "knif" and Mode ~= "INSANITY" and Mode ~= "SMG2" and Mode ~= "SMG3" then
  5446. Speed = 17
  5447. elseif Mode == "SMG" then
  5448. Speed = 56
  5449. elseif Mode == "SMG2" then
  5450. Speed = 65
  5451. elseif Mode == "SMG3" then
  5452. Speed = 69
  5453. elseif Mode == "DE" then
  5454. Speed = 26
  5455. elseif Mode == "INSANITY" then
  5456. Speed = 36
  5457. elseif Mode == "knif" then
  5458. Speed = 46
  5459. end
  5460. if Rooted == false then
  5461. Disable_Jump = false
  5462. Humanoid.WalkSpeed = Speed
  5463. elseif Rooted == true then
  5464. Disable_Jump = true
  5465. Humanoid.WalkSpeed = 0
  5466. end
  5467. for i,v in pairs(Character:children()) do
  5468. if v:IsA("Accessory") then
  5469. v:Destroy()
  5470. end
  5471. end
  5472. if Character:FindFirstChild("Shirt") then
  5473. Character.Shirt:Destroy()
  5474. end
  5475. if Character:FindFirstChild("Pants") then
  5476. Character.Pants:Destroy()
  5477. end
  5478. sick.Playing = true
  5479. if sick.Parent ~= RootPart then
  5480. sick = IT("Sound",RootPart)
  5481. end
  5482. sick.Volume = 3.25
  5483. sick.Pitch = 1
  5484. sick.Looped = true
  5485. sick.SoundId = "rbxassetid://"..SONG
  5486. sick.Name = "hailfireBITCHES"
  5487. end
  5488.  
  5489. --//=================================\\
  5490. --\\=================================//
  5491.  
  5492.  
  5493.  
  5494.  
  5495. --//====================================================\\--
  5496. --|| END OF SCRIPT
  5497. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement