Advertisement
BAconTUbe

GEno Sans FE

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