Advertisement
RoSPLOITkrnl

Neko

Jun 2nd, 2021
401
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 69.69 KB | None | 0 0
  1. --loadstring(game:HttpGetAsync("https://pastebin.com/raw/YLfR8Qx9%22))()
  2. -- big ban bootleg by no one cares
  3. Bypass = "death"
  4. FELOADLIBRARY = {}
  5. loadstring(game:GetObjects("rbxassetid://5209815302")[1].Source)()
  6. loadstring(game:GetObjects("rbxassetid://5325226148")[1].Source)()
  7.  
  8. local Player = game:GetService("Players").LocalPlayer
  9. local TweenService = game:GetService("TweenService")
  10. local Create = FELOADLIBRARY.Create
  11.  
  12.  
  13.  
  14. local Player = game:GetService("Players").LocalPlayer
  15.  
  16. ZTfade=false
  17. ZT=false
  18.  
  19. local MeHasDied = false
  20. local mouse = Player:GetMouse()
  21. local agresive = false
  22. Target = Vector3.new()
  23. Character= workspace.non
  24. Torso = Character.Torso
  25. Torso.Transparency = 0
  26. Head = Character.Head
  27. Humanoid = Character.Humanoid
  28. LeftArm = Character["Left Arm"]
  29. LeftLeg = Character["Left Leg"]
  30. RightArm = Character["Right Arm"]
  31. RightLeg = Character["Right Leg"]
  32. RootPart = Character["HumanoidRootPart"]
  33. local Anim="Idle"
  34. local inairvel=0
  35. local WalkAnimStep = 0
  36. local sine = 0
  37. local change = 1
  38. local pantdown = false
  39. local shirtdown = false
  40. local reap = false
  41. local gpressed = false
  42. Animstep = 0
  43. WalkAnimMove=0.05
  44. Combo = 0
  45. local attack=false
  46. local pant = false
  47. local shirt = false
  48. local RJ = Character.HumanoidRootPart:FindFirstChild("RootJoint")
  49. local Neck = Character.Torso:FindFirstChild("Neck")
  50.  
  51. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  52. local NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  53.  
  54.  
  55. local forWFB = 0
  56. local forWRL = 0
  57.  
  58.  
  59. Effects=Instance.new("Folder",Character)
  60. Effects.Name="Effects"
  61. it=Instance.new
  62. vt=Vector3.new
  63. cf=CFrame.new
  64. euler=CFrame.fromEulerAnglesXYZ
  65. angles=CFrame.Angles
  66. local cn = CFrame.new
  67. mr=math.rad
  68. mememode=false
  69. IT = Instance.new
  70. CF = CFrame.new
  71. VT = Vector3.new
  72. RAD = math.rad
  73. C3 = Color3.new
  74. UD2 = UDim2.new
  75. BRICKC = BrickColor.new
  76. ANGLES = CFrame.Angles
  77. EULER = CFrame.fromEulerAnglesXYZ
  78. COS = math.cos
  79. ACOS = math.acos
  80. SIN = math.sin
  81. ASIN = math.asin
  82. ABS = math.abs
  83. MRANDOM = math.random
  84. FLOOR = math.floor
  85.  
  86. local lastid= "http://www.roblox.com/asset/?id=3852221223"
  87. local s2=it("Sound",Torso)
  88. local CurId = 1
  89. s2.EmitterSize = 30
  90. local s2c=s2:Clone()
  91.  
  92. playsong = true
  93.  
  94. s2.SoundId = lastid
  95. if playsong == true then
  96. wait(2)
  97. s2:play()
  98. elseif playsong == false then
  99. s2:stop()
  100. end
  101. lastsongpos= 0
  102.  
  103. crosshair = Instance.new("BillboardGui",Character)
  104. crosshair.Size = UDim2.new(10,0,10,0)
  105. crosshair.Enabled = false
  106. imgl = Instance.new("ImageLabel",crosshair)
  107. imgl.Position = UDim2.new(0,0,0,0)
  108. imgl.Size = UDim2.new(1,0,1,0)
  109. imgl.Image = "rbxassetid://578065407"
  110. imgl.BackgroundTransparency = 1
  111. imgl.ImageTransparency = .7
  112. imgl.ImageColor3 = Color3.new(1,1,1)
  113. crosshair.StudsOffset = Vector3.new(0,0,-1)
  114.  
  115. --//=================================\\
  116. --|| LOCAL IDS
  117. --\\=================================//
  118.  
  119. local GROWL = 1544355717
  120. local ROAR = 528589382
  121. local ECHOBLAST = 376976397
  122. local CAST = 459523898
  123. local ALCHEMY = 424195979
  124. local BUILDUP = 698824317
  125. local BIGBUILDUP = 874376217
  126. local IMPACT = 231917744
  127. local LARGE_EXPLOSION = 168513088
  128. local TURNUP = 299058146
  129. local Weld37 = Instance.new("Weld")
  130. local Weld39 = Instance.new("Weld")
  131. local Part36 = Instance.new("Part")
  132. local Part38 = Instance.new("Part")
  133. local Model13 = Instance.new("Model")
  134.  
  135. if Character:FindFirstChild("Animate")then
  136. Character.Animate:Destroy()
  137. end
  138.  
  139. function RemoveOutlines(part)
  140. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  141. end
  142.  
  143.  
  144.  
  145.  
  146. CFuncs = {
  147. Part = {Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  148.  
  149. local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
  150. RemoveOutlines(Part)
  151. return Part
  152. end
  153. }
  154. ,
  155. Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  156.  
  157. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  158. if Mesh == "SpecialMesh" then
  159. Msh.MeshType = MeshType
  160. Msh.MeshId = MeshId
  161. end
  162. return Msh
  163. end
  164. }
  165. ,
  166. Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  167.  
  168. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  169. if Mesh == "SpecialMesh" then
  170. Msh.MeshType = MeshType
  171. Msh.MeshId = MeshId
  172. end
  173. return Msh
  174. end
  175. }
  176. ,
  177. Weld = {Create = function(Parent, Part0, Part1, C0, C1)
  178.  
  179. local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
  180. return Weld
  181. end
  182. }
  183. ,
  184. Sound = {Create = function(id, par, vol, pit)
  185.  
  186. coroutine.resume(coroutine.create(function()
  187.  
  188. local S = Create("Sound")({Volume = vol, Pitch = pit or 1, SoundId = "http://www.roblox.com/asset/?id="..id, Parent = par or workspace})
  189. wait()
  190. S:play()
  191. game:GetService("Debris"):AddItem(S, 6)
  192. end
  193. ))
  194. end
  195. }
  196. ,
  197. ParticleEmitter = {Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  198.  
  199. local fp = Create("ParticleEmitter")({Parent = Parent, Color = ColorSequence.new(Color1, Color2), LightEmission = LightEmission, Size = Size, Texture = Texture, Transparency = Transparency, ZOffset = ZOffset, Acceleration = Accel, Drag = Drag, LockedToPart = LockedToPart, VelocityInheritance = VelocityInheritance, EmissionDirection = EmissionDirection, Enabled = Enabled, Lifetime = LifeTime, Rate = Rate, Rotation = Rotation, RotSpeed = RotSpeed, Speed = Speed, VelocitySpread = VelocitySpread})
  200. return fp
  201. end
  202. }
  203. }
  204.  
  205.  
  206. coroutine.wrap(function()
  207. while true do
  208. if not Character or not Character:FindFirstChild("Humanoid") or Character:FindFirstChild("Humanoid").Health <= 0 then
  209. MeHasDied = true
  210. break
  211. end
  212. wait()
  213. end
  214. end)()
  215.  
  216.  
  217. --//=================================\\
  218. --|| SAZERENOS ARTIFICIAL HEARTBEAT
  219. --\\=================================//
  220. Frame_Speed = 1 / 30
  221. ArtificialHB = Instance.new("BindableEvent", script)
  222. ArtificialHB.Name = "ArtificialHB"
  223.  
  224. script:WaitForChild("ArtificialHB")
  225.  
  226. frame = Frame_Speed
  227. tf = 0
  228. allowframeloss = false
  229. tossremainder = false
  230. lastframe = tick()
  231. script.ArtificialHB:Fire()
  232.  
  233. game:GetService("RunService").Heartbeat:connect(function(s, p)
  234. tf = tf + s
  235. if tf >= frame then
  236. if allowframeloss then
  237. script.ArtificialHB:Fire()
  238. lastframe = tick()
  239. else
  240. for i = 1, math.floor(tf / frame) do
  241. script.ArtificialHB:Fire()
  242. end
  243. lastframe = tick()
  244. end
  245. if tossremainder then
  246. tf = 0
  247. else
  248. tf = tf - frame * math.floor(tf / frame)
  249. end
  250. end
  251. end)
  252.  
  253. --//=================================\\
  254. --\\=================================//
  255.  
  256. function Swait(NUMBER)
  257. if NUMBER == 0 or NUMBER == nil then
  258. ArtificialHB.Event:wait()
  259. else
  260. for i = 1, NUMBER do
  261. ArtificialHB.Event:wait()
  262. end
  263. end
  264. end
  265.  
  266. ---------------
  267. --[Functions]--
  268. ---------------
  269. so = function(id, par, vol, pit)
  270.  
  271. CFuncs.Sound.Create(id, par, vol, pit)
  272.  
  273.  
  274. end
  275.  
  276. function weld(parent,part0,part1,c0)
  277. local weld=it("Weld")
  278. weld.Parent=parent
  279. weld.Part0=part0
  280. weld.Part1=part1
  281. weld.C0=c0
  282. return weld
  283. end
  284.  
  285. rayCast = function(Pos, Dir, Max, Ignore)
  286.  
  287. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  288. end
  289.  
  290. function SetTween(SPart,CFr,MoveStyle2,outorin2,AnimTime)
  291. local MoveStyle = Enum.EasingStyle[MoveStyle2]
  292. local outorin = Enum.EasingDirection[outorin2]
  293.  
  294.  
  295. local dahspeed=1
  296. if attack == true and mememode == true then
  297. dahspeed=5
  298. end
  299.  
  300. if SPart.Name=="Bullet" then
  301. dahspeed=1
  302. end
  303.  
  304. local tweeningInformation = TweenInfo.new(
  305. AnimTime/dahspeed,
  306. MoveStyle,
  307. outorin,
  308. 0,
  309. false,
  310. 0
  311. )
  312. local MoveCF = CFr
  313. local tweenanim = TweenService:Create(SPart,tweeningInformation,MoveCF)
  314. tweenanim:Play()
  315. end
  316.  
  317. function GatherAllInstances(Parent,ig)
  318. local Instances = {}
  319. local Ignore=nil
  320. if ig ~= nil then
  321. Ignore = ig
  322. end
  323.  
  324. local function GatherInstances(Parent,Ignore)
  325. for i, v in pairs(Parent:GetChildren()) do
  326.  
  327. if v ~= Ignore then
  328. GatherInstances(v,Ignore)
  329. table.insert(Instances, v) end
  330. end
  331. end
  332. GatherInstances(Parent,Ignore)
  333. return Instances
  334. end
  335.  
  336.  
  337.  
  338.  
  339.  
  340.  
  341.  
  342.  
  343.  
  344. function weld(parent,part0,part1,c0)
  345. local weld=it("Weld")
  346. weld.Parent=parent
  347. weld.Part0=part0
  348. weld.Part1=part1
  349. weld.C0=c0
  350. return weld
  351. end
  352. function joint(parent,part0,part1,c0)
  353. local weld=it("Motor6D")
  354. weld.Parent=parent
  355. weld.Part0=part0
  356. weld.Part1=part1
  357. weld.C0=c0
  358. return weld
  359. end
  360. ArmorParts = {}
  361. --ArmorParts = {}
  362. function WeldAllTo(Part1,Part2,scan,Extra)
  363. local EXCF = Part2.CFrame * Extra
  364. for i, v3 in pairs(scan:GetDescendants()) do
  365. if v3:isA("BasePart") then
  366. local STW=weld(v3,v3,Part1,EXCF:toObjectSpace(v3.CFrame):inverse() )
  367. v3.Anchored=false
  368. v3.Massless = true
  369. v3.CanCollide=false
  370. v3.Parent = Part1
  371. v3.Locked = true
  372. if not v3:FindFirstChild("Destroy") then
  373. table.insert(ArmorParts,{Part = v3,Par = v3.Parent,Col = v3.Color,Mat=v3.Material.Name })
  374. else
  375. v3:Destroy()
  376. end
  377. end
  378. end
  379. Part1.Transparency=1
  380. --Part2:Destroy()
  381. end
  382.  
  383.  
  384.  
  385. function JointAllTo(Part1,Part2,scan,Extra)
  386. local EXCF = Part2.CFrame * Extra
  387. for i, v3 in pairs(scan:GetDescendants()) do
  388. if v3:isA("BasePart") then
  389. local STW=joint(v3,v3,Part1,EXCF:toObjectSpace(v3.CFrame):inverse() )
  390. v3.Anchored=false
  391. v3.Massless = true
  392. v3.CanCollide=false
  393. v3.Parent = Part1
  394. v3.Locked = true
  395. if not v3:FindFirstChild("Destroy") then
  396. -- table.insert(ArmorParts,{Part = v3,Par = v3.Parent,Col = v3.Color,Mat=v3.Material.Name })
  397. else
  398. v3:Destroy()
  399. end
  400. end
  401. end
  402. Part1.Transparency=1
  403. --Part2:Destroy()
  404. end
  405.  
  406.  
  407. --------
  408. local SToneTexture = Create("Texture")({
  409.  
  410.  
  411. Texture = "http://www.roblox.com/asset/?id=1693385655",
  412. Color3 = Color3.new(163/255, 162/255, 165/255),
  413.  
  414. })
  415.  
  416. function AddStoneTexture(part)
  417. coroutine.resume(coroutine.create(function()
  418. for i = 0,6,1 do
  419. local Tx = SToneTexture:Clone()
  420. Tx.Face = i
  421. Tx.Parent=part
  422. end
  423. end))
  424. end
  425.  
  426. New = function(Object, Parent, Name, Data)
  427. local Object = Instance.new(Object)
  428. for Index, Value in pairs(Data or {}) do
  429. Object[Index] = Value
  430. end
  431. Object.Parent = Parent
  432. Object.Name = Name
  433. return Object
  434. end
  435.  
  436.  
  437.  
  438. function CreateMesh2(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  439. local NEWMESH = IT(MESH)
  440. if MESH == "SpecialMesh" then
  441. NEWMESH.MeshType = MESHTYPE
  442. if MESHID ~= "nil" and MESHID ~= "" then
  443. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  444. end
  445. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  446. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  447. end
  448. end
  449. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  450. NEWMESH.Scale = SCALE
  451. NEWMESH.Parent = PARENT
  452. return NEWMESH
  453. end
  454.  
  455. function CreatePart2(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  456. local NEWPART = IT("Part")
  457. NEWPART.formFactor = FORMFACTOR
  458. NEWPART.Reflectance = REFLECTANCE
  459. NEWPART.Transparency = TRANSPARENCY
  460. NEWPART.CanCollide = false
  461. NEWPART.Locked = true
  462. NEWPART.Anchored = true
  463. if ANCHOR == false then
  464. NEWPART.Anchored = false
  465. end
  466. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  467. NEWPART.Name = NAME
  468. NEWPART.Size = SIZE
  469. NEWPART.Position = Torso.Position
  470. NEWPART.Material = MATERIAL
  471. NEWPART:BreakJoints()
  472. NEWPART.Parent = PARENT
  473. return NEWPART
  474. end
  475.  
  476. local S = IT("Sound")
  477. function CreateSound2(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  478. local NEWSOUND = nil
  479. coroutine.resume(coroutine.create(function()
  480. NEWSOUND = S:Clone()
  481. NEWSOUND.Parent = PARENT
  482. NEWSOUND.Volume = VOLUME
  483. NEWSOUND.Pitch = PITCH
  484. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  485. NEWSOUND:play()
  486. if DOESLOOP == true then
  487. NEWSOUND.Looped = true
  488. else
  489. repeat wait(1) until NEWSOUND.Playing == false
  490. NEWSOUND:remove()
  491. end
  492. end))
  493. return NEWSOUND
  494. end
  495.  
  496.  
  497. function WACKYEFFECT(Table)
  498. local TYPE = (Table.EffectType or "Sphere")
  499. local SIZE = (Table.Size or VT(1,1,1))
  500. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  501. local TRANSPARENCY = (Table.Transparency or 0)
  502. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  503. local CFRAME = (Table.CFrame or Torso.CFrame)
  504. local MOVEDIRECTION = (Table.MoveToPos or nil)
  505. local ROTATION1 = (Table.RotationX or 0)
  506. local ROTATION2 = (Table.RotationY or 0)
  507. local ROTATION3 = (Table.RotationZ or 0)
  508. local MATERIAL = (Table.Material or "Neon")
  509. local COLOR = (Table.Color or C3(1,1,1))
  510. local TIME = (Table.Time or 45)
  511. local SOUNDID = (Table.SoundID or nil)
  512. local SOUNDPITCH = (Table.SoundPitch or nil)
  513. local SOUNDVOLUME = (Table.SoundVolume or nil)
  514. coroutine.resume(coroutine.create(function()
  515. local PLAYSSOUND = false
  516. local SOUND = nil
  517. local EFFECT = CreatePart2(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  518. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  519. PLAYSSOUND = true
  520. SOUND = CreateSound2(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  521. end
  522. EFFECT.Color = COLOR
  523. local MSH = nil
  524. if TYPE == "Sphere" then
  525. MSH = CreateMesh2("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  526. elseif TYPE == "Cylinder" then
  527. MSH = CreateMesh2("SpecialMesh", EFFECT, "Cylinder", "", "", SIZE, VT(0,0,0))
  528. elseif TYPE == "Block" then
  529. MSH = IT("BlockMesh",EFFECT)
  530. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  531. elseif TYPE == "Cube" then
  532. MSH = IT("BlockMesh",EFFECT)
  533. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  534.  
  535. elseif TYPE == "Wave" then
  536. MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  537. elseif TYPE == "Ring" then
  538. MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  539. elseif TYPE == "Slash" then
  540. MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  541. elseif TYPE == "Round Slash" then
  542. MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  543. elseif TYPE == "Swirl" then
  544. MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  545. elseif TYPE == "Skull" then
  546. MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  547. elseif TYPE == "Crystal" then
  548. MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  549. elseif TYPE == "Crown" then
  550. MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "173770780", "", SIZE, VT(0,0,0))
  551. end
  552. if MSH ~= nil then
  553. local MOVESPEED = nil
  554. if MOVEDIRECTION ~= nil then
  555. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  556. end
  557. local GROWTH = SIZE - ENDSIZE
  558. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  559. if TYPE == "Block" then
  560.  
  561. SetTween(EFFECT,{CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))},"Linear","InOut",TIME/60)
  562. else
  563.  
  564. SetTween(EFFECT,{CFrame = CFRAME},"Linear","InOut",0)
  565.  
  566. end
  567.  
  568.  
  569.  
  570. wait()
  571.  
  572. SetTween(EFFECT,{Transparency = EFFECT.Transparency - TRANS},"Linear","InOut",TIME/60)
  573.  
  574. if TYPE == "Block" then
  575.  
  576. SetTween(EFFECT,{CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))},"Linear","InOut",0)
  577. else
  578.  
  579. SetTween(EFFECT,{CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))},"Linear","InOut",0)
  580.  
  581. end
  582. if MOVEDIRECTION ~= nil then
  583. local ORI = EFFECT.Orientation
  584.  
  585. SetTween(EFFECT,{CFrame=CF(MOVEDIRECTION)},"Linear","InOut",TIME/60)
  586. SetTween(EFFECT,{Orientation=ORI},"Linear","InOut",TIME/60)
  587.  
  588.  
  589. end
  590. MSH.Scale = MSH.Scale - GROWTH/TIME
  591. SetTween(MSH,{Scale=ENDSIZE},"Linear","InOut",TIME/60)
  592. if TYPE == "Wave" then
  593.  
  594. SetTween(MSH,{Offset=VT(0,0,-MSH.Scale.X/8)},"Linear","InOut",TIME/60)
  595. end
  596. for LOOP = 1, TIME+1 do
  597. wait(.05)
  598.  
  599. --SetTween(EFFECT,{Transparency = EFFECT.Transparency - TRANS/TIME},"Linear","InOut",0)
  600.  
  601.  
  602. if TYPE == "Block" then
  603.  
  604. -- SetTween(EFFECT,{CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))},"Linear","InOut",0)
  605. else
  606.  
  607. -- SetTween(EFFECT,{CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))},"Linear","InOut",0)
  608.  
  609. end
  610. if MOVEDIRECTION ~= nil then
  611. local ORI = EFFECT.Orientation
  612.  
  613. -- SetTween(EFFECT,{CFrame=CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)},"Linear","InOut",0)
  614. -- SetTween(EFFECT,{Orientation=ORI},"Linear","InOut",0)
  615.  
  616.  
  617. end
  618. end
  619. game:GetService("Debris"):AddItem(EFFECT, 15)
  620. if PLAYSSOUND == false then
  621. EFFECT:remove()
  622. else
  623. SOUND.Stopped:Connect(function()
  624. EFFECT:remove()
  625. end)
  626. end
  627. else
  628. if PLAYSSOUND == false then
  629. EFFECT:remove()
  630. else
  631. repeat wait() until SOUND.Playing == false
  632. EFFECT:remove()
  633. end
  634. end
  635. end))
  636. end
  637. ----------------------
  638. --[End Of Functions]--
  639. ----------------------
  640.  
  641.  
  642.  
  643.  
  644.  
  645.  
  646. ------------------
  647. --[Gun]--
  648. ------------------
  649.  
  650.  
  651.  
  652.  
  653.  
  654.  
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661. function CreatePart( Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  662. local Part = Create("Part"){
  663.  
  664. Parent = Parent,
  665. Reflectance = Reflectance,
  666. Transparency = Transparency,
  667. CanCollide = false,
  668. Locked = true,
  669. BrickColor = BrickColor.new(tostring(BColor)),
  670. Name = Name,
  671. Size = Size,
  672. Material = Material,
  673. }
  674. RemoveOutlines(Part)
  675. return Part
  676. end
  677.  
  678. ------------------
  679. --[End of Gun]--
  680. ------------------
  681.  
  682. ---------------
  683. --[Particles]--
  684. ---------------
  685.  
  686.  
  687. local Particle2_1 = Create("ParticleEmitter"){
  688. Color = ColorSequence.new(Color3.new (1,1,1), Color3.new (170/255, 255/255, 255/255)),
  689. Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(.75,.4),NumberSequenceKeypoint.new(1,1)}),
  690. Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.5),NumberSequenceKeypoint.new(1,.0)}),
  691. Texture = "rbxassetid://241922778",
  692. Lifetime = NumberRange.new(0.55,0.95),
  693. Rate = 100,
  694. VelocitySpread = 180,
  695. Rotation = NumberRange.new(0),
  696. RotSpeed = NumberRange.new(-200,200),
  697. Speed = NumberRange.new(8.0),
  698. LightEmission = 1,
  699. LockedToPart = false,
  700. Acceleration = Vector3.new(0, 0, 0),
  701. EmissionDirection = "Top",
  702. Drag = 4,
  703. Enabled = false
  704. }
  705.  
  706.  
  707. local BEGONE_Particle = Create("ParticleEmitter"){
  708. Color = ColorSequence.new(Color3.new (1,1,1), Color3.new (1, 1, 1)),
  709. Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.1,0),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(0.5,.2),NumberSequenceKeypoint.new(1,1)}),
  710. Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.15,1.5),NumberSequenceKeypoint.new(.75,1.5),NumberSequenceKeypoint.new(1,0)}),
  711. Texture = "rbxassetid://936193661",
  712. Lifetime = NumberRange.new(1.5),
  713. Rate = 100,
  714. VelocitySpread = 0,
  715. Rotation = NumberRange.new(0),
  716. RotSpeed = NumberRange.new(-10,10),
  717. Speed = NumberRange.new(0),
  718. LightEmission = .25,
  719. LockedToPart = true,
  720. Acceleration = Vector3.new(0, -0, 0),
  721. EmissionDirection = "Top",
  722. Drag = 4,
  723. ZOffset = 1,
  724. Enabled = false
  725. }
  726.  
  727.  
  728. ----------------------
  729. --[End Of Particles]--
  730. ----------------------
  731.  
  732.  
  733.  
  734.  
  735.  
  736. -----------------
  737.  
  738.  
  739.  
  740. Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  741.  
  742. if hit.Parent == nil then
  743. return
  744. end
  745. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  746. for _,v in pairs(hit.Parent:children()) do
  747. if v:IsA("Humanoid") then
  748. if h.Health > 0.0001 then
  749. h = v else end
  750. end
  751. end
  752.  
  753. if h == nil then
  754. return
  755. elseif h ~= nil and h.Health < 0.001 then
  756. return
  757. elseif h ~= nil and h.Parent:FindFirstChild("Fly away") then
  758. return
  759. end
  760.  
  761.  
  762. --gg
  763.  
  764. --local FoundTorso = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  765. coroutine.resume(coroutine.create(function()
  766. if h.Health >9999999 and minim <9999 and Type~= "IgnoreType" and(h.Parent:FindFirstChild("Torso") or h.Parent:FindFirstChild("UpperTorso")) and not h.Parent:FindFirstChild("Fly away")then
  767.  
  768.  
  769. local FATag = Instance.new("Model",h.Parent)
  770.  
  771. FATag.Name = "Fly away"
  772. game:GetService("Debris"):AddItem(FATag, 2.5)
  773.  
  774.  
  775. for _,v in pairs(h.Parent:children()) do
  776. if v:IsA("BasePart")and v.Parent:FindFirstChildOfClass("Humanoid") then
  777. v.Anchored=true
  778. end
  779. end
  780.  
  781. wait(.25)
  782.  
  783. if h.Parent:FindFirstChildOfClass("Body Colors")then
  784. h.Parent:FindFirstChildOfClass("Body Colors"):Destroy()
  785. end
  786.  
  787.  
  788. local FoundTorso = h.Parent:FindFirstChild("Torso") or h.Parent:FindFirstChild("UpperTorso")
  789.  
  790. coroutine.resume(coroutine.create(function()
  791.  
  792.  
  793. local YourGone = Instance.new("Part")
  794. YourGone.Reflectance = 0
  795. YourGone.Transparency = 1
  796. YourGone.CanCollide = false
  797. YourGone.Locked = true
  798. YourGone.Anchored=true
  799. YourGone.BrickColor = BrickColor.new("Really blue")
  800. YourGone.Name = "YourGone"
  801. YourGone.Size = Vector3.new()
  802. YourGone.Material = "SmoothPlastic"
  803. YourGone:BreakJoints()
  804. YourGone.Parent = FoundTorso
  805. YourGone.CFrame = FoundTorso.CFrame
  806.  
  807. local NewParticle = Instance.new("ParticleEmitter")
  808. NewParticle.Parent = YourGone
  809. NewParticle.Acceleration = Vector3.new(0,0,0)
  810. NewParticle.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10),NumberSequenceKeypoint.new(1,.0)})
  811. NewParticle.Color = ColorSequence.new(Color3.new (1,0,0), Color3.new (1, 0, 0))
  812. NewParticle.Lifetime = NumberRange.new(0.55,0.95)
  813. NewParticle.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(.25,.0),NumberSequenceKeypoint.new(1,1)})
  814. NewParticle.Speed = NumberRange.new(0,0.0)
  815. NewParticle.ZOffset = 2
  816. NewParticle.Texture = "rbxassetid://243660364"
  817. NewParticle.RotSpeed = NumberRange.new(-0,0)
  818. NewParticle.Rotation = NumberRange.new(-180,180)
  819. NewParticle.Enabled = false
  820. game:GetService("Debris"):AddItem(YourGone, 3)
  821. for i = 0,2,1 do
  822. NewParticle:Emit(1)
  823. so("1448044156", FoundTorso,2, 1)
  824. h.Parent:BreakJoints()
  825. YourGone.CFrame = FoundTorso.CFrame
  826. for _,v in pairs(h.Parent:children()) do
  827. if v:IsA("BasePart")and v.Parent:FindFirstChildOfClass("Humanoid") then
  828. v.Anchored=false
  829. -- v.Material = "Neon"
  830. --v.BrickColor = BrickColor.new("Really red")
  831. if v:FindFirstChildOfClass("SpecialMesh")then
  832. --v:Destroy()
  833. end
  834. if v:FindFirstChildOfClass("Decal") and v.Name == "face" then
  835. -- v:Destroy()
  836. end
  837. local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(1000, 1000, 1000), velocity = Vector3.new(math.random(-10,10),4,math.random(-10,10)) })
  838.  
  839. vp.Parent = v
  840. game:GetService("Debris"):AddItem(vp, math.random(50,100)/1000)
  841.  
  842.  
  843. end
  844.  
  845.  
  846.  
  847. end
  848.  
  849.  
  850.  
  851. wait(.2)
  852. end
  853. wait(.1)
  854. NewParticle:Emit(3)
  855. so("1448044156", FoundTorso,2, .8)
  856. h.Parent:BreakJoints()
  857. YourGone.CFrame = FoundTorso.CFrame
  858. for _,v in pairs(h.Parent:children()) do
  859. if v:IsA("BasePart")and v.Parent:FindFirstChildOfClass("Humanoid") then
  860. v.Anchored=false
  861. -- v.Material = "Neon"
  862. --v.BrickColor = BrickColor.new("Really red")
  863. if v:FindFirstChildOfClass("SpecialMesh")then
  864. --v:Destroy()
  865. end
  866. if v:FindFirstChildOfClass("Decal") and v.Name == "face" then
  867. -- v:Destroy()
  868. end
  869. local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(1000, 1000, 1000), velocity = Vector3.new(math.random(-10,10),4,math.random(-10,10)) })
  870.  
  871. vp.Parent = v
  872. game:GetService("Debris"):AddItem(vp, math.random(100,200)/1000)
  873.  
  874.  
  875. end
  876.  
  877.  
  878.  
  879. end
  880.  
  881.  
  882.  
  883.  
  884. end))
  885.  
  886.  
  887.  
  888.  
  889. wait(.1)
  890.  
  891.  
  892.  
  893.  
  894.  
  895.  
  896.  
  897. end
  898.  
  899.  
  900. end))
  901. if h ~= nil and hit.Parent ~= Character and hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  902. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  903. return
  904. end
  905. local c = Create("ObjectValue")({Name = "creator", Value = game:service("Players").LocalPlayer, Parent = h})
  906. game:GetService("Debris"):AddItem(c, 0.5)
  907. if HitSound ~= nil and HitPitch ~= nil then
  908. so(HitSound, hit, 1, HitPitch)
  909. end
  910. local Damage = math.random(minim, maxim)
  911. local blocked = false
  912. local block = hit.Parent:findFirstChild("Block")
  913. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  914. blocked = true
  915. block.Value = block.Value - 1
  916. print(block.Value)
  917. end
  918. if blocked == false then
  919. h.Health = h.Health - Damage
  920. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Color3.new(0,0,0))
  921. else
  922. h.Health = h.Health - Damage / 2
  923. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Color3.new(0,0,0))
  924.  
  925. end
  926.  
  927. if Type == "Knockdown" then
  928. local hum = h
  929.  
  930. hum.PlatformStand = true
  931. coroutine.resume(coroutine.create(function(HHumanoid)
  932.  
  933. wait(.2)
  934. HHumanoid.PlatformStand = false
  935. end
  936. ), hum)
  937.  
  938.  
  939.  
  940. local FoundTorso = h.Parent:FindFirstChild("Torso") or h.Parent:FindFirstChild("UpperTorso")
  941. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  942. local bodvol = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = CFrame.new(Part.Position,FoundTorso.Position).lookVector * knockback, Parent = hit})
  943. local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(5000, 5000, 5000) * 5, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit})
  944. game:GetService("Debris"):AddItem(bodvol, 2)
  945. game:GetService("Debris"):AddItem(rl, 0.125)
  946.  
  947.  
  948.  
  949. elseif Type == "Knockdown2" then
  950. local hum = h
  951.  
  952. hum.PlatformStand = true
  953. coroutine.resume(coroutine.create(function(HHumanoid)
  954.  
  955.  
  956. Combo = 1 wait(.2)
  957. HHumanoid.PlatformStand = false
  958. end
  959. ), hum)
  960. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  961. local bodvol = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = CFrame.new(Part.Position,Property.Position).lookVector * knockback})
  962. local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(5000, 5000, 5000) * 50, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit})
  963. game:GetService("Debris"):AddItem(bodvol, 0.2)
  964. game:GetService("Debris"):AddItem(rl, 0.2)
  965.  
  966.  
  967.  
  968.  
  969.  
  970.  
  971. local bodyVelocity2 = Create("BodyVelocity")({velocity = Vector3.new(0, 60, 0), P = 5000, maxForce = Vector3.new(8000, 12000, 8000), Parent = RootPart})
  972. game:GetService("Debris"):AddItem(bodyVelocity2, 0.1)
  973.  
  974. elseif Type == "Normal" then
  975. local FoundTorso = h.Parent:FindFirstChild("Torso") or h.Parent:FindFirstChild("UpperTorso")
  976. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  977. local bodvol = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = CFrame.new(Part.Position,FoundTorso.Position).lookVector * knockback, Parent = hit})
  978. game:GetService("Debris"):AddItem(bodvol, .1)
  979.  
  980.  
  981.  
  982. elseif Type== "Fire" then
  983. local HTorso = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  984.  
  985. local tags = 0
  986. for _,v2 in next, HTorso:GetChildren() do
  987. if v2:IsA("Folder") and v2.Name == "OnFire" then
  988. tags=tags+1
  989. end
  990. end
  991.  
  992. if tags < 2 then
  993. end
  994.  
  995.  
  996. fireef:Destroy()
  997. else-- print("Hit Max")
  998. end
  999. elseif Type== "Instakill" then
  1000. coroutine.resume(coroutine.create(function()
  1001. if (h.Parent:FindFirstChild("Torso") or h.Parent:FindFirstChild("UpperTorso")) and not h.Parent:FindFirstChild("Fly away")then
  1002.  
  1003.  
  1004. local FATag = Instance.new("Model",h.Parent)
  1005.  
  1006. FATag.Name = "Fly away"
  1007. game:GetService("Debris"):AddItem(FATag, 2.5)
  1008.  
  1009.  
  1010. for _,v in pairs(h.Parent:children()) do
  1011. if v:IsA("BasePart")and v.Parent:FindFirstChildOfClass("Humanoid") then
  1012. v.Anchored=true
  1013. end
  1014. end
  1015.  
  1016. wait(.25)
  1017.  
  1018. if h.Parent:FindFirstChildOfClass("Body Colors")then
  1019. h.Parent:FindFirstChildOfClass("Body Colors"):Destroy()
  1020. end
  1021.  
  1022.  
  1023. local FoundTorso = h.Parent:FindFirstChild("Torso") or h.Parent:FindFirstChild("UpperTorso")
  1024.  
  1025. coroutine.resume(coroutine.create(function()
  1026.  
  1027.  
  1028. local YourGone = Instance.new("Part")
  1029. YourGone.Reflectance = 0
  1030. YourGone.Transparency = 1
  1031. YourGone.CanCollide = false
  1032. YourGone.Locked = true
  1033. YourGone.Anchored=true
  1034. YourGone.BrickColor = BrickColor.new("Really blue")
  1035. YourGone.Name = "YourGone"
  1036. YourGone.Size = Vector3.new()
  1037. YourGone.Material = "SmoothPlastic"
  1038. YourGone:BreakJoints()
  1039. YourGone.Parent = FoundTorso
  1040. YourGone.CFrame = FoundTorso.CFrame
  1041.  
  1042. local NewParticle = Instance.new("ParticleEmitter")
  1043. NewParticle.Parent = YourGone
  1044. NewParticle.Acceleration = Vector3.new(0,0,0)
  1045. NewParticle.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10),NumberSequenceKeypoint.new(1,.0)})
  1046. NewParticle.Color = ColorSequence.new(Color3.new (1,0,0), Color3.new (1, 0, 0))
  1047. NewParticle.Lifetime = NumberRange.new(0.55,0.95)
  1048. NewParticle.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(.25,.0),NumberSequenceKeypoint.new(1,1)})
  1049. NewParticle.Speed = NumberRange.new(0,0.0)
  1050. NewParticle.ZOffset = 2
  1051. NewParticle.Texture = "rbxassetid://243660364"
  1052. NewParticle.RotSpeed = NumberRange.new(-0,0)
  1053. NewParticle.Rotation = NumberRange.new(-180,180)
  1054. NewParticle.Enabled = false
  1055. game:GetService("Debris"):AddItem(YourGone, 3)
  1056. for i = 0,2,1 do
  1057. NewParticle:Emit(1)
  1058. so("1448044156", FoundTorso,2, 1)
  1059. h.Parent:BreakJoints()
  1060. YourGone.CFrame = FoundTorso.CFrame
  1061. for _,v in pairs(h.Parent:children()) do
  1062. if v:IsA("BasePart")and v.Parent:FindFirstChildOfClass("Humanoid") then
  1063. v.Anchored=false
  1064. -- v.Material = "Neon"
  1065. --v.BrickColor = BrickColor.new("Really red")
  1066. if v:FindFirstChildOfClass("SpecialMesh")then
  1067. --v:Destroy()
  1068. end
  1069. if v:FindFirstChildOfClass("Decal") and v.Name == "face" then
  1070. -- v:Destroy()
  1071. end
  1072. local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(1000, 1000, 1000), velocity = Vector3.new(math.random(-10,10),4,math.random(-10,10)) })
  1073.  
  1074. vp.Parent = v
  1075. game:GetService("Debris"):AddItem(vp, math.random(50,100)/1000)
  1076.  
  1077.  
  1078. end
  1079.  
  1080.  
  1081.  
  1082. end
  1083.  
  1084.  
  1085.  
  1086. wait(.2)
  1087. end
  1088. wait(.1)
  1089. NewParticle:Emit(3)
  1090. so("1448044156", FoundTorso,2, .8)
  1091. h.Parent:BreakJoints()
  1092. YourGone.CFrame = FoundTorso.CFrame
  1093. for _,v in pairs(h.Parent:children()) do
  1094. if v:IsA("BasePart")and v.Parent:FindFirstChildOfClass("Humanoid") then
  1095. v.Anchored=false
  1096. -- v.Material = "Neon"
  1097. --v.BrickColor = BrickColor.new("Really red")
  1098. if v:FindFirstChildOfClass("SpecialMesh")then
  1099. --v:Destroy()
  1100. end
  1101. if v:FindFirstChildOfClass("Decal") and v.Name == "face" then
  1102. -- v:Destroy()
  1103. end
  1104. local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(1000, 1000, 1000), velocity = Vector3.new(math.random(-10,10),4,math.random(-10,10)) })
  1105.  
  1106. vp.Parent = v
  1107. game:GetService("Debris"):AddItem(vp, math.random(100,200)/1000)
  1108.  
  1109.  
  1110. end
  1111.  
  1112.  
  1113.  
  1114. end
  1115.  
  1116.  
  1117.  
  1118.  
  1119. end))
  1120.  
  1121.  
  1122.  
  1123.  
  1124. wait(.1)
  1125.  
  1126.  
  1127.  
  1128.  
  1129.  
  1130.  
  1131.  
  1132. end
  1133.  
  1134.  
  1135. end))
  1136.  
  1137.  
  1138. elseif Type == "HPSteal" then
  1139. Humanoid.Health = Humanoid.Health + Damage
  1140. local hum = h
  1141.  
  1142. hum.PlatformStand = true
  1143. coroutine.resume(coroutine.create(function(HHumanoid)
  1144.  
  1145.  
  1146. Combo = 1 wait(.2)
  1147. HHumanoid.PlatformStand = false
  1148. end
  1149. ), hum)
  1150. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1151. local bodvol = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = CFrame.new(Part.Position,Property.Position).lookVector * knockback})
  1152. local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(5000, 5000, 5000) * 50, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit})
  1153. game:GetService("Debris"):AddItem(bodvol, 0.2)
  1154. game:GetService("Debris"):AddItem(rl, 0.2)
  1155.  
  1156.  
  1157.  
  1158.  
  1159.  
  1160.  
  1161. local bodyVelocity2 = Create("BodyVelocity")({velocity = Vector3.new(0, 60, 0), P = 5000, maxForce = Vector3.new(8000, 12000, 8000), Parent = RootPart})
  1162. game:GetService("Debris"):AddItem(bodyVelocity2, 0.1)
  1163.  
  1164.  
  1165. elseif Type == "Impale" then
  1166.  
  1167.  
  1168.  
  1169.  
  1170.  
  1171.  
  1172.  
  1173.  
  1174. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=268249319", Spike, .8, 2)
  1175. hit.Parent.Humanoid.PlatformStand = true
  1176.  
  1177.  
  1178. wait(1)
  1179. hit.Parent.Humanoid.PlatformStand = false
  1180. elseif Type == "IgnoreType" then
  1181.  
  1182.  
  1183.  
  1184.  
  1185.  
  1186. elseif Type == "Up" then
  1187. local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  1188. game:GetService("Debris"):AddItem(bodyVelocity, 0.1)
  1189. local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  1190. game:GetService("Debris"):AddItem(bodyVelocity, .1)
  1191.  
  1192.  
  1193.  
  1194.  
  1195.  
  1196.  
  1197.  
  1198. elseif Type == "Snare" then
  1199. local bp = Create("BodyPosition")({P = 900, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = (h.Parent:FindFirstChild("Torso") or h.Parent:FindFirstChild("UpperTorso"))})
  1200. game:GetService("Debris"):AddItem(bp, 1)
  1201.  
  1202.  
  1203.  
  1204. elseif Type == "Freeze2" then
  1205. local BodPos = Create("BodyPosition")({P = 50000, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
  1206. local BodGy = Create("BodyGyro")({maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, P = 20000, Parent = hit.Parent.Torso, cframe = hit.Parent.Torso.CFrame})
  1207. hit.Parent.Torso.Anchored = true
  1208. coroutine.resume(coroutine.create(function(Part)
  1209.  
  1210. wait(1.5)
  1211. Part.Anchored = false
  1212. end
  1213. ), hit.Parent.Torso)
  1214. game:GetService("Debris"):AddItem(BodPos, 3)
  1215. game:GetService("Debris"):AddItem(BodGy, 3)
  1216. end
  1217. local debounce = Create("BoolValue")({Name = "DebounceHit", Parent = hit.Parent, Value = true})
  1218. game:GetService("Debris"):AddItem(debounce, Delay)
  1219. c = Instance.new("ObjectValue")
  1220. c.Name = "creator"
  1221. c.Value = Player
  1222. c.Parent = h
  1223. game:GetService("Debris"):AddItem(c, 0.5)
  1224. end
  1225.  
  1226.  
  1227.  
  1228.  
  1229. ShowDamage = function(Pos, Text, Time, Color)
  1230.  
  1231. local Rate = 0.033333333333333
  1232. if not Pos then
  1233. local Pos = Vector3.new(0, 0, 0)
  1234. end
  1235. local Text = Text or ""
  1236. local Time = Time or 2
  1237. if not Color then
  1238. local Color = Color3.new(1, 0, 1)
  1239. end
  1240. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1241. EffectPart.Anchored = true
  1242. local BillboardGui = Create("BillboardGui")({Size = UDim2.new(2, 0, 2, 0), Adornee = EffectPart, Parent = EffectPart})
  1243. local TextLabel = Create("TextLabel")({BackgroundTransparency = 1, Size = UDim2.new(1, 0, 1, 0), Text = "DMG: "..Text.."", TextColor3 = Color, TextScaled = true, Font = Enum.Font.ArialBold, Parent = BillboardGui})
  1244. TextLabel.TextTransparency=1
  1245. game.Debris:AddItem(EffectPart, Time + 0.1)
  1246. EffectPart.Parent = game:GetService("Workspace")
  1247. delay(0, function()
  1248.  
  1249. local Frames = Time / Rate
  1250.  
  1251.  
  1252.  
  1253. --print(Frames)
  1254.  
  1255. EffectPart.CFrame=CFrame.new(Pos)
  1256. wait() TextLabel.TextTransparency=0
  1257. SetTween(TextLabel,{TextTransparency=1},"Quad","In",Frames/60)
  1258. SetTween(TextLabel,{Rotation=math.random(-25,25)},"Elastic","InOut",Frames/60)
  1259. SetTween(TextLabel,{TextColor3=Color3.new(1,0,0)},"Elastic","InOut",Frames/60)
  1260.  
  1261. SetTween(EffectPart,{CFrame = CFrame.new(Pos) + Vector3.new(math.random(-5,5), math.random(1,5), math.random(-5,5))},"Linear","InOut",Frames/60)
  1262.  
  1263.  
  1264. wait(Frames/60)
  1265.  
  1266. if EffectPart and EffectPart.Parent then
  1267. EffectPart:Destroy()
  1268. end
  1269. end
  1270. )
  1271. end
  1272.  
  1273. MagniDamage = function(Part, magni, mindam, maxdam, knock, Type2)
  1274.  
  1275.  
  1276.  
  1277.  
  1278. local Type=""
  1279.  
  1280.  
  1281.  
  1282.  
  1283. if mememode == true then
  1284.  
  1285. Type= "Instakill"
  1286.  
  1287. else
  1288. Type=Type2
  1289. end
  1290. if Type2 == "NormalKnockdown" then
  1291. Type= "Knockdown"
  1292. end
  1293.  
  1294. for _,c in pairs(workspace:children()) do
  1295.  
  1296.  
  1297.  
  1298.  
  1299.  
  1300. local hum = c:FindFirstChild("Humanoid")
  1301. for _,v in pairs(c:children()) do
  1302. if v:IsA("Humanoid") then
  1303. hum = v
  1304. end
  1305. end
  1306.  
  1307.  
  1308.  
  1309.  
  1310. if hum ~= nil then
  1311. local head = c:findFirstChild("Head")
  1312. if head ~= nil then
  1313. local targ = head.Position - Part.Position
  1314. local mag = targ.magnitude
  1315. if mag <= magni and c.Name ~= Player.Name then
  1316. Damagefunc(Part, head, mindam, maxdam, knock, Type, RootPart, 0.1, "851453784", 1.2)
  1317. end
  1318. end
  1319. end
  1320. end
  1321. end
  1322.  
  1323.  
  1324. function CFMagniDamage(HTCF,magni, mindam, maxdam, knock, Type)
  1325. local DGP = Instance.new("Part")
  1326.  
  1327. DGP.Parent = Character
  1328. DGP.Size = Vector3.new(0.05, 0.05, 0.05)
  1329. DGP.Transparency = 1
  1330. DGP.CanCollide = false
  1331. DGP.Anchored = true
  1332. RemoveOutlines(DGP)
  1333. DGP.Position=DGP.Position + Vector3.new(0,-.1,0)
  1334. DGP.CFrame = HTCF
  1335.  
  1336. coroutine.resume(coroutine.create(function()
  1337. MagniDamage(DGP, magni, mindam, maxdam, knock, Type)
  1338. end))
  1339. game:GetService("Debris"):AddItem(DGP, .05)
  1340.  
  1341.  
  1342. DGP.Archivable = false
  1343. end
  1344.  
  1345.  
  1346.  
  1347. -----------------
  1348.  
  1349. function BulletHitEffectSpawn(EffectCF,EffectName)
  1350. local MainEffectHolder=Instance.new("Part",Effects)
  1351. MainEffectHolder.Reflectance = 0
  1352. MainEffectHolder.Transparency = 1
  1353. MainEffectHolder.CanCollide = false
  1354. MainEffectHolder.Locked = true
  1355. MainEffectHolder.Anchored=true
  1356. MainEffectHolder.BrickColor = BrickColor.new("Bright green")
  1357. MainEffectHolder.Name = "Bullet"
  1358. MainEffectHolder.Size = Vector3.new(.05,.05,.05)
  1359. MainEffectHolder.Material = "Neon"
  1360. MainEffectHolder:BreakJoints()
  1361. MainEffectHolder.CFrame = EffectCF
  1362. local EffectAttach=Instance.new("Attachment",MainEffectHolder)
  1363. game:GetService("Debris"):AddItem(MainEffectHolder, 15)
  1364.  
  1365. if EffectName == "Explode" then
  1366. EffectAttach.Orientation = Vector3.new(90,0,0)
  1367.  
  1368. game:GetService("Debris"):AddItem(MainEffectHolder, 2)
  1369.  
  1370.  
  1371. end
  1372.  
  1373.  
  1374.  
  1375.  
  1376.  
  1377.  
  1378. if EffectName == "Spark" then
  1379.  
  1380. EffectAttach.Orientation = Vector3.new(90,0,0)
  1381.  
  1382. game:GetService("Debris"):AddItem(MainEffectHolder, 2)
  1383.  
  1384.  
  1385. end
  1386.  
  1387.  
  1388.  
  1389. if EffectName == "ShockWave" then
  1390.  
  1391. EffectAttach.Orientation = Vector3.new(90,0,0)
  1392. game:GetService("Debris"):AddItem(MainEffectHolder, 2)
  1393.  
  1394.  
  1395. end
  1396.  
  1397.  
  1398.  
  1399.  
  1400. if EffectName == "Nuke" then
  1401. so(923073285,MainEffectHolder,8,2)
  1402. EffectAttach.Orientation = Vector3.new(0,0,0)
  1403. local EffectAttach2=Instance.new("Attachment",MainEffectHolder)
  1404. EffectAttach2.Orientation = Vector3.new(0,0,0)
  1405.  
  1406.  
  1407.  
  1408. coroutine.resume(coroutine.create(function()
  1409.  
  1410. for i = 0,2,.025/1.5 do
  1411.  
  1412.  
  1413. Swait()
  1414. end
  1415. end))
  1416.  
  1417.  
  1418. game:GetService("Debris"):AddItem(EffectAttach, 10)
  1419.  
  1420.  
  1421. end
  1422.  
  1423.  
  1424.  
  1425.  
  1426.  
  1427.  
  1428.  
  1429.  
  1430.  
  1431.  
  1432.  
  1433.  
  1434. end
  1435.  
  1436.  
  1437.  
  1438.  
  1439. --[[
  1440. for i, v in pairs(C:GetChildren()) do
  1441. if v:IsA("Accessory")then
  1442. v:Destroy()
  1443. end
  1444. if v:IsA("BasePart")then
  1445. v.Transparency =1
  1446. if v.Name == "Head" then
  1447. v:FindFirstChildOfClass("Decal"):Destroy()
  1448. end
  1449. end
  1450. end--]]
  1451. --[[
  1452.  
  1453.  
  1454.  
  1455.  
  1456.  
  1457.  
  1458.  
  1459.  
  1460.  
  1461.  
  1462.  
  1463.  
  1464.  
  1465. local tweeningInformation = TweenInfo.new(
  1466. 0.5,
  1467. Enum.EasingStyle.Back,
  1468. Enum.EasingDirection.Out,
  1469. 0,
  1470. false,
  1471. 0
  1472. )
  1473. --]]
  1474.  
  1475.  
  1476. local RJW=weld(RJ.Parent,RJ.Part0,RJ.Part1,RJ.C0)
  1477. RJW.C1 = RJ.C1
  1478. RJW.Name = RJ.Name
  1479.  
  1480. local NeckW=weld(Neck.Parent,Neck.Part0,Neck.Part1,Neck.C0)
  1481. NeckW.C1 = Neck.C1
  1482. NeckW.Name = Neck.Name
  1483.  
  1484.  
  1485. --print(WRJ.Parent.Name)
  1486.  
  1487. local RW=weld(Torso,Torso,RightArm,cf(0,0,0))
  1488.  
  1489. local LW=weld(Torso,Torso,LeftArm,cf(0,0,0))
  1490.  
  1491. local RH=weld(Torso,Torso,RightLeg,cf(0,0,0))
  1492.  
  1493. local LH=weld(Torso,Torso,LeftLeg,cf(0,0,0))
  1494.  
  1495.  
  1496.  
  1497. RW.C1 = cn(0, 0.5, 0)
  1498. LW.C1 = cn(0, 0.5, 0)
  1499. RH.C1 = cn(0, 1, 0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  1500. LH.C1 = cn(0, 1, 0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  1501.  
  1502.  
  1503.  
  1504.  
  1505.  
  1506.  
  1507. --------
  1508. --(#Torso)
  1509. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,0)},"Quad","InOut",0.1)
  1510. --------
  1511. --(#Head)
  1512. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)},"Quad","InOut",0.1)
  1513. --------
  1514. --(#Right Arm)
  1515. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)},"Quad","InOut",0.1)
  1516. --------
  1517. --(#Left Arm)
  1518. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)},"Quad","InOut",0.1)
  1519. --------
  1520. --(#Right Leg)
  1521. SetTween(RH,{C0=CFrame.new(.5, -0.90, 0)},"Quad","InOut",0.1)
  1522. --------
  1523. --(#Left Leg)
  1524. SetTween(LH,{C0=CFrame.new(-.5, -0.90, 0)},"Quad","InOut",0.1)
  1525.  
  1526.  
  1527.  
  1528. --[[
  1529. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  1530. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  1531. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","Out",0.1)
  1532. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","Out",0.1)
  1533. SetTween(RH,{C0=CFrame.new(.5, -1, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  1534. SetTween(LH,{C0=CFrame.new(-.5, -1, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  1535. --]]
  1536.  
  1537.  
  1538. function AT1()
  1539. attack=true
  1540. local dahspeed=1
  1541. if attack == true and mememode == true then
  1542. dahspeed=5
  1543. end --/dahspeed
  1544. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(-40))},"Quad","InOut",0.2)
  1545. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(40))},"Quad","InOut",0.2)
  1546. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(30),math.rad(0),math.rad(0))},"Quad","InOut",0.2)
  1547. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(30),math.rad(0),math.rad(0))},"Quad","InOut",0.2)
  1548. SetTween(RH,{C0=CFrame.new(.5, -.6, -.4)*angles(math.rad(-20),math.rad(0),math.rad(0))},"Quad","InOut",0.2)
  1549. SetTween(LH,{C0=CFrame.new(-.5, -1, 0)*angles(math.rad(20),math.rad(0),math.rad(20))},"Quad","InOut",0.2)
  1550.  
  1551.  
  1552.  
  1553.  
  1554.  
  1555. wait(.2/dahspeed)
  1556.  
  1557. --coroutine.resume(coroutine.create(function()
  1558. -- so("1428541279", RightArm,1.6, math.random(120,220)/100)
  1559.  
  1560.  
  1561. CFMagniDamage(RootPart.CFrame*CF(0,-1,-1),7,10,20,20,"Normal")
  1562. --end))
  1563.  
  1564. SetTween(RJW,{C0=RootCF*CFrame.new(0,-1,0)*angles(math.rad(-40),math.rad(0),math.rad(40))},"Back","Out",0.2)
  1565. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-40))},"Back","Out",0.2)
  1566. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(-30),math.rad(0),math.rad(0))},"Back","Out",0.2)
  1567. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(-30),math.rad(0),math.rad(0))},"Back","Out",0.2)
  1568. SetTween(RH,{C0=CFrame.new(.5, -1, 0)*angles(math.rad(120),math.rad(0),math.rad(0))},"Back","Out",0.2)
  1569. SetTween(LH,{C0=CFrame.new(-.5, -1, 0)*angles(math.rad(-60),math.rad(0),math.rad(-20))},"Back","Out",0.2)
  1570.  
  1571.  
  1572.  
  1573.  
  1574.  
  1575. wait(.2/dahspeed)
  1576.  
  1577.  
  1578. attack = false
  1579. end
  1580.  
  1581.  
  1582.  
  1583.  
  1584. function AT2()
  1585. attack=true
  1586. local dahspeed=1
  1587. if attack == true and mememode == true then
  1588. dahspeed=5
  1589. end --/dahspeed
  1590.  
  1591. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(60))},"Quad","InOut",0.2)
  1592. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60))},"Quad","InOut",0.2)
  1593. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.2)
  1594. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(90),math.rad(0),math.rad(0))},"Quad","InOut",0.2)
  1595. SetTween(RH,{C0=CFrame.new(.5, -.5, -.4)*angles(math.rad(-20),math.rad(0),math.rad(0))},"Quad","InOut",0.2)
  1596. SetTween(LH,{C0=CFrame.new(-.5, -1, 0)*angles(math.rad(-20),math.rad(0),math.rad(0))},"Quad","InOut",0.2)
  1597.  
  1598. CFMagniDamage(RootPart.CFrame*CF(0,-0,-1),9,10,15,0,"Normal")
  1599.  
  1600. wait(.2/dahspeed)
  1601.  
  1602. SetTween(RJW,{C0=RootCF*CFrame.new(0,-1,0)*angles(math.rad(0),math.rad(0),math.rad(-70))},"Back","Out",0.2)
  1603. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(70))},"Back","Out",0.2)
  1604. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Back","Out",0.2)
  1605. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(0),math.rad(-20),math.rad(-90))},"Back","Out",0.2)
  1606. SetTween(RH,{C0=CFrame.new(.5, -1, -0)*angles(math.rad(20),math.rad(0),math.rad(0))},"Back","Out",0.2)
  1607. SetTween(LH,{C0=CFrame.new(-.5, -1, 0)*angles(math.rad(-20),math.rad(0),math.rad(0))},"Back","Out",0.2)
  1608.  
  1609.  
  1610. wait(.2/dahspeed)
  1611. attack = false
  1612. end
  1613.  
  1614. function AT3()
  1615. attack=true
  1616. local dahspeed=1
  1617. if attack == true and mememode == true then
  1618. dahspeed=5
  1619. end --/dahspeed
  1620. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(120))},"Quad","In",0.2)
  1621. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-80))},"Quad","InOut",0.2)
  1622. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(90),math.rad(0),math.rad(20))},"Quad","InOut",0.2)
  1623. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(20),math.rad(-0),math.rad(-0))},"Quad","InOut",0.2)
  1624. SetTween(RH,{C0=CFrame.new(.5, -1, -0)*angles(math.rad(-20),math.rad(0),math.rad(0))},"Quad","InOut",0.2)
  1625. SetTween(LH,{C0=CFrame.new(-.5, -.8, 0)*angles(math.rad(20),math.rad(0),math.rad(0))},"Quad","InOut",0.2)
  1626.  
  1627. wait(.2/dahspeed)
  1628. CFMagniDamage(RootPart.CFrame*CF(-2,-.25,-1),9,20,30,10,"Knockdown")
  1629.  
  1630. SetTween(RJW,{C0=RootCF*CFrame.new(0,-1,0)*angles(math.rad(20),math.rad(0),math.rad(-0))},"Back","Out",0.2)
  1631. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Back","Out",0.2)
  1632. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(90))},"Back","Out",0.2)
  1633. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(20),math.rad(-0),math.rad(-0))},"Back","Out",0.2)
  1634. SetTween(RH,{C0=CFrame.new(.5, -1, -0)*angles(math.rad(-40),math.rad(0),math.rad(0))},"Back","Out",0.2)
  1635. SetTween(LH,{C0=CFrame.new(-.5, -1, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Back","Out",0.2)
  1636. wait(.2/dahspeed)
  1637. attack = false
  1638. end
  1639.  
  1640.  
  1641.  
  1642. function AT4()
  1643. attack=true
  1644. local dahspeed=1
  1645. if attack == true and mememode == true then
  1646. dahspeed=5
  1647. end --/dahspeed
  1648.  
  1649. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(-80))},"Quad","InOut",0.2)
  1650. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(80))},"Quad","InOut",0.2)
  1651. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.2)
  1652. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(-20),math.rad(-70),math.rad(-90))},"Quad","InOut",0.2)
  1653. SetTween(RH,{C0=CFrame.new(.5, -1, -.0)*angles(math.rad(20),math.rad(0),math.rad(0))},"Quad","InOut",0.2)
  1654. SetTween(LH,{C0=CFrame.new(-.5, -.5, -0.4)*angles(math.rad(20),math.rad(0),math.rad(0))},"Quad","InOut",0.2)
  1655.  
  1656. CFMagniDamage(RootPart.CFrame*CF(0,-0,-1),9,30,45,0,"Normal")
  1657. so("3051417237", LeftArm,3, math.random(100,155)/100)
  1658. wait(0.2/dahspeed)
  1659.  
  1660. SetTween(RJW,{C0=RootCF*CFrame.new(0,-1,0)*angles(math.rad(20),math.rad(0),math.rad(45))},"Back","Out",0.2)
  1661. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(-45))},"Back","Out",0.2)
  1662. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Back","Out",0.2)
  1663. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(0),math.rad(-0),math.rad(-90))},"Back","Out",0.2)
  1664. SetTween(RH,{C0=CFrame.new(.5, -1, -0)*angles(math.rad(20),math.rad(0),math.rad(0))},"Back","Out",0.2)
  1665. SetTween(LH,{C0=CFrame.new(-.5, -1, 0)*angles(math.rad(-10),math.rad(0),math.rad(0))},"Back","Out",0.2)
  1666.  
  1667.  
  1668. wait(.2/dahspeed)
  1669. attack = false
  1670. end
  1671.  
  1672.  
  1673.  
  1674.  
  1675.  
  1676. function AT5()
  1677. attack=true
  1678. local dahspeed=1
  1679. if attack == true and mememode == true then
  1680. dahspeed=5
  1681. end --/dahspeed
  1682.  
  1683. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(80))},"Quad","InOut",0.2)
  1684. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(-80))},"Quad","InOut",0.2)
  1685. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(-20),math.rad(70),math.rad(90))},"Quad","InOut",0.2)
  1686. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(-90))},"Quad","InOut",0.2)
  1687. SetTween(RH,{C0=CFrame.new(.5, -.5, -0.4)*angles(math.rad(20),math.rad(0),math.rad(0))},"Quad","InOut",0.2)
  1688. SetTween(LH,{C0=CFrame.new(-.5, -1, -0)*angles(math.rad(20),math.rad(0),math.rad(0))},"Quad","InOut",0.2)
  1689.  
  1690. CFMagniDamage(RootPart.CFrame*CF(0,-0,-1),9,30,45,0,"Normal")
  1691. so("3051417237", RightArm,3, math.random(100,155)/80)
  1692. wait(0.2/dahspeed)
  1693.  
  1694. SetTween(RJW,{C0=RootCF*CFrame.new(0,-1,0)*angles(math.rad(20),math.rad(0),math.rad(-45))},"Back","Out",0.2)
  1695. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(45))},"Back","Out",0.2)
  1696. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(90))},"Back","Out",0.2)
  1697. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(0),math.rad(-0),math.rad(0))},"Back","Out",0.2)
  1698. SetTween(RH,{C0=CFrame.new(.5, -1, -0)*angles(math.rad(-10),math.rad(0),math.rad(0))},"Back","Out",0.2)
  1699. SetTween(LH,{C0=CFrame.new(-.5, -1, 0)*angles(math.rad(20),math.rad(0),math.rad(0))},"Back","Out",0.2)
  1700.  
  1701.  
  1702. wait(.2/dahspeed)
  1703. attack = false
  1704. end
  1705.  
  1706.  
  1707.  
  1708.  
  1709. function AT6()
  1710. attack=true
  1711. local dahspeed=1
  1712. if attack == true and mememode == true then
  1713. dahspeed=5
  1714. end --/dahspeed
  1715.  
  1716.  
  1717. SetTween(RJW,{C0=RootCF*CFrame.new(0,-1,-.3)*angles(math.rad(45),math.rad(0),math.rad(0))},"Quad","Out",0.3)
  1718. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0))},"Quad","Out",0.3)
  1719. SetTween(RW,{C0=CFrame.new(1.1 , 0.5, -.3)*angles(math.rad(20),math.rad(115),math.rad(90))},"Quad","In",0.15)
  1720. SetTween(LW,{C0=CFrame.new(-1.1, 0.5, -.3)*angles(math.rad(20),math.rad(-115),math.rad(-90))},"Quad","In",0.15)
  1721. SetTween(RH,{C0=CFrame.new(.5, -1, 0)*angles(math.rad(-60),math.rad(0),math.rad(0))},"Quad","Out",0.2)
  1722. SetTween(LH,{C0=CFrame.new(-.5, -1, 0)*angles(math.rad(60),math.rad(0),math.rad(0))},"Quad","Out",0.3)
  1723.  
  1724. so("3051417237", Torso,3, math.random(140,185)/80)
  1725. CFMagniDamage(RootPart.CFrame*CF(-1.4,-0,-1),9,40,55,10,"Knockdown")
  1726. CFMagniDamage(RootPart.CFrame*CF(1.4,-0,-1),9,40,55,10,"Knockdown")
  1727.  
  1728. wait(0.175/dahspeed)
  1729.  
  1730. SetTween(RJW,{C0=RootCF*CFrame.new(0,-1.7,-.4)*angles(math.rad(45),math.rad(0),math.rad(0))},"Back","Out",0.2)
  1731. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Back","Out",0.2)
  1732. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(90))},"Back","Out",0.2)
  1733. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(-90))},"Back","Out",0.2)
  1734. SetTween(RH,{C0=CFrame.new(.5, -1, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Back","Out",0.2)
  1735. SetTween(LH,{C0=CFrame.new(-.5, -1, 0)*angles(math.rad(65),math.rad(0),math.rad(0))},"Back","Out",0.2)
  1736.  
  1737.  
  1738.  
  1739. wait(.2/dahspeed)
  1740. attack = false
  1741. end
  1742.  
  1743.  
  1744. function AT7()
  1745. attack=true
  1746. local dahspeed=1
  1747. if attack == true and mememode == true then
  1748. dahspeed=5
  1749. end --/dahspeed
  1750. so("3051417237", Torso,3, .8)
  1751.  
  1752. coroutine.resume(coroutine.create(function()
  1753. for i = 1,2 do Swait(3)
  1754. so("3051417087", RightArm,3, math.random(100,155)/100) end
  1755. end))
  1756. for i =1,10,1 do
  1757. SetTween(RJW,{C0=RootCF*CFrame.new(0,-1.7+.17*i,-.4)*angles(math.rad(25-5*i),math.rad(0),math.rad(36*i))},"Quad","Out",0.1)
  1758. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","Out",0.2)
  1759. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(180),math.rad(0),math.rad(90))},"Quad","Out",0.2)
  1760. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(-90))},"Quad","Out",0.2)
  1761. SetTween(RH,{C0=CFrame.new(.5, -1, 0)*angles(math.rad(-25),math.rad(0),math.rad(0))},"Quad","Out",0.2)
  1762. SetTween(LH,{C0=CFrame.new(-.5, -1, 0)*angles(math.rad(25),math.rad(0),math.rad(0))},"Quad","Out",0.2)
  1763. CFMagniDamage(RootPart.CFrame*CF(1.4,-0,-1+.17*i),9,10,15,10,"Knockdown")
  1764. Swait()
  1765. end
  1766.  
  1767.  
  1768.  
  1769. attack = false
  1770. end
  1771. --[[
  1772. how to make an cat fly
  1773.  
  1774.  
  1775. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(-20))},"Quad","InOut",0.1)
  1776. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(20))},"Quad","InOut",0.1)
  1777. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.25)*angles(math.rad(0),math.rad(0),math.rad(40))},"Quad","Out",0.1)
  1778. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","Out",0.1)
  1779. SetTween(RH,{C0=CFrame.new(.5, -1, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  1780. SetTween(LH,{C0=CFrame.new(-.5, -1, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  1781. Swait(.1*30)
  1782. for i = 1,100,0.3 do
  1783. SetTween(RJW,{C0=RootCF*CFrame.new(-20.5*math.sin(i),20.5*math.cos(i),i/.5)*angles(math.rad(25-4.5*10*i),math.rad(0),math.rad(36*i*2))},"Quad","InOut",0.1)
  1784. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(-80))},"Quad","InOut",0.15)
  1785. SetTween(RW,{C0=CFrame.new(1.5 , 0.65, -.0)*angles(math.rad(160+2*i),math.rad(0),math.rad(30-3*i))},"Quad","Out",0.15)
  1786. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","Out",0.15)
  1787. SetTween(RH,{C0=CFrame.new(.5, -1, 0)*angles(math.rad(0+6.5*i),math.rad(0),math.rad(0))},"Quad","InOut",0.15)
  1788. SetTween(LH,{C0=CFrame.new(-.5, -1, 0)*angles(math.rad(0-6.5*i),math.rad(0),math.rad(0))},"Quad","InOut",0.15)
  1789. Swait() end
  1790.  
  1791. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,20)*angles(math.rad(-20),math.rad(0),math.rad(-20))},"Quad","InOut",0.1)
  1792. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(20))},"Quad","InOut",0.1)
  1793. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","Out",0.1)
  1794. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","Out",0.1)
  1795. SetTween(RH,{C0=CFrame.new(.5, -1, 0)*angles(math.rad(90),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  1796. SetTween(LH,{C0=CFrame.new(-.5, -1, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  1797. Swait(1.1*30)
  1798.  
  1799.  
  1800. ]]--
  1801.  
  1802. function joke()
  1803. end
  1804.  
  1805. attack = false
  1806.  
  1807.  
  1808. print("aaaaaaaaaaaaaaaaaa")
  1809. Humanoid.JumpPower = 60
  1810. Humanoid.WalkSpeed=16
  1811.  
  1812.  
  1813.  
  1814.  
  1815. function ClickCombo()
  1816. if Anim == "Fall" or Anim == "Jump" then
  1817. if Combo == 0 then
  1818. --DownAT()
  1819. end
  1820. else
  1821. if agresive == false then
  1822. if Combo == 0 then
  1823. AT1()
  1824. Combo = 1
  1825. elseif Combo == 1 then
  1826. AT2()
  1827. Combo = 2
  1828. elseif Combo == 2 then
  1829. AT3()
  1830. Combo = 0
  1831. elseif Combo == 3 then
  1832. Combo = 0
  1833. ClickCombo()
  1834. end
  1835.  
  1836. else
  1837. if Combo == 0 then
  1838. AT4()
  1839. Combo = 1
  1840. elseif Combo == 1 then
  1841. AT5()
  1842. Combo = 2
  1843. elseif Combo == 2 then
  1844. AT6()
  1845. Combo = 3
  1846. elseif Combo == 3 then
  1847. AT7()
  1848. Combo = 0
  1849. end
  1850.  
  1851. end
  1852. end
  1853. end
  1854.  
  1855. local Hold = false
  1856.  
  1857.  
  1858. Button1DownF=function()
  1859.  
  1860. Hold= true
  1861. while Hold == true do
  1862. if attack == false then
  1863. ClickCombo()
  1864. else
  1865.  
  1866. end Swait()
  1867. end
  1868.  
  1869.  
  1870.  
  1871.  
  1872.  
  1873.  
  1874.  
  1875.  
  1876. end
  1877.  
  1878.  
  1879.  
  1880.  
  1881.  
  1882. Button1UpF=function()
  1883.  
  1884. if Hold==true then
  1885.  
  1886. Hold = false
  1887.  
  1888. end
  1889.  
  1890. end
  1891.  
  1892.  
  1893.  
  1894. KeyDownF=function(key)
  1895. if key == "r" and attack == false and pantdown == false then
  1896.  
  1897.  
  1898. attack = true
  1899. local laying = true
  1900. coroutine.wrap(function()
  1901. while laying == true do
  1902.  
  1903.  
  1904. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,-2.20)*angles(math.rad(75),math.rad(5* math.cos(sine / 8 )),math.rad(5* math.cos(sine / 8 )))},"Linear","InOut",0.1)
  1905. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(-40),math.rad(15* math.sin(sine / 8 )),math.rad(0))},"Linear","InOut",0.1)
  1906. SetTween(RW,{C0=CFrame.new(1.0 , 0.5, -.4)*angles(math.rad(160),math.rad(5* math.cos(sine / 8 )),math.rad(-50+5* math.cos(sine / 8 )))},"Linear","Out",0.1)
  1907. SetTween(LW,{C0=CFrame.new(-1.0, 0.5, -.4)*angles(math.rad(160),math.rad(5* math.cos(sine / 8 )),math.rad(40+5* math.cos(sine / 8 )))},"Linear","Out",0.1)
  1908. SetTween(RH,{C0=CFrame.new(.5, -.9-.1* math.cos(sine / 8 ), -.4+.4* math.cos(sine / 8 ))*angles(math.rad(-50+35* math.cos(sine / 8 )),math.rad(5* math.cos(sine / 8 )),math.rad(-15* math.cos(sine / 8 )))},"Linear","InOut",0.1)
  1909. SetTween(LH,{C0=CFrame.new(-.5, -.9+.1* math.cos(sine / 8 ), -.4-.4* math.cos(sine / 8 ))*angles(math.rad(-50-35* math.cos(sine / 8 )),math.rad(5* math.cos(sine / 8 )),math.rad(-15* math.cos(sine / 8 )))},"Linear","InOut",0.1)
  1910. Swait()
  1911. if (Humanoid.MoveDirection * Vector3.new(1, 0, 1)).magnitude > .5 then
  1912. laying = false
  1913. end
  1914. end
  1915. end)()
  1916. repeat Swait() until laying == false
  1917.  
  1918.  
  1919. attack = false
  1920.  
  1921. end
  1922.  
  1923.  
  1924.  
  1925. if key == "0" then
  1926. if isruning == false then
  1927. isruning=true
  1928. end
  1929. end
  1930.  
  1931.  
  1932.  
  1933.  
  1934.  
  1935.  
  1936. if key == "m" then
  1937.  
  1938. if playsong == true then
  1939. playsong = false
  1940. s2:pause()
  1941. elseif playsong == false then
  1942. playsong = true
  1943.  
  1944.  
  1945. s2:resume()
  1946. end
  1947.  
  1948. end
  1949.  
  1950.  
  1951.  
  1952. if key == "n" and mememode == false then
  1953.  
  1954.  
  1955.  
  1956.  
  1957.  
  1958.  
  1959. CurId = CurId + 1
  1960.  
  1961. if CurId > 6 then
  1962. CurId = 1
  1963.  
  1964. end
  1965. warn("now playing song Nr"..CurId)
  1966. if CurId == 1 then
  1967. lastid= "http://www.roblox.com/asset/?id=617334987"
  1968. elseif CurId == 2 then
  1969. lastid= "http://www.roblox.com/asset/?id=3464477488"
  1970. elseif CurId == 3 then
  1971. lastid= "http://www.roblox.com/asset/?id=198665867"
  1972. elseif CurId == 4 then
  1973. lastid= "http://www.roblox.com/asset/?id=493674525"
  1974. elseif CurId == 5 then
  1975. lastid= "http://www.roblox.com/asset/?id=2984966954"
  1976.  
  1977. elseif CurId == 6 then
  1978. lastid= "http://www.roblox.com/asset/?id=3547074406"
  1979.  
  1980.  
  1981.  
  1982. end
  1983.  
  1984.  
  1985. lastsongpos = 0
  1986. s2.TimePosition = lastsongpos
  1987.  
  1988.  
  1989. end
  1990.  
  1991.  
  1992. end
  1993.  
  1994. mouse.KeyDown:connect(KeyDownF)
  1995. Anim = "Walk"
  1996. coroutine.wrap(function()
  1997. while true do
  1998. if MeHasDied then break end
  1999. inairvel=((Humanoid.MoveDirection * Vector3.new(1, 0, 1)).magnitude)*1
  2000.  
  2001. --forWRL
  2002. if inairvel > 30 then
  2003. inairvel=30
  2004. end
  2005. inairvel=inairvel/50*2
  2006. Swait()
  2007. if attack == false then
  2008. if Anim == "Jump" then
  2009. change = 0.60*2
  2010. SetTween(RJW,{C0=RootCF* cn(0, 0 + (0.0395/2) * math.cos(sine / 8), -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(-6.5 - 1.5 * math.cos(sine / 8))+(inairvel*forWFB)/2, math.rad(0)-(inairvel*forWRL)/2, math.rad(0))},"Quad","Out",0.25)
  2011. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(-26.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(-0))},"Quad","Out",0.25)
  2012. SetTween(RW,{C0=cf(1.4 + .05 * math.cos(sine / 8) , 0.5 + .05 * math.cos(sine / 8), .0) * angles(math.rad(140 - 2 * math.cos(sine / 8 )), math.rad(-5), math.rad(8 + 4 * math.cos(sine / 8)))},"Quad","Out",0.2)
  2013. SetTween(LW,{C0=cf(-1.4 + .05 * math.cos(sine / 8), 0.5 + .05 * math.cos(sine / 8), .0) * angles(math.rad(140 - 2 * math.cos(sine / 8 )), math.rad(5), math.rad(-8 - 4 * math.cos(sine / 8 )))},"Quad","Out",0.2)
  2014. SetTween(RH,{C0=CFrame.new(.5, -0.85+ .05 * math.cos(sine / 15), -.2) * CFrame.Angles(math.rad(-15 -1* math.cos(sine / 10)),math.rad(0),math.rad(0))},"Quad","InOut",0.075)
  2015. SetTween(LH,{C0=CFrame.new(-.5, -0.35+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-25 +1* math.cos(sine / 10)),math.rad(0),math.rad(0))},"Quad","InOut",0.075)
  2016.  
  2017.  
  2018.  
  2019. elseif Anim == "Fall" then
  2020. change = 0.60*2
  2021. SetTween(RJW,{C0=RootCF*cn(0, 0 + (0.0395/2) * math.cos(sine / 8), -0.5 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(5.5 - 1.5 * math.cos(sine / 8))-(inairvel*forWFB)/2, math.rad(0)+(inairvel*forWRL)/2, math.rad(0))},"Quad","Out",0.35)
  2022. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(26.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(-0))},"Quad","Out",0.25)
  2023. SetTween(RW,{C0=cf(1.4 + .05 * math.cos(sine / 8) , 0.5 + .05 * math.cos(sine / 8), .0) * angles(math.rad(105 - 2 * math.cos(sine / 8 )), math.rad(-15), math.rad(80 + 4 * math.cos(sine / 8)))},"Quad","Out",0.2)
  2024. SetTween(LW,{C0=cf(-1.4 + .05 * math.cos(sine / 8), 0.5 + .05 * math.cos(sine / 8), .0) * angles(math.rad(105 - 2 * math.cos(sine / 8 )), math.rad(15), math.rad(-80 - 4 * math.cos(sine / 8 )))},"Quad","Out",0.2)
  2025. SetTween(RH,{C0=CFrame.new(.5, -0.15+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-15 -1* math.cos(sine / 10)),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  2026. SetTween(LH,{C0=CFrame.new(-.5, -0.55+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-0 +1* math.cos(sine / 10)),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  2027.  
  2028.  
  2029.  
  2030. elseif Anim == "Idle" then
  2031.  
  2032.  
  2033. local dahspeed=1
  2034. if attack == true and mememode == true then
  2035. dahspeed=5
  2036. end
  2037.  
  2038.  
  2039.  
  2040. if agresive == false then
  2041.  
  2042. change = (0.60*1.75)*dahspeed
  2043. Humanoid.JumpPower = 60
  2044. Humanoid.WalkSpeed=16
  2045.  
  2046.  
  2047.  
  2048. local ADNum = 0
  2049. SetTween(RJW,{C0=RootCF*cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))) * angles(math.rad(1.5 - 1 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(-20))},"Quad","InOut",0.1)
  2050. SetTween(NeckW,{C0=NeckCF*angles(math.rad(6.5 - 3.5 * math.sin(sine / 8 +ADNum* math.cos(sine / 8*2))), math.rad(2.5-5.5 * math.cos(sine / 16)), math.rad(20 - 6.5 * math.cos(sine / 15 +.4* math.cos(sine / 10))))},"Quad","InOut",0.1)
  2051. SetTween(RW,{C0=cf(1.45 + .0 * math.cos(sine / 8) , 0.5 + .05 * math.cos(sine / 8), .0) * angles(math.rad(0 + 3 * math.sin(sine / 8 )), math.rad(-5), math.rad(4 + 4 * math.cos(sine / 8)))},"Quad","Out",0.2)
  2052. SetTween(LW,{C0=cf(-1.45 + .0 * math.cos(sine / 8), 0.5 + .05 * math.cos(sine / 8), .0) * angles(math.rad(0 + 3 * math.sin(sine / 8 )), math.rad(5), math.rad(-4 - 4 * math.cos(sine / 8 )))},"Quad","Out",0.2)
  2053. SetTween(RH,{C0=CFrame.new(.5, -0.95- .04 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2)), 0) * CFrame.Angles(math.rad(1.5 - 1 * math.cos(sine / 8)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 8)))},"Quad","InOut",0.1)
  2054. SetTween(LH,{C0=CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2)), 0) * CFrame.Angles(math.rad(1.5 - 1 * math.cos(sine / 8)),math.rad(20),math.rad(-2.5- 0.0 * math.cos(sine / 8)))},"Quad","InOut",0.1)
  2055. else
  2056.  
  2057.  
  2058. change = (0.60*1.75)*dahspeed
  2059. Humanoid.JumpPower = 60
  2060. Humanoid.WalkSpeed=16
  2061.  
  2062.  
  2063.  
  2064. local ADNum = 0
  2065. SetTween(RJW,{C0=RootCF*cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))) * angles(math.rad(10.5 - 1 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(-5))},"Quad","InOut",0.1)
  2066. SetTween(NeckW,{C0=NeckCF*angles(math.rad(-6.5 - 3.5 * math.sin(sine / 8 +ADNum* math.cos(sine / 8*2))), math.rad(2.5-5.5 * math.cos(sine / 16)), math.rad(5 - 6.5 * math.cos(sine / 15 +.4* math.cos(sine / 10))))},"Quad","InOut",0.1)
  2067. SetTween(RW,{C0=cf(1.45 + .0 * math.cos(sine / 8) , 0.5 + .05 * math.cos(sine / 8), .0) * angles(math.rad(10 + 3 * math.sin(sine / 8 )), math.rad(25), math.rad(40 + 4 * math.cos(sine / 8)))},"Quad","Out",0.2)
  2068. SetTween(LW,{C0=cf(-1.45 + .0 * math.cos(sine / 8), 0.5 + .05 * math.cos(sine / 8), .0) * angles(math.rad(10 + 3 * math.sin(sine / 8 )), math.rad(-25), math.rad(-40 - 4 * math.cos(sine / 8 )))},"Quad","Out",0.2)
  2069. SetTween(RH,{C0=CFrame.new(.5, -0.95- .04 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2)), 0) * CFrame.Angles(math.rad(20.5 - 1 * math.cos(sine / 8)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 8)))},"Quad","InOut",0.1)
  2070. SetTween(LH,{C0=CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2)), 0) * CFrame.Angles(math.rad(1.5 - 1 * math.cos(sine / 8)),math.rad(20),math.rad(-2.5- 0.0 * math.cos(sine / 8)))},"Quad","InOut",0.1)
  2071.  
  2072. end
  2073.  
  2074.  
  2075.  
  2076.  
  2077.  
  2078.  
  2079.  
  2080. elseif Anim == "Walk" then
  2081.  
  2082. if agresive == false then
  2083.  
  2084. local speed=1.0
  2085. if mememode == true then
  2086. speed=4
  2087. end
  2088.  
  2089.  
  2090. change = 2.4*speed
  2091. Humanoid.JumpPower = 60*speed
  2092. Humanoid.WalkSpeed=16*speed
  2093.  
  2094.  
  2095. local RH2 = cf(-forWRL/7 * math.cos(sine / 8 ),0,forWFB/7 * math.cos(sine / 8 ))*angles(math.rad(-forWFB*30) * math.cos(sine / 8 ),0,math.rad(-forWRL*30) * math.cos(sine / 8 ))
  2096. local LH2 = cf(forWRL/7 * math.cos(sine / 8 ),0,-forWFB/7 * math.cos(sine / 8 ))*angles(math.rad(forWFB*30) * math.cos(sine / 8 ),0,math.rad(forWRL*30) * math.cos(sine / 8 ))
  2097.  
  2098. SetTween(RJW,{C0=RootCF*CFrame.new(0, 0 , -0.05 + 0.055 * math.cos(sine / 4) + -math.sin(sine / 4) / 8) * angles(math.rad((forWFB*2 - forWFB * math.cos(sine / 4))*7), math.rad((-forWRL*2 - -forWRL * math.cos(sine / 4))*5) , math.rad(8 * math.cos(sine / 8)))},"Linear","InOut",WalkAnimMove/speed)
  2099. SetTween(NeckW,{C0=NeckCF*CFrame.new(0, 0, 0 + 0.025 * math.cos(sine / 4)) * angles(math.rad((-forWFB*1 - -forWFB * math.cos(sine / 4))*7), math.rad((forWRL*2 - forWRL * math.cos(sine / 4))*3.5), math.rad(-forWRL*45+-8 * math.cos(sine / 8)))},"Linear","InOut",WalkAnimMove/speed)
  2100. SetTween(RW,{C0=cf(1.45 + .0 * math.cos(sine / 8) , 0.5 + forWRL/50* math.cos(sine / 8), 0) * angles(math.rad(0 + forWFB*15 * math.cos(sine / 8 )), math.rad(0), math.rad(8 + forWRL*5 * math.cos(sine / 8)))},"Linear","Out",WalkAnimMove/speed)
  2101. SetTween(LW,{C0=cf(-1.45 + .0 * math.cos(sine / 8), 0.5 + forWRL/50 * math.cos(sine / 8), 0) * angles(math.rad(0 - forWFB*15 * math.cos(sine / 8 )), math.rad(0), math.rad(-8 - forWRL*5 * math.cos(sine / 8 )))},"Linear","Out",WalkAnimMove/speed)
  2102. SetTween(RH,{C0=CFrame.new(.5, -0.85+ .15 * math.sin(sine / 8 ), -.15+.15* math.cos(sine / 8 ))*RH2 * CFrame.Angles(math.rad(0 - 5 * math.cos(sine / 8)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 8)))},"Linear","InOut",WalkAnimMove/speed)
  2103. SetTween(LH,{C0=CFrame.new(-.5, -0.85- .15 * math.sin(sine / 8 ), -.15-.15* math.cos(sine / 8 ))*LH2 * CFrame.Angles(math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8)))},"Linear","InOut",WalkAnimMove/speed)
  2104.  
  2105.  
  2106. else
  2107.  
  2108.  
  2109.  
  2110. local speed=1.6
  2111. if mememode == true then
  2112. speed=4
  2113. end
  2114.  
  2115.  
  2116. change = 2.5*speed
  2117. Humanoid.JumpPower = 60*speed
  2118. Humanoid.WalkSpeed=22*speed
  2119.  
  2120.  
  2121. local RH2 = cf(-forWRL/7 * math.cos(sine / 8 ),0,forWFB/7 * math.cos(sine / 8 ))*angles(math.rad(forWFB*89) * math.cos(sine / 8 ),mr(-forWRL*55/2* math.cos(sine / 8 )),math.rad(forWRL*55/1 * math.cos(sine / 8 )))
  2122. local LH2 = cf(forWRL/7 * math.sin(sine / 8 ),0,-forWFB/7 * math.cos(sine / 8 ))*angles(math.rad(forWFB*89) * math.cos(sine / 8 ),mr(forWRL*55/2* math.sin(sine / 8 )),math.rad(-forWRL*55/1* math.sin(sine / 8 )) )
  2123.  
  2124. SetTween(RJW,{C0=RootCF*CFrame.new(forWRL*1 * math.sin(sine / 8), forWFB*1 * math.sin(sine / 8) , -0.5 - 0.255 * math.cos(sine / 8) + -math.sin(sine / 8) / 8) * angles(math.rad(85+( forWFB * math.cos(sine / 8))*20), math.rad(( -forWRL * math.cos(sine / 4))*1) , math.rad((-forWRL * math.cos(sine / 8))*10))},"Linear","InOut",WalkAnimMove/speed)
  2125. SetTween(NeckW,{C0=NeckCF*CFrame.new(0, 0, 0 + 0.025 * math.cos(sine / 4)) * angles(math.rad(-20+(-forWFB*1 - -forWFB * math.cos(sine / 4))*5), math.rad((forWRL*2 - forWRL * math.cos(sine / 4))*3.5), math.rad(-forWRL*45+-8 * math.cos(sine / 8)))},"Linear","InOut",WalkAnimMove/speed)
  2126. SetTween(RW,{C0=cf(1.0 + .0 * math.cos(sine / 8) , .5-forWFB*0.5* math.sin(sine / 8), -.4) * angles(math.rad(95 - forWFB*75 * math.sin(sine / 8 )), math.rad(0), math.rad(-8+(-forWRL*55* math.sin(sine / 8 )) + 10 * math.cos(sine / 8)))},"Linear","Out",WalkAnimMove/speed)
  2127. SetTween(LW,{C0=cf(-1.0 + .0 * math.cos(sine / 8), .5-forWFB*0.5* math.sin(sine / 8), -.4) * angles(math.rad(95 - forWFB*75 * math.sin(sine / 8 )), math.rad(0), math.rad(8+(forWRL*55* math.cos(sine / 8 )) - 10 * math.cos(sine / 8 )))},"Linear","Out",WalkAnimMove/speed)
  2128. SetTween(RH,{C0=CFrame.new(.5, -0.85- .25 * math.sin(sine / 8 ), -.15-.25* math.sin(sine / 8 ))*RH2 * CFrame.Angles(math.rad(60 - 5 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8)))},"Linear","InOut",WalkAnimMove/speed)
  2129. SetTween(LH,{C0=CFrame.new(-.5, -0.85- .25 * math.sin(sine / 8 ), -.15-.25* math.sin(sine / 8 ))*LH2 * CFrame.Angles(math.rad(60 - 5 * math.sin(sine / 8)),math.rad(0),math.rad(2.5- 0.0 * math.sin(sine / 8)))},"Linear","InOut",WalkAnimMove/speed)
  2130.  
  2131. end
  2132.  
  2133.  
  2134. elseif Anim == "Sit" then
  2135. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  2136. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  2137. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","Out",0.1)
  2138. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","Out",0.1)
  2139. SetTween(RH,{C0=CFrame.new(.5, -1, 0)*angles(math.rad(90),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  2140. SetTween(LH,{C0=CFrame.new(-.5, -1, 0)*angles(math.rad(90),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  2141.  
  2142. end
  2143. end
  2144. end
  2145. end)()
  2146.  
  2147.  
  2148. coroutine.resume(coroutine.create(function()
  2149. while Humanoid.Health>0.001 do
  2150. if MeHasDied then break end
  2151. sine = sine + change
  2152. hitfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  2153. if Character:FindFirstChild("Sound") then
  2154. Character:FindFirstChild("Sound"):Destroy()
  2155. end
  2156. local torvel = (Humanoid.MoveDirection * Vector3.new(1, 0, 1)).magnitude
  2157. local velderp = RootPart.Velocity.y
  2158. if RootPart.Velocity.y > 1 and hitfloor == nil then
  2159. Anim = "Jump"
  2160. elseif RootPart.Velocity.y < -1 and hitfloor == nil then
  2161. Anim = "Fall"
  2162. elseif Humanoid.Sit == true then
  2163. Anim = "Sit"
  2164. elseif torvel < .5 and hitfloor ~= nil then
  2165. Anim = "Idle"
  2166. elseif torvel > .5 and hitfloor ~= nil then
  2167. Anim = "Walk"
  2168. else
  2169. Anim = ""
  2170. end
  2171.  
  2172.  
  2173. local Ccf=RootPart.CFrame
  2174. --warn(Humanoid.MoveDirection*RootPart.CFrame.lookVector)
  2175. local Walktest1 = Humanoid.MoveDirection*Ccf.LookVector
  2176. local Walktest2 = Humanoid.MoveDirection*Ccf.RightVector
  2177. --warn(Walktest1.Z.."/"..Walktest1.X)
  2178. --warn(Walktest2.Z.."/"..Walktest2.X)
  2179. forWFB = Walktest1.X+Walktest1.Z
  2180. forWRL = Walktest2.X+Walktest2.Z
  2181.  
  2182.  
  2183.  
  2184.  
  2185.  
  2186. --print(Humanoid.MoveDirection)
  2187. --warn(Torso.CFrame.lookVector)
  2188.  
  2189.  
  2190.  
  2191.  
  2192. coroutine.resume(coroutine.create(function()
  2193.  
  2194.  
  2195. if s2.Parent == nil or s2 == nil then
  2196.  
  2197. s2 = s2c:Clone()
  2198. s2.Parent = Torso
  2199. s2.Name = "BGMusic"
  2200. -- s2.SoundId = lastid
  2201. s2.Pitch = 1
  2202. s2.Volume = 1.5
  2203. s2.Looped = true
  2204. s2.archivable = false
  2205. s2.TimePosition = lastsongpos
  2206. if playsong == true then
  2207. s2:play()
  2208. elseif playsong == false then
  2209. s2:stop()
  2210. end
  2211.  
  2212.  
  2213. else
  2214. lastsongpos=s2.TimePosition
  2215. s2.Pitch = 1
  2216.  
  2217. s2.Volume = 1.5
  2218.  
  2219. s2.Looped = true
  2220. s2.SoundId = lastid
  2221. s2.EmitterSize = 30
  2222. end
  2223. end))
  2224. Swait()
  2225. end
  2226. end))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement