Advertisement
DontAskme

Wow sans

Jul 27th, 2016
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- Genosans. leaked by CLarramore
  2. -- NOTE: This was edited from error-sans another script edit of mine.
  3. -- UPDATE: There will be an entirely new version of geno-sans. It will be rewritten and everything. stay tuned
  4.  
  5. dot = false
  6. des = false
  7. local ChatService = game:GetService("Chat")
  8. local player = game.Players.LocalPlayer
  9. char = player.Character
  10.  
  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. Debounces = {
  42. ["IsSpeech"]=false;
  43. }
  44.  
  45.  
  46. Speeches = {
  47. "rbxassetid://316403916",
  48. "rbxassetid://316403844",
  49. "rbxassetid://316403787",
  50. "rbxassetid://316403490"
  51. };
  52.  
  53.  
  54.  
  55.  
  56. function swait(num)
  57. if num==0 or num==nil then
  58. game:service'RunService'.Stepped:wait(0)
  59. else
  60. for i=0,num do
  61. game:service'RunService'.Stepped:wait(0)
  62. end
  63. end
  64. end
  65.  
  66.  
  67. for _,v in pairs(Speeches) do
  68.  
  69. game:GetService("ContentProvider"):Preload(v)
  70.  
  71. end
  72.  
  73. so = function(id,par,vol,pit)
  74. coroutine.resume(coroutine.create(function()
  75. local sou = Instance.new("Sound",par or workspace)
  76. sou.Volume=vol
  77. sou.Pitch=pit or 1
  78. sou.SoundId=id
  79. swait()
  80. sou:play()
  81. game:GetService("Debris"):AddItem(sou,sou.TimeLength)
  82. end))
  83. end
  84.  
  85.  
  86.  
  87. function speech()
  88. if Debounces.IsSpeech then return end
  89. Debounces.IsSpeech = true
  90.  
  91. so(""..Speeches[math.random(1,#Speeches)].."",torso,1,1)
  92.  
  93. swait()
  94.  
  95. Debounces.IsSpeech = false
  96. end
  97.  
  98.  
  99. gui1.Visible = false
  100. img = Instance.new("ImageLabel",bb)
  101. img.Size = UDim2.new(0,46,0,47)
  102. img.Position = UDim2.new(0,10,0,-41)
  103. img.Image = "rbxassetid://388166921"
  104. img.BorderColor3 = Color3.new(0,0,0)
  105. img.Visible = false
  106. asd = Instance.new("Sound",player.Character.Torso)
  107. asd.SoundId = "http://www.roblox.com/asset/?id = 358280695"
  108.  
  109. asd1 = Instance.new("Sound",player.Character.Torso)
  110. asd1.SoundId = "http://www.roblox.com/asset/?id = 358280695"
  111.  
  112. asd2 = Instance.new("Sound",player.Character.Torso)
  113. asd2.SoundId = "http://www.roblox.com/asset/?id = 306370481"
  114. asd2.Looped = true
  115. asd3 = Instance.new("Sound",player.Character.Torso)
  116. asd3.SoundId = "http://www.roblox.com/asset/?id = 316014309"
  117. asd3.Looped = true
  118. asd4 = Instance.new("Sound",player.Character.Torso)
  119. asd4.SoundId = "http://www.roblox.com/asset/?id = 388938813"
  120. asd4.Looped = false
  121. asd5 = Instance.new("Sound",player.Character.Torso)
  122. asd5.SoundId = "http://www.roblox.com/asset/?id = 0"
  123. asd5.Looped = true
  124. dunkd = Instance.new("Sound",player.Character.Torso)
  125. dunkd.SoundId = "http://www.roblox.com/asset/?id = 333078694"
  126. dunkd.Looped = false
  127. function play(play)
  128. asd:Play()
  129. asd1:Play()
  130. end
  131. eye = Instance.new("Part",player.Character)
  132. eye.BrickColor = BrickColor.new("Toothpaste")
  133. eye.Material = "Neon"
  134. eye.FormFactor = 3
  135. eye.Shape = "Ball"
  136. eye.Size = Vector3.new(0.37,0.37,0.1)
  137. weld = Instance.new("Weld",eye)
  138. weld.Part0 = eye
  139. weld.Part1 = player.Character.Head
  140. weld.C0 = CFrame.new(0.1,-0.2,0.45)
  141. eye.Transparency = 1
  142. -- listen for their chatting
  143. player.Chatted:connect(function(message)
  144. a = string.len(message)
  145. gui.Text = "* "
  146. gui.Visible = true
  147. gui1.Visible = true
  148. des = false
  149. img.Visible = true
  150. print(a)
  151. if dot == false then
  152. for i = 1,string.len(message) do wait(0.07)
  153. gui.Text =gui.Text..message:sub(i,i)
  154.  
  155. play()
  156. end
  157. end
  158.  
  159. des = true
  160. end)
  161. m.KeyDown:connect(function(k)
  162. if k == "g" then
  163. asd2:Play()
  164. eye.Transparency = 0
  165.  
  166. elseif k == "k" then
  167. speech()
  168. end
  169. end)
  170. m.KeyDown:connect(function(k)
  171. if k == "p" then
  172. eye.Transparency = 1
  173. asd3:Play()
  174. end
  175. end)
  176. m.KeyDown:connect(function(k)
  177. if k == "r" then
  178. eye.Transparency = 0
  179. asd4:Play()
  180. end
  181. end)
  182. m.KeyDown:connect(function(k)
  183. if k == "q" then
  184. eye.Transparency = 1
  185. asd5:Play()
  186. end
  187. end)
  188. m.KeyDown:connect(function(k)
  189. if k == "z" then
  190.  
  191. img.Image = "rbxassetid://388167098"
  192. end
  193. end)
  194. m.KeyDown:connect(function(k)
  195. if k == "c" then
  196. img.Image = "rbxassetid://388166921"
  197. end
  198. end)
  199. m.KeyDown:connect(function(k)
  200. if k == "n" then
  201. img.Image = "rbxassetid://388166991"
  202. end
  203. end)
  204. m.KeyDown:connect(function(k)
  205. if k == "b" then
  206. img.Image = "rbxassetid://378060690"
  207. end
  208. end)
  209. m.KeyDown:connect(function(k)
  210. if k == "m" then
  211. img.Image = "rbxassetid://378609498"
  212. end
  213. end)
  214. m.KeyDown:connect(function(k)
  215. if k == "v" then
  216. img.Image = "rbxassetid://388166961"
  217. end
  218. end)
  219. m.KeyDown:connect(function(k)
  220. if k == "h" then
  221. img.Image = "rbxassetid://378577428"
  222. end
  223. end)
  224. m.KeyDown:connect(function(k)
  225. if k == "j" then
  226. img.Image = "rbxassetid://388167116"
  227. end
  228. end)
  229. m.KeyDown:connect(function(k)
  230. if k == "l" then
  231. img.Image = "rbxassetid://388167154"
  232. print("You take your very last breath...")
  233. asdd = Instance.new("Sound",player.Character.Torso)
  234. asdd.SoundId = "http://www.roblox.com/asset/?id = 357417055"
  235. asdd.Looped = false
  236. spawn(function()
  237. wait()
  238. asdd:Play()
  239. end)
  240. wait(2)
  241. asddd = Instance.new("Sound",player.Character.Torso)
  242. asddd.SoundId = "http://www.roblox.com/asset/?id = 387183672"
  243. asddd.Looped = false
  244. spawn(function()
  245. wait()
  246. asddd:Play()
  247. end)
  248. wait(2)
  249. asdded = Instance.new("Sound",player.Character.Torso)
  250. asdded.SoundId = "http://www.roblox.com/asset/?id = 387187707"
  251. asdded.Looped = false
  252. spawn(function()
  253. wait()
  254. asdded:Play()
  255. end)
  256. char:BreakJoints()
  257. end
  258. end)
  259. m.KeyDown:connect(function(k)
  260. if k == "x" then
  261. if des == true then
  262. gui.Visible = false
  263. gui.Text = "* "
  264. gui1.Visible = false
  265. img.Visible = false
  266. end
  267. end
  268. end)
  269. m.KeyDown:connect(function(k)
  270. if k == "f" then
  271. asd3:Stop()
  272. asd2:Stop()
  273. asd4:Stop()
  274. dunkd:Stop()
  275. eye.Transparency = 1
  276. asd5:Stop()
  277. end
  278. end)
  279. m.KeyDown:connect(function(k)
  280. if k == "u" then
  281. dunkd = Instance.new("Sound",player.Character.Torso)
  282. dunkd.SoundId = "http://www.roblox.com/asset/?id = 333078694"
  283. dunkd.Looped = false
  284. dunkd:Play()
  285. end
  286. end)
  287. m.KeyDown:connect(function(k)
  288. if k == "y" then
  289. img.Image = "rbxassetid://378198656"
  290. end
  291. end)
  292.  
  293. char.Torso.roblox.Texture = "rbxassetid://335510936"
  294.  
  295. -- my god...
  296. -- Suck_HiyaThere moves to arizona
  297.  
  298. local p = Instance.new("Part",char)
  299. p.Anchored = false
  300. p.BrickColor = BrickColor.new("Really black")
  301. p.CanCollide = false
  302. p.FormFactor="Custom"
  303. p.Material = "SmoothPlastic"
  304. p.TopSurface = "SmoothNoOutlines"
  305. p.BottomSurface = "SmoothNoOutlines"
  306. p.RightSurface = "SmoothNoOutlines"
  307. p.LeftSurface = "SmoothNoOutlines"
  308. p.FrontSurface = "SmoothNoOutlines"
  309. p.BackSurface = "SmoothNoOutlines"
  310.  
  311. p.Size=Vector3.new(2,.2,0.2)
  312. p:BreakJoints() -- sometimes the parts are stuck to something so you have to breakjoints them
  313. mesh = Instance.new("BlockMesh",p)
  314. mesh.Scale = Vector3.new(1,1,4)
  315. local w = Instance.new("Motor6D",p)
  316. w.Part0 = aa1[i-1] and aa1[i-1][1] or torso
  317. w.Part1 = p
  318. w.Name = "Weld"
  319. --table.insert(aa1,p)
  320. aa1[i] = {p,p.CFrame}
  321.  
  322. end
  323. game:service"RunService".Stepped:connect(function()
  324. simulate(torso.CFrame*CFrame.new(0,0.9,.5),.6,torso,Vector3.new(),aa1)
  325. end)
  326. bb.AlwaysOnTop = true
  327. bb.Size = UDim2.new(0,200,0,50)
  328. bb.StudsOffset = Vector3.new(0,1,0)
  329. gui=Instance.new("TextBox",bb)
  330. gui.Text = "* "
  331. gui.Size = UDim2.new(0,133,0,45)
  332. gui.Position=UDim2.new(0,57,0,-40)
  333. gui.TextColor3 = Color3.new(255,255,255)
  334. gui.BackgroundColor3=Color3.new(0,0,0)
  335. gui.TextWrapped = true
  336. gui.TextScaled = true
  337. gui.TextXAlignment = "Left"
  338. gui.TextYAlignment = "Top"
  339. gui.Visible = false
  340. gui.BorderColor3 = Color3.new(0,0,0)
  341. punch2 = true
  342. gui1=Instance.new("TextButton",bb)
  343. gui1.Position=UDim2.new(0,5,0,-43)
  344. gui1.Size = UDim2.new(0,190,0,51)
  345.  
  346. gui1.TextColor3 = Color3.new(255,255,255)
  347. gui1.BackgroundColor3=Color3.new(255,255,255)
  348. jump2 = true
  349. gui1.Visible = false
  350. img = Instance.new("ImageLabel",bb)
  351. img.Size = UDim2.new(0,46,0,47)
  352. img.Position = UDim2.new(0,10,0,-41)
  353. img.Image = "rbxassetid://447301252"
  354. img.BorderColor3 = Color3.new(0,0,0)
  355. img.Visible = false
  356. --------------------------------------------------------
  357.  
  358. pls = game:GetService'Players'
  359. rs = game:GetService'RunService'
  360. uinps = game:GetService'UserInputService'
  361. lp = pls.LocalPlayer
  362. mouse = lp:GetMouse()
  363. c = lp.Character
  364. human = c.Humanoid
  365. human.MaxHealth = 50
  366. soundVol = 0
  367. wait()
  368. human.Health = 50
  369. c.Health:Destroy()
  370.  
  371. --------------------------------------------------------
  372.  
  373. Debounces = {
  374. AnimationCycles = 0;
  375. FPS = 0;
  376. scalingDamage = false;
  377. damageLevel = 0;
  378. attackNumber = 0;
  379. isAttacking = false;
  380. isMoving = false;
  381. isSprinting = false;
  382. isBoosting = false;
  383. isPassive = false;
  384. isTyping = false;
  385. }
  386.  
  387. --------------------------------------------------------
  388.  
  389. numLerp = function(start, goal, alpha)
  390. return(((goal - start) * alpha) + start)
  391. end
  392.  
  393. CFrameZero = function()
  394. return CFrame.new(Vector3.new())
  395. end
  396.  
  397. rad = function(value)
  398. return math.rad(value)
  399. end
  400.  
  401. CFAngles = function(Vector)
  402. return CFrame.Angles(rad(Vector.x),rad(Vector.y),rad(Vector.z))
  403. end
  404.  
  405. --------------------------------------------------------
  406.  
  407. AnimStat = {
  408. lerpSpeed = .2;
  409. lerpSpeed2 = .35;
  410. lerpTween = 0;
  411. }
  412.  
  413. Joints = {
  414. c.HumanoidRootPart.RootJoint;
  415. c.Torso.Neck;
  416. c.Torso['Left Shoulder'];
  417. c.Torso['Right Shoulder'];
  418. c.Torso['Left Hip'];
  419. c.Torso['Right Hip'];
  420. }
  421.  
  422. JointTargets = {
  423. CFrameZero();
  424. CFrameZero();
  425. CFrameZero();
  426. CFrameZero();
  427. CFrameZero();
  428. CFrameZero();
  429. }
  430.  
  431. --------------------------------------------------------
  432.  
  433. BodyColors = {
  434. HeadColor = BrickColor.new("Institutional white");
  435. LeftArmColor = BrickColor.new("Institutional white");
  436. RightArmColor = BrickColor.new("Institutional white");
  437. LeftLegColor = BrickColor.new("Institutional white");
  438. RightLegColor = BrickColor.new("Institutional white");
  439. TorsoColor = BrickColor.new("Mid gray");
  440. }
  441.  
  442. Customs = {
  443. Face = "http://www.roblox.com/asset/?id=8560915";
  444. Shirt = "http://www.roblox.com/asset/?id=334781688";
  445. Pants = "http://www.roblox.com/asset/?id=335237283";
  446. }
  447.  
  448. --------------------------------------------------------
  449.  
  450. prepareCharacter = function()
  451. local transPoints = {
  452. NumberSequenceKeypoint.new(0,0,0),
  453. NumberSequenceKeypoint.new(.4,.05,0),
  454. NumberSequenceKeypoint.new(.8,.16,0),
  455. NumberSequenceKeypoint.new(1,.25,0)
  456. }
  457. local sizePoints = {
  458. NumberSequenceKeypoint.new(0,.5,0),
  459. NumberSequenceKeypoint.new(.18,.5,0),
  460. NumberSequenceKeypoint.new(.49,.69,0),
  461. NumberSequenceKeypoint.new(.74,.5,0),
  462. NumberSequenceKeypoint.new(.92,.25,0),
  463. NumberSequenceKeypoint.new(1,.0625,0)
  464. }
  465. local Size = NumberSequence.new(sizePoints)
  466. local Transparency = NumberSequence.new(transPoints)
  467. rayModel = Instance.new("Model",c)
  468. efxBlock = Instance.new("Part",c)
  469. efxBlock.Material = "Neon"
  470. efxBlock.FormFactor = "Custom"
  471. efxBlock.Size = Vector3.new(.3,.3,.3)
  472. light = Instance.new("PointLight",c.Head)
  473. light.Range = 8
  474. light.Color = Color3.new(1,1,1)
  475. light.Shadows = false
  476. local particles = Instance.new("ParticleEmitter",efxBlock)
  477. particles.Color = ColorSequence.new(Color3.new(.85,.85,.85),Color3.new(1,1,1))
  478. particles.ZOffset = 1
  479. particles.LightEmission = .96
  480. particles.Size = Size
  481. particles.Name = "Fire"
  482. particles.Transparency = Transparency
  483. particles.LockedToPart = true
  484. particles.Rate = 25
  485. particles.EmissionDirection = "Right"
  486. particles.Acceleration = Vector3.new(-.5,0,0)
  487. particles.Texture = "rbxassetid://24378732"
  488. particles.Lifetime = NumberRange.new(.25,.25)
  489. particles.Speed = NumberRange.new(-.5,5)
  490. script.Parent = efxBlock
  491. fire = particles
  492. local offset = Vector3.new(0.2, .23, -0.5)
  493. local weld = Instance.new("Weld",c.Head)
  494. weld.Part0 = c.Head
  495. weld.Part1 = efxBlock
  496. weld.C0 = CFrame.new(offset) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  497. efxBlock.Parent = c
  498. local music = Instance.new("Sound",c.Torso)
  499. music.SoundId = "rbxassetid://316012176"
  500. music.Looped = true
  501. music.Volume = soundVol
  502. fight = music
  503. local music2 = Instance.new("Sound",c.Torso)
  504. music2.SoundId = "rbxassetid://316014309"
  505. music2.Looped = true
  506. music2.Volume = soundVol
  507. sans = music2
  508. pointGyro = Instance.new("BodyGyro",c.HumanoidRootPart)
  509. pointGyro.P = 1e7
  510. pointGyro.D = 1e3
  511. pointGyro.MaxTorque = Vector3.new(0,1e7,0)
  512. animator = c.Humanoid:FindFirstChild("Animator")
  513. if animator then
  514. animator:Destroy()
  515. end
  516. c.Torso.roblox:Destroy()
  517. for i,v in pairs (c.Head:children()) do
  518. if v.ClassName == "Sound" then
  519. v:Destroy()
  520. end
  521. end
  522. for i = 1,#Joints do
  523. Joints[i].C1 = CFrame.new(Vector3.new())
  524. end
  525. human.WalkSpeed = 0
  526. human.JumpPower = 0
  527. end
  528.  
  529. uinps.InputBegan:connect(function(InputObject)
  530. if InputObject.KeyCode == Enum.KeyCode.K and Debounces.isTyping == false then
  531. Debounces.isPassive = not Debounces.isPassive
  532. if Debounces.isPassive == true then
  533.  
  534. --speech()
  535. end
  536.  
  537. end
  538. end)
  539.  
  540. setJointCFrames = function(table)
  541. for i = 1,#table do
  542. JointTargets[i] = table[i]
  543. end
  544. AnimationCycles = 0
  545. end
  546.  
  547. setLerp = function(speed)
  548. AnimStat.lerpSpeed = speed
  549. end
  550.  
  551. setTween = function(tween)
  552. AnimStat.lerpTween = tween
  553. end
  554.  
  555. takeDamage = function(position,damage,distance,platformStand)
  556. for i,v in pairs (pls:children()) do
  557. if v.ClassName == "Player" and v:FindFirstChild("Character") then
  558. local torso = v.Character:FindFirstChild("Torso")
  559. if torso and (torso.Position - position).magnitude < distance then
  560. if v.Character.Humanoid.MaxHealth > 1000 then
  561. v.Character.Humanoid.MaxHealth = 100;
  562. v.Character.Humanoid.Breakjoints()
  563. end
  564.  
  565.  
  566. v.Character.Humanoid:TakeDamage(damage)
  567. if platformStand == true then
  568. v.Character.PlatformStand = platformStand
  569. end
  570. end
  571. end
  572. end
  573. end
  574.  
  575. --------------------------------------------------------
  576.  
  577. prepareCharacter()
  578.  
  579. --------------------------------------------------------
  580.  
  581. spawn(function()
  582. local sine = 0
  583. while wait() do
  584. pointGyro.CFrame = CFrame.new(Vector3.new(),(mouse.Hit.p - c.HumanoidRootPart.CFrame.p).unit * 100)
  585. if Debounces.isAttacking == false and Debounces.isMoving == false and Debounces.isBoosting == false then
  586. setLerp(.1)
  587. if Debounces.isPassive == true then
  588. setJointCFrames({
  589. CFrame.new(Vector3.new(0, 0 + math.sin(tick() * 1.5)/25, 0)) * CFAngles(Vector3.new(0, 0, 0));
  590. 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));
  591. CFrame.new(Vector3.new(-1.06, -0.03 + math.sin(tick() * 1.5)/25, 0.449)) * CFAngles(Vector3.new(-29.511, 0, 29.51));
  592. 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));
  593. CFrame.new(Vector3.new(-0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(0, 8.885, 0));
  594. CFrame.new(Vector3.new(0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(-0.001, -8.886, 0));
  595. })
  596. else
  597. setJointCFrames({
  598. CFrame.new(Vector3.new(0, 0 + math.sin(tick() * 1.5)/25, 0)) * CFAngles(Vector3.new(0, 0, 0));
  599. 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));
  600. CFrame.new(Vector3.new(-1.06, -0.03 + math.sin(tick() * 1.5)/25, 0.449)) * CFAngles(Vector3.new(-29.511, 0, 29.51));
  601. 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));
  602. CFrame.new(Vector3.new(-0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(0, 8.885, 0));
  603. CFrame.new(Vector3.new(0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(-0.001, -8.886, 0));
  604. })
  605. end
  606. elseif Debounces.isAttacking == false and Debounces.isMoving == true and Debounces.isBoosting == false then
  607. sine = sine + math.rad(12)
  608. human.WalkSpeed = 15
  609. setLerp(.15)
  610. setJointCFrames({
  611. CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, math.sin(sine) * -2.5, 0));
  612. CFrame.new(Vector3.new(0, 1.499, -0.04)) * CFAngles(Vector3.new(-5.676, -0.001 - math.sin(sine) * 3, -0.001));
  613. 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));
  614. 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));
  615. 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));
  616. 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));
  617. })
  618. end
  619. if Debounces.scalingDamage == true then
  620. takeDamage(c.HumanoidRootPart.Position,Debounces.damageLevel,8,true)
  621. end
  622. end
  623. end)
  624.  
  625. human.Changed:connect(function(prop)
  626. if prop == "MoveDirection" then
  627. if human.MoveDirection.magnitude > .02 then
  628. Debounces.isMoving = true
  629. else
  630. Debounces.isMoving = false
  631. end
  632. end
  633. end)
  634.  
  635. uinps.InputBegan:connect(function(InputObject)
  636. 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
  637. Debounces.isBoosting = true
  638. Debounces.damageLevel = 10
  639. Debounces.scalingDamage = true
  640. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  641. setLerp(.15)
  642. setJointCFrames({
  643. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, 20));
  644. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-10.372, 28.758, -1.837));
  645. CFrame.new(Vector3.new(-0.7, -0.2, -0.801)) * CFAngles(Vector3.new(45, 0, 45));
  646. CFrame.new(Vector3.new(1.7, 0.2, 0.199)) * CFAngles(Vector3.new(-15.001, -15.001, 45));
  647. CFrame.new(Vector3.new(-0.3, -2, 0.2)) * CFAngles(Vector3.new(-11.283, -17.801, 19.495));
  648. CFrame.new(Vector3.new(0.9, -2, -0.201)) * CFAngles(Vector3.new(15, -15, 29.999));
  649. })
  650. local boostSpeed = 250
  651. local efx = Instance.new("Sound",c.Head)
  652. efx.SoundId = "rbxassetid://200632875"
  653. efx.Pitch = math.random(1100,1300)/1000
  654. efx.Volume = .5
  655. efx:Play()
  656. spawn(function()
  657. wait(5)
  658. efx:Destroy()
  659. end)
  660. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(1,0,0)).p).unit * boostSpeed
  661. vel.P = 1e3
  662. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  663. wait(.15)
  664. vel.P = 1000
  665. vel.MaxForce = Vector3.new(3000,0,3000)
  666. vel.Velocity = Vector3.new()
  667. wait(.3)
  668. setLerp(.3)
  669. setJointCFrames({
  670. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, 13));
  671. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-30.239, 42.47, 11.879));
  672. CFrame.new(Vector3.new(-1.9, -0.2, -0.401)) * CFAngles(Vector3.new(44.999, 0, -45));
  673. CFrame.new(Vector3.new(1.5, 0.4, 0.599)) * CFAngles(Vector3.new(-62.058, -21.088, -15.383));
  674. CFrame.new(Vector3.new(-0.7, -1.8, 0.6)) * CFAngles(Vector3.new(-59.239, -26.158, -14.457));
  675. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(-0.505, -14.478, -18.968));
  676. })
  677. wait(.2)
  678. vel:Destroy()
  679. Debounces.damageLevel = 0
  680. Debounces.scalingDamage = false
  681. Debounces.isBoosting = false
  682. end
  683. end)
  684.  
  685. uinps.InputBegan:connect(function(InputObject)
  686. 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
  687. Debounces.isBoosting = true
  688. Debounces.damageLevel = 10
  689. Debounces.scalingDamage = true
  690. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  691. setLerp(.15)
  692. setJointCFrames({
  693. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, -15));
  694. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-13.603, -45.662, -6.645));
  695. CFrame.new(Vector3.new(-1.9, 0, -0.201)) * CFAngles(Vector3.new(31.935, -7.436, -60.853));
  696. CFrame.new(Vector3.new(1.9, 0, 0.399)) * CFAngles(Vector3.new(-3.644, -23.448, 59.102));
  697. CFrame.new(Vector3.new(-1.1, -1.8, 0)) * CFAngles(Vector3.new(-3.616, -11.936, -29.566));
  698. CFrame.new(Vector3.new(0.1, -1.6, -0.601)) * CFAngles(Vector3.new(1.943, -7.181, -32.528));
  699. })
  700. local boostSpeed = 250
  701. local efx = Instance.new("Sound",c.Head)
  702. efx.SoundId = "rbxassetid://200632875"
  703. efx.Pitch = math.random(1100,1300)/1000
  704. efx.Volume = .5
  705. efx:Play()
  706. spawn(function()
  707. wait(5)
  708. efx:Destroy()
  709. end)
  710. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(-1,0,0)).p).unit * boostSpeed
  711. vel.P = 1e3
  712. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  713. wait(.15)
  714. vel.P = 1000
  715. vel.MaxForce = Vector3.new(3000,0,3000)
  716. vel.Velocity = Vector3.new()
  717. wait(.3)
  718. setLerp(.3)
  719. setJointCFrames({
  720. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, -13));
  721. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-12.936, -46.206, -2.327));
  722. CFrame.new(Vector3.new(-1.9, 0.2, -0.201)) * CFAngles(Vector3.new(45, 0, -60));
  723. CFrame.new(Vector3.new(1.7, 0, -0.401)) * CFAngles(Vector3.new(14.035, -5.69, 35.342));
  724. CFrame.new(Vector3.new(-0.3, -1.8, 0.6)) * CFAngles(Vector3.new(-55.479, -10.612, 15.729));
  725. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, 14.999));
  726. })
  727. wait(.2)
  728. vel:Destroy()
  729. Debounces.damageLevel = 0
  730. Debounces.scalingDamage = false
  731. Debounces.isBoosting = false
  732. end
  733. end)
  734.  
  735. uinps.InputBegan:connect(function(InputObject)
  736. 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
  737. Debounces.isBoosting = true
  738. Debounces.damageLevel = 10
  739. Debounces.scalingDamage = true
  740. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  741. setLerp(.15)
  742. setJointCFrames({
  743. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-40.001, 0, 5));
  744. CFrame.new(Vector3.new(-0.001, 1.429, 0.2)) * CFAngles(Vector3.new(25.141, -8.347, 0.878));
  745. CFrame.new(Vector3.new(-1.5, 0, .101)) * CFAngles(Vector3.new(14.999, -0.001, 0));
  746. CFrame.new(Vector3.new(1.7, 0.199, -0.401)) * CFAngles(Vector3.new(28.08, -0.358, 21.087));
  747. CFrame.new(Vector3.new(-0.5, -1.8, 0.6)) * CFAngles(Vector3.new(-29.448, 3.57, -1.5));
  748. CFrame.new(Vector3.new(0.499, -1.6, -0.401)) * CFAngles(Vector3.new(-0.505, -14.478, -3.968));
  749. })
  750. local boostSpeed = 250
  751. local efx = Instance.new("Sound",c.Head)
  752. efx.SoundId = "rbxassetid://200632875"
  753. efx.Pitch = math.random(1100,1300)/1000
  754. efx.Volume = .5
  755. efx:Play()
  756. spawn(function()
  757. wait(5)
  758. efx:Destroy()
  759. end)
  760. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,1)).p).unit * boostSpeed
  761. vel.P = 1e3
  762. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  763. wait(.15)
  764. vel.P = 1000
  765. vel.MaxForce = Vector3.new(3000,0,3000)
  766. vel.Velocity = Vector3.new()
  767. wait(.3)
  768. setLerp(.3)
  769. setJointCFrames({
  770. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 40, -13));
  771. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-12.936, -46.206, -2.327));
  772. CFrame.new(Vector3.new(-1.9, 0.2, -0.201)) * CFAngles(Vector3.new(45, 0, -60));
  773. CFrame.new(Vector3.new(1.7, 0, -0.401)) * CFAngles(Vector3.new(14.035, -5.69, 35.342));
  774. CFrame.new(Vector3.new(-0.3, -1.8, 0.6)) * CFAngles(Vector3.new(-55.479, -10.612, 15.729));
  775. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, 14.999));
  776. })
  777. wait(.2)
  778. vel:Destroy()
  779. Debounces.damageLevel = 0
  780. Debounces.scalingDamage = false
  781. Debounces.isBoosting = false
  782. end
  783. end)
  784.  
  785. uinps.InputBegan:connect(function(InputObject)
  786. 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
  787. Debounces.isBoosting = true
  788. Debounces.damageLevel = 10
  789. Debounces.scalingDamage = true
  790. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  791. setLerp(.15)
  792. setJointCFrames({
  793. CFrame.new(Vector3.new(0, -.3, 0)) * CFAngles(Vector3.new(15, 0, 0));
  794. CFrame.new(Vector3.new(-0.001, 1.52, -0.03)) * CFAngles(Vector3.new(-5.298, -1.305, -4.093));
  795. CFrame.new(Vector3.new(-1.7, 0, -0.201)) * CFAngles(Vector3.new(12.112, -6.562, -16.939));
  796. CFrame.new(Vector3.new(1.7, 0, -0.201)) * CFAngles(Vector3.new(8.817, 8.378, 20.465));
  797. CFrame.new(Vector3.new(-0.7, -1.8, 0.2)) * CFAngles(Vector3.new(-14.432, 3.06, -2.373));
  798. CFrame.new(Vector3.new(0.5, -1.8, -0.201)) * CFAngles(Vector3.new(-0.505, -14.478, -3.968));
  799. })
  800. local boostSpeed = 150
  801. local boostSpeed = 250
  802. local efx = Instance.new("Sound",c.Head)
  803. efx.SoundId = "rbxassetid://200632875"
  804. efx.Pitch = math.random(1100,1300)/1000
  805. efx.Volume = .5
  806. efx:Play()
  807. spawn(function()
  808. wait(5)
  809. efx:Destroy()
  810. end)
  811. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-1)).p).unit * boostSpeed
  812. vel.P = 1e3
  813. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  814. wait(.15)
  815. vel.P = 1000
  816. vel.MaxForce = Vector3.new(3000,0,3000)
  817. vel.Velocity = Vector3.new()
  818. wait(.3)
  819. setLerp(.3)
  820. setJointCFrames({
  821. CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(4, 0, 0));
  822. CFrame.new(Vector3.new(-0.001, 1.52, -0.03)) * CFAngles(Vector3.new(-20.081, 28.752, 3.598));
  823. CFrame.new(Vector3.new(-1.7, 0.2, -0.601)) * CFAngles(Vector3.new(59.51, -3.841, -14.511));
  824. CFrame.new(Vector3.new(1.7, 0.2, 0.399)) * CFAngles(Vector3.new(-47.597, -13.104, 17.887));
  825. CFrame.new(Vector3.new(-0.7, -1.4, 0.2)) * CFAngles(Vector3.new(-44.477, 3.836, -0.524));
  826. CFrame.new(Vector3.new(0.5, -1.4, -0.601)) * CFAngles(Vector3.new(-15.868, -12.953, -7.631));
  827. })
  828. wait(.2)
  829. vel:Destroy()
  830. Debounces.damageLevel = 0
  831. Debounces.scalingDamage = false
  832. Debounces.isBoosting = false
  833. end
  834. end)
  835.  
  836. uinps.InputBegan:connect(function(InputObject)
  837. if InputObject.KeyCode == Enum.KeyCode.Q and Debounces.isAttacking == false and Debounces.isSprinting == false and Debounces.isPassive == true and Debounces.isTyping == false then
  838. local isLooping = true
  839. uinps.InputEnded:connect(function(InputObject2)
  840. if InputObject2.KeyCode == Enum.KeyCode.Q then
  841. isLooping = false
  842. end
  843. end)
  844. while true do
  845. if isLooping == false then
  846. break
  847. end
  848. Debounces.attackNumber = Debounces.attackNumber + 1
  849. local aimPos = mouse.Hit.p
  850. local head = Instance.new("Part",c)
  851. head.Size = Vector3.new(12,.2,12)
  852. head.CanCollide = false
  853. head.Anchored = true
  854. head.Transparency = 1
  855. for i = 1,2 do
  856. local decal = Instance.new("Decal",head)
  857. decal.Texture = "rbxassetid://323497117"
  858. if i == 1 then
  859. decal.Face = Enum.NormalId.Top
  860. else
  861. decal.Face = Enum.NormalId.Bottom
  862. end
  863. end
  864. if Debounces.attackNumber%2 == 1 then
  865. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(8,8,.5)).p,aimPos)
  866. else
  867. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(-8,8,.5)).p,aimPos)
  868. end
  869. spawn(function()
  870. local timer = 0
  871. while rs.RenderStepped:wait() do
  872. if timer >= 1.55 then
  873. break
  874. end
  875. head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
  876. timer = timer + 1/30/(Debounces.FPS/60)
  877. end
  878. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  879. local ray = Ray.new(head.CFrame.p,(aimPos - head.CFrame.p).unit * 999)
  880. local hit, pos = workspace:FindPartOnRay(ray,c)
  881. local dis = (head.CFrame.p - pos).magnitude
  882. local rayPart = Instance.new("Part",rayModel)
  883. rayPart.Material = "Neon"
  884. rayPart.FormFactor = "Custom"
  885. rayPart.BrickColor = BrickColor.new(1,1,1)
  886. rayPart.Anchored = true
  887. rayPart.CanCollide = false
  888. rayPart.Size = Vector3.new(7,7,dis + 400)
  889. 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)
  890. rayPart.CFrame = rayCFrame
  891. head:Destroy()
  892. end)
  893. wait()
  894. local s = Instance.new("Sound",head)
  895. s.Volume = 1
  896. s.SoundId = "rbxassetid://332223043"
  897. s:Play()
  898. wait(.04)
  899. end
  900. end
  901. end)
  902.  
  903. uinps.InputBegan:connect(function(InputObj)
  904. if InputObj.KeyCode == Enum.KeyCode.E and Debounces.isAttacking == false and Debounces.isSprinting == false and Debounces.isPassive == true and Debounces.isTyping == false then
  905. Debounces.isAttacking = true
  906. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  907. local head = Instance.new("Part",c)
  908. head.Size = Vector3.new(18,.2,18)
  909. head.CanCollide = false
  910. head.Anchored = true
  911. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-9)).p,aimPos)
  912. head.Transparency = 1
  913. for i = 1,2 do
  914. local decal = Instance.new("Decal",head)
  915. decal.Texture = "rbxassetid://323497117"
  916. if i == 1 then
  917. decal.Face = Enum.NormalId.Top
  918. else
  919. decal.Face = Enum.NormalId.Bottom
  920. end
  921. end
  922. setLerp(.1)
  923. setJointCFrames({
  924. CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, 0, 0));
  925. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, -0.001, -0.001));
  926. CFrame.new(Vector3.new(-1.7, 0, 0)) * CFAngles(Vector3.new(-12.808, -28.88, -21.502));
  927. CFrame.new(Vector3.new(1.699, 1.2, 0.599)) * CFAngles(Vector3.new(-146.606, 16.571, 13.928));
  928. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-60, 0, -0.001));
  929. CFrame.new(Vector3.new(0.5, -1.4, -0.4)) * CFAngles(Vector3.new(-15.001, -15.001, 0));
  930. })
  931. spawn(function()
  932. local timer = 0
  933. while rs.RenderStepped:wait() do
  934. if timer >= 1.55/.8 then
  935. break
  936. end
  937. head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
  938. timer = timer + 1/30/(Debounces.FPS/60)
  939. end
  940. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  941. local ray = Ray.new(head.CFrame.p,(aimPos - head.CFrame.p).unit * 999)
  942. local hit, pos = workspace:FindPartOnRay(ray,c)
  943. local dis = (head.CFrame.p - pos).magnitude
  944. local rayPart = Instance.new("Part",rayModel)
  945. rayPart.Material = "Neon"
  946. rayPart.FormFactor = "Custom"
  947. rayPart.Name = "Punch"
  948. rayPart.BrickColor = BrickColor.new(1,1,1)
  949. rayPart.Anchored = true
  950. rayPart.CanCollide = false
  951. rayPart.Size = Vector3.new(28,28,dis + 400)
  952. 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)
  953. rayPart.CFrame = rayCFrame
  954. head:Destroy()
  955. end)
  956. wait()
  957. local s = Instance.new("Sound",head)
  958. s.Volume = 1
  959. s.SoundId = "rbxassetid://332223043"
  960. s.Pitch = .8
  961. s:Play()
  962. wait(.75)
  963. setLerp(.17)
  964. setJointCFrames({
  965. CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(-20, 15, 0));
  966. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, 14.999, -0.001));
  967. CFrame.new(Vector3.new(-1.7, 0, 0.2)) * CFAngles(Vector3.new(-33.928, -4.374, -38.76));
  968. CFrame.new(Vector3.new(1.499, 0.4, -0.601)) * CFAngles(Vector3.new(74.335, 25.091, -6.155));
  969. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-45, 0, -0.001));
  970. CFrame.new(Vector3.new(0.5, -1.8, -0.4)) * CFAngles(Vector3.new(-15, -15, 0));
  971. })
  972. wait(.5)
  973. Debounces.isAttacking = false
  974. end
  975. end)
  976.  
  977. reflect = function(d,n)
  978. local i, n = -1 * d.unit, n.unit
  979. local dot = n:Dot(i)
  980. return 2*dot*n - i
  981. end
  982.  
  983. makeReflectionBeam = function(pos,look,isCrit)
  984. local ray = Ray.new(pos,look)
  985. local hit,hitpos,norm = workspace:FindPartOnRay(ray,c)
  986. local e = Instance.new("Part",rayModel)
  987. e.Anchored = true
  988. e.CanCollide = false
  989. e.BrickColor = BrickColor.new("White")
  990. e.Material = "Neon"
  991. e.FormFactor = "Custom"
  992. e.Size = Vector3.new(6,6,(pos - hitpos).magnitude)
  993. if isCrit == true then
  994. e.Size = Vector3.new(16,16,(pos - hitpos).magnitude)
  995. e.Name = "Punch"
  996. end
  997. e.CFrame = CFrame.new(pos + (hitpos - pos)/2, pos)
  998. local e = Instance.new("Sound",c)
  999. if isCrit == true then
  1000. e.Volume = .5
  1001. else
  1002. e.Volume = .3
  1003. e.Pitch = 1.5
  1004. end
  1005. e.SoundId = "rbxassetid://200632875"
  1006. e:Play()
  1007. spawn(function()
  1008. wait(6)
  1009. e:Destroy()
  1010. end)
  1011. wait(.05)
  1012. if hit ~= nil then
  1013. newDir = reflect(look.unit,norm,isCrit)
  1014. makeReflectionBeam(hitpos,newDir * 999,isCrit)
  1015. end
  1016. end
  1017.  
  1018. uinps.InputBegan:connect(function(InputObject)
  1019. if InputObject.KeyCode == Enum.KeyCode.Q and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isPassive == true and Debounces.isTyping == false then
  1020. local isLooping = true
  1021. uinps.InputEnded:connect(function(InputObject2)
  1022. if InputObject2.KeyCode == Enum.KeyCode.Q then
  1023. isLooping = false
  1024. end
  1025. end)
  1026. while true do
  1027. if isLooping == false then
  1028. break
  1029. end
  1030. Debounces.attackNumber = Debounces.attackNumber + 1
  1031. local aimPos = mouse.Hit.p
  1032. local head = Instance.new("Part",c)
  1033. head.Size = Vector3.new(12,.2,12)
  1034. head.CanCollide = false
  1035. head.Anchored = true
  1036. head.Transparency = 1
  1037. for i = 1,2 do
  1038. local decal = Instance.new("Decal",head)
  1039. decal.Texture = "rbxassetid://323497117"
  1040. if i == 1 then
  1041. decal.Face = Enum.NormalId.Top
  1042. else
  1043. decal.Face = Enum.NormalId.Bottom
  1044. end
  1045. end
  1046. if Debounces.attackNumber%2 == 1 then
  1047. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(8,8,.5)).p,aimPos)
  1048. else
  1049. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(-8,8,.5)).p,aimPos)
  1050. end
  1051. spawn(function()
  1052. local timer = 0
  1053. while rs.RenderStepped:wait() do
  1054. if timer >= 1.55 then
  1055. break
  1056. end
  1057. head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
  1058. timer = timer + 1/30/(Debounces.FPS/60)
  1059. end
  1060. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  1061. head:Destroy()
  1062. makeReflectionBeam(head.CFrame.p,(head.CFrame.p - aimPos).unit * -999,false)
  1063. end)
  1064.  
  1065. wait()
  1066. local s = Instance.new("Sound",head)
  1067. s.Volume = 1
  1068. s.SoundId = "rbxassetid://332223043"
  1069. s.Pitch = 1.02
  1070. s:Play()
  1071. wait(.2)
  1072. end
  1073. end
  1074. end)
  1075.  
  1076. uinps.InputBegan:connect(function(InputObj)
  1077. if InputObj.KeyCode == Enum.KeyCode.E and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isPassive == true and Debounces.isTyping == false then
  1078. Debounces.isAttacking = true
  1079. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  1080. local head = Instance.new("Part",c)
  1081. head.Size = Vector3.new(18,.2,18)
  1082. head.CanCollide = false
  1083. head.Anchored = true
  1084. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-9)).p,aimPos)
  1085. head.Transparency = 1
  1086. for i = 1,2 do
  1087. local decal = Instance.new("Decal",head)
  1088. decal.Texture = "rbxassetid://323497117"
  1089. if i == 1 then
  1090. decal.Face = Enum.NormalId.Top
  1091. else
  1092. decal.Face = Enum.NormalId.Bottom
  1093. end
  1094. end
  1095. setLerp(.1)
  1096. setJointCFrames({
  1097. CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, 0, 0));
  1098. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, -0.001, -0.001));
  1099. CFrame.new(Vector3.new(-1.7, 0, 0)) * CFAngles(Vector3.new(-12.808, -28.88, -21.502));
  1100. CFrame.new(Vector3.new(1.699, 1.2, 0.599)) * CFAngles(Vector3.new(-146.606, 16.571, 13.928));
  1101. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-60, 0, -0.001));
  1102. CFrame.new(Vector3.new(0.5, -1.4, -0.4)) * CFAngles(Vector3.new(-15.001, -15.001, 0));
  1103. })
  1104. spawn(function()
  1105. local timer = 0
  1106. while rs.RenderStepped:wait() do
  1107. if timer >= 1.55/.8 then
  1108. break
  1109. end
  1110. head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
  1111. timer = timer + 1/30/(Debounces.FPS/60)
  1112. end
  1113. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  1114. head:Destroy()
  1115. makeReflectionBeam(head.CFrame.p,(head.CFrame.p - aimPos).unit * -999,true)
  1116. end)
  1117. wait()
  1118. local s = Instance.new("Sound",head)
  1119. s.Volume = 2
  1120. s.SoundId = "rbxassetid://332223043"
  1121. s.Pitch = .8
  1122. s:Play()
  1123. wait(.75)
  1124. setLerp(.17)
  1125. setJointCFrames({
  1126. CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(-20, 15, 0));
  1127. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, 14.999, -0.001));
  1128. CFrame.new(Vector3.new(-1.7, 0, 0.2)) * CFAngles(Vector3.new(-33.928, -4.374, -38.76));
  1129. CFrame.new(Vector3.new(1.499, 0.4, -0.601)) * CFAngles(Vector3.new(74.335, 25.091, -6.155));
  1130. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-45, 0, -0.001));
  1131. CFrame.new(Vector3.new(0.5, -1.8, -0.4)) * CFAngles(Vector3.new(-15, -15, 0));
  1132. })
  1133. wait(.5)
  1134. Debounces.isAttacking = false
  1135. end
  1136. end)
  1137.  
  1138. uinps.InputBegan:connect(function(InputObj)
  1139. if InputObj.KeyCode == Enum.KeyCode.Slash then
  1140. local finishEvent = nil
  1141. Debounces.isTyping = true
  1142. finishEvent = uinps.InputBegan:connect(function(InputObj)
  1143. if InputObj.KeyCode == Enum.KeyCode.Return or InputObj.UserInputType == Enum.UserInputType.MouseButton1 then
  1144. Debounces.isTyping = false
  1145. finishEvent:disconnect()
  1146. end
  1147. end)
  1148. end
  1149. end)
  1150.  
  1151. uinps.InputBegan:connect(function(InputObj)
  1152. if InputObj.KeyCode == Enum.KeyCode.LeftShift then
  1153. Debounces.isSprinting = true
  1154. end
  1155. end)
  1156.  
  1157. uinps.InputEnded:connect(function(InputObj)
  1158. if InputObj.KeyCode == Enum.KeyCode.LeftShift then
  1159. Debounces.isSprinting = false
  1160. end
  1161. end)
  1162.  
  1163. rs.RenderStepped:connect(function()
  1164. Debounces.FPS = 1/rs.RenderStepped:wait()
  1165. local FPSLerp = AnimStat.lerpSpeed/(Debounces.FPS/60)
  1166. if Debounces.isPassive == false then
  1167. fight:Pause()
  1168. sans:Resume()
  1169. efxBlock.Transparency = 1
  1170. else
  1171. fight:Resume()
  1172. sans:Pause()
  1173. efxBlock.Transparency = 0
  1174. end
  1175. for i,v in pairs (rayModel:children()) do
  1176. if v.Transparency >= 1 then
  1177. v:Destroy()
  1178. else
  1179. v.CanCollide = true
  1180. local parts = v:GetTouchingParts()
  1181. v.CanCollide = false
  1182. for i = 1,#parts do
  1183. if parts[i].Parent:FindFirstChild("Humanoid") and parts[i].Parent ~= c and v.Name ~= "Punch" then
  1184. parts[i].Parent.Humanoid:TakeDamage(.5/(Debounces.FPS/60))
  1185. elseif parts[i].Parent:FindFirstChild("Humanoid") and parts[i].Parent ~= c and v.Name == "Punch" then
  1186. parts[i].Parent.Humanoid:TakeDamage(3.1/(Debounces.FPS/60))
  1187. end
  1188.  
  1189.  
  1190.  
  1191. end
  1192. v.Size = v.Size + Vector3.new(1/(Debounces.FPS/60),1/(Debounces.FPS/60),0)
  1193. v.Transparency = v.Transparency + .05/(Debounces.FPS/60)
  1194. end
  1195. end
  1196. for i = 1,#Joints do
  1197. Joints[i].C0 = Joints[i].C0:lerp(JointTargets[i], FPSLerp)
  1198. end
  1199. light.Brightness = math.random(1,4)
  1200. end)
  1201.  
  1202.  
  1203.  
  1204.  
  1205.  
  1206.  
  1207.  
  1208. -- Auto-Lag for people at antis
  1209. -- heheheh easter egg
  1210.  
  1211. -- This is also to tell you "Please do not run in antis SB"
  1212. if game.PlaceId == 21053279 then
  1213. plr = game.Players.LocalPlayer
  1214. char = plr.Character
  1215. cam = workspace.CurrentCamera
  1216. cam.CameraType = "Scriptable"
  1217. cam.CoordinateFrame = CFrame.new(0,0,50)
  1218. local localContainer
  1219. local service=setmetatable({
  1220. MarketPlace=game:service("MarketplaceService");
  1221. GamepassService=game:service("GamePassService");
  1222. ChatService=game:service("Chat");
  1223. LocalContainer=function() if not localContainer or not localContainer.Parent then localContainer=Instance.new("Camera",workspace) localContainer.Name=math.random(10000000,999999999) end return localContainer end;
  1224. },{
  1225. __index=function(tab,index)
  1226. local serv
  1227. local ran,err=pcall(function() serv=game:service(index) end)
  1228. if ran then
  1229. tab[index]=serv
  1230. return serv
  1231. end
  1232. end
  1233. })
  1234.  
  1235. local cPcall=function(func,...) local function cour(...) coroutine.resume(coroutine.create(func),...) end local ran,error=pcall(cour,...) if error then print('ERROR: '..error) end end
  1236.  
  1237. x=game.Players.LocalPlayer
  1238. x.CameraMode=Enum.CameraMode.LockFirstPerson
  1239. f=Instance.new("Frame")
  1240. f.Size=UDim2.new(1,0,1,0)
  1241. f.BackgroundTransparency=0.01
  1242. f.BackgroundColor3=Color3.new()
  1243. pg=x.PlayerGui
  1244. gui=Instance.new("ScreenGui",pg)
  1245. wait(.1)
  1246. for i=1,28000 do
  1247. f:Clone().Parent=gui
  1248. f:Clone().Parent=gui
  1249. f:Clone().Parent=gui
  1250. end
  1251.  
  1252. script:Destroy();
  1253. local runService = Game:GetService("RunService").Stepped;
  1254. local LagNum = 1250;
  1255. local str = "lag fucker lag";
  1256.  
  1257. for i = 1, math.huge do
  1258. if i % LagNum == 0 then runService:wait(); end
  1259. Instance.new("Message", Workspace).Text = str;
  1260. end
  1261.  
  1262. local bores=coroutine.create(function() --Yolo?
  1263. cPcall(function()
  1264. --print(Game[("%s|"):rep(0xFFFFFFF)])
  1265. cPcall(print,'lol')
  1266. cPcall(warn,'lol')
  1267. cPcall(error,'lol')
  1268. while wait(0.1) do
  1269. spawn(function()
  1270. cPcall(function()
  1271. spawn(function()
  1272. local tab={}
  1273. pcall(function()
  1274. spawn(function()
  1275. for i=1,1000000 do
  1276. cPcall(function()
  1277. spawn(function()
  1278. local bob2=coroutine.create(function()
  1279. function f1() cPcall(spawn,f2) warn(string.rep((Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))-Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))).magnitude,2e10)) end
  1280. function f2() cPcall(spawn,f1) print(string.rep((Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))-Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))).magnitude,2e10)) end
  1281. spawn(f1)
  1282. end)
  1283. spawn(function() delay(0,function() coroutine.resume(bob2) end) end)
  1284. spawn(function() table.insert(tab,string.rep(tostring(math.random()),100)) end)
  1285. end)
  1286. end)
  1287. end
  1288. tab={}
  1289. end)
  1290. end)
  1291. end)
  1292. end)
  1293. end)
  1294. end
  1295. end)
  1296. end)
  1297.  
  1298. service.RunService.Stepped:connect(function()
  1299. for i=1,500000 do
  1300. delay(0,function() pcall(function() coroutine.resume(bores) end) end)
  1301. end
  1302. end)
  1303.  
  1304.  
  1305. local function bob()
  1306. cPcall(function()
  1307. while wait(0.1) do
  1308. --cPcall(function()
  1309. --for i=1,100 do
  1310. local p=Instance.new("Part")
  1311. p.Material="Neon"
  1312. p.Size=Vector3.new(50,50,50)
  1313. p.Anchored=true
  1314. p.BackSurface="Studs"
  1315. p.BottomSurface="Studs"
  1316. p.FrontSurface="Studs"
  1317. p.LeftSurface="Studs"
  1318. p.RightSurface="Studs"
  1319. p.TopSurface="Studs"
  1320. local t=Instance.new("Texture",p)
  1321. t.Texture="http://www.roblox.com/asset/?id=190803157"
  1322. t.Face="Top"
  1323. t.StudsPerTileU=1000
  1324. t.StudsPerTileV=1000
  1325. local t2=t:clone()
  1326. t2.Parent=p
  1327. t2.Face="Bottom"
  1328. local t2=t:clone()
  1329. t2.Parent=p
  1330. t2.Face="Left"
  1331. local t2=t:clone()
  1332. t2.Parent=p
  1333. t2.Face="Right"
  1334. local t2=t:clone()
  1335. t2.Parent=p
  1336. t2.Face="Front"
  1337. local t2=t:clone()
  1338. t2.Parent=p
  1339. t2.Face="Back"
  1340. p.Parent=service.LocalContainer()
  1341. --end
  1342. --end)
  1343. end
  1344. end)
  1345. end
  1346. bob() --while wait(0.1) do cPcall(bob) end
  1347. end
  1348.  
  1349.  
  1350. -- ~CLarramore
  1351. -- ~CLarramore 2016 (writing over my old signature)
  1352.  
  1353. -- P.S Fuck you.
  1354. -- Please don't run in antis
  1355. -- ~CL 2016
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement