Advertisement
Tetezaza1542

dust sans

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