Advertisement
JasonLion

Dust sans

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