Advertisement
CLarramore

95audrey's stupid papyrus script (LEAKED)

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