Advertisement
blabal

Untitled

Jun 20th, 2016
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 52.54 KB | None | 0 0
  1. --[[
  2. It is i, the great PAPAYA.
  3. 95audrey pissed me of because he thinks he is cool and all with his script
  4. So i decided to take action and, LEAK HIS SCRIPT!
  5. ]]
  6. dot = false
  7. des = false
  8. local ChatService = game:GetService("Chat")
  9. local player = game.Players.LocalPlayer
  10. char = player.Character
  11. hum = char.Humanoid
  12. torso = hum.Torso
  13. lig = Instance.new("PointLight",player.Character.Torso)
  14. lig.Color=Color3.new(0,255,255)
  15. m=player:GetMouse()
  16. bb = Instance.new("BillboardGui",player.Character.Head)
  17. bb.Enabled = true
  18. bb.AlwaysOnTop = true
  19. bb.Size = UDim2.new(0,200,0,50)
  20. bb.StudsOffset = Vector3.new(0,1,0)
  21. gui=Instance.new("TextBox",bb)
  22. gui.Text = "* "
  23. gui.Size = UDim2.new(0,133,0,45)
  24. gui.Position=UDim2.new(0,57,0,-40)
  25. gui.TextColor3 = Color3.new(225,255,255)
  26. gui.BackgroundColor3=Color3.new(0,0,0)
  27. gui.TextWrapped = true
  28. gui.TextScaled = true
  29. gui.TextXAlignment = "Left"
  30. gui.TextYAlignment = "Top"
  31. gui.Visible = false
  32. gui.BorderColor3 = Color3.new(0,0,0)
  33.  
  34. gui1=Instance.new("TextButton",bb)
  35. gui1.Position=UDim2.new(0,5,0,-43)
  36. gui1.Size = UDim2.new(0,190,0,51)
  37.  
  38. gui1.TextColor3 = Color3.new(225,255,255)
  39. gui1.BackgroundColor3=Color3.new(255,255,255)
  40.  
  41. gui1.Visible = false
  42. img = Instance.new("ImageLabel",bb)
  43. img.Size = UDim2.new(0,46,0,47)
  44. img.Position = UDim2.new(0,10,0,-41)
  45. img.Image = "rbxassetid://409451128"
  46. img.BorderColor3 = Color3.new(0,0,0)
  47. img.Visible = false
  48. asd = Instance.new("Sound",player.Character.Torso)
  49. asd.SoundId = "http://www.roblox.com/asset/?id = 417464011"
  50.  
  51. asd1 = Instance.new("Sound",player.Character.Torso)
  52. asd1.SoundId = "http://www.roblox.com/asset/?id = 417464011"
  53.  
  54. asd2 = Instance.new("Sound",player.Character.Torso)
  55. asd2.SoundId = "http://www.roblox.com/asset/?id = 384852061"
  56. asd2.Looped = true
  57. asd3 = Instance.new("Sound",player.Character.Torso)
  58. asd3.SoundId = "http://www.roblox.com/asset/?id = 314071291"
  59. asd3.Looped = true
  60. asd4 = Instance.new("Sound",player.Character.Torso)
  61. asd4.SoundId = "http://www.roblox.com/asset/?id = 388938813"
  62. asd4.Looped = false
  63. asd5 = Instance.new("Sound",player.Character.Torso)
  64. asd5.SoundId = "http://www.roblox.com/asset/?id = 0"
  65. asd5.Looped = true
  66. function play(play)
  67. asd:Play()
  68. asd1:Play()
  69. end
  70. -- listen for their chatting
  71. player.Chatted:connect(function(message)
  72. a = string.len(message)
  73. gui.Text = "* "
  74. gui.Visible = true
  75. gui1.Visible = true
  76. des = false
  77. img.Visible = true
  78. print(a)
  79. if dot == false then
  80. for i = 1,string.len(message) do wait(0.07)
  81. gui.Text =gui.Text..message:sub(i,i)
  82.  
  83. play()
  84. end
  85. end
  86.  
  87. des = true
  88. end)
  89.  
  90. m.KeyDown:connect(function(k)
  91. if k == "g" then
  92. asd2:Play()
  93. eye.Transparency = 0
  94. end
  95. end)
  96. m.KeyDown:connect(function(k)
  97. if k == "u" then
  98. asd3:Play()
  99. eye.Transparency = 1
  100.  
  101. end
  102. end)
  103. m.KeyDown:connect(function(k)
  104. if k == "z" then
  105.  
  106. img.Image = "rbxassetid://325833799"
  107. end
  108. end)
  109. m.KeyDown:connect(function(k)
  110. if k == "c" then
  111. img.Image = "rbxassetid://409451128"
  112. end
  113. end)
  114. m.KeyDown:connect(function(k)
  115. if k == "l" then
  116. img.Image = "rbxassetid://388167154"
  117. print("You take your very last breath...")
  118. asdd = Instance.new("Sound",player.Character.Torso)
  119. asdd.SoundId = "http://www.roblox.com/asset/?id = 357417055"
  120. asdd.Looped = false
  121. spawn(function()
  122. wait()
  123. asdd:Play()
  124. end)
  125. wait(2)
  126. asddd = Instance.new("Sound",player.Character.Torso)
  127. asddd.SoundId = "http://www.roblox.com/asset/?id = 387183672"
  128. asddd.Looped = false
  129. spawn(function()
  130. wait()
  131. asddd:Play()
  132. end)
  133. wait(2)
  134. asdded = Instance.new("Sound",player.Character.Torso)
  135. asdded.SoundId = "http://www.roblox.com/asset/?id = 387187707"
  136. asdded.Looped = false
  137. spawn(function()
  138. wait()
  139. asdded:Play()
  140. end)
  141. char:BreakJoints()
  142. end
  143. end)
  144. m.KeyDown:connect(function(k)
  145. if k == "x" then
  146. if des == true then
  147. gui.Visible = false
  148. gui.Text = "* "
  149. gui1.Visible = false
  150. img.Visible = false
  151. end
  152. end
  153. end)
  154. m.KeyDown:connect(function(k)
  155. if k == "f" then
  156. asd3:Stop()
  157. asd2:Stop()
  158. asd4:Stop()
  159. dunkd:Stop()
  160. asd5:Stop()
  161. end
  162. end)
  163. m.KeyDown:connect(function(k)
  164. if k == "y" then
  165. img.Image = "rbxassetid://373464602"
  166. end
  167. end)
  168. -- my god...
  169. -- Suck_HiyaThere moves to arizona
  170.  
  171. --------------------------------------------------------
  172.  
  173. pls = game:GetService'Players'
  174. rs = game:GetService'RunService'
  175. uinps = game:GetService'UserInputService'
  176. lp = pls.LocalPlayer
  177. mouse = lp:GetMouse()
  178. c = lp.Character
  179. human = c.Humanoid
  180. human.MaxHealth = 50
  181. soundVol = 0
  182. wait()
  183. human.Health = 50
  184. c.Health:Destroy()
  185.  
  186. --------------------------------------------------------
  187.  
  188. Debounces = {
  189. AnimationCycles = 0;
  190. FPS = 0;
  191. scalingDamage = false;
  192. damageLevel = 0;
  193. attackNumber = 0;
  194. isAttacking = false;
  195. isMoving = false;
  196. isSprinting = false;
  197. isBoosting = false;
  198. isPassive = false;
  199. isTyping = false;
  200. }
  201.  
  202. --------------------------------------------------------
  203.  
  204. numLerp = function(start, goal, alpha)
  205. return(((goal - start) * alpha) + start)
  206. end
  207.  
  208. CFrameZero = function()
  209. return CFrame.new(Vector3.new())
  210. end
  211.  
  212. rad = function(value)
  213. return math.rad(value)
  214. end
  215.  
  216. CFAngles = function(Vector)
  217. return CFrame.Angles(rad(Vector.x),rad(Vector.y),rad(Vector.z))
  218. end
  219.  
  220. --------------------------------------------------------
  221.  
  222. AnimStat = {
  223. lerpSpeed = .2;
  224. lerpSpeed2 = .35;
  225. lerpTween = 0;
  226. }
  227.  
  228. Joints = {
  229. c.HumanoidRootPart.RootJoint;
  230. c.Torso.Neck;
  231. c.Torso['Left Shoulder'];
  232. c.Torso['Right Shoulder'];
  233. c.Torso['Left Hip'];
  234. c.Torso['Right Hip'];
  235. }
  236.  
  237. JointTargets = {
  238. CFrameZero();
  239. CFrameZero();
  240. CFrameZero();
  241. CFrameZero();
  242. CFrameZero();
  243. CFrameZero();
  244. }
  245.  
  246. --------------------------------------------------------
  247.  
  248. BodyColors = {
  249. HeadColor = BrickColor.new("Institutional white");
  250. LeftArmColor = BrickColor.new("Institutional white");
  251. RightArmColor = BrickColor.new("Institutional white");
  252. LeftLegColor = BrickColor.new("Institutional white");
  253. RightLegColor = BrickColor.new("Institutional white");
  254. TorsoColor = BrickColor.new("Mid gray");
  255. }
  256.  
  257. ypcall(function()
  258. char.Shirt:Destroy()
  259. char.Pants:Destroy()
  260. shirt = Instance.new("Shirt", char)
  261. shirt.Name = "Shirt"
  262. pants = Instance.new("Pants", char)
  263. pants.Name = "Pants"
  264. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=344743696"
  265. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=376443562"
  266. end)
  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. efxBlock = Instance.new("Part",c)
  294. efxBlock.BrickColor = BrickColor.new("Deep orange")
  295. efxBlock.Material = "Neon"
  296. efxBlock.FormFactor = "Custom"
  297. efxBlock.Transparency = .3
  298. efxBlock.Size = Vector3.new(.3,.3,.3)
  299. local mesh = Instance.new("SpecialMesh",efxBlock)
  300. mesh.MeshType = Enum.MeshType.Sphere
  301. mesh.Scale = Vector3.new(1,1,1)
  302. light = Instance.new("PointLight",c.Head)
  303. light.Range = 10
  304. light.Color = Color3.new(0,200/255,1)
  305. light.Shadows = false
  306. local particles = Instance.new("ParticleEmitter",efxBlock)
  307. particles.Color = ColorSequence.new(Color3.new(255,0,0),Color3.new(20/255,0,0/255,0,0/255))
  308. particles.LightEmission = .95
  309. particles.Size = Size
  310. particles.Name = "Fire"
  311. particles.Transparency = Transparency
  312. particles.LockedToPart = true
  313. particles.VelocityInheritance = .5
  314. particles.LockedToPart = true
  315. particles.Rate = 70
  316. particles.Texture = "rbxassetid://0"
  317. particles.Lifetime = NumberRange.new(2,2)
  318. particles.RotSpeed = NumberRange.new(100,100)
  319. particles.Speed = NumberRange.new(7,7)
  320. script.Parent = efxBlock
  321. fire = particles
  322. local offset = Vector3.new(-0.11, .23, -0.5)
  323. local weld = Instance.new("Weld",c.Head)
  324. weld.Part0 = c.Head
  325. weld.Part1 = efxBlock
  326. weld.C0 = CFrame.new(offset) * CFrame.Angles(math.rad(-40),math.rad(10),math.rad(40))
  327. efxBlock.Parent = c
  328. local music = Instance.new("Sound",c)
  329. music.SoundId = "rbxassetid://316012176"
  330. music.Looped = true
  331. music.Volume = 0
  332. fight = music
  333. local music2 = Instance.new("Sound",c)
  334. music2.SoundId = "rbxassetid://316014309"
  335. music2.Looped = true
  336. music2.Volume = 0
  337. sans = music2
  338. pointGyro = Instance.new("BodyGyro",c.HumanoidRootPart)
  339. pointGyro.P = 1e7
  340. pointGyro.D = 1e3
  341. pointGyro.MaxTorque = Vector3.new(0,1e7,0)
  342. animator = c.Humanoid:FindFirstChild("Animator")
  343. if animator then
  344. animator:Destroy()
  345. end
  346. c.Torso.roblox:Destroy()
  347. for i,v in pairs (c.Head:children()) do
  348. if v.ClassName == "Sound" then
  349. v:Destroy()
  350. end
  351. end
  352. for i = 1,#Joints do
  353. Joints[i].C1 = CFrame.new(Vector3.new())
  354. end
  355. human.WalkSpeed = 0
  356. human.JumpPower = 0
  357. end
  358.  
  359. uinps.InputBegan:connect(function(InputObject)
  360. if InputObject.KeyCode == Enum.KeyCode.K and Debounces.isTyping == false then
  361. Debounces.isPassive = not Debounces.isPassive
  362. end
  363. end)
  364.  
  365. setJointCFrames = function(table)
  366. for i = 1,#table do
  367. JointTargets[i] = table[i]
  368. end
  369. AnimationCycles = 0
  370. end
  371.  
  372. setLerp = function(speed)
  373. AnimStat.lerpSpeed = speed
  374. end
  375.  
  376. setTween = function(tween)
  377. AnimStat.lerpTween = tween
  378. end
  379.  
  380. takeDamage = function(position,damage,distance,platformStand)
  381. for i,v in pairs (pls:children()) do
  382. if v.ClassName == "Player" and v:FindFirstChild("Character") then
  383. local torso = v.Character:FindFirstChild("Torso")
  384. if torso and (torso.Position - position).magnitude < distance then
  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.  
  400. spawn(function()
  401. local sine = 0
  402. while wait() do
  403. pointGyro.CFrame = CFrame.new(Vector3.new(),(mouse.Hit.p - c.HumanoidRootPart.CFrame.p).unit * 100)
  404. if Debounces.isAttacking == false and Debounces.isMoving == false and Debounces.isBoosting == false then
  405. setLerp(.1)
  406. if Debounces.isPassive == true then
  407. setJointCFrames({
  408. CFrame.new(Vector3.new(0, -0.901 + math.sin(tick() * 1.5)/45, 0)) * CFAngles(Vector3.new(-22.001, 0, 0));
  409. 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));
  410. CFrame.new(Vector3.new(-1.5, -0.1 + math.sin(tick() * 1.5)/15, -0.801)) * CFAngles(Vector3.new(44.999, 0, 0));
  411. CFrame.new(Vector3.new(1.7, 0.2 + math.sin(tick() * 1.5)/15, 0.199)) * CFAngles(Vector3.new(-15.001, -15.001, 15));
  412. CFrame.new(Vector3.new(-0.7, -1.8, 0.6)) * CFAngles(Vector3.new(-59.511, 3.84, 0.489));
  413. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, -0.001));
  414. })
  415. else
  416. setJointCFrames({
  417. CFrame.new(Vector3.new(0, 0 + math.sin(tick() * 1.5)/25, 0)) * CFAngles(Vector3.new(0, 0, 0));
  418. 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));
  419. CFrame.new(Vector3.new(-1.06, -0.03 + math.sin(tick() * 1.5)/25, 0.449)) * CFAngles(Vector3.new(-29.511, 0, 29.51));
  420. 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));
  421. CFrame.new(Vector3.new(-0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(0, 8.885, 0));
  422. CFrame.new(Vector3.new(0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(-0.001, -8.886, 0));
  423. })
  424. end
  425. elseif Debounces.isAttacking == false and Debounces.isMoving == true and Debounces.isBoosting == false then
  426. sine = sine + math.rad(12)
  427. human.WalkSpeed = 15
  428. setLerp(.15)
  429. setJointCFrames({
  430. CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, math.sin(sine) * -2.5, 0));
  431. CFrame.new(Vector3.new(0, 1.499, -0.04)) * CFAngles(Vector3.new(-5.676, -0.001 - math.sin(sine) * 3, -0.001));
  432. 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));
  433. 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));
  434. 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));
  435. 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));
  436. })
  437. end
  438. if Debounces.scalingDamage == true then
  439. takeDamage(c.HumanoidRootPart.Position,Debounces.damageLevel,8,true)
  440. end
  441. end
  442. end)
  443.  
  444. human.Changed:connect(function(prop)
  445. if prop == "MoveDirection" then
  446. if human.MoveDirection.magnitude > .02 then
  447. Debounces.isMoving = true
  448. else
  449. Debounces.isMoving = false
  450. end
  451. end
  452. end)
  453.  
  454. uinps.InputBegan:connect(function(InputObject)
  455. 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
  456. Debounces.isBoosting = true
  457. Debounces.damageLevel = 10
  458. Debounces.scalingDamage = true
  459. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  460. setLerp(.15)
  461. setJointCFrames({
  462. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, 20));
  463. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-10.372, 28.758, -1.837));
  464. CFrame.new(Vector3.new(-0.7, -0.2, -0.801)) * CFAngles(Vector3.new(45, 0, 45));
  465. CFrame.new(Vector3.new(1.7, 0.2, 0.199)) * CFAngles(Vector3.new(-15.001, -15.001, 45));
  466. CFrame.new(Vector3.new(-0.3, -2, 0.2)) * CFAngles(Vector3.new(-11.283, -17.801, 19.495));
  467. CFrame.new(Vector3.new(0.9, -2, -0.201)) * CFAngles(Vector3.new(15, -15, 29.999));
  468. })
  469. local boostSpeed = 250
  470. local efx = Instance.new("Sound",c.Head)
  471. efx.SoundId = "rbxassetid://200632875"
  472. efx.Pitch = math.random(1100,1300)/1000
  473. efx.Volume = .5
  474. efx:Play()
  475. spawn(function()
  476. wait(5)
  477. efx:Destroy()
  478. end)
  479. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(1,0,0)).p).unit * boostSpeed
  480. vel.P = 1e3
  481. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  482. wait(.15)
  483. vel.P = 1000
  484. vel.MaxForce = Vector3.new(3000,0,3000)
  485. vel.Velocity = Vector3.new()
  486. wait(.3)
  487. setLerp(.3)
  488. setJointCFrames({
  489. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, 13));
  490. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-30.239, 42.47, 11.879));
  491. CFrame.new(Vector3.new(-1.9, -0.2, -0.401)) * CFAngles(Vector3.new(44.999, 0, -45));
  492. CFrame.new(Vector3.new(1.5, 0.4, 0.599)) * CFAngles(Vector3.new(-62.058, -21.088, -15.383));
  493. CFrame.new(Vector3.new(-0.7, -1.8, 0.6)) * CFAngles(Vector3.new(-59.239, -26.158, -14.457));
  494. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(-0.505, -14.478, -18.968));
  495. })
  496. wait(.2)
  497. vel:Destroy()
  498. Debounces.damageLevel = 0
  499. Debounces.scalingDamage = false
  500. Debounces.isBoosting = false
  501. end
  502. end)
  503.  
  504. uinps.InputBegan:connect(function(InputObject)
  505. 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
  506. Debounces.isBoosting = true
  507. Debounces.damageLevel = 10
  508. Debounces.scalingDamage = true
  509. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  510. setLerp(.15)
  511. setJointCFrames({
  512. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, -15));
  513. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-13.603, -45.662, -6.645));
  514. CFrame.new(Vector3.new(-1.9, 0, -0.201)) * CFAngles(Vector3.new(31.935, -7.436, -60.853));
  515. CFrame.new(Vector3.new(1.9, 0, 0.399)) * CFAngles(Vector3.new(-3.644, -23.448, 59.102));
  516. CFrame.new(Vector3.new(-1.1, -1.8, 0)) * CFAngles(Vector3.new(-3.616, -11.936, -29.566));
  517. CFrame.new(Vector3.new(0.1, -1.6, -0.601)) * CFAngles(Vector3.new(1.943, -7.181, -32.528));
  518. })
  519. local boostSpeed = 250
  520. local efx = Instance.new("Sound",c.Head)
  521. efx.SoundId = "rbxassetid://200632875"
  522. efx.Pitch = math.random(1100,1300)/1000
  523. efx.Volume = .5
  524. efx:Play()
  525. spawn(function()
  526. wait(5)
  527. efx:Destroy()
  528. end)
  529. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(-1,0,0)).p).unit * boostSpeed
  530. vel.P = 1e3
  531. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  532. wait(.15)
  533. vel.P = 1000
  534. vel.MaxForce = Vector3.new(3000,0,3000)
  535. vel.Velocity = Vector3.new()
  536. wait(.3)
  537. setLerp(.3)
  538. setJointCFrames({
  539. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, -13));
  540. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-12.936, -46.206, -2.327));
  541. CFrame.new(Vector3.new(-1.9, 0.2, -0.201)) * CFAngles(Vector3.new(45, 0, -60));
  542. CFrame.new(Vector3.new(1.7, 0, -0.401)) * CFAngles(Vector3.new(14.035, -5.69, 35.342));
  543. CFrame.new(Vector3.new(-0.3, -1.8, 0.6)) * CFAngles(Vector3.new(-55.479, -10.612, 15.729));
  544. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, 14.999));
  545. })
  546. wait(.2)
  547. vel:Destroy()
  548. Debounces.damageLevel = 0
  549. Debounces.scalingDamage = false
  550. Debounces.isBoosting = false
  551. end
  552. end)
  553.  
  554. uinps.InputBegan:connect(function(InputObject)
  555. 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
  556. Debounces.isBoosting = true
  557. Debounces.damageLevel = 10
  558. Debounces.scalingDamage = true
  559. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  560. setLerp(.15)
  561. setJointCFrames({
  562. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-40.001, 0, 5));
  563. CFrame.new(Vector3.new(-0.001, 1.429, 0.2)) * CFAngles(Vector3.new(25.141, -8.347, 0.878));
  564. CFrame.new(Vector3.new(-1.5, 0, .101)) * CFAngles(Vector3.new(14.999, -0.001, 0));
  565. CFrame.new(Vector3.new(1.7, 0.199, -0.401)) * CFAngles(Vector3.new(28.08, -0.358, 21.087));
  566. CFrame.new(Vector3.new(-0.5, -1.8, 0.6)) * CFAngles(Vector3.new(-29.448, 3.57, -1.5));
  567. CFrame.new(Vector3.new(0.499, -1.6, -0.401)) * CFAngles(Vector3.new(-0.505, -14.478, -3.968));
  568. })
  569. local boostSpeed = 250
  570. local efx = Instance.new("Sound",c.Head)
  571. efx.SoundId = "rbxassetid://200632875"
  572. efx.Pitch = math.random(1100,1300)/1000
  573. efx.Volume = .5
  574. efx:Play()
  575. spawn(function()
  576. wait(5)
  577. efx:Destroy()
  578. end)
  579. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,1)).p).unit * boostSpeed
  580. vel.P = 1e3
  581. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  582. wait(.15)
  583. vel.P = 1000
  584. vel.MaxForce = Vector3.new(3000,0,3000)
  585. vel.Velocity = Vector3.new()
  586. wait(.3)
  587. setLerp(.3)
  588. setJointCFrames({
  589. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 40, -13));
  590. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-12.936, -46.206, -2.327));
  591. CFrame.new(Vector3.new(-1.9, 0.2, -0.201)) * CFAngles(Vector3.new(45, 0, -60));
  592. CFrame.new(Vector3.new(1.7, 0, -0.401)) * CFAngles(Vector3.new(14.035, -5.69, 35.342));
  593. CFrame.new(Vector3.new(-0.3, -1.8, 0.6)) * CFAngles(Vector3.new(-55.479, -10.612, 15.729));
  594. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, 14.999));
  595. })
  596. wait(.2)
  597. vel:Destroy()
  598. Debounces.damageLevel = 0
  599. Debounces.scalingDamage = false
  600. Debounces.isBoosting = false
  601. end
  602. end)
  603.  
  604. uinps.InputBegan:connect(function(InputObject)
  605. 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
  606. Debounces.isBoosting = true
  607. Debounces.damageLevel = 10
  608. Debounces.scalingDamage = true
  609. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  610. setLerp(.15)
  611. setJointCFrames({
  612. CFrame.new(Vector3.new(0, -.3, 0)) * CFAngles(Vector3.new(15, 0, 0));
  613. CFrame.new(Vector3.new(-0.001, 1.52, -0.03)) * CFAngles(Vector3.new(-5.298, -1.305, -4.093));
  614. CFrame.new(Vector3.new(-1.7, 0, -0.201)) * CFAngles(Vector3.new(12.112, -6.562, -16.939));
  615. CFrame.new(Vector3.new(1.7, 0, -0.201)) * CFAngles(Vector3.new(8.817, 8.378, 20.465));
  616. CFrame.new(Vector3.new(-0.7, -1.8, 0.2)) * CFAngles(Vector3.new(-14.432, 3.06, -2.373));
  617. CFrame.new(Vector3.new(0.5, -1.8, -0.201)) * CFAngles(Vector3.new(-0.505, -14.478, -3.968));
  618. })
  619. local boostSpeed = 150
  620. local boostSpeed = 250
  621. local efx = Instance.new("Sound",c.Head)
  622. efx.SoundId = "rbxassetid://200632875"
  623. efx.Pitch = math.random(1100,1300)/1000
  624. efx.Volume = .5
  625. efx:Play()
  626. spawn(function()
  627. wait(5)
  628. efx:Destroy()
  629. end)
  630. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-1)).p).unit * boostSpeed
  631. vel.P = 1e3
  632. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  633. wait(.15)
  634. vel.P = 1000
  635. vel.MaxForce = Vector3.new(3000,0,3000)
  636. vel.Velocity = Vector3.new()
  637. wait(.3)
  638. setLerp(.3)
  639. setJointCFrames({
  640. CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(4, 0, 0));
  641. CFrame.new(Vector3.new(-0.001, 1.52, -0.03)) * CFAngles(Vector3.new(-20.081, 28.752, 3.598));
  642. CFrame.new(Vector3.new(-1.7, 0.2, -0.601)) * CFAngles(Vector3.new(59.51, -3.841, -14.511));
  643. CFrame.new(Vector3.new(1.7, 0.2, 0.399)) * CFAngles(Vector3.new(-47.597, -13.104, 17.887));
  644. CFrame.new(Vector3.new(-0.7, -1.4, 0.2)) * CFAngles(Vector3.new(-44.477, 3.836, -0.524));
  645. CFrame.new(Vector3.new(0.5, -1.4, -0.601)) * CFAngles(Vector3.new(-15.868, -12.953, -7.631));
  646. })
  647. wait(.2)
  648. vel:Destroy()
  649. Debounces.damageLevel = 0
  650. Debounces.scalingDamage = false
  651. Debounces.isBoosting = false
  652. end
  653. end)
  654.  
  655. uinps.InputBegan:connect(function(InputObject)
  656. if InputObject.KeyCode == Enum.KeyCode.Q and Debounces.isAttacking == false and Debounces.isSprinting == false and Debounces.isPassive == true and Debounces.isTyping == false then
  657. local isLooping = true
  658. uinps.InputEnded:connect(function(InputObject2)
  659. if InputObject2.KeyCode == Enum.KeyCode.Q then
  660. isLooping = false
  661. end
  662. end)
  663. while true do
  664. if isLooping == false then
  665. break
  666. end
  667. Debounces.attackNumber = Debounces.attackNumber + 1
  668. local aimPos = mouse.Hit.p
  669. local head = Instance.new("Part",c)
  670. head.Size = Vector3.new(12,.2,12)
  671. head.CanCollide = false
  672. head.Anchored = true
  673. head.Transparency = 1
  674. for i = 1,2 do
  675. local decal = Instance.new("Decal",head)
  676. decal.Texture = "rbxassetid://333659391"
  677. if i == 1 then
  678. decal.Face = Enum.NormalId.Top
  679. else
  680. decal.Face = Enum.NormalId.Bottom
  681. end
  682. end
  683. if Debounces.attackNumber%2 == 1 then
  684. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(8,8,.5)).p,aimPos)
  685. else
  686. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(-8,8,.5)).p,aimPos)
  687. end
  688. spawn(function()
  689. local timer = 0
  690. while rs.RenderStepped:wait() do
  691. if timer >= 1.55 then
  692. break
  693. end
  694. head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
  695. timer = timer + 1/30/(Debounces.FPS/60)
  696. end
  697. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  698. local ray = Ray.new(head.CFrame.p,(aimPos - head.CFrame.p).unit * 999)
  699. local hit, pos = workspace:FindPartOnRay(ray,c)
  700. local dis = (head.CFrame.p - pos).magnitude
  701. local rayPart = Instance.new("Part",rayModel)
  702. rayPart.Material = "Neon"
  703. rayPart.FormFactor = "Custom"
  704. rayPart.BrickColor = BrickColor.new(1,1,1)
  705. rayPart.Anchored = true
  706. rayPart.CanCollide = false
  707. rayPart.Size = Vector3.new(7,7,dis + 400)
  708. 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)
  709. rayPart.CFrame = rayCFrame
  710. head:Destroy()
  711. end)
  712. wait()
  713. local s = Instance.new("Sound",head)
  714. s.Volume = 1
  715. s.SoundId = "rbxassetid://332223043"
  716. s:Play()
  717. wait(.04)
  718. end
  719. end
  720. end)
  721.  
  722. uinps.InputBegan:connect(function(InputObj)
  723. if InputObj.KeyCode == Enum.KeyCode.E and Debounces.isAttacking == false and Debounces.isSprinting == false and Debounces.isPassive == true and Debounces.isTyping == false then
  724. Debounces.isAttacking = true
  725. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  726. local head = Instance.new("Part",c)
  727. head.Size = Vector3.new(18,.2,18)
  728. head.CanCollide = false
  729. head.Anchored = true
  730. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-9)).p,aimPos)
  731. head.Transparency = 1
  732. for i = 1,2 do
  733. local decal = Instance.new("Decal",head)
  734. decal.Texture = "rbxassetid://333659391"
  735. if i == 1 then
  736. decal.Face = Enum.NormalId.Top
  737. else
  738. decal.Face = Enum.NormalId.Bottom
  739. end
  740. end
  741. setLerp(.1)
  742. setJointCFrames({
  743. CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, 0, 0));
  744. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, -0.001, -0.001));
  745. CFrame.new(Vector3.new(-1.7, 0, 0)) * CFAngles(Vector3.new(-12.808, -28.88, -21.502));
  746. CFrame.new(Vector3.new(1.699, 1.2, 0.599)) * CFAngles(Vector3.new(-146.606, 16.571, 13.928));
  747. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-60, 0, -0.001));
  748. CFrame.new(Vector3.new(0.5, -1.4, -0.4)) * CFAngles(Vector3.new(-15.001, -15.001, 0));
  749. })
  750. spawn(function()
  751. local timer = 0
  752. while rs.RenderStepped:wait() do
  753. if timer >= 1.55/.8 then
  754. break
  755. end
  756. head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
  757. timer = timer + 1/30/(Debounces.FPS/60)
  758. end
  759. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  760. local ray = Ray.new(head.CFrame.p,(aimPos - head.CFrame.p).unit * 999)
  761. local hit, pos = workspace:FindPartOnRay(ray,c)
  762. local dis = (head.CFrame.p - pos).magnitude
  763. local rayPart = Instance.new("Part",rayModel)
  764. rayPart.Material = "Neon"
  765. rayPart.FormFactor = "Custom"
  766. rayPart.Name = "Punch"
  767. rayPart.BrickColor = BrickColor.new(255,170,0)
  768. rayPart.Anchored = true
  769. rayPart.CanCollide = false
  770. rayPart.Size = Vector3.new(28,28,dis + 400)
  771. 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)
  772. rayPart.CFrame = rayCFrame
  773. head:Destroy()
  774. end)
  775. wait()
  776. local s = Instance.new("Sound",head)
  777. s.Volume = 1
  778. s.SoundId = "rbxassetid://332223043"
  779. s.Pitch = .8
  780. s:Play()
  781. wait(.75)
  782. setLerp(.17)
  783. setJointCFrames({
  784. CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(-20, 15, 0));
  785. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, 14.999, -0.001));
  786. CFrame.new(Vector3.new(-1.7, 0, 0.2)) * CFAngles(Vector3.new(-33.928, -4.374, -38.76));
  787. CFrame.new(Vector3.new(1.499, 0.4, -0.601)) * CFAngles(Vector3.new(74.335, 25.091, -6.155));
  788. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-45, 0, -0.001));
  789. CFrame.new(Vector3.new(0.5, -1.8, -0.4)) * CFAngles(Vector3.new(-15, -15, 0));
  790. })
  791. wait(.5)
  792. Debounces.isAttacking = false
  793. end
  794. end)
  795.  
  796. reflect = function(d,n)
  797. local i, n = -1 * d.unit, n.unit
  798. local dot = n:Dot(i)
  799. return 2*dot*n - i
  800. end
  801.  
  802. makeReflectionBeam = function(pos,look,isCrit)
  803. local ray = Ray.new(pos,look)
  804. local hit,hitpos,norm = workspace:FindPartOnRay(ray,c)
  805. local e = Instance.new("Part",rayModel)
  806. e.Anchored = true
  807. e.CanCollide = false
  808. e.BrickColor = BrickColor.new("Deep orange")
  809. e.Material = "Neon"
  810. e.FormFactor = "Custom"
  811. e.Size = Vector3.new(6,6,(pos - hitpos).magnitude)
  812. if isCrit == true then
  813. e.Size = Vector3.new(16,16,(pos - hitpos).magnitude)
  814. e.Name = "Punch"
  815. end
  816. e.CFrame = CFrame.new(pos + (hitpos - pos)/2, pos)
  817. local e = Instance.new("Sound",c)
  818. if isCrit == true then
  819. e.Volume = .5
  820. else
  821. e.Volume = .3
  822. e.Pitch = 1.5
  823. end
  824. e.SoundId = "rbxassetid://200632875"
  825. e:Play()
  826. spawn(function()
  827. wait(6)
  828. e:Destroy()
  829. end)
  830. wait(.05)
  831. if hit ~= nil then
  832. newDir = reflect(look.unit,norm,isCrit)
  833. makeReflectionBeam(hitpos,newDir * 999,isCrit)
  834. end
  835. end
  836.  
  837. uinps.InputBegan:connect(function(InputObject)
  838. if InputObject.KeyCode == Enum.KeyCode.Q and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isPassive == true and Debounces.isTyping == false then
  839. local isLooping = true
  840. uinps.InputEnded:connect(function(InputObject2)
  841. if InputObject2.KeyCode == Enum.KeyCode.Q then
  842. isLooping = false
  843. end
  844. end)
  845. while true do
  846. if isLooping == false then
  847. break
  848. end
  849. Debounces.attackNumber = Debounces.attackNumber + 1
  850. local aimPos = mouse.Hit.p
  851. local head = Instance.new("Part",c)
  852. head.Size = Vector3.new(12,.2,12)
  853. head.CanCollide = false
  854. head.Anchored = true
  855. head.Transparency = 1
  856. for i = 1,2 do
  857. local decal = Instance.new("Decal",head)
  858. decal.Texture = "rbxassetid://333659391"
  859. if i == 1 then
  860. decal.Face = Enum.NormalId.Top
  861. else
  862. decal.Face = Enum.NormalId.Bottom
  863. end
  864. end
  865. if Debounces.attackNumber%2 == 1 then
  866. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(8,8,.5)).p,aimPos)
  867. else
  868. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(-8,8,.5)).p,aimPos)
  869. end
  870. spawn(function()
  871. local timer = 0
  872. while rs.RenderStepped:wait() do
  873. if timer >= 1.55 then
  874. break
  875. end
  876. head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
  877. timer = timer + 1/30/(Debounces.FPS/60)
  878. end
  879. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  880. head:Destroy()
  881. makeReflectionBeam(head.CFrame.p,(head.CFrame.p - aimPos).unit * -999,false)
  882. end)
  883.  
  884. wait()
  885. local s = Instance.new("Sound",head)
  886. s.Volume = 1
  887. s.SoundId = "rbxassetid://332223043"
  888. s.Pitch = 1.02
  889. s:Play()
  890. wait(.2)
  891. end
  892. end
  893. end)
  894.  
  895. uinps.InputBegan:connect(function(InputObj)
  896. if InputObj.KeyCode == Enum.KeyCode.E and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isPassive == true and Debounces.isTyping == false then
  897. Debounces.isAttacking = true
  898. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  899. local head = Instance.new("Part",c)
  900. head.Size = Vector3.new(18,.2,18)
  901. head.CanCollide = false
  902. head.Anchored = true
  903. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-9)).p,aimPos)
  904. head.Transparency = 1
  905. for i = 1,2 do
  906. local decal = Instance.new("Decal",head)
  907. decal.Texture = "rbxassetid://333659391"
  908. if i == 1 then
  909. decal.Face = Enum.NormalId.Top
  910. else
  911. decal.Face = Enum.NormalId.Bottom
  912. end
  913. end
  914. setLerp(.1)
  915. setJointCFrames({
  916. CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, 0, 0));
  917. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, -0.001, -0.001));
  918. CFrame.new(Vector3.new(-1.7, 0, 0)) * CFAngles(Vector3.new(-12.808, -28.88, -21.502));
  919. CFrame.new(Vector3.new(1.699, 1.2, 0.599)) * CFAngles(Vector3.new(-146.606, 16.571, 13.928));
  920. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-60, 0, -0.001));
  921. CFrame.new(Vector3.new(0.5, -1.4, -0.4)) * CFAngles(Vector3.new(-15.001, -15.001, 0));
  922. })
  923. spawn(function()
  924. local timer = 0
  925. while rs.RenderStepped:wait() do
  926. if timer >= 1.55/.8 then
  927. break
  928. end
  929. head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
  930. timer = timer + 1/30/(Debounces.FPS/60)
  931. end
  932. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  933. head:Destroy()
  934. makeReflectionBeam(head.CFrame.p,(head.CFrame.p - aimPos).unit * -999,true)
  935. end)
  936. wait()
  937. local s = Instance.new("Sound",head)
  938. s.Volume = 2
  939. s.SoundId = "rbxassetid://332223043"
  940. s.Pitch = .8
  941. s:Play()
  942. wait(.75)
  943. setLerp(.17)
  944. setJointCFrames({
  945. CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(-20, 15, 0));
  946. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, 14.999, -0.001));
  947. CFrame.new(Vector3.new(-1.7, 0, 0.2)) * CFAngles(Vector3.new(-33.928, -4.374, -38.76));
  948. CFrame.new(Vector3.new(1.499, 0.4, -0.601)) * CFAngles(Vector3.new(74.335, 25.091, -6.155));
  949. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-45, 0, -0.001));
  950. CFrame.new(Vector3.new(0.5, -1.8, -0.4)) * CFAngles(Vector3.new(-15, -15, 0));
  951. })
  952. wait(.5)
  953. Debounces.isAttacking = false
  954. end
  955. end)
  956.  
  957. uinps.InputBegan:connect(function(InputObj)
  958. if InputObj.KeyCode == Enum.KeyCode.Slash then
  959. local finishEvent = nil
  960. Debounces.isTyping = true
  961. finishEvent = uinps.InputBegan:connect(function(InputObj)
  962. if InputObj.KeyCode == Enum.KeyCode.Return or InputObj.UserInputType == Enum.UserInputType.MouseButton1 then
  963. Debounces.isTyping = false
  964. finishEvent:disconnect()
  965. end
  966. end)
  967. end
  968. end)
  969.  
  970. uinps.InputBegan:connect(function(InputObj)
  971. if InputObj.KeyCode == Enum.KeyCode.LeftShift then
  972. Debounces.isSprinting = true
  973. end
  974. end)
  975.  
  976. uinps.InputEnded:connect(function(InputObj)
  977. if InputObj.KeyCode == Enum.KeyCode.LeftShift then
  978. Debounces.isSprinting = false
  979. end
  980. end)
  981.  
  982. rs.RenderStepped:connect(function()
  983. Debounces.FPS = 1/rs.RenderStepped:wait()
  984. local FPSLerp = AnimStat.lerpSpeed/(Debounces.FPS/60)
  985. if Debounces.isPassive == false then
  986. fight:Pause()
  987. sans:Resume()
  988. efxBlock.Transparency = 1
  989. else
  990. fight:Resume()
  991. sans:Pause()
  992. efxBlock.Transparency = 0
  993. end
  994. for i,v in pairs (rayModel:children()) do
  995. if v.Transparency >= 1 then
  996. v:Destroy()
  997. else
  998. v.CanCollide = true
  999. local parts = v:GetTouchingParts()
  1000. v.CanCollide = false
  1001. for i = 1,#parts do
  1002. if parts[i].Parent:FindFirstChild("Humanoid") and parts[i].Parent ~= c and v.Name ~= "Punch" then
  1003. parts[i].Parent.Humanoid:TakeDamage(.5/(Debounces.FPS/60))
  1004. elseif parts[i].Parent:FindFirstChild("Humanoid") and parts[i].Parent ~= c and v.Name == "Punch" then
  1005. parts[i].Parent.Humanoid:TakeDamage(3.1/(Debounces.FPS/60))
  1006. end
  1007.  
  1008.  
  1009.  
  1010. end
  1011. v.Size = v.Size + Vector3.new(1/(Debounces.FPS/60),1/(Debounces.FPS/60),0)
  1012. v.Transparency = v.Transparency + .05/(Debounces.FPS/60)
  1013. end
  1014. end
  1015. for i = 1,#Joints do
  1016. Joints[i].C0 = Joints[i].C0:lerp(JointTargets[i], FPSLerp)
  1017. end
  1018. light.Brightness = math.random(1,4)
  1019. end)
  1020.  
  1021.  
  1022. -- ~Papyrus
  1023. -- ~Papyrus 2016
  1024.  
  1025. -- P.S Fuck you.
  1026.  
  1027. -- ~ Papyrus 2016
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement