PasterXIV

Untitled

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