Advertisement
simhwui

Untitled

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