GojiGaming1337

Untitled

May 22nd, 2018
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 59.96 KB | None | 0 0
  1. --[[
  2. req list
  3.  
  4. heart control (the force)
  5.  
  6. teleport
  7.  
  8. bone zone
  9.  
  10. throw bones
  11. --]]
  12.  
  13.  
  14. local Level=1
  15. local function RiseLevel(hum,dmg)
  16. if tonumber(Level)then
  17. if hum.Health>0 and hum.Health-dmg<=0 then Level=Level+1
  18. local s=Instance.new("Sound")end--s. end
  19. else warn'String is not able to level up , or having issure to level.'end
  20. end
  21.  
  22. Player = game:GetService("Players").LocalPlayer
  23. PlayerGui = Player.PlayerGui
  24. Cam = workspace.CurrentCamera
  25. Backpack = Player.Backpack
  26. Character = Player.Character
  27. Humanoid = Character.Humanoid
  28. Mouse = Player:GetMouse()
  29. RootPart = Character["HumanoidRootPart"]
  30. Torso = Character["Torso"]
  31. Head = Character["Head"]
  32. rarm = Character["Right Arm"]
  33. LeftArm = Character["Left Arm"]
  34. rleg = Character["Right Leg"]
  35. larm = Character["Left Leg"]
  36. RootJoint = RootPart["RootJoint"]
  37. Neck = Torso["Neck"]
  38. RightShoulder = Torso["Right Shoulder"]
  39. LeftShoulder = Torso["Left Shoulder"]
  40. RightHip = Torso["Right Hip"]
  41. LeftHip = Torso["Left Hip"]
  42. Character.Archivable = true
  43.  
  44. IT = Instance.new
  45. CF = CFrame.new
  46. VT = Vector3.new
  47. RAD = math.rad
  48. C3 = Color3.new
  49. UD2 = UDim2.new
  50. BRICKC = BrickColor.new
  51. ANGLES = CFrame.Angles
  52. EULER = CFrame.fromEulerAnglesXYZ
  53. COS = math.cos
  54. ACOS = math.acos
  55. SIN = math.sin
  56. ASIN = math.asin
  57. ABS = math.abs
  58. MRANDOM = math.random
  59. FLOOR = math.floor
  60.  
  61. local SKILLTEXTCOLOR = C3(159/255, 111/255, 183/255)
  62.  
  63. local Tired={n=0,m=10000,d=false}local DefAble=true
  64. local p = game:service'Players'.LocalPlayer
  65. local char = p.Character
  66. local mouse = p:GetMouse()
  67. local larm = char["Left Arm"]
  68. local rarm = char["Right Arm"]
  69. local lleg = char["Left Leg"]
  70. local rleg = char["Right Leg"]
  71. local hed = char.Head
  72. local Torso = char.Torso
  73. local hum = char.Humanoid
  74. local cam = workspace.CurrentCamera
  75. local root = char.HumanoidRootPart
  76. local deb = false
  77. local shot = 0
  78. local potential = false
  79. local debris=game:service"Debris"
  80. local l = game:GetService("Lighting")
  81. local rs = game:GetService("RunService").RenderStepped
  82.  
  83. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  84. local Speed = 20
  85. local SIZE = 1.4
  86. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  87. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  88. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  89. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  90. local DAMAGEMULTIPLIER = 1
  91. local ANIM = "Idle"
  92. local ATTACK = false
  93. local EQUIPPED = false
  94. local HOLD = false
  95. local COMBO = 1
  96. local Rooted = false
  97. local SINE = 0
  98. local KEYHOLD = false
  99. local CHANGE = 2 / Animation_Speed
  100. local WALKINGANIM = false
  101. local VALUE1 = false
  102. local VALUE2 = false
  103. local ROBLOXIDLEANIMATION = IT("Animation")
  104. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  105. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  106. local ATANIM = IT("Animation")
  107. ATANIM.Name = "Attack Animation"
  108. ATANIM.AnimationId = "http://www.roblox.com/asset/?id=74894663"
  109. --ROBLOXIDLEANIMATION.Parent = Humanoid
  110. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  111. WEAPONGUI.Name = "Weapon GUI"
  112. local Weapon = IT("Model")
  113. Weapon.Name = "Adds"
  114. local Effects = IT("Folder", Weapon)
  115. Effects.Name = "Effects"
  116. local ANIMATOR = Humanoid.Animator
  117. local ANIMATE = Character.Animate
  118. local UNANCHOR = true
  119. local CLOCKLOOP = 0
  120. local CLOCKTARGET = nil
  121. local CLOCKSPEED = 30
  122. script.Parent = WEAPONGUI
  123. local CLONE = Character:Clone()
  124. CLONE.Parent = nil
  125. Character.Archivable = false
  126. local sick = Instance.new("Sound",Torso)
  127.  
  128. ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  129. math.randomseed(os.time())
  130. for i,v in pairs(char:children()) do
  131. if v:IsA("Accessory") then
  132. v:Destroy()
  133. end
  134. end
  135. for i,v in pairs (hed:GetChildren()) do
  136. if v:IsA("Sound") then
  137. v:Destroy()
  138. end
  139. end
  140. music = Instance.new("Sound",c)
  141. music2 = Instance.new("Sound",c)
  142. local pl = game:service'Players'.LocalPlayer
  143. local chara = pl.Character
  144. local hum = chara:FindFirstChildOfClass("Humanoid")
  145. hum.MaxHealth = 10000000000000000000
  146. hum.Health = 10000000000000000000
  147. maincol = "White"
  148. increment = 20
  149. if 1 then
  150. local MovesGui=Instance.new("ScreenGui",p:FindFirstChildOfClass("PlayerGui"))
  151. local Frm=Instance.new("Frame",MovesGui)Frm.BackgroundColor3=Color3.new()Frm.BorderSizePixel=0
  152. Frm.BackgroundTransparency=.5 Frm.Size=UDim2.new(.3,0,.5,0)local Show=true Frm.Position=UDim2.new(.7,0,.5,0)
  153. local idk=Instance.new("TextButton",Frm)idk.Size=UDim2.new(.5,0,.1,0)idk.Position=UDim2.new(-.5,0,.8,0)
  154. idk.Text="Hide"idk.TextStrokeTransparency=0 idk.BackgroundTransparency=.5 idk.BackgroundColor3=Color3.new()
  155. idk.BorderSizePixel=0 idk.TextColor3=Color3.new(1,1,1)
  156. idk.MouseButton1Click:connect(function()Show=not Show idk.Text=Show and "Hide"or"Show"end)
  157. local normal=Instance.new("TextLabel",Frm)normal.Size=UDim2.new(1,0,1,0)normal.TextStrokeTransparency=0
  158. normal.BackgroundTransparency=1 normal.TextColor3=Color3.new(1,1,1)
  159. normal.TextXAlignment="Left"normal.TextYAlignment="Top"
  160. normal.Text=[[Attacks----------------------------------
  161. K: Passive
  162. !*Q :Gaster Blaster (quick)
  163. ! E :Gaster Blaster (high damage)
  164. T :Teleport
  165. F :Bone Zone
  166. *G :Bone Throw
  167. *C :Heart Control
  168. H
  169. ]]
  170. spawn(function()
  171. while game:service'RunService'.RenderStepped:wait()do
  172. Frm.Position=Frm.Position:lerp(UDim2.new(not Show and 1 or .7,0,.5,0),.1)
  173. end end)
  174. end
  175. --------------------------------------------------------
  176. hed.face.Texture = "rbxassetid://416805592"
  177. chara:WaitForChild"Body Colors"
  178. char["Body Colors"].HeadColor = BrickColor.new("Institutional white")
  179. char["Body Colors"].LeftArmColor = BrickColor.new("Institutional white")
  180. char["Body Colors"].RightArmColor = BrickColor.new("Institutional white")
  181. char["Body Colors"].TorsoColor = BrickColor.new("Institutional white")
  182. char["Body Colors"].RightLegColor = BrickColor.new("Institutional white")
  183. char["Body Colors"].LeftArmColor = BrickColor.new("Institutional white")
  184. ---------------------------------------
  185. ypcall(function()
  186. shirt = Instance.new("Shirt", char)
  187. shirt.Name = "Shirt"
  188. pants = Instance.new("Pants", char)
  189. pants.Name = "Pants"
  190. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=357134154"
  191. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=343128365"
  192. end)
  193. --------------------------------------------------------
  194. KG = Instance.new("Sound", game.Players.LocalPlayer.Character)
  195. KG.Volume = 3
  196. KG.SoundId = "rbxassetid://519341881"
  197. KG.Looped = true
  198. KG:Play()
  199.  
  200. --------------------------------------------------------
  201. CV="Cyan"
  202. p = game.Players.LocalPlayer
  203. char = p.Character
  204. local txt = Instance.new("BillboardGui", char)
  205. txt.Adornee = char .Head
  206. txt.Name = "_status"
  207. txt.Size = UDim2.new(2, 0, 1.2, 0)
  208. txt.StudsOffset = Vector3.new(-9, 8, 0)
  209. local text = Instance.new("TextLabel", txt)
  210. text.Size = UDim2.new(10, 0, 7, 0)
  211. text.FontSize = "Size24"
  212. text.TextScaled = true
  213. text.TextTransparency = 0
  214. text.BackgroundTransparency = 1
  215. text.TextTransparency = 0
  216. text.TextStrokeTransparency = 0
  217. text.Font = "Arcade"
  218. text.TextStrokeColor3 = Color3.new(255,255,255)
  219.  
  220. v=Instance.new("Part")
  221. v.Name = "ColorBrick"
  222. v.Parent=p.Character
  223. v.FormFactor="Symmetric"
  224. v.Anchored=true
  225. v.CanCollide=false
  226. v.BottomSurface="Smooth"
  227. v.TopSurface="Smooth"
  228. v.Size=Vector3.new(10,5,3)
  229. v.Transparency=1
  230. v.CFrame=char.Torso.CFrame
  231. v.BrickColor=BrickColor.new(CV)
  232. v.Transparency=1
  233. text.TextColor3 = Color3.new(0,0,0)
  234. v.Shape="Block"
  235. wait()
  236. text.Text = "Do You Wanna Have A bad Time?"
  237. wait(2)
  238. text.Text = "Any last words,Kid?";
  239. wait(3)
  240. text.TextColor3 = Color3.new(0,0,0)
  241. spawn(function()while wait()do text.Text = "Sans LV"..tostring(Level)end end)
  242. hed.face.Texture = "rbxassetid://871052201"
  243. --------------------------------------------------------
  244. pls = game:GetService'Players'
  245. rs = game:GetService'RunService'
  246. uinps = game:GetService'UserInputService'
  247. lp = pls.LocalPlayer
  248. mouse = lp:GetMouse()
  249. c = lp.Character
  250. human = c.Humanoid
  251. human.MaxHealth = 1/0
  252. wait()
  253. human.Health = 0/0
  254. c.Health:Destroy()
  255. --------------------------------------------------------
  256. Hulmet = Instance.new("Part")
  257. Hulmet.Position = Hulmet.Position + Vector3.new(0,10,0)
  258. Hulmet.Parent = game.Players.LocalPlayer.Character
  259. Hulmet.Name = "Helmet"
  260. Hulmet.Size = Vector3.new(1.643, 1.157, 1.696)
  261. Hulmet.Material = Enum.Material.Metal
  262. Hulmet.BrickColor = BrickColor.new("Grey")
  263. MSHE = Instance.new("SpecialMesh")
  264. MSHE.Parent = Hulmet
  265. MSHE.MeshId = "rbxassetid://101203373"
  266. WULD = Instance.new("Weld")
  267. WULD.Parent = Hulmet
  268. WULD.Part0 = Hulmet
  269. WULD.Part1 = game.Players.LocalPlayer.Character.Head
  270. WULD.C1 = CFrame.Angles(0,0,0)
  271. WULD.C0 = CFrame.new(0,0,0)
  272. --------------------------------------------------------
  273.  
  274. Debounces = {
  275. AnimationCycles = 0;
  276. FPS = 0;
  277. scalingDamage = false;
  278. damageLevel = 0;
  279. attackNumber = 0;
  280. isAttacking = false;
  281. isMoving = false;
  282. isSprinting = false;
  283. isBoosting = false;
  284. isPassive = false;
  285. isTyping = false;
  286. }
  287.  
  288. --------------------------------------------------------
  289.  
  290. numLerp = function(start, goal, alpha)
  291. return(((goal - start) * alpha) + start)
  292. end
  293.  
  294. CFrameZero = function()
  295. return CFrame.new(Vector3.new())
  296. end
  297.  
  298. rad = function(value)
  299. return math.rad(value)
  300. end
  301.  
  302. CFAngles = function(Vector)
  303. return CFrame.Angles(rad(Vector.x),rad(Vector.y),rad(Vector.z))
  304. end
  305.  
  306. --------------------------------------------------------
  307.  
  308. AnimStat = {
  309. lerpSpeed = .2;
  310. lerpSpeed2 = .35;
  311. lerpTween = 0;
  312. }
  313.  
  314. Joints = {
  315. c.HumanoidRootPart.RootJoint;
  316. c.Torso.Neck;
  317. c.Torso['Left Shoulder'];
  318. c.Torso['Right Shoulder'];
  319. c.Torso['Left Hip'];
  320. c.Torso['Right Hip'];
  321. }
  322.  
  323. JointTargets = {
  324. CFrameZero();
  325. CFrameZero();
  326. CFrameZero();
  327. CFrameZero();
  328. CFrameZero();
  329. CFrameZero();
  330. }
  331.  
  332. --------------------------------------------------------
  333.  
  334. BodyColors = {
  335. HeadColor = BrickColor.new("Institutional white");
  336. LeftArmColor = BrickColor.new("Institutional white");
  337. rarmColor = BrickColor.new("Institutional white");
  338. larmColor = BrickColor.new("Institutional white");
  339. rlegColor = BrickColor.new("Institutional white");
  340. TorsoColor = BrickColor.new("Mid gray");
  341. }
  342.  
  343. Customs = {
  344. Face = "http://www.roblox.com/asset/?id=871052201";
  345. Shirt = "http://www.roblox.com/asset/?id=357134155";
  346. Pants = "http://www.roblox.com/asset/?id=343128366";
  347. }
  348.  
  349. --------------------------------------------------------
  350.  
  351. prepareCharacter = function()
  352. local transPoints = {
  353. NumberSequenceKeypoint.new(0,.819,.0375),
  354. NumberSequenceKeypoint.new(.207,.594,.0187),
  355. NumberSequenceKeypoint.new(.4,.55,.031),
  356. NumberSequenceKeypoint.new(.57,.619,.05),
  357. NumberSequenceKeypoint.new(.76,.8,.0375),
  358. NumberSequenceKeypoint.new(1,1,0),
  359. }
  360. local sizePoints = {
  361. NumberSequenceKeypoint.new(0,.687,0),
  362. NumberSequenceKeypoint.new(.111,.875,0),
  363. NumberSequenceKeypoint.new(.327,1.19,0),
  364. NumberSequenceKeypoint.new(.646,1.56,0),
  365. NumberSequenceKeypoint.new(.805,1.37,0),
  366. NumberSequenceKeypoint.new(.905,1.06,0),
  367. NumberSequenceKeypoint.new(.968,.938,0),
  368. NumberSequenceKeypoint.new(.984,1.13,0),
  369. NumberSequenceKeypoint.new(1,1.62,0),
  370. }
  371. local Size = NumberSequence.new(sizePoints)
  372. local Transparency = NumberSequence.new(transPoints)
  373. rayModel = Instance.new("Model",c)
  374. efcModel = Instance.new("Model",c)
  375. efxBlock = Instance.new("Part",c)
  376. efxBlock.BrickColor = BrickColor.new("Cyan")
  377. efxBlock.Material = "Neon"
  378. efxBlock.FormFactor = "Custom"
  379. efxBlock.Transparency = .3
  380. efxBlock.Size = Vector3.new(.3,.3,.3)
  381. local mesh = Instance.new("SpecialMesh",efxBlock)
  382. mesh.MeshType = Enum.MeshType.Sphere
  383. mesh.Scale = Vector3.new(1,1,1)
  384. light = Instance.new("PointLight",c.Head)
  385. light.Range = 10
  386. light.Color = Color3.new(0,200/255,1)
  387. light.Shadows = false
  388. local particles = Instance.new("ParticleEmitter",efxBlock)
  389. particles.Color = ColorSequence.new(Color3.fromRGB(48,17,109))
  390. particles.LightEmission = .5
  391. particles.Size = Size
  392. particles.Name = "Fire"
  393. particles.Transparency = Transparency
  394. particles.LockedToPart = true
  395. particles.VelocityInheritance = .5
  396. particles.LockedToPart = true
  397. particles.Rate = 70
  398. particles.Texture = "rbxassetid://74675987"
  399. particles.Lifetime = NumberRange.new(2,2)
  400. particles.RotSpeed = NumberRange.new(100,100)
  401. particles.Speed = NumberRange.new(7,7)
  402. script.Parent = efxBlock
  403. fire = particles
  404. local offset = Vector3.new(-0.11, .23, -0.5)
  405. local weld = Instance.new("Weld",c.Head)
  406. weld.Part0 = c.Head
  407. weld.Part1 = efxBlock
  408. weld.C0 = CFrame.new(offset) * CFrame.Angles(math.rad(-40),math.rad(10),math.rad(40))
  409. efxBlock.Parent = c
  410. music.SoundId = "rbxassetid://787647971"
  411. music.Looped = true
  412. music.Volume = 0
  413. fight = music
  414. music2.SoundId = "rbxassetid://787647971"
  415. music2.Looped = true
  416. music2.Volume = 0
  417. sans = music2
  418. pointGyro = Instance.new("BodyGyro",c.HumanoidRootPart)
  419. pointGyro.P = 1e7
  420. pointGyro.D = 1e3
  421. pointGyro.MaxTorque = Vector3.new(0,1e7,0)
  422. animator = c.Humanoid:FindFirstChild("Animator")
  423. if animator then
  424. animator:Destroy()
  425. end
  426. c.Torso.roblox:Destroy()
  427. for i,v in pairs (c.Head:children()) do
  428. if v.ClassName == "Sound" then
  429. v:Destroy()
  430. end
  431. end
  432. for i = 1,#Joints do
  433. Joints[i].C1 = CFrame.new(Vector3.new())
  434. end
  435. human.WalkSpeed = 0
  436. human.JumpPower = 0
  437. end
  438.  
  439.  
  440. ArtificialHB = Instance.new("BindableEvent", script)
  441. ArtificialHB.Name = "ArtificialHB"
  442.  
  443. script:WaitForChild("ArtificialHB")
  444.  
  445. frame = Frame_Speed
  446. tf = 0
  447. allowframeloss = false
  448. tossremainder = false
  449. lastframe = tick()
  450. script.ArtificialHB:Fire()
  451.  
  452. game:GetService("RunService").Heartbeat:connect(function(s, p)
  453. tf = tf + s
  454. if tf >= frame then
  455. if allowframeloss then
  456. script.ArtificialHB:Fire()
  457. lastframe = tick()
  458. else
  459. for i = 1, math.floor(tf / frame) do
  460. script.ArtificialHB:Fire()
  461. end
  462. lastframe = tick()
  463. end
  464. if tossremainder then
  465. tf = 0
  466. else
  467. tf = tf - frame * math.floor(tf / frame)
  468. end
  469. end
  470. end)
  471.  
  472. function Swait(NUMBER)
  473. if NUMBER == 0 or NUMBER == nil then
  474. ArtificialHB.Event:wait()
  475. else
  476. for i = 1, NUMBER do
  477. ArtificialHB.Event:wait()
  478. end
  479. end
  480. end
  481.  
  482.  
  483. uinps.InputBegan:connect(function(InputObject)
  484. if InputObject.KeyCode == Enum.KeyCode.K and Debounces.isTyping == false then
  485. Debounces.isPassive = not Debounces.isPassive
  486. end
  487. end)
  488.  
  489. setJointCFrames = function(table)
  490. for i = 1,#table do
  491. JointTargets[i] = table[i]
  492. end
  493. AnimationCycles = 0
  494. end
  495.  
  496. setLerp = function(speed)
  497. AnimStat.lerpSpeed = speed
  498. end
  499.  
  500. setTween = function(tween)
  501. AnimStat.lerpTween = tween
  502. end
  503.  
  504. takeDamage = function(position,damage,distance,platformStand)
  505. for i,v in pairs (pls:children()) do
  506. if v.ClassName == "Player" and v:FindFirstChild("Character") then
  507. local torso = v.Character:FindFirstChild("Torso")
  508. if torso and (torso.Position - position).magnitude < distance then
  509. RiseLevel(v.Character.Humanoid,damage)
  510. v.Character.Humanoid:TakeDamage(damage)
  511. if platformStand == true then
  512. v.Character.PlatformStand = platformStand
  513. end
  514. end
  515. end
  516. end
  517. end
  518.  
  519. --------------------------------------------------------
  520.  
  521. prepareCharacter()
  522.  
  523. --------------------------------------------------------
  524. hldng={}Player=p
  525. function chatfunc(text)
  526. spawn(function()local function lerp(a,b,t)return a*(1-t)+(b*t)end
  527. local rs=game:service'RunService'.RenderStepped
  528. local function sw(n)if n==nil then rs:wait()else for i=1,n do rs:wait()end end return true end
  529. local Character=game:service'Players'.LocalPlayer.Character local RootPart=Character.HumanoidRootPart
  530. local se=Instance.new("Sound",root)se.Volume=5 se.SoundId="rbxassetid://417445954"
  531. if Character:FindFirstChild("cht")then Character.cht:Destroy()end
  532. local b=Instance.new("BillboardGui",Character)b.AlwaysOnTop=true b.Adornee=RootPart b.StudsOffsetWorldSpace=Vector3.new(0,4,0)b.Name="cht"
  533. local snum=text:len()b.Size=UDim2.new(snum/1.7,0,2,0)
  534. local texts={}
  535. for i=1,snum do
  536. texts[i]=Instance.new("TextButton",b)
  537. texts[i].Size=UDim2.new(1/snum,0,1,0)texts[i].Name=text:sub(i,i)--texts[i].TextSize=30
  538. texts[i].Text=text:sub(i,i)texts[i].Position=UDim2.new((i-1)/snum,0,.3,0)
  539. texts[i].BackgroundTransparency=1 texts[i].TextColor3=Color3.new(1)
  540. texts[i].TextStrokeTransparency=1 texts[i].Font="Cartoon"texts[i].TextScaled=1 texts[i].TextTransparency=1
  541. end
  542. local DoOpt=function(Set,Val,LerpB)for i=1,#texts do if texts[i].Parent and b.Parent then if LerpB~=nil then
  543. if typeof(texts[i][Set])=="UDim2"then texts[i][Set]=texts[i][Set]:lerp(Val,LerpB)else texts[i][Set]=lerp(texts[i][Set],Val,LerpB)end
  544. else texts[i][Set]=Val end end end end
  545. for i=1,#texts do
  546. if texts[i].Parent then
  547. texts[i].TextTransparency=0 texts[i].TextStrokeTransparency=0
  548. end
  549. if texts[i].Text~=" "then se.TimePosition=.06 se:Play()end
  550. sw(3)
  551. end
  552. sw(180)
  553. for i=1,0,-.025 do
  554. DoOpt("TextTransparency",1-i)--DoOpt("TextStrokeTransparency",1-i)
  555. sw()
  556. end
  557. b:Destroy()
  558. end)
  559. end Player.Chatted:connect(function(m)chatfunc(game:service'Chat':FilterStringAsync(m,Player,Player))end)
  560. mouse.KeyUp:connect(function(k)
  561. hldng[k]=nil
  562. end)
  563.  
  564. local function doit()
  565. if DefAble then
  566. return
  567. else
  568. if human.Health~=human.MaxHealth then
  569. DefAble=false
  570. human:Destroy()
  571. human=Instance.new("Humanoid",chara)Instance.new("Model",human).Name="Status"
  572. human.MaxHealth=1 human.Health=1
  573. human.HealthChanged:connect(doit)
  574. root.CFrame=root.CFrame*CFrame.new(0,0,10)
  575. hldng.r=nil warn"Dodged"
  576. Tired.n=Tired.n+10
  577. end
  578. end
  579. end
  580. dodge=human.HealthChanged:connect(doit)
  581. local sw=function(n)if n then for i=1,n do rs.RenderStepped:wait()end else rs.RenderStepped:wait()end end
  582. spawn(function()
  583. local sine = 0
  584. local idk=Instance.new("ScreenGui",p:FindFirstChildOfClass'PlayerGui')
  585. local frm=Instance.new("Frame",idk)frm.BorderSizePixel=0
  586. frm.BackgroundTransparency=.5 frm.Size=UDim2.new(.4,0,.03,0)
  587. frm.Position=UDim2.new(.3,0,.7,0)
  588.  
  589. local t=Instance.new("TextLabel",frm)t.Text="wait"t.BorderSizePixel=0
  590. t.TextColor3=Color3.new(1,1,1)t.TextStrokeTransparency=0-- t.TextScaled=1
  591. t.BackgroundTransparency=0 t.TextXAlignment="Left" t.BackgroundColor3=Color3.new(1)
  592. while wait()do
  593. t.Size=UDim2.new(Tired.n/Tired.m,0,1,0)
  594. if Tired.n>=Tired.m then
  595. Tired.n=Tired.m
  596. Tired.d=true
  597. end
  598. if Tired.d then
  599. Tired.n=Tired.n-5 DefAble=true hldng.r=nil
  600. end t.Text=tostring(math.floor(Tired.n*10)/10).."/"..tostring(Tired.m)
  601. if Tired.n<=0 then Tired.n=0 Tired.d=false end
  602. if DefAble then human.MaxHealth=1 human.Health=1 human.Name="Humanoid"else
  603. dodge:disconnect()human.MaxHealth=1 human.Health=1 dodge=human.HealthChanged:connect(doit)
  604.  
  605. end
  606.  
  607. if hldng.r then DefAble=false else DefAble=1 end
  608.  
  609. pointGyro.CFrame = CFrame.new(Vector3.new(),(mouse.Hit.p - c.HumanoidRootPart.CFrame.p).unit * 100)
  610. if Debounces.isAttacking == false and Debounces.isMoving == false and Debounces.isBoosting == false then
  611. setLerp(.1)
  612. if Debounces.isPassive == true then --walk
  613. setJointCFrames({
  614. CFrame.new(Vector3.new(0, -0.901 + math.sin(tick() * 1.5)/45, 0)) * CFAngles(Vector3.new(-22.001, 0, 0));
  615. CFrame.new(Vector3.new(-0.001, 1.52 + math.sin(tick() * -1.5)/35, math.sin(tick() * 1.5)/35)) * CFAngles(Vector3.new(-10.861 + math.sin((-tick() + 2) * 1.5) * 5, 13.765, -1.658));
  616. CFrame.new(Vector3.new(-1.5, -0.1 + math.sin(tick() * 1.5)/15, -0.801)) * CFAngles(Vector3.new(44.999, 0, 0));
  617. CFrame.new(Vector3.new(1.7, 0.2 + math.sin(tick() * 1.5)/15, 0.199)) * CFAngles(Vector3.new(-15.001, -15.001, 15));
  618. CFrame.new(Vector3.new(-0.7, -1.8, 0.6)) * CFAngles(Vector3.new(-59.511, 3.84, 0.489));
  619. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, -0.001));
  620. })
  621. else
  622. setJointCFrames({
  623. CFrame.new(Vector3.new(0, 0 + math.sin(tick() * 1.5)/25, 0)) * CFAngles(Vector3.new(0, 0, 0));
  624. CFrame.new(Vector3.new(0, 1.5 + math.sin(tick() * -1.5)/35, math.sin(tick() * 1.5)/35)) * CFAngles(Vector3.new(1.554 + math.sin((-tick() + 2) * 1.5) * 5, -0.001, -0.001));
  625. CFrame.new(Vector3.new(-1.06, -0.03 + math.sin(tick() * 1.5)/25, 0.449)) * CFAngles(Vector3.new(-29.511, 0, 29.51));
  626. CFrame.new(Vector3.new(1.059, -0.031 + math.sin(tick() * 1.5)/25, 0.449)) * CFAngles(Vector3.new(-29.511, -3.842, -29.511));
  627. CFrame.new(Vector3.new(-0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(0, 8.885, 0));
  628. CFrame.new(Vector3.new(0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(-0.001, -8.886, 0));
  629. })
  630. end
  631. elseif Debounces.isAttacking == false and Debounces.isMoving == true and Debounces.isBoosting == false then
  632. sine = sine + math.rad(12) --else jump
  633. human.WalkSpeed = 15
  634. setLerp(.15)
  635. setJointCFrames({
  636. CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, math.sin(sine) * -2.5, 0));
  637. CFrame.new(Vector3.new(0, 1.499, -0.04)) * CFAngles(Vector3.new(-5.676, -0.001 - math.sin(sine) * 3, -0.001));
  638. CFrame.new(Vector3.new(-1.97, 0 + math.sin(sine + .5)/20, 0.1 + math.sin(-sine)/2)/1.3) * CFAngles(Vector3.new(-5 + math.sin(sine) * 23, 0, 0));
  639. CFrame.new(Vector3.new(1.97, 0 - math.sin(sine + .5)/20, 0.1 + math.sin(sine)/2)/1.3) * CFAngles(Vector3.new(-5 + math.sin(-sine) * 23, 0, 0));
  640. CFrame.new(Vector3.new(-0.5, -1.93 - math.cos(sine)/8.7, 0.2 + math.sin(sine)/2)) * CFAngles(Vector3.new(-15 + math.sin(-sine) * 30, 0, 0));
  641. CFrame.new(Vector3.new(0.5, -1.93 + math.cos(sine)/8.7, 0.2 + math.sin(-sine)/2)) * CFAngles(Vector3.new(-15 + math.sin(sine) * 30, 0, 0));
  642. })
  643. end
  644. if Debounces.scalingDamage == true then
  645. takeDamage(c.HumanoidRootPart.Position,Debounces.damageLevel,8,true)
  646. end
  647. end
  648. end)
  649. human.Changed:connect(function(prop)
  650. if prop == "MoveDirection" then
  651. if human.MoveDirection.magnitude > .02 then
  652. Debounces.isMoving = true
  653. else
  654. Debounces.isMoving = false
  655. end
  656. end
  657. end)
  658. local dunkedon=false
  659. mouse.KeyDown:connect(function(k)
  660. hldng[k]=true
  661. if not Debounces.isAttacking then
  662. if k=="c"and not Tired.d and Debounces.isPassive then
  663. local GrabObj=mouse.Target
  664. local hum=nil
  665. if GrabObj then
  666. if not GrabObj.Anchored then
  667. if GrabObj.Parent then
  668. if GrabObj.Parent:FindFirstChild'Humanoid'then
  669. hum=GrabObj.Parent.Humanoid
  670. end
  671. end
  672. local jet=Instance.new("BodyPosition",GrabObj)
  673. if not hum then jet.D=2000 jet.P=2000 end
  674. while hldng.c and not Tired.d do
  675. jet.MaxForce=Vector3.new(10,10,10)*10000000
  676. jet.Position=mouse.Target~=nil and mouse.Hit.p or jet.Position
  677. Tired.n=Tired.n+((not hum or hum.Health==0) and 1 or 2)
  678. local vel=GrabObj.Velocity.x+GrabObj.Velocity.y+GrabObj.Velocity.z
  679. if hum and vel>20 then RiseLevel(hum,vel/400)hum.Health=hum.Health-vel/400 end
  680. sw()
  681. end
  682. jet:Destroy()
  683. else
  684. warn'The object is anchored!'
  685. end
  686. end
  687. end
  688. if k=="t"and not Tired.d then -- TELEPORT
  689. if mouse.Target then Debounces.isAttacking=true
  690. local pos=mouse.Hit KG:Pause()
  691. root.Anchored=1 root.CFrame=CFrame.new(9999,9999,109999)
  692. local jam=Instance.new("ScreenGui",p:FindFirstChildOfClass("PlayerGui"))
  693. jam.DisplayOrder=12 local j=Instance.new("Frame",jam)j.BackgroundColor3=Color3.new()
  694. j.BorderSizePixel=0 j.Size=UDim2.new(1,0,1,0)
  695. wait(1)Debounces.isAttacking=false KG:Resume()
  696. root.CFrame=pos+Vector3.new(0,3,0)
  697. jam:Destroy()root.Anchored=false
  698. end
  699. Tired.n=Tired.n+50
  700. end
  701. if k=="h"and not Tired.d and Debounces.isPassive then
  702. Rooted = false
  703. local GYRO = IT("BodyGyro",RootPart)
  704. GYRO.D = 25
  705. GYRO.P = 2000
  706. GYRO.MaxTorque = VT(0,40000,0)
  707. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  708. repeat
  709. Swait()
  710. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  711. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  712. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 4 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
  713. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  714. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  715. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  716. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  717. until HOLD == true
  718. local POS = Mouse.Hit.p
  719. local CHAINS = false
  720. local CHAINLINKS = {}
  721. local A = IT("Attachment",rarm)
  722. A.Position = VT(1,-1,0)*SIZE
  723. A.Orientation = VT(-90, -89.982, 0)
  724. local B = IT("Attachment",rarm)
  725. B.Position = VT(-1,-1,0)*SIZE
  726. B.Orientation = VT(-90, 89.988, 0)
  727. local C = IT("Attachment",rarm)
  728. C.Position = VT(0.5,-1.3,0)*SIZE
  729. C.Orientation = VT(-90, -89.982, 0)
  730. local D = IT("Attachment",rarm)
  731. D.Position = VT(-0.5,-1.3,0)*SIZE
  732. D.Orientation = VT(-90, 89.988, 0)
  733. local LIGHT = IT("Attachment",rarm)
  734. LIGHT.Position = VT(0,-1,0)*SIZE
  735. local LIGHT2 = IT("PointLight",LIGHT)
  736. LIGHT2.Range = 7
  737. LIGHT2.Brightness = 5
  738. LIGHT2.Color = SKILLTEXTCOLOR
  739. for i = 1, 2 do
  740. local TWIST = -2
  741. local START = A
  742. local END = B
  743. if i == 1 then
  744. START = B
  745. END = A
  746. end
  747. local ChainLink = IT("Beam",Torso)
  748. ChainLink.Texture = "rbxassetid://73042633"
  749. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  750. ChainLink.TextureSpeed = 1
  751. ChainLink.Width0 = 1
  752. ChainLink.Width1 = 1
  753. ChainLink.TextureLength = 2.5
  754. ChainLink.Attachment0 = START
  755. ChainLink.Attachment1 = END
  756. ChainLink.CurveSize0 = TWIST
  757. ChainLink.CurveSize1 = TWIST
  758. --ChainLink.FaceCamera = true
  759. ChainLink.Segments = 45
  760. ChainLink.Transparency = NumberSequence.new(1)
  761. table.insert(CHAINLINKS,ChainLink)
  762. end
  763. for i = 1, 2 do
  764. local TWIST = -1
  765. local START = C
  766. local END = D
  767. if i == 1 then
  768. START = D
  769. END = C
  770. end
  771. local ChainLink = IT("Beam",Torso)
  772. ChainLink.Texture = "rbxassetid://73042633"
  773. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  774. ChainLink.TextureSpeed = 1
  775. ChainLink.Width0 = 1
  776. ChainLink.Width1 = 1
  777. ChainLink.TextureLength = 5
  778. ChainLink.Attachment0 = START
  779. ChainLink.Attachment1 = END
  780. ChainLink.CurveSize0 = TWIST
  781. ChainLink.CurveSize1 = TWIST
  782. --ChainLink.FaceCamera = true
  783. ChainLink.Segments = 25
  784. ChainLink.LightEmission = 0.5
  785. ChainLink.Transparency = NumberSequence.new(1)
  786. table.insert(CHAINLINKS,ChainLink)
  787. end
  788. coroutine.resume(coroutine.create(function()
  789. repeat
  790. Swait()
  791. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  792. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  793. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0.2*SIZE) * ANGLES(RAD(60), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  794. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  795. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  796. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  797. until CHAINS == true
  798. repeat
  799. Swait()
  800. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  801. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 1 / Animation_Speed)
  802. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, -0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  803. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  804. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  805. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  806. until ATTACK == false
  807. for e = 1, 15 do
  808. Swait()
  809. for i = 1, #CHAINLINKS do
  810. CHAINLINKS[i].Transparency = NumberSequence.new((e/15))
  811. end
  812. end
  813. A:remove()
  814. B:remove()
  815. C:remove()
  816. D:remove()
  817. end))
  818. CreateSound(233856115, rarm, 5, 1.2, false)
  819. for e = 1, 15 do
  820. Swait()
  821. for i = 1, #CHAINLINKS do
  822. CHAINLINKS[i].Transparency = NumberSequence.new(1-(e/15))
  823. end
  824. end
  825. CHAINS = true
  826. Rooted = true
  827. wait(0.25)
  828. local FIST = CreatePart(3, Effects, "Neon", 0, 0.5, "Alder", "Part", VT(2,2,2))
  829. FIST.Color = C3(1, 215/255, 1)
  830. FIST.CFrame = CF(rarm.CFrame*CF(0,-1.3*SIZE,0).p,POS) * ANGLES(RAD(90), RAD(0), RAD(0))
  831. local LIGHT3 = IT("PointLight",FIST)
  832. LIGHT3.Range = 7
  833. LIGHT3.Brightness = 5
  834. LIGHT3.Color = SKILLTEXTCOLOR
  835. CreateMesh("SpecialMesh", FIST, "FileMesh", "465130943", "", VT(10,10,10), VT(0,0,0))
  836. local FISTA = IT("Attachment",FIST)
  837. FISTA.Position = VT(0.062, 0.977, 0)
  838. local ChainLink = IT("Beam",Torso)
  839. ChainLink.Texture = "rbxassetid://304369964"
  840. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  841. ChainLink.TextureSpeed = 0
  842. ChainLink.Width0 = 3
  843. ChainLink.Width1 = 3
  844. ChainLink.TextureLength = 12
  845. ChainLink.Attachment0 = LIGHT
  846. ChainLink.Attachment1 = FISTA
  847. ChainLink.FaceCamera = true
  848. ChainLink.Segments = 45
  849. ChainLink.LightEmission = 0.5
  850. ChainLink.Transparency = NumberSequence.new(0.25)
  851. local FISTSOUND = CreateSound(288641686, FIST, 5, 1.2, false)
  852. for i = 1, 85 do
  853. Swait()
  854. FIST.CFrame = FIST.CFrame*CF(0,-2,0)
  855. ChainLink.TextureLength = 12+(i*2)
  856. ApplyAoE(FIST.Position,10,15,25,100,false)
  857. WACKYEFFECT({Time = 5, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(15,1,15), Transparency = 0.5, Transparency2 = 1, CFrame = FIST.CFrame*CF(0,-1,0) * ANGLES(RAD(0), RAD(i*15), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  858. local HITFLOOR = Raycast(FIST.Position, (CF(FIST.Position, FIST.CFrame*CF(0,-1,0).p)).lookVector, 2.1, Character)
  859. if HITFLOOR ~= nil then
  860. HITFLOOR:BreakJoints()
  861. coroutine.resume(coroutine.create(function()
  862. for i = 1, 15 do
  863. Swait()
  864. FISTSOUND.Volume = FISTSOUND.Volume - 0.15
  865. ApplyAoE(FIST.Position,10+(i*2),5,15,5,false)
  866. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35), Transparency = 0.5, Transparency2 = 1, CFrame = FIST.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  867. end
  868. end))
  869. break
  870. end
  871. end
  872. coroutine.resume(coroutine.create(function()
  873. for i = 1, 50 do
  874. Swait()
  875. FIST.Transparency = FIST.Transparency + 0.5/50
  876. LIGHT3.Range = LIGHT3.Range - 7/50
  877. end
  878. FIST:remove()
  879. end))
  880. LIGHT:remove()
  881. GYRO:remove()
  882. ATTACK = false
  883. Rooted = false
  884. end
  885. if k=="f"and not Tired.d and not dunkedon and Debounces.isPassive then
  886. dunkedon=true local pos=mouse.Hit.p
  887. Tired.n=Tired.n+100
  888. local idk=Instance.new("Part",efcModel)
  889. idk.Size=Vector3.new(2,80,80)local sp=Instance.new("SpecialMesh",idk)idk.Anchored=1 idk.CanCollide=nil
  890. sp.Scale=idk.Size*20 idk.Size=Vector3.new()idk.Color=Color3.new(1,.1,.1)sp.MeshType="Cylinder"
  891. idk.Transparency=.5 idk.CFrame=CFrame.new(pos)*CFrame.Angles(0,0,math.rad(90))
  892. idk.Material="SmoothPlastic"
  893. idk.Transparency=.5 sw(20)idk:Destroy()
  894. spawn(function()for i=1,300 do
  895. local pos=CFrame.new(pos)*CFrame.Angles(0,math.rad(math.random(360)),0)*CFrame.new(0,0,math.random(380)/10)*CFrame.Angles(0,math.rad(math.random(180)),0)+Vector3.new(0,-6,0)
  896. spawn(function()
  897. local p=Instance.new("Part",efcModel)
  898. p.Touched:connect(function(p)if p.Parent:FindFirstChild("Humanoid")then if p.Parent.Humanoid~=human then RiseLevel(p.Parent.Humanoid,1)p.Parent.Humanoid.Health=p.Parent.Humanoid.Health-1 end end end)
  899. p.Color=Color3.new(1,1,1)p.Size=Vector3.new(10,1,10)p.CFrame=pos
  900. local j=Instance.new("BodyVelocity",p)j.MaxForce=Vector3.new(1,1,1)/0 j.Velocity=Vector3.new()p.CanCollide=nil
  901. local m=Instance.new("SpecialMesh",p)m.MeshId="rbxassetid://465130937"
  902. m.Scale=Vector3.new(.05,.08,.05)/1.2
  903. spawn(function()
  904. for i=0,1,.05 do p.CFrame=p.CFrame+Vector3.new(0,.6,0)sw()end
  905. sw(10)for i=0,1,.05 do p.Transparency=i sw()end p:Destroy()
  906. end)
  907. end)
  908. sw()
  909. end
  910. end)
  911. wait(5)
  912.  
  913. dunkedon=false
  914. end
  915. end
  916. if Debounces.isPassive and k=="g"then
  917. while hldng.g and not Tired.d do
  918. sw(10)
  919. Tired.n=Tired.n+1
  920. local pos=CFrame.new((root.CFrame+Vector3.new(0,4,0))*CFrame.new(math.random(-70,70)/10,math.random(-10,10)/10,math.random(-70,70)/10).p,mouse.Hit.p)
  921. spawn(function()
  922. local p=Instance.new("Part",efcModel)
  923. p.Touched:connect(function(p)if p.Parent:FindFirstChild("Humanoid")then if p.Parent.Humanoid~=human then RiseLevel(p.Parent.Humanoid,1)p.Parent.Humanoid.Health=p.Parent.Humanoid.Health-1 end end end)
  924. p.Color=Color3.new(1,1,1)p.Size=Vector3.new(4,4,4)p.CFrame=pos
  925. local j=Instance.new("BodyVelocity",p)j.MaxForce=Vector3.new(1,1,1)/0 j.Velocity=Vector3.new()p.CanCollide=nil
  926. local m=Instance.new("SpecialMesh",p)m.MeshId="rbxassetid://465130937"
  927. m.Scale=Vector3.new(.05,.08,.05)/2.5
  928. spawn(function()
  929. for i=0,1,.005 do p.CFrame=pos*CFrame.new(0,0,-i*300)*CFrame.Angles(math.rad(90),0,0)sw()end
  930. sw(10)for i=0,1,.05 do p.Transparency=i sw()end p:Destroy()
  931. end)
  932. end)
  933. end
  934. end
  935.  
  936. end)
  937. uinps.InputBegan:connect(function(InputObject)
  938. if InputObject.KeyCode == Enum.KeyCode.A and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isBoosting == false and Debounces.isPassive == true and Debounces.isTyping == false then
  939. Debounces.isBoosting = true
  940. Debounces.damageLevel = 10
  941. Debounces.scalingDamage = true
  942. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  943. setLerp(.15)
  944. setJointCFrames({
  945. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, 20));
  946. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-10.372, 28.758, -1.837));
  947. CFrame.new(Vector3.new(-0.7, -0.2, -0.801)) * CFAngles(Vector3.new(45, 0, 45));
  948. CFrame.new(Vector3.new(1.7, 0.2, 0.199)) * CFAngles(Vector3.new(-15.001, -15.001, 45));
  949. CFrame.new(Vector3.new(-0.3, -2, 0.2)) * CFAngles(Vector3.new(-11.283, -17.801, 19.495));
  950. CFrame.new(Vector3.new(0.9, -2, -0.201)) * CFAngles(Vector3.new(15, -15, 29.999));
  951. })
  952. local boostSpeed = 250
  953. local efx = Instance.new("Sound",c.Head)
  954. efx.SoundId = "rbxassetid://200632875"
  955. efx.Pitch = math.random(1100,1300)/1000
  956. efx.Volume = .5
  957. efx:Play()
  958. spawn(function()
  959. wait(5)
  960. efx:Destroy()
  961. end)
  962. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(1,0,0)).p).unit * boostSpeed
  963. vel.P = 1e3
  964. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  965. wait(.15)
  966. vel.P = 1000
  967. vel.MaxForce = Vector3.new(3000,0,3000)
  968. vel.Velocity = Vector3.new()
  969. wait(.3)
  970. setLerp(.3)
  971. setJointCFrames({
  972. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, 13));
  973. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-30.239, 42.47, 11.879));
  974. CFrame.new(Vector3.new(-1.9, -0.2, -0.401)) * CFAngles(Vector3.new(44.999, 0, -45));
  975. CFrame.new(Vector3.new(1.5, 0.4, 0.599)) * CFAngles(Vector3.new(-62.058, -21.088, -15.383));
  976. CFrame.new(Vector3.new(-0.7, -1.8, 0.6)) * CFAngles(Vector3.new(-59.239, -26.158, -14.457));
  977. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(-0.505, -14.478, -18.968));
  978. })
  979. wait(.2)
  980. vel:Destroy()
  981. Debounces.damageLevel = 0
  982. Debounces.scalingDamage = false
  983. Debounces.isBoosting = false
  984. end
  985. end)
  986.  
  987. uinps.InputBegan:connect(function(InputObject)
  988. if InputObject.KeyCode == Enum.KeyCode.D and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isBoosting == false and Debounces.isPassive == true and Debounces.isTyping == false then
  989. Debounces.isBoosting = true
  990. Debounces.damageLevel = 10
  991. Debounces.scalingDamage = true
  992. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  993. setLerp(.15)
  994. setJointCFrames({
  995. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, -15));
  996. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-13.603, -45.662, -6.645));
  997. CFrame.new(Vector3.new(-1.9, 0, -0.201)) * CFAngles(Vector3.new(31.935, -7.436, -60.853));
  998. CFrame.new(Vector3.new(1.9, 0, 0.399)) * CFAngles(Vector3.new(-3.644, -23.448, 59.102));
  999. CFrame.new(Vector3.new(-1.1, -1.8, 0)) * CFAngles(Vector3.new(-3.616, -11.936, -29.566));
  1000. CFrame.new(Vector3.new(0.1, -1.6, -0.601)) * CFAngles(Vector3.new(1.943, -7.181, -32.528));
  1001. })
  1002. local boostSpeed = 250
  1003. local efx = Instance.new("Sound",c.Head)
  1004. efx.SoundId = "rbxassetid://200632875"
  1005. efx.Pitch = math.random(1100,1300)/1000
  1006. efx.Volume = .5
  1007. efx:Play()
  1008. spawn(function()
  1009. wait(5)
  1010. efx:Destroy()
  1011. end)
  1012. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(-1,0,0)).p).unit * boostSpeed
  1013. vel.P = 1e3
  1014. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  1015. wait(.15)
  1016. vel.P = 1000
  1017. vel.MaxForce = Vector3.new(3000,0,3000)
  1018. vel.Velocity = Vector3.new()
  1019. wait(.3)
  1020. setLerp(.3)
  1021. setJointCFrames({
  1022. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, -13));
  1023. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-12.936, -46.206, -2.327));
  1024. CFrame.new(Vector3.new(-1.9, 0.2, -0.201)) * CFAngles(Vector3.new(45, 0, -60));
  1025. CFrame.new(Vector3.new(1.7, 0, -0.401)) * CFAngles(Vector3.new(14.035, -5.69, 35.342));
  1026. CFrame.new(Vector3.new(-0.3, -1.8, 0.6)) * CFAngles(Vector3.new(-55.479, -10.612, 15.729));
  1027. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, 14.999));
  1028. })
  1029. wait(.2)
  1030. vel:Destroy()
  1031. Debounces.damageLevel = 0
  1032. Debounces.scalingDamage = false
  1033. Debounces.isBoosting = false
  1034. end
  1035. end)
  1036.  
  1037. uinps.InputBegan:connect(function(InputObject)
  1038. if InputObject.KeyCode == Enum.KeyCode.W and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isBoosting == false and Debounces.isPassive == true and Debounces.isTyping == false then
  1039. Debounces.isBoosting = true
  1040. Debounces.damageLevel = 10
  1041. Debounces.scalingDamage = true
  1042. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  1043. setLerp(.15)
  1044. setJointCFrames({
  1045. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-40.001, 0, 5));
  1046. CFrame.new(Vector3.new(-0.001, 1.429, 0.2)) * CFAngles(Vector3.new(25.141, -8.347, 0.878));
  1047. CFrame.new(Vector3.new(-1.5, 0, .101)) * CFAngles(Vector3.new(14.999, -0.001, 0));
  1048. CFrame.new(Vector3.new(1.7, 0.199, -0.401)) * CFAngles(Vector3.new(28.08, -0.358, 21.087));
  1049. CFrame.new(Vector3.new(-0.5, -1.8, 0.6)) * CFAngles(Vector3.new(-29.448, 3.57, -1.5));
  1050. CFrame.new(Vector3.new(0.499, -1.6, -0.401)) * CFAngles(Vector3.new(-0.505, -14.478, -3.968));
  1051. })
  1052. local boostSpeed = 250
  1053. local efx = Instance.new("Sound",c.Head)
  1054. efx.SoundId = "rbxassetid://200632875"
  1055. efx.Pitch = math.random(1100,1300)/1000
  1056. efx.Volume = .5
  1057. efx:Play()
  1058. spawn(function()
  1059. wait(5)
  1060. efx:Destroy()
  1061. end)
  1062. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,1)).p).unit * boostSpeed
  1063. vel.P = 1e3
  1064. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  1065. wait(.15)
  1066. vel.P = 1000
  1067. vel.MaxForce = Vector3.new(3000,0,3000)
  1068. vel.Velocity = Vector3.new()
  1069. wait(.3)
  1070. setLerp(.3)
  1071. setJointCFrames({
  1072. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 40, -13));
  1073. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-12.936, -46.206, -2.327));
  1074. CFrame.new(Vector3.new(-1.9, 0.2, -0.201)) * CFAngles(Vector3.new(45, 0, -60));
  1075. CFrame.new(Vector3.new(1.7, 0, -0.401)) * CFAngles(Vector3.new(14.035, -5.69, 35.342));
  1076. CFrame.new(Vector3.new(-0.3, -1.8, 0.6)) * CFAngles(Vector3.new(-55.479, -10.612, 15.729));
  1077. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, 14.999));
  1078. })
  1079. wait(.2)
  1080. vel:Destroy()
  1081. Debounces.damageLevel = 0
  1082. Debounces.scalingDamage = false
  1083. Debounces.isBoosting = false
  1084. end
  1085. end)
  1086.  
  1087. uinps.InputBegan:connect(function(InputObject)
  1088. if InputObject.KeyCode == Enum.KeyCode.S and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isBoosting == false and Debounces.isPassive == true and Debounces.isTyping == false then
  1089. Debounces.isBoosting = true
  1090. Debounces.damageLevel = 10
  1091. Debounces.scalingDamage = true
  1092. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  1093. setLerp(.15)
  1094. setJointCFrames({
  1095. CFrame.new(Vector3.new(0, -.3, 0)) * CFAngles(Vector3.new(15, 0, 0));
  1096. CFrame.new(Vector3.new(-0.001, 1.52, -0.03)) * CFAngles(Vector3.new(-5.298, -1.305, -4.093));
  1097. CFrame.new(Vector3.new(-1.7, 0, -0.201)) * CFAngles(Vector3.new(12.112, -6.562, -16.939));
  1098. CFrame.new(Vector3.new(1.7, 0, -0.201)) * CFAngles(Vector3.new(8.817, 8.378, 20.465));
  1099. CFrame.new(Vector3.new(-0.7, -1.8, 0.2)) * CFAngles(Vector3.new(-14.432, 3.06, -2.373));
  1100. CFrame.new(Vector3.new(0.5, -1.8, -0.201)) * CFAngles(Vector3.new(-0.505, -14.478, -3.968));
  1101. })
  1102. local boostSpeed = 150
  1103. local boostSpeed = 250
  1104. local efx = Instance.new("Sound",c.Head)
  1105. efx.SoundId = "rbxassetid://200632875"
  1106. efx.Pitch = math.random(1100,1300)/1000
  1107. efx.Volume = .5
  1108. efx:Play()
  1109. spawn(function()
  1110. wait(5)
  1111. efx:Destroy()
  1112. end)
  1113. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-1)).p).unit * boostSpeed
  1114. vel.P = 1e3
  1115. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  1116. wait(.15)
  1117. vel.P = 1000
  1118. vel.MaxForce = Vector3.new(3000,0,3000)
  1119. vel.Velocity = Vector3.new()
  1120. wait(.3)
  1121. setLerp(.3)
  1122. setJointCFrames({
  1123. CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(4, 0, 0));
  1124. CFrame.new(Vector3.new(-0.001, 1.52, -0.03)) * CFAngles(Vector3.new(-20.081, 28.752, 3.598));
  1125. CFrame.new(Vector3.new(-1.7, 0.2, -0.601)) * CFAngles(Vector3.new(59.51, -3.841, -14.511));
  1126. CFrame.new(Vector3.new(1.7, 0.2, 0.399)) * CFAngles(Vector3.new(-47.597, -13.104, 17.887));
  1127. CFrame.new(Vector3.new(-0.7, -1.4, 0.2)) * CFAngles(Vector3.new(-44.477, 3.836, -0.524));
  1128. CFrame.new(Vector3.new(0.5, -1.4, -0.601)) * CFAngles(Vector3.new(-15.868, -12.953, -7.631));
  1129. })
  1130. wait(.2)
  1131. vel:Destroy()
  1132. Debounces.damageLevel = 0
  1133. Debounces.scalingDamage = false
  1134. Debounces.isBoosting = false
  1135. end
  1136. end)
  1137.  
  1138. uinps.InputBegan:connect(function(InputObject)
  1139. if InputObject.KeyCode == Enum.KeyCode.Q and Debounces.isAttacking == false and Debounces.isSprinting == false and Debounces.isPassive == true and Debounces.isTyping == false and not Tired.d then
  1140. local isLooping = true
  1141. uinps.InputEnded:connect(function(InputObject2)
  1142. if InputObject2.KeyCode == Enum.KeyCode.Q then
  1143. isLooping = false
  1144. end
  1145. end)
  1146. while not Tired.d do
  1147. if isLooping == false then
  1148. break
  1149. end
  1150. Debounces.attackNumber = Debounces.attackNumber + 1
  1151. local aimPos = mouse.Hit.p
  1152. local head = Instance.new("Part",c)
  1153. head.Size = Vector3.new(12,.2,12)
  1154. head.CanCollide = false
  1155. head.Anchored = true
  1156. head.Transparency = 1
  1157. local mesh=Instance.new("SpecialMesh",head)mesh.MeshType="FileMesh"mesh.MeshId="rbxassetid://431908407"
  1158. mesh.Scale=Vector3.new(.05,.05,.05)
  1159. local decal = Instance.new("Decal",head)
  1160. decal.Texture = "rbxassetid://441975828"
  1161. if Debounces.attackNumber%2 == 1 then
  1162. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(8,8,.5)).p,aimPos)
  1163. else
  1164. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(-8,8,.5)).p,aimPos)
  1165. end head.CFrame=head.CFrame*CFrame.Angles(0,math.rad(180),0)
  1166. spawn(function()
  1167. local timer = 0
  1168. while rs.RenderStepped:wait() do
  1169. if timer >= 1.55 then
  1170. break
  1171. end
  1172. head.CFrame = head.CFrame * CFrame.new(0,0,-timer/10)
  1173. timer = timer + 1/30/(Debounces.FPS/60)
  1174. end
  1175. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  1176. local ray = Ray.new(head.CFrame.p,(aimPos - head.CFrame.p).unit * 999)
  1177. local hit, pos = workspace:FindPartOnRay(ray,c)
  1178. local dis = (head.CFrame.p - pos).magnitude
  1179. local rayPart = Instance.new("Part",rayModel)
  1180. rayPart.Material = "Neon"
  1181. rayPart.FormFactor = "Custom"
  1182. rayPart.BrickColor = BrickColor.new"White"
  1183. rayPart.Anchored = true
  1184. rayPart.CanCollide = false
  1185. rayPart.Size = Vector3.new(7,7,dis + 400)
  1186. local rayCFrame = CFrame.new(head.CFrame.p + (aimPos - head.CFrame.p).unit * (dis/2 + 200),head.CFrame.p + (aimPos - head.CFrame.p).unit * dis * 2)
  1187. rayPart.CFrame = rayCFrame
  1188. head:Destroy()
  1189. end)
  1190. wait()
  1191. local s = Instance.new("Sound",head)
  1192. s.Volume = 1
  1193. s.SoundId = "rbxassetid://332223043"
  1194. s:Play()
  1195. wait(.04)
  1196. Tired.n=Tired.n+2
  1197. end
  1198. end
  1199. end)
  1200.  
  1201. uinps.InputBegan:connect(function(InputObj)
  1202. if InputObj.KeyCode == Enum.KeyCode.E and not Debounces.isAttacking and not Debounces.isSprinting and Debounces.isPassive and not Debounces.isTyping and not Tired.d then
  1203. Debounces.isAttacking = true
  1204. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  1205. local head = Instance.new("Part",c)
  1206. head.Size = Vector3.new(18,.2,18)
  1207. head.CanCollide = false
  1208. head.Anchored = true
  1209. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-9)).p,aimPos)
  1210. head.Transparency = 1 head.CFrame=head.CFrame*CFrame.Angles(0,math.rad(180),0)
  1211. local mesh=Instance.new("SpecialMesh",head)mesh.MeshType="FileMesh"mesh.MeshId="rbxassetid://431908407"
  1212. mesh.Scale=Vector3.new(.1,.1,.1)
  1213. local decal = Instance.new("Decal",head)
  1214. decal.Texture = "rbxassetid://441975828"
  1215. setLerp(.1)
  1216. setJointCFrames({
  1217. CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, 0, 0));
  1218. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, -0.001, -0.001));
  1219. CFrame.new(Vector3.new(-1.7, 0, 0)) * CFAngles(Vector3.new(-12.808, -28.88, -21.502));
  1220. CFrame.new(Vector3.new(1.699, 1.2, 0.599)) * CFAngles(Vector3.new(-146.606, 16.571, 13.928));
  1221. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-60, 0, -0.001));
  1222. CFrame.new(Vector3.new(0.5, -1.4, -0.4)) * CFAngles(Vector3.new(-15.001, -15.001, 0));
  1223. })
  1224. spawn(function()
  1225. local timer = 0
  1226. while rs.RenderStepped:wait() do
  1227. if timer >= 1.55/.8 then
  1228. break
  1229. end
  1230. head.CFrame = head.CFrame * CFrame.new(0,0,-timer/10)
  1231. timer = timer + 1/30/(Debounces.FPS/60)
  1232. end
  1233. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  1234. local ray = Ray.new(head.CFrame.p,(aimPos - head.CFrame.p).unit * 999)
  1235. local hit, pos = workspace:FindPartOnRay(ray,c)
  1236. local dis = (head.CFrame.p - pos).magnitude
  1237. local rayPart = Instance.new("Part",rayModel)
  1238. rayPart.Material = "Neon"
  1239. rayPart.FormFactor = "Custom"
  1240. rayPart.Name = "Punch"
  1241. rayPart.BrickColor = BrickColor.new"White"
  1242. rayPart.Anchored = true
  1243. rayPart.CanCollide = false
  1244. rayPart.Size = Vector3.new(28,28,dis + 400)
  1245. local rayCFrame = CFrame.new(head.CFrame.p + (aimPos - head.CFrame.p).unit * (dis/2 + 200),head.CFrame.p + (aimPos - head.CFrame.p).unit * dis * 2)
  1246. rayPart.CFrame = rayCFrame
  1247. head:Destroy()
  1248. end)
  1249. wait()
  1250. local s = Instance.new("Sound",head)
  1251. s.Volume = 1
  1252. s.SoundId = "rbxassetid://332223043"
  1253. s.Pitch = .8
  1254. s:Play()
  1255. wait(.75)
  1256. setLerp(.17)
  1257. setJointCFrames({
  1258. CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(-20, 15, 0));
  1259. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, 14.999, -0.001));
  1260. CFrame.new(Vector3.new(-1.7, 0, 0.2)) * CFAngles(Vector3.new(-33.928, -4.374, -38.76));
  1261. CFrame.new(Vector3.new(1.499, 0.4, -0.601)) * CFAngles(Vector3.new(74.335, 25.091, -6.155));
  1262. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-45, 0, -0.001));
  1263. CFrame.new(Vector3.new(0.5, -1.8, -0.4)) * CFAngles(Vector3.new(-15, -15, 0));
  1264. })
  1265. Tired.n=Tired.n+15
  1266. wait(.5)
  1267. Debounces.isAttacking = false
  1268. end
  1269. end)
  1270.  
  1271. reflect = function(d,n)
  1272. local i, n = -1 * d.unit, n.unit
  1273. local dot = n:Dot(i)
  1274. return 2*dot*n - i
  1275. end
  1276.  
  1277. makeReflectionBeam = function(pos,look,isCrit)
  1278. local ray = Ray.new(pos,look)
  1279. local hit,hitpos,norm = workspace:FindPartOnRay(ray,c)
  1280. local e = Instance.new("Part",rayModel)
  1281. e.Anchored = true
  1282. e.CanCollide = false
  1283. e.BrickColor = BrickColor.new("White")
  1284. e.Material = "Neon"
  1285. e.FormFactor = "Custom"
  1286. e.Size = Vector3.new(6,6,(pos - hitpos).magnitude)
  1287. if isCrit == true then
  1288. e.Size = Vector3.new(16,16,(pos - hitpos).magnitude)
  1289. e.Name = "Punch"
  1290. end
  1291. e.CFrame = CFrame.new(pos + (hitpos - pos)/2, pos)
  1292. local e = Instance.new("Sound",c)
  1293. if isCrit == true then
  1294. e.Volume = .5
  1295. else
  1296. e.Volume = .3
  1297. e.Pitch = 1.5
  1298. end
  1299. e.SoundId = "rbxassetid://200632875"
  1300. e:Play()
  1301. spawn(function()
  1302. wait(6)
  1303. e:Destroy()
  1304. end)
  1305. wait(.05)
  1306. if hit ~= nil then
  1307. newDir = reflect(look.unit,norm,isCrit)
  1308. makeReflectionBeam(hitpos,newDir * 999,isCrit)
  1309. end
  1310. end
  1311.  
  1312. uinps.InputBegan:connect(function(InputObject)
  1313. if InputObject.KeyCode == Enum.KeyCode.Q and not Debounces.isAttacking and Debounces.isSprinting and Debounces.isPassive and not Debounces.isTyping and not Tired.d then
  1314. local isLooping = true
  1315. uinps.InputEnded:connect(function(InputObject2)
  1316. if InputObject2.KeyCode == Enum.KeyCode.Q then
  1317. isLooping = false
  1318. end
  1319. end)
  1320. while not Tired.d do
  1321. if isLooping == false then
  1322. break
  1323. end
  1324. Debounces.attackNumber = Debounces.attackNumber + 1
  1325. local aimPos = mouse.Hit.p
  1326. local head = Instance.new("Part",c)
  1327. head.Size = Vector3.new(12,.2,12)
  1328. head.CanCollide = false
  1329. head.Anchored = true
  1330. head.Transparency=1
  1331. local mesh=Instance.new("SpecialMesh",head)mesh.MeshType="FileMesh"mesh.MeshId="rbxassetid://431908407"
  1332. mesh.Scale=Vector3.new(.05,.05,.05)
  1333. local decal = Instance.new("Decal",head)
  1334. decal.Texture = "rbxassetid://441975828"
  1335.  
  1336. if Debounces.attackNumber%2 == 1 then
  1337. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(8,8,.5)).p,aimPos)
  1338. else
  1339. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(-8,8,.5)).p,aimPos)
  1340. end
  1341. head.CFrame=head.CFrame*CFrame.Angles(0,math.rad(180),0)
  1342. spawn(function()
  1343. local timer = 0
  1344. while rs.RenderStepped:wait() do
  1345. if timer >= 1.55 then
  1346. break
  1347. end
  1348. head.CFrame = head.CFrame * CFrame.new(0,0,-timer/10)
  1349. timer = timer + 1/30/(Debounces.FPS/60)
  1350. end
  1351. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  1352. head:Destroy()
  1353. makeReflectionBeam(head.CFrame.p,(head.CFrame.p - aimPos).unit * -999,false)
  1354. end)
  1355.  
  1356. wait()
  1357. local s = Instance.new("Sound",head)
  1358. s.Volume = 1
  1359. s.SoundId = "rbxassetid://332223043"
  1360. s.Pitch = 1.02
  1361. s:Play()
  1362. Tired.n=Tired.n+15
  1363. wait(.2)
  1364. end
  1365. end
  1366. end)
  1367.  
  1368. uinps.InputBegan:connect(function(InputObj)
  1369. if InputObj.KeyCode == Enum.KeyCode.E and not Debounces.isAttacking and Debounces.isSprinting and Debounces.isPassive and not Debounces.isTyping and not Tired.d then
  1370. Debounces.isAttacking = true
  1371. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  1372. local head = Instance.new("Part",c)
  1373. head.Size = Vector3.new(18,.2,18)
  1374. head.CanCollide = false
  1375. head.Anchored = true
  1376. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-9)).p,aimPos)
  1377. head.Transparency = 1
  1378. local mesh=Instance.new("SpecialMesh",head)mesh.MeshType="FileMesh"mesh.MeshId="rbxassetid://431908407"
  1379. mesh.Scale=Vector3.new(.1,.1,.1)
  1380. local decal = Instance.new("Decal",head)
  1381. decal.Texture = "rbxassetid://441975828"
  1382. head.CFrame=head.CFrame*CFrame.Angles(0,math.rad(180),0)
  1383. setLerp(.1)
  1384. setJointCFrames({
  1385. CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, 0, 0));
  1386. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, -0.001, -0.001));
  1387. CFrame.new(Vector3.new(-1.7, 0, 0)) * CFAngles(Vector3.new(-12.808, -28.88, -21.502));
  1388. CFrame.new(Vector3.new(1.699, 1.2, 0.599)) * CFAngles(Vector3.new(-146.606, 16.571, 13.928));
  1389. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-60, 0, -0.001));
  1390. CFrame.new(Vector3.new(0.5, -1.4, -0.4)) * CFAngles(Vector3.new(-15.001, -15.001, 0));
  1391. })
  1392. spawn(function()
  1393. local timer = 0
  1394. while rs.RenderStepped:wait() do
  1395. if timer >= 1.55/.8 then
  1396. break
  1397. end
  1398. head.CFrame = head.CFrame --* CFrame.new(0,0,-timer/10)
  1399. timer = timer + 1/30/(Debounces.FPS/60)
  1400. end
  1401. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  1402. head:Destroy()
  1403. makeReflectionBeam(head.CFrame.p,(head.CFrame.p - aimPos).unit * -999,true)
  1404. end)
  1405. wait()
  1406. local s = Instance.new("Sound",head)
  1407. s.Volume = 2
  1408. s.SoundId = "rbxassetid://332223043"
  1409. s.Pitch = .8
  1410. s:Play()
  1411. wait(.75)
  1412. setLerp(.17)
  1413. setJointCFrames({
  1414. CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(-20, 15, 0));
  1415. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, 14.999, -0.001));
  1416. CFrame.new(Vector3.new(-1.7, 0, 0.2)) * CFAngles(Vector3.new(-33.928, -4.374, -38.76));
  1417. CFrame.new(Vector3.new(1.499, 0.4, -0.601)) * CFAngles(Vector3.new(74.335, 25.091, -6.155));
  1418. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-45, 0, -0.001));
  1419. CFrame.new(Vector3.new(0.5, -1.8, -0.4)) * CFAngles(Vector3.new(-15, -15, 0));
  1420. })
  1421. Tired.n=Tired.n+30
  1422. wait(.5)
  1423. Debounces.isAttacking = false
  1424. end
  1425. end)
  1426.  
  1427. uinps.InputBegan:connect(function(InputObj)
  1428. if InputObj.KeyCode == Enum.KeyCode.Slash then
  1429. local finishEvent = nil
  1430. Debounces.isTyping = true
  1431. finishEvent = uinps.InputBegan:connect(function(InputObj)
  1432. if InputObj.KeyCode == Enum.KeyCode.Return or InputObj.UserInputType == Enum.UserInputType.MouseButton1 then
  1433. Debounces.isTyping = false
  1434. finishEvent:disconnect()
  1435. end
  1436. end)
  1437. end
  1438. end)
  1439.  
  1440. uinps.InputBegan:connect(function(InputObj)
  1441. if InputObj.KeyCode == Enum.KeyCode.LeftShift then
  1442. Debounces.isSprinting = true
  1443. end
  1444. end)
  1445.  
  1446. uinps.InputEnded:connect(function(InputObj)
  1447. if InputObj.KeyCode == Enum.KeyCode.LeftShift then
  1448. Debounces.isSprinting = false
  1449. end
  1450. end)
  1451. uinps.InputBegan:connect(function(InputObj)
  1452.  
  1453. end)
  1454.  
  1455. rs.RenderStepped:connect(function()
  1456. Debounces.FPS = 1/rs.RenderStepped:wait()
  1457. local FPSLerp = AnimStat.lerpSpeed/(Debounces.FPS/60)
  1458. if Debounces.isPassive == false then
  1459. fire.Enabled = false
  1460. light.Range = 0
  1461. fight:Pause()
  1462. sans:Resume()
  1463. efxBlock.Transparency = 1
  1464. else
  1465. fire.Enabled = true
  1466. light.Range = 10
  1467. fight:Resume()
  1468. sans:Pause()
  1469. efxBlock.Transparency = 0
  1470. end local tD=3
  1471. for i,v in pairs (rayModel:children()) do
  1472. if v.Transparency >= 1 then
  1473. v:Destroy()
  1474. else
  1475. v.CanCollide = true
  1476. local parts = v:GetTouchingParts()
  1477. v.CanCollide = false
  1478. for i = 1,#parts do
  1479. if parts[i].Parent:FindFirstChild("Humanoid") and parts[i].Parent ~= c and v.Name ~= "Punch" then
  1480. RiseLevel(parts[i].Parent.Humanoid,.5/(Debounces.FPS/60))parts[i].Parent.Humanoid:TakeDamage(.5/(Debounces.FPS/60))
  1481. elseif parts[i].Parent:FindFirstChild("Humanoid") and parts[i].Parent ~= c and v.Name == "Punch" then
  1482. RiseLevel(parts[i].Parent.Humanoid,3.1/(Debounces.FPS/60))parts[i].Parent.Humanoid:TakeDamage(3.1/(Debounces.FPS/60))
  1483. end
  1484. end
  1485. v.Size = v.Size / Vector3.new(1+(v.Transparency/tD),1+(v.Transparency/tD),1)--- Vector3.new(1/(Debounces.FPS/60),1/(Debounces.FPS/60),0)
  1486. v.Transparency = v.Transparency + .05/(Debounces.FPS/60)
  1487. end
  1488. end
  1489. for i = 1,#Joints do
  1490. Joints[i].C0 = Joints[i].C0:lerp(JointTargets[i], FPSLerp)
  1491. end
  1492. local sineval = math.sin(tick() * 2) * 3
  1493. fire.Acceleration = Vector3.new(sineval,1,sineval)
  1494. light.Brightness = math.sin(math.cos(tick() * 2) * 1.5)
  1495. end)
Add Comment
Please, Sign In to add comment