-----------------

dust sans lvl 666 FE

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