Advertisement
simhwui

Untitled

Nov 10th, 2016
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 61.03 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 = True
  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, -1, 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. local Size = NumberSequence.new(sizePoints)
  396. local Transparency = NumberSequence.new(transPoints)
  397. rayModel = Instance.new("Model",c)
  398. efxBlock = Instance.new("Part",c)
  399. efxBlock.Material = "Neon"
  400. efxBlock.FormFactor = "Custom"
  401. efxBlock.Size = Vector3.new(.3,.3,.3)
  402. light = Instance.new("PointLight",c.Head)
  403. light.Range = 8
  404. light.Color = Color3.new(1,1,1)
  405. light.Shadows = false
  406. local particles = Instance.new("ParticleEmitter",efxBlock)
  407. particles.Color = ColorSequence.new(Color3.new(.85,.85,.85),Color3.new(1,1,1))
  408. particles.ZOffset = 1
  409. particles.LightEmission = .96
  410. particles.Size = Size
  411. particles.Name = "Fire"
  412. particles.Transparency = Transparency
  413. particles.LockedToPart = True
  414. particles.Rate = 50
  415. particles.EmissionDirection = "Left"
  416. particles.Acceleration = Vector3.new(-.6,0,0)
  417. particles.Texture = "rbxassetid://24378732"
  418. particles.Lifetime = NumberRange.new(1,1)
  419. particles.Speed = NumberRange.new(-.8,8)
  420. script.Parent = efxBlock
  421. fire = particles
  422. local offset = Vector3.new(-0.2, -1, 0.5)
  423. local weld = Instance.new("Weld",c.Head)
  424. weld.Part0 = c.Head
  425. weld.Part1 = efxBlock
  426. weld.C0 = CFrame.new(offset) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  427. efxBlock.Parent = c
  428. local music = Instance.new("Sound",c.Torso)
  429. music.SoundId = "rbxassetid://316012176"
  430. music.Looped = true
  431. music.Volume = soundVol
  432. fight = music
  433. local music2 = Instance.new("Sound",c.Torso)
  434. music2.SoundId = "rbxassetid://316014309"
  435. music2.Looped = true
  436. music2.Volume = soundVol
  437. sans = music2
  438. pointGyro = Instance.new("BodyGyro",c.HumanoidRootPart)
  439. pointGyro.P = 1e7
  440. pointGyro.D = 1e3
  441. pointGyro.MaxTorque = Vector3.new(0,1e7,0)
  442. animator = c.Humanoid:FindFirstChild("Animator")
  443. if animator then
  444. animator:Destroy()
  445. end
  446. local Size = NumberSequence.new(sizePoints)
  447. local Transparency = NumberSequence.new(transPoints)
  448. rayModel = Instance.new("Model",c)
  449. efxBlock = Instance.new("Part",c)
  450. efxBlock.Material = "Neon"
  451. efxBlock.FormFactor = "Custom"
  452. efxBlock.Size = Vector3.new(.3,.3,.3)
  453. light = Instance.new("PointLight",c.Head)
  454. light.Range = 8
  455. light.Color = Color3.new(1,1,1)
  456. light.Shadows = false
  457. local particles = Instance.new("ParticleEmitter",efxBlock)
  458. particles.Color = ColorSequence.new(Color3.new(.85,.85,.85),Color3.new(1,1,1))
  459. particles.ZOffset = 1
  460. particles.LightEmission = .96
  461. particles.Size = Size
  462. particles.Name = "Fire"
  463. particles.Transparency = Transparency
  464. particles.LockedToPart = True
  465. particles.Rate = 50
  466. particles.EmissionDirection = "Right"
  467. particles.Acceleration = Vector3.new(-.3,0,0)
  468. particles.Texture = "rbxassetid://24378732"
  469. particles.Lifetime = NumberRange.new(1,1)
  470. particles.Speed = NumberRange.new(-.8,8)
  471. script.Parent = efxBlock
  472. fire = particles
  473. local offset = Vector3.new(0.2, -1.6, 0.5)
  474. local weld = Instance.new("Weld",c.Head)
  475. weld.Part0 = c.Head
  476. weld.Part1 = efxBlock
  477. weld.C0 = CFrame.new(offset) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  478. efxBlock.Parent = c
  479. local music = Instance.new("Sound",c.Torso)
  480. music.SoundId = "rbxassetid://316012176"
  481. music.Looped = true
  482. music.Volume = soundVol
  483. fight = music
  484. local music2 = Instance.new("Sound",c.Torso)
  485. music2.SoundId = "rbxassetid://316014309"
  486. music2.Looped = true
  487. music2.Volume = soundVol
  488. sans = music2
  489. pointGyro = Instance.new("BodyGyro",c.HumanoidRootPart)
  490. pointGyro.P = 1e7
  491. pointGyro.D = 1e3
  492. pointGyro.MaxTorque = Vector3.new(0,1e7,0)
  493. animator = c.Humanoid:FindFirstChild("Animator")
  494. if animator then
  495. animator:Destroy()
  496. end
  497. local Size = NumberSequence.new(sizePoints)
  498. local Transparency = NumberSequence.new(transPoints)
  499. rayModel = Instance.new("Model",c)
  500. efxBlock = Instance.new("Part",c)
  501. efxBlock.Material = "Neon"
  502. efxBlock.FormFactor = "Custom"
  503. efxBlock.Size = Vector3.new(.3,.3,.3)
  504. light = Instance.new("PointLight",c.Head)
  505. light.Range = 8
  506. light.Color = Color3.new(1,1,1)
  507. light.Shadows = false
  508. local particles = Instance.new("ParticleEmitter",efxBlock)
  509. particles.Color = ColorSequence.new(Color3.new(.85,.85,.85),Color3.new(1,1,1))
  510. particles.ZOffset = 1
  511. particles.LightEmission = .96
  512. particles.Size = Size
  513. particles.Name = "Fire"
  514. particles.Transparency = Transparency
  515. particles.LockedToPart = True
  516. particles.Rate = 50
  517. particles.EmissionDirection = "Left"
  518. particles.Acceleration = Vector3.new(-.3,0,0)
  519. particles.Texture = "rbxassetid://24378732"
  520. particles.Lifetime = NumberRange.new(1,1)
  521. particles.Speed = NumberRange.new(-.8,8)
  522. script.Parent = efxBlock
  523. fire = particles
  524. local offset = Vector3.new(-0.2, -1.6, 0.5)
  525. local weld = Instance.new("Weld",c.Head)
  526. weld.Part0 = c.Head
  527. weld.Part1 = efxBlock
  528. weld.C0 = CFrame.new(offset) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  529. efxBlock.Parent = c
  530. local music = Instance.new("Sound",c.Torso)
  531. music.SoundId = "rbxassetid://316012176"
  532. music.Looped = true
  533. music.Volume = soundVol
  534. fight = music
  535. local music2 = Instance.new("Sound",c.Torso)
  536. music2.SoundId = "rbxassetid://316014309"
  537. music2.Looped = true
  538. music2.Volume = soundVol
  539. sans = music2
  540. pointGyro = Instance.new("BodyGyro",c.HumanoidRootPart)
  541. pointGyro.P = 1e7
  542. pointGyro.D = 1e3
  543. pointGyro.MaxTorque = Vector3.new(0,1e7,0)
  544. animator = c.Humanoid:FindFirstChild("Animator")
  545. if animator then
  546. animator:Destroy()
  547. end
  548. c.Torso.roblox:Destroy()
  549. for i,v in pairs (c.Head:children()) do
  550. if v.ClassName == "Sound" then
  551. v:Destroy()
  552. end
  553. end
  554. for i = 1,#Joints do
  555. Joints[i].C1 = CFrame.new(Vector3.new())
  556. end
  557. human.WalkSpeed = 0
  558. human.JumpPower = 0
  559. end
  560.  
  561. uinps.InputBegan:connect(function(InputObject)
  562. if InputObject.KeyCode == Enum.KeyCode.K and Debounces.isTyping == false then
  563. Debounces.isPassive = not Debounces.isPassive
  564. end
  565. end)
  566.  
  567. setJointCFrames = function(table)
  568. for i = 1,#table do
  569. JointTargets[i] = table[i]
  570. end
  571. AnimationCycles = 0
  572. end
  573.  
  574. setLerp = function(speed)
  575. AnimStat.lerpSpeed = speed
  576. end
  577.  
  578. setTween = function(tween)
  579. AnimStat.lerpTween = tween
  580. end
  581.  
  582. takeDamage = function(position,damage,distance,platformStand)
  583. for i,v in pairs (pls:children()) do
  584. if v.ClassName == "Player" and v:FindFirstChild("Character") then
  585. local torso = v.Character:FindFirstChild("Torso")
  586. if torso and (torso.Position - position).magnitude < distance then
  587. if v.Character.Humanoid.MaxHealth > 1000 then
  588. v.Character.Humanoid.MaxHealth = 100;
  589. v.Character.Humanoid.Breakjoints()
  590. end
  591.  
  592.  
  593. v.Character.Humanoid:TakeDamage(damage)
  594. if platformStand == true then
  595. v.Character.PlatformStand = platformStand
  596. end
  597. end
  598. end
  599. end
  600. end
  601.  
  602. --------------------------------------------------------
  603.  
  604. prepareCharacter()
  605.  
  606. --------------------------------------------------------
  607.  
  608. spawn(function()
  609. local sine = 0
  610. while wait() do
  611. pointGyro.CFrame = CFrame.new(Vector3.new(),(mouse.Hit.p - c.HumanoidRootPart.CFrame.p).unit * 100)
  612. if Debounces.isAttacking == false and Debounces.isMoving == false and Debounces.isBoosting == false then
  613. setLerp(.1)
  614. if Debounces.isPassive == true then
  615. setJointCFrames({
  616. CFrame.new(Vector3.new(0, 0 + math.sin(tick() * 1.5)/25, 0)) * CFAngles(Vector3.new(0, 0, 0));
  617. 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));
  618. CFrame.new(Vector3.new(-1.06, -0.03 + math.sin(tick() * 1.5)/25, 0.449)) * CFAngles(Vector3.new(-29.511, 0, 29.51));
  619. 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));
  620. CFrame.new(Vector3.new(-0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(0, 8.885, 0));
  621. CFrame.new(Vector3.new(0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(-0.001, -8.886, 0));
  622. })
  623. else
  624. setJointCFrames({
  625. CFrame.new(Vector3.new(0, 0 + math.sin(tick() * 1.5)/25, 0)) * CFAngles(Vector3.new(0, 0, 0));
  626. 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));
  627. CFrame.new(Vector3.new(-1.06, -0.03 + math.sin(tick() * 1.5)/25, 0.449)) * CFAngles(Vector3.new(-29.511, 0, 29.51));
  628. 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));
  629. CFrame.new(Vector3.new(-0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(0, 8.885, 0));
  630. CFrame.new(Vector3.new(0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(-0.001, -8.886, 0));
  631. })
  632. end
  633. elseif Debounces.isAttacking == false and Debounces.isMoving == true and Debounces.isBoosting == false then
  634. sine = sine + math.rad(12)
  635. human.WalkSpeed = 15
  636. setLerp(.15)
  637. setJointCFrames({
  638. CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, math.sin(sine) * -2.5, 0));
  639. CFrame.new(Vector3.new(0, 1.499, -0.04)) * CFAngles(Vector3.new(-5.676, -0.001 - math.sin(sine) * 3, -0.001));
  640. 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));
  641. 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));
  642. 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));
  643. 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));
  644. })
  645. end
  646. if Debounces.scalingDamage == true then
  647. takeDamage(c.HumanoidRootPart.Position,Debounces.damageLevel,8,true)
  648. end
  649. end
  650. end)
  651.  
  652. human.Changed:connect(function(prop)
  653. if prop == "MoveDirection" then
  654. if human.MoveDirection.magnitude > .02 then
  655. Debounces.isMoving = true
  656. else
  657. Debounces.isMoving = false
  658. end
  659. end
  660. end)
  661.  
  662. uinps.InputBegan:connect(function(InputObject)
  663. 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
  664. Debounces.isBoosting = true
  665. Debounces.damageLevel = 10
  666. Debounces.scalingDamage = true
  667. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  668. setLerp(.15)
  669. setJointCFrames({
  670. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, 20));
  671. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-10.372, 28.758, -1.837));
  672. CFrame.new(Vector3.new(-0.7, -0.2, -0.801)) * CFAngles(Vector3.new(45, 0, 45));
  673. CFrame.new(Vector3.new(1.7, 0.2, 0.199)) * CFAngles(Vector3.new(-15.001, -15.001, 45));
  674. CFrame.new(Vector3.new(-0.3, -2, 0.2)) * CFAngles(Vector3.new(-11.283, -17.801, 19.495));
  675. CFrame.new(Vector3.new(0.9, -2, -0.201)) * CFAngles(Vector3.new(15, -15, 29.999));
  676. })
  677. local boostSpeed = 250
  678. local efx = Instance.new("Sound",c.Head)
  679. efx.SoundId = "rbxassetid://200632875"
  680. efx.Pitch = math.random(1100,1300)/1000
  681. efx.Volume = .5
  682. efx:Play()
  683. spawn(function()
  684. wait(5)
  685. efx:Destroy()
  686. end)
  687. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(1,0,0)).p).unit * boostSpeed
  688. vel.P = 1e3
  689. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  690. wait(.15)
  691. vel.P = 1000
  692. vel.MaxForce = Vector3.new(3000,0,3000)
  693. vel.Velocity = Vector3.new()
  694. wait(.3)
  695. setLerp(.3)
  696. setJointCFrames({
  697. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, 13));
  698. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-30.239, 42.47, 11.879));
  699. CFrame.new(Vector3.new(-1.9, -0.2, -0.401)) * CFAngles(Vector3.new(44.999, 0, -45));
  700. CFrame.new(Vector3.new(1.5, 0.4, 0.599)) * CFAngles(Vector3.new(-62.058, -21.088, -15.383));
  701. CFrame.new(Vector3.new(-0.7, -1.8, 0.6)) * CFAngles(Vector3.new(-59.239, -26.158, -14.457));
  702. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(-0.505, -14.478, -18.968));
  703. })
  704. wait(.2)
  705. vel:Destroy()
  706. Debounces.damageLevel = 0
  707. Debounces.scalingDamage = false
  708. Debounces.isBoosting = false
  709. end
  710. end)
  711.  
  712. uinps.InputBegan:connect(function(InputObject)
  713. 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
  714. Debounces.isBoosting = true
  715. Debounces.damageLevel = 10
  716. Debounces.scalingDamage = true
  717. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  718. setLerp(.15)
  719. setJointCFrames({
  720. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, -15));
  721. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-13.603, -45.662, -6.645));
  722. CFrame.new(Vector3.new(-1.9, 0, -0.201)) * CFAngles(Vector3.new(31.935, -7.436, -60.853));
  723. CFrame.new(Vector3.new(1.9, 0, 0.399)) * CFAngles(Vector3.new(-3.644, -23.448, 59.102));
  724. CFrame.new(Vector3.new(-1.1, -1.8, 0)) * CFAngles(Vector3.new(-3.616, -11.936, -29.566));
  725. CFrame.new(Vector3.new(0.1, -1.6, -0.601)) * CFAngles(Vector3.new(1.943, -7.181, -32.528));
  726. })
  727. local boostSpeed = 250
  728. local efx = Instance.new("Sound",c.Head)
  729. efx.SoundId = "rbxassetid://200632875"
  730. efx.Pitch = math.random(1100,1300)/1000
  731. efx.Volume = .5
  732. efx:Play()
  733. spawn(function()
  734. wait(5)
  735. efx:Destroy()
  736. end)
  737. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(-1,0,0)).p).unit * boostSpeed
  738. vel.P = 1e3
  739. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  740. wait(.15)
  741. vel.P = 1000
  742. vel.MaxForce = Vector3.new(3000,0,3000)
  743. vel.Velocity = Vector3.new()
  744. wait(.3)
  745. setLerp(.3)
  746. setJointCFrames({
  747. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, -13));
  748. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-12.936, -46.206, -2.327));
  749. CFrame.new(Vector3.new(-1.9, 0.2, -0.201)) * CFAngles(Vector3.new(45, 0, -60));
  750. CFrame.new(Vector3.new(1.7, 0, -0.401)) * CFAngles(Vector3.new(14.035, -5.69, 35.342));
  751. CFrame.new(Vector3.new(-0.3, -1.8, 0.6)) * CFAngles(Vector3.new(-55.479, -10.612, 15.729));
  752. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, 14.999));
  753. })
  754. wait(.2)
  755. vel:Destroy()
  756. Debounces.damageLevel = 0
  757. Debounces.scalingDamage = false
  758. Debounces.isBoosting = false
  759. end
  760. end)
  761.  
  762. uinps.InputBegan:connect(function(InputObject)
  763. 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
  764. Debounces.isBoosting = true
  765. Debounces.damageLevel = 10
  766. Debounces.scalingDamage = true
  767. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  768. setLerp(.15)
  769. setJointCFrames({
  770. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-40.001, 0, 5));
  771. CFrame.new(Vector3.new(-0.001, 1.429, 0.2)) * CFAngles(Vector3.new(25.141, -8.347, 0.878));
  772. CFrame.new(Vector3.new(-1.5, 0, .101)) * CFAngles(Vector3.new(14.999, -0.001, 0));
  773. CFrame.new(Vector3.new(1.7, 0.199, -0.401)) * CFAngles(Vector3.new(28.08, -0.358, 21.087));
  774. CFrame.new(Vector3.new(-0.5, -1.8, 0.6)) * CFAngles(Vector3.new(-29.448, 3.57, -1.5));
  775. CFrame.new(Vector3.new(0.499, -1.6, -0.401)) * CFAngles(Vector3.new(-0.505, -14.478, -3.968));
  776. })
  777. local boostSpeed = 250
  778. local efx = Instance.new("Sound",c.Head)
  779. efx.SoundId = "rbxassetid://200632875"
  780. efx.Pitch = math.random(1100,1300)/1000
  781. efx.Volume = .5
  782. efx:Play()
  783. spawn(function()
  784. wait(5)
  785. efx:Destroy()
  786. end)
  787. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,1)).p).unit * boostSpeed
  788. vel.P = 1e3
  789. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  790. wait(.15)
  791. vel.P = 1000
  792. vel.MaxForce = Vector3.new(3000,0,3000)
  793. vel.Velocity = Vector3.new()
  794. wait(.3)
  795. setLerp(.3)
  796. setJointCFrames({
  797. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 40, -13));
  798. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-12.936, -46.206, -2.327));
  799. CFrame.new(Vector3.new(-1.9, 0.2, -0.201)) * CFAngles(Vector3.new(45, 0, -60));
  800. CFrame.new(Vector3.new(1.7, 0, -0.401)) * CFAngles(Vector3.new(14.035, -5.69, 35.342));
  801. CFrame.new(Vector3.new(-0.3, -1.8, 0.6)) * CFAngles(Vector3.new(-55.479, -10.612, 15.729));
  802. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, 14.999));
  803. })
  804. wait(.2)
  805. vel:Destroy()
  806. Debounces.damageLevel = 0
  807. Debounces.scalingDamage = false
  808. Debounces.isBoosting = false
  809. end
  810. end)
  811.  
  812. uinps.InputBegan:connect(function(InputObject)
  813. 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
  814. Debounces.isBoosting = true
  815. Debounces.damageLevel = 10
  816. Debounces.scalingDamage = true
  817. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  818. setLerp(.15)
  819. setJointCFrames({
  820. CFrame.new(Vector3.new(0, -.3, 0)) * CFAngles(Vector3.new(15, 0, 0));
  821. CFrame.new(Vector3.new(-0.001, 1.52, -0.03)) * CFAngles(Vector3.new(-5.298, -1.305, -4.093));
  822. CFrame.new(Vector3.new(-1.7, 0, -0.201)) * CFAngles(Vector3.new(12.112, -6.562, -16.939));
  823. CFrame.new(Vector3.new(1.7, 0, -0.201)) * CFAngles(Vector3.new(8.817, 8.378, 20.465));
  824. CFrame.new(Vector3.new(-0.7, -1.8, 0.2)) * CFAngles(Vector3.new(-14.432, 3.06, -2.373));
  825. CFrame.new(Vector3.new(0.5, -1.8, -0.201)) * CFAngles(Vector3.new(-0.505, -14.478, -3.968));
  826. })
  827. local boostSpeed = 150
  828. local boostSpeed = 250
  829. local efx = Instance.new("Sound",c.Head)
  830. efx.SoundId = "rbxassetid://200632875"
  831. efx.Pitch = math.random(1100,1300)/1000
  832. efx.Volume = .5
  833. efx:Play()
  834. spawn(function()
  835. wait(5)
  836. efx:Destroy()
  837. end)
  838. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-1)).p).unit * boostSpeed
  839. vel.P = 1e3
  840. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  841. wait(.15)
  842. vel.P = 1000
  843. vel.MaxForce = Vector3.new(3000,0,3000)
  844. vel.Velocity = Vector3.new()
  845. wait(.3)
  846. setLerp(.3)
  847. setJointCFrames({
  848. CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(4, 0, 0));
  849. CFrame.new(Vector3.new(-0.001, 1.52, -0.03)) * CFAngles(Vector3.new(-20.081, 28.752, 3.598));
  850. CFrame.new(Vector3.new(-1.7, 0.2, -0.601)) * CFAngles(Vector3.new(59.51, -3.841, -14.511));
  851. CFrame.new(Vector3.new(1.7, 0.2, 0.399)) * CFAngles(Vector3.new(-47.597, -13.104, 17.887));
  852. CFrame.new(Vector3.new(-0.7, -1.4, 0.2)) * CFAngles(Vector3.new(-44.477, 3.836, -0.524));
  853. CFrame.new(Vector3.new(0.5, -1.4, -0.601)) * CFAngles(Vector3.new(-15.868, -12.953, -7.631));
  854. })
  855. wait(.2)
  856. vel:Destroy()
  857. Debounces.damageLevel = 0
  858. Debounces.scalingDamage = false
  859. Debounces.isBoosting = false
  860. end
  861. end)
  862.  
  863. uinps.InputBegan:connect(function(InputObject)
  864. if InputObject.KeyCode == Enum.KeyCode.Q and Debounces.isAttacking == false and Debounces.isSprinting == false and Debounces.isPassive == true and Debounces.isTyping == false then
  865. local isLooping = true
  866. uinps.InputEnded:connect(function(InputObject2)
  867. if InputObject2.KeyCode == Enum.KeyCode.Q then
  868. isLooping = false
  869. end
  870. end)
  871. while true do
  872. if isLooping == false then
  873. break
  874. end
  875. Debounces.attackNumber = Debounces.attackNumber + 1
  876. local aimPos = mouse.Hit.p
  877. local head = Instance.new("Part",c)
  878. head.Size = Vector3.new(12,.2,12)
  879. head.CanCollide = false
  880. head.Anchored = true
  881. head.Transparency = 1
  882. for i = 1,2 do
  883. local decal = Instance.new("Decal",head)
  884. decal.Texture = "rbxassetid://323497117"
  885. if i == 1 then
  886. decal.Face = Enum.NormalId.Top
  887. else
  888. decal.Face = Enum.NormalId.Bottom
  889. end
  890. end
  891. if Debounces.attackNumber%2 == 1 then
  892. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(8,8,.5)).p,aimPos)
  893. else
  894. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(-8,8,.5)).p,aimPos)
  895. end
  896. spawn(function()
  897. local timer = 0
  898. while rs.RenderStepped:wait() do
  899. if timer >= 1.55 then
  900. break
  901. end
  902. head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
  903. timer = timer + 1/30/(Debounces.FPS/60)
  904. end
  905. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  906. local ray = Ray.new(head.CFrame.p,(aimPos - head.CFrame.p).unit * 999)
  907. local hit, pos = workspace:FindPartOnRay(ray,c)
  908. local dis = (head.CFrame.p - pos).magnitude
  909. local rayPart = Instance.new("Part",rayModel)
  910. rayPart.Material = "Neon"
  911. rayPart.FormFactor = "Custom"
  912. rayPart.BrickColor = BrickColor.new(1,1,1)
  913. rayPart.Anchored = true
  914. rayPart.CanCollide = false
  915. rayPart.Size = Vector3.new(7,7,dis + 400)
  916. 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)
  917. rayPart.CFrame = rayCFrame
  918. head:Destroy()
  919. end)
  920. wait()
  921. local s = Instance.new("Sound",head)
  922. s.Volume = 1
  923. s.SoundId = "rbxassetid://332223043"
  924. s:Play()
  925. wait(.04)
  926. end
  927. end
  928. end)
  929.  
  930. uinps.InputBegan:connect(function(InputObj)
  931. if InputObj.KeyCode == Enum.KeyCode.E and Debounces.isAttacking == false and Debounces.isSprinting == false and Debounces.isPassive == true and Debounces.isTyping == false then
  932. Debounces.isAttacking = true
  933. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  934. local head = Instance.new("Part",c)
  935. head.Size = Vector3.new(18,.2,18)
  936. head.CanCollide = false
  937. head.Anchored = true
  938. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-9)).p,aimPos)
  939. head.Transparency = 1
  940. for i = 1,2 do
  941. local decal = Instance.new("Decal",head)
  942. decal.Texture = "rbxassetid://323497117"
  943. if i == 1 then
  944. decal.Face = Enum.NormalId.Top
  945. else
  946. decal.Face = Enum.NormalId.Bottom
  947. end
  948. end
  949. setLerp(.1)
  950. setJointCFrames({
  951. CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, 0, 0));
  952. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, -0.001, -0.001));
  953. CFrame.new(Vector3.new(-1.7, 0, 0)) * CFAngles(Vector3.new(-12.808, -28.88, -21.502));
  954. CFrame.new(Vector3.new(1.699, 1.2, 0.599)) * CFAngles(Vector3.new(-146.606, 16.571, 13.928));
  955. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-60, 0, -0.001));
  956. CFrame.new(Vector3.new(0.5, -1.4, -0.4)) * CFAngles(Vector3.new(-15.001, -15.001, 0));
  957. })
  958. spawn(function()
  959. local timer = 0
  960. while rs.RenderStepped:wait() do
  961. if timer >= 1.55/.8 then
  962. break
  963. end
  964. head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
  965. timer = timer + 1/30/(Debounces.FPS/60)
  966. end
  967. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  968. local ray = Ray.new(head.CFrame.p,(aimPos - head.CFrame.p).unit * 999)
  969. local hit, pos = workspace:FindPartOnRay(ray,c)
  970. local dis = (head.CFrame.p - pos).magnitude
  971. local rayPart = Instance.new("Part",rayModel)
  972. rayPart.Material = "Neon"
  973. rayPart.FormFactor = "Custom"
  974. rayPart.Name = "Punch"
  975. rayPart.BrickColor = BrickColor.new(1,1,1)
  976. rayPart.Anchored = true
  977. rayPart.CanCollide = false
  978. rayPart.Size = Vector3.new(28,28,dis + 400)
  979. 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)
  980. rayPart.CFrame = rayCFrame
  981. head:Destroy()
  982. end)
  983. wait()
  984. local s = Instance.new("Sound",head)
  985. s.Volume = 1
  986. s.SoundId = "rbxassetid://332223043"
  987. s.Pitch = .8
  988. s:Play()
  989. wait(.75)
  990. setLerp(.17)
  991. setJointCFrames({
  992. CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(-20, 15, 0));
  993. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, 14.999, -0.001));
  994. CFrame.new(Vector3.new(-1.7, 0, 0.2)) * CFAngles(Vector3.new(-33.928, -4.374, -38.76));
  995. CFrame.new(Vector3.new(1.499, 0.4, -0.601)) * CFAngles(Vector3.new(74.335, 25.091, -6.155));
  996. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-45, 0, -0.001));
  997. CFrame.new(Vector3.new(0.5, -1.8, -0.4)) * CFAngles(Vector3.new(-15, -15, 0));
  998. })
  999. wait(.5)
  1000. Debounces.isAttacking = false
  1001. end
  1002. end)
  1003.  
  1004. reflect = function(d,n)
  1005. local i, n = -1 * d.unit, n.unit
  1006. local dot = n:Dot(i)
  1007. return 2*dot*n - i
  1008. end
  1009.  
  1010. makeReflectionBeam = function(pos,look,isCrit)
  1011. local ray = Ray.new(pos,look)
  1012. local hit,hitpos,norm = workspace:FindPartOnRay(ray,c)
  1013. local e = Instance.new("Part",rayModel)
  1014. e.Anchored = true
  1015. e.CanCollide = false
  1016. e.BrickColor = BrickColor.new("White")
  1017. e.Material = "Neon"
  1018. e.FormFactor = "Custom"
  1019. e.Size = Vector3.new(6,6,(pos - hitpos).magnitude)
  1020. if isCrit == true then
  1021. e.Size = Vector3.new(16,16,(pos - hitpos).magnitude)
  1022. e.Name = "Punch"
  1023. end
  1024. e.CFrame = CFrame.new(pos + (hitpos - pos)/2, pos)
  1025. local e = Instance.new("Sound",c)
  1026. if isCrit == true then
  1027. e.Volume = .5
  1028. else
  1029. e.Volume = .3
  1030. e.Pitch = 1.5
  1031. end
  1032. e.SoundId = "rbxassetid://200632875"
  1033. e:Play()
  1034. spawn(function()
  1035. wait(6)
  1036. e:Destroy()
  1037. end)
  1038. wait(.05)
  1039. if hit ~= nil then
  1040. newDir = reflect(look.unit,norm,isCrit)
  1041. makeReflectionBeam(hitpos,newDir * 999,isCrit)
  1042. end
  1043. end
  1044.  
  1045. uinps.InputBegan:connect(function(InputObject)
  1046. if InputObject.KeyCode == Enum.KeyCode.Q and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isPassive == true and Debounces.isTyping == false then
  1047. local isLooping = true
  1048. uinps.InputEnded:connect(function(InputObject2)
  1049. if InputObject2.KeyCode == Enum.KeyCode.Q then
  1050. isLooping = false
  1051. end
  1052. end)
  1053. while true do
  1054. if isLooping == false then
  1055. break
  1056. end
  1057. Debounces.attackNumber = Debounces.attackNumber + 1
  1058. local aimPos = mouse.Hit.p
  1059. local head = Instance.new("Part",c)
  1060. head.Size = Vector3.new(12,.2,12)
  1061. head.CanCollide = false
  1062. head.Anchored = true
  1063. head.Transparency = 1
  1064. for i = 1,2 do
  1065. local decal = Instance.new("Decal",head)
  1066. decal.Texture = "rbxassetid://323497117"
  1067. if i == 1 then
  1068. decal.Face = Enum.NormalId.Top
  1069. else
  1070. decal.Face = Enum.NormalId.Bottom
  1071. end
  1072. end
  1073. if Debounces.attackNumber%2 == 1 then
  1074. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(8,8,.5)).p,aimPos)
  1075. else
  1076. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(-8,8,.5)).p,aimPos)
  1077. end
  1078. spawn(function()
  1079. local timer = 0
  1080. while rs.RenderStepped:wait() do
  1081. if timer >= 1.55 then
  1082. break
  1083. end
  1084. head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
  1085. timer = timer + 1/30/(Debounces.FPS/60)
  1086. end
  1087. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  1088. head:Destroy()
  1089. makeReflectionBeam(head.CFrame.p,(head.CFrame.p - aimPos).unit * -999,false)
  1090. end)
  1091.  
  1092. wait()
  1093. local s = Instance.new("Sound",head)
  1094. s.Volume = 1
  1095. s.SoundId = "rbxassetid://332223043"
  1096. s.Pitch = 1.02
  1097. s:Play()
  1098. wait(.2)
  1099. end
  1100. end
  1101. end)
  1102.  
  1103. uinps.InputBegan:connect(function(InputObj)
  1104. if InputObj.KeyCode == Enum.KeyCode.E and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isPassive == true and Debounces.isTyping == false then
  1105. Debounces.isAttacking = true
  1106. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  1107. local head = Instance.new("Part",c)
  1108. head.Size = Vector3.new(18,.2,18)
  1109. head.CanCollide = false
  1110. head.Anchored = true
  1111. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-9)).p,aimPos)
  1112. head.Transparency = 1
  1113. for i = 1,2 do
  1114. local decal = Instance.new("Decal",head)
  1115. decal.Texture = "rbxassetid://323497117"
  1116. if i == 1 then
  1117. decal.Face = Enum.NormalId.Top
  1118. else
  1119. decal.Face = Enum.NormalId.Bottom
  1120. end
  1121. end
  1122. setLerp(.1)
  1123. setJointCFrames({
  1124. CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, 0, 0));
  1125. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, -0.001, -0.001));
  1126. CFrame.new(Vector3.new(-1.7, 0, 0)) * CFAngles(Vector3.new(-12.808, -28.88, -21.502));
  1127. CFrame.new(Vector3.new(1.699, 1.2, 0.599)) * CFAngles(Vector3.new(-146.606, 16.571, 13.928));
  1128. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-60, 0, -0.001));
  1129. CFrame.new(Vector3.new(0.5, -1.4, -0.4)) * CFAngles(Vector3.new(-15.001, -15.001, 0));
  1130. })
  1131. spawn(function()
  1132. local timer = 0
  1133. while rs.RenderStepped:wait() do
  1134. if timer >= 1.55/.8 then
  1135. break
  1136. end
  1137. head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
  1138. timer = timer + 1/30/(Debounces.FPS/60)
  1139. end
  1140. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  1141. head:Destroy()
  1142. makeReflectionBeam(head.CFrame.p,(head.CFrame.p - aimPos).unit * -999,true)
  1143. end)
  1144. wait()
  1145. local s = Instance.new("Sound",head)
  1146. s.Volume = 2
  1147. s.SoundId = "rbxassetid://332223043"
  1148. s.Pitch = .8
  1149. s:Play()
  1150. wait(.75)
  1151. setLerp(.17)
  1152. setJointCFrames({
  1153. CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(-20, 15, 0));
  1154. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, 14.999, -0.001));
  1155. CFrame.new(Vector3.new(-1.7, 0, 0.2)) * CFAngles(Vector3.new(-33.928, -4.374, -38.76));
  1156. CFrame.new(Vector3.new(1.499, 0.4, -0.601)) * CFAngles(Vector3.new(74.335, 25.091, -6.155));
  1157. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-45, 0, -0.001));
  1158. CFrame.new(Vector3.new(0.5, -1.8, -0.4)) * CFAngles(Vector3.new(-15, -15, 0));
  1159. })
  1160. wait(.5)
  1161. Debounces.isAttacking = false
  1162. end
  1163. end)
  1164.  
  1165. uinps.InputBegan:connect(function(InputObj)
  1166. if InputObj.KeyCode == Enum.KeyCode.Slash then
  1167. local finishEvent = nil
  1168. Debounces.isTyping = true
  1169. finishEvent = uinps.InputBegan:connect(function(InputObj)
  1170. if InputObj.KeyCode == Enum.KeyCode.Return or InputObj.UserInputType == Enum.UserInputType.MouseButton1 then
  1171. Debounces.isTyping = false
  1172. finishEvent:disconnect()
  1173. end
  1174. end)
  1175. end
  1176. end)
  1177.  
  1178. uinps.InputBegan:connect(function(InputObj)
  1179. if InputObj.KeyCode == Enum.KeyCode.LeftShift then
  1180. Debounces.isSprinting = true
  1181. end
  1182. end)
  1183.  
  1184. uinps.InputEnded:connect(function(InputObj)
  1185. if InputObj.KeyCode == Enum.KeyCode.LeftShift then
  1186. Debounces.isSprinting = false
  1187. end
  1188. end)
  1189.  
  1190. rs.RenderStepped:connect(function()
  1191. Debounces.FPS = 1/rs.RenderStepped:wait()
  1192. local FPSLerp = AnimStat.lerpSpeed/(Debounces.FPS/60)
  1193. if Debounces.isPassive == false then
  1194. fight:Pause()
  1195. sans:Resume()
  1196. efxBlock.Transparency = 1
  1197. else
  1198. fight:Resume()
  1199. sans:Pause()
  1200. efxBlock.Transparency = 0
  1201. end
  1202. for i,v in pairs (rayModel:children()) do
  1203. if v.Transparency >= 1 then
  1204. v:Destroy()
  1205. else
  1206. v.CanCollide = true
  1207. local parts = v:GetTouchingParts()
  1208. v.CanCollide = false
  1209. for i = 1,#parts do
  1210. if parts[i].Parent:FindFirstChild("Humanoid") and parts[i].Parent ~= c and v.Name ~= "Punch" then
  1211. parts[i].Parent.Humanoid:TakeDamage(.5/(Debounces.FPS/60))
  1212. elseif parts[i].Parent:FindFirstChild("Humanoid") and parts[i].Parent ~= c and v.Name == "Punch" then
  1213. parts[i].Parent.Humanoid:TakeDamage(3.1/(Debounces.FPS/60))
  1214. end
  1215. end
  1216. v.Size = v.Size + Vector3.new(1/(Debounces.FPS/60),1/(Debounces.FPS/60),0)
  1217. v.Transparency = v.Transparency + .05/(Debounces.FPS/60)
  1218. end
  1219. end
  1220. for i = 1,#Joints do
  1221. Joints[i].C0 = Joints[i].C0:lerp(JointTargets[i], FPSLerp)
  1222. end
  1223. light.Brightness = math.random(1,4)
  1224. end)
  1225. -- ~CLarramore
  1226. -- ~CLarramore 2016 (writing over my old signature)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement