Advertisement
Guest User

B00F

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