Advertisement
GojiGaming1337

Untitled

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