Advertisement
jasonskg1234

Untitled

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