Advertisement
Guest User

Untitled

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