reset234567890

dont work

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