Advertisement
febidoboi

Untitled

Jul 7th, 2016
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. a--[[
  2. ~~ GENOCIDE SANS SCRIPT ~~
  3.  
  4. VERSION V3.0.3 (FINAL)
  5.  
  6. HowToUse:
  7. GSans is compatable with all level 7s (Apart from RBX!PWN, 2big4rbx)
  8. You can use it in ScriptBuilder by using bot/hastebin
  9. Paste in console and click exe,
  10. The script is automatically sent to localplayer, so no worries,
  11. NOTE:
  12. Deselect Telekinesis before using the attacks
  13. CONTROLS:
  14. Main Script Controls:
  15. G = Genocide Mode (Music and eye)
  16. K = Attack mode (You need to push this before most attacks)
  17. Q = Basic attack
  18. E = Ultra attack
  19. Shift + W/A/S/D = Dodge
  20. J = Remove Genocide Mode
  21. Telek Controls:
  22. Click + Drag = Use Telekinesis
  23. Click + G = Explode ball (death on impact)
  24. ect ect, find them as you go along i'm lazy lolol
  25. Whats New?:
  26. *1st attempt in adding skull (failed lol)
  27. *Patched some more bugs
  28. *1st attempt in adding bones (failed lol)
  29. *removed ball spawning
  30. *Leaked
  31. - AzuLX
  32. MSG OF THE DAY
  33. *Leaked
  34.  
  35. Genocide Sans script from the Undertale game Script is edited by Xeradius, Isaac and Pingu.
  36. Full credit to whoever made the base
  37. Please do not leak this script.
  38. Full credit to 'KrystalTeam' and 'rocky2u' for the Telek script.
  39. TeamAzuL2K16
  40. ]]--
  41. --Demonic Laugh. (Omega Flowey) You can remove if you wish. Its very loud (To not make play, remove 'Music:Play()')
  42.  
  43. --full credit to krystal and rocky2u for below
  44.  
  45. local Players = game.players.the2ndfebidoman
  46.  
  47. local Mouse = Player:GetMouse()
  48.  
  49.  
  50. local dist = 25
  51.  
  52. local trans = 0
  53.  
  54. local dwn=false
  55.  
  56. local Bin = Instance.new("HopperBin")
  57.  
  58. Bin.Name = "Sans' Telekinesis"
  59.  
  60. Bin.Parent = Player.Backpack
  61.  
  62.  
  63. local ScreenGUI = Instance.new("ScreenGui", Player.PlayerGui)
  64.  
  65. local Color = Instance.new("Color3Value", ScreenGUI)
  66.  
  67. local ColorValue = Color.Value
  68.  
  69. local Blue = Instance.new("TextButton", ScreenGUI)
  70.  
  71. local Red = Instance.new("TextButton", ScreenGUI)
  72.  
  73. local Green = Instance.new("TextButton", ScreenGUI)
  74.  
  75. local Yellow = Instance.new("TextButton", ScreenGUI)
  76.  
  77. local Pink = Instance.new("TextButton", ScreenGUI)
  78.  
  79. local LightBlue = Instance.new("TextButton", ScreenGUI)
  80.  
  81. local White = Instance.new("TextButton", ScreenGUI)
  82.  
  83. local FireTrue = Instance.new("TextButton", ScreenGUI)
  84.  
  85. local FireFalse = Instance.new("TextButton", ScreenGUI)
  86.  
  87. local SparklesTrue = Instance.new("TextButton", ScreenGUI)
  88.  
  89. local SparklesFalse = Instance.new("TextButton", ScreenGUI)
  90.  
  91. local BoxTrue = Instance.new("TextButton", ScreenGUI)
  92.  
  93. local BoxFalse = Instance.new("TextButton", ScreenGUI)
  94.  
  95. Color.Name = "Color"
  96.  
  97. Blue.BackgroundColor3 = BrickColor.new("Bright blue").Color
  98.  
  99. Blue.Transparency = 0.5
  100.  
  101. Blue.Size = UDim2.new(0, 20 ,0, 20)
  102.  
  103. Blue.Position = UDim2.new(1, -35, 1, -35)
  104.  
  105. Blue.Name = "Blue"
  106.  
  107. Blue.Text = ""
  108.  
  109. Blue.Visible = false
  110.  
  111. Red.BackgroundColor3 = BrickColor.new("Bright red").Color
  112.  
  113. Red.Transparency = 0.5
  114.  
  115. Red.Size = UDim2.new(0, 20 ,0, 20)
  116.  
  117. Red.Position = UDim2.new(1,-65, 1, -35)
  118.  
  119. Red.Name = "Red"
  120.  
  121. Red.Text = ""
  122.  
  123. Red.Visible = false
  124.  
  125. Green.BackgroundColor3 = BrickColor.new("Bright green").Color
  126.  
  127. Green.Transparency = 0.5
  128.  
  129. Green.Size = UDim2.new(0, 20 ,0, 20)
  130.  
  131. Green.Position = UDim2.new(1,-95, 1, -35)
  132.  
  133. Green.Name = "Green"
  134.  
  135. Green.Text = ""
  136.  
  137. Green.Visible = false
  138.  
  139. Yellow.BackgroundColor3 = BrickColor.new("New Yeller").Color
  140.  
  141. Yellow.Transparency = 0.5
  142.  
  143. Yellow.Size = UDim2.new(0, 20 ,0, 20)
  144.  
  145. Yellow.Position = UDim2.new(1,-125, 1, -35)
  146.  
  147. Yellow.Name = "Yellow"
  148.  
  149. Yellow.Text = ""
  150.  
  151. Yellow.Visible = false
  152.  
  153. Pink.BackgroundColor3 = BrickColor.new("Hot pink").Color
  154.  
  155. Pink.Transparency = 0.5
  156.  
  157. Pink.Size = UDim2.new(0, 20 ,0, 20)
  158.  
  159. Pink.Position = UDim2.new(1,-155, 1, -35)
  160.  
  161. Pink.Name = "Pink"
  162.  
  163. Pink.Text = ""
  164.  
  165. Pink.Visible = false
  166.  
  167. LightBlue.BackgroundColor3 = BrickColor.new("Cyan").Color
  168.  
  169. LightBlue.Transparency = 0.5
  170.  
  171. LightBlue.Size = UDim2.new(0, 20 ,0, 20)
  172.  
  173. LightBlue.Position = UDim2.new(1,-185, 1, -35)
  174.  
  175. LightBlue.Name = "LightBlue"
  176.  
  177. LightBlue.Text = ""
  178.  
  179. LightBlue.Visible = false
  180.  
  181. White.BackgroundColor3 = BrickColor.new("White").Color
  182.  
  183. White.Transparency = 0.5
  184.  
  185. White.Size = UDim2.new(0, 20 ,0, 20)
  186.  
  187. White.Position = UDim2.new(1,-215, 1, -35)
  188.  
  189. White.Name = "White"
  190.  
  191. White.Text = ""
  192.  
  193. White.Visible = false
  194.  
  195. FireFalse.BackgroundColor3 = BrickColor.new("Really black").Color
  196.  
  197. FireFalse.Transparency = 0.5
  198.  
  199. FireFalse.Size = UDim2.new(0, 50 ,0, 20)
  200.  
  201. FireFalse.Position = UDim2.new(1,-65, 1, -65)
  202.  
  203. FireFalse.Name = "FireFalse"
  204.  
  205. FireFalse.Text = "Fire: F"
  206.  
  207. FireFalse.Visible = false
  208.  
  209. FireFalse.FontSize = "Size12"
  210.  
  211. FireFalse.Font = "ArialBold"
  212.  
  213. FireFalse.TextColor = BrickColor.new(255,255,255)
  214.  
  215. FireFalse.TextTransparency = 0
  216.  
  217. FireTrue.BackgroundColor3 = BrickColor.new("Really black").Color
  218.  
  219. FireTrue.Transparency = 0.5
  220.  
  221. FireTrue.Size = UDim2.new(0, 50 ,0, 20)
  222.  
  223. FireTrue.Position = UDim2.new(1,-65, 1, -65)
  224.  
  225. FireTrue.Name = "FireTrue"
  226.  
  227. FireTrue.Text = "Fire: T"
  228.  
  229. FireTrue.Visible = false
  230.  
  231. FireTrue.FontSize = "Size12"
  232.  
  233. FireTrue.Font = "ArialBold"
  234.  
  235. FireTrue.TextColor = BrickColor.new(255,255,255)
  236.  
  237. FireTrue.TextTransparency = 0
  238.  
  239. SparklesTrue.BackgroundColor3 = BrickColor.new("Really black").Color
  240.  
  241. SparklesTrue.Transparency = 0.5
  242.  
  243. SparklesTrue.Size = UDim2.new(0, 50 ,0, 20)
  244.  
  245. SparklesTrue.Position = UDim2.new(1,-125, 1, -65)
  246.  
  247. SparklesTrue.Name = "SparklesTrue"
  248.  
  249. SparklesTrue.Text = "SP: T"
  250.  
  251. SparklesTrue.Visible = false
  252.  
  253. SparklesTrue.FontSize = "Size12"
  254.  
  255. SparklesTrue.Font = "ArialBold"
  256.  
  257. SparklesTrue.TextColor = BrickColor.new(255,255,255)
  258.  
  259. SparklesTrue.TextTransparency = 0
  260.  
  261. SparklesFalse.BackgroundColor3 = BrickColor.new("Really black").Color
  262.  
  263. SparklesFalse.Transparency = 0.5
  264.  
  265. SparklesFalse.Size = UDim2.new(0, 50 ,0, 20)
  266.  
  267. SparklesFalse.Position = UDim2.new(1,-125, 1, -65)
  268.  
  269. SparklesFalse.Name = "SparklesFalse"
  270.  
  271. SparklesFalse.Text = "SP: F"
  272.  
  273. SparklesFalse.Visible = false
  274.  
  275. SparklesFalse.FontSize = "Size12"
  276.  
  277. SparklesFalse.Font = "ArialBold"
  278.  
  279. SparklesFalse.TextColor = BrickColor.new(255,255,255)
  280.  
  281. SparklesFalse.TextTransparency = 0
  282.  
  283. BoxTrue.BackgroundColor3 = BrickColor.new("Really black").Color
  284.  
  285. BoxTrue.Transparency = 0.5
  286.  
  287. BoxTrue.Size = UDim2.new(0, 50 ,0, 20)
  288.  
  289. BoxTrue.Position = UDim2.new(1,-185, 1, -65)
  290.  
  291. BoxTrue.Name = "BoxTrue"
  292.  
  293. BoxTrue.Text = "Box: T"
  294.  
  295. BoxTrue.Visible = false
  296.  
  297. BoxTrue.FontSize = "Size12"
  298.  
  299. BoxTrue.Font = "ArialBold"
  300.  
  301. BoxTrue.TextColor = BrickColor.new(255,255,255)
  302.  
  303. BoxTrue.TextTransparency = 0
  304.  
  305. BoxFalse.BackgroundColor3 = BrickColor.new("Really black").Color
  306.  
  307. BoxFalse.Transparency = 0.5
  308.  
  309. BoxFalse.Size = UDim2.new(0, 50 ,0, 20)
  310.  
  311. BoxFalse.Position = UDim2.new(1,-185, 1, -65)
  312.  
  313. BoxFalse.Name = "BoxFalse"
  314.  
  315. BoxFalse.Text = "Box: F"
  316.  
  317. BoxFalse.Visible = false
  318.  
  319. BoxFalse.FontSize = "Size12"
  320.  
  321. BoxFalse.Font = "ArialBold"
  322.  
  323. BoxFalse.TextColor = BrickColor.new(255, 255, 255)
  324.  
  325. BoxFalse.TextTransparency = 0
  326.  
  327. local Credits = Instance.new("ScreenGui",Player.PlayerGui)
  328.  
  329. local Text = Instance.new("TextLabel",Credits)
  330.  
  331. Text.BackgroundTransparency = 1
  332.  
  333. Text.Position = UDim2.new(0, 0, 1, -25)
  334.  
  335. Text.Size = UDim2.new(0, 200, 0, 25)
  336.  
  337. Text.Font = "SourceSans"
  338.  
  339. Text.FontSize = "Size24"
  340.  
  341. Text.Text = "By AzuLX, Issac and Pingu - GSans Script."
  342.  
  343. Text.TextColor3 = Color3.new(255, 255, 255)
  344.  
  345. Text.TextXAlignment = "Left"
  346.  
  347. local bawl = Instance.new("Part", game.Lighting)
  348.  
  349. bawl.Name="TelekinesisGrab"
  350.  
  351. local bp = Instance.new("BodyPosition", bawl)
  352.  
  353. local w = Instance.new("Weld", bawl)
  354.  
  355. function onButton1Down(mouse)
  356.  
  357. bawl.Size = Vector3.new(2,2,2)
  358.  
  359. bawl.Material="Neon"
  360.  
  361. bawl.Shape=0
  362.  
  363. bawl.Transparency=trans
  364.  
  365. bawl.Name="TelekinesisGrab"
  366.  
  367. bawl.CanCollide = false
  368.  
  369. bawl.Parent = game.Workspace
  370.  
  371. w.Parent = bawl
  372.  
  373. w.Name = "Weld"
  374.  
  375. bp.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  376.  
  377. bp.Parent = bawl
  378.  
  379. bp.Name="lolx"
  380.  
  381. bawl.Parent = workspace
  382.  
  383. if mouse ~= nil then
  384.  
  385. if mouse.Target ~= nil then
  386.  
  387. w.Part0 = mouse.Target
  388.  
  389. w.Part1 = bawl
  390.  
  391. dwn = true
  392.  
  393. if mouse.Target.Parent:FindFirstChild("Humanoid") then
  394.  
  395. mouse.Target.Parent:FindFirstChild("Humanoid").PlatformStand=true
  396.  
  397. else
  398.  
  399. print('no humanoid')
  400.  
  401. end
  402.  
  403. end
  404.  
  405. end
  406.  
  407. spawn(function()
  408.  
  409. while dwn == true do
  410.  
  411. ypcall(function()
  412.  
  413. bp.Parent = bawl
  414.  
  415. bp.position = Player.Character.Torso.Position + (mouse.Hit.lookVector*dist)
  416.  
  417. wait()
  418.  
  419. end)
  420.  
  421. end
  422.  
  423. end)
  424.  
  425. end
  426.  
  427. function onButton1Up(mouse)
  428.  
  429. dwn=false
  430.  
  431. if bawl ~= nil then
  432.  
  433. bawl.Parent=game.Lighting
  434.  
  435. else
  436.  
  437. print('not found')
  438.  
  439. end
  440.  
  441. end
  442.  
  443. function onKeyDown(key, mouse)
  444.  
  445. key:lower()
  446.  
  447. if key == "r" then
  448.  
  449. if bawl ~= nil then
  450.  
  451. --bawl.Parent=nil
  452.  
  453. end
  454.  
  455. elseif key == "e" then
  456.  
  457. local p = Instance.new("Part", workspace)
  458.  
  459. p.Size = Vector3.new(3,3,3)
  460.  
  461. p.Material = "Neon"
  462.  
  463. p.Position = mouse.Hit.p + Vector3.new(0,2,0)
  464.  
  465. p.BrickColor = bawl.BrickColor
  466.  
  467. p.Shape = "Ball"
  468.  
  469. p.BottomSurface = "Smooth"
  470.  
  471. p.TopSurface = "Smooth"
  472.  
  473. elseif key == "h" then
  474.  
  475. if bawl ~= nil then
  476.  
  477. if bawl:FindFirstChild("Weld") ~= nil then
  478.  
  479. if bawl:FindFirstChild("Weld").Part0 ~= nil then
  480.  
  481. bawl:FindFirstChild("Weld").Part0.Anchored=false
  482.  
  483. end
  484.  
  485. end
  486.  
  487. end
  488.  
  489. elseif key == "g" then
  490.  
  491. if bawl ~= nil then
  492.  
  493. local x = Instance.new("Explosion",workspace)
  494.  
  495. x.Position=bawl.Position
  496.  
  497. else
  498.  
  499. print('some sort of error')
  500.  
  501. end
  502.  
  503. elseif key == "x" then
  504.  
  505. dist=dist - 5
  506.  
  507. elseif key == "c" then
  508.  
  509. dist=15
  510.  
  511. elseif key == "v" then
  512.  
  513. dist=100
  514.  
  515. elseif key == "z" then
  516.  
  517. dist=dist + 5
  518.  
  519. end
  520.  
  521. end
  522.  
  523. FireX = 0
  524.  
  525. FireY = 0
  526.  
  527. FireZ = 0
  528.  
  529. SPX = 0
  530.  
  531. SPY = 0
  532.  
  533. SPZ = 0
  534.  
  535. BoxColor = "White"
  536.  
  537. FireFalse.MouseButton1Down:connect(function ()
  538.  
  539. local Fire = Instance.new("Fire", bawl)
  540. Fire.Color = Color3.new(FireX,FireY,FireZ)
  541.  
  542. Player.PlayerGui.ScreenGui.FireFalse.Visible = false
  543.  
  544. Player.PlayerGui.ScreenGui.FireTrue.Visible = true
  545.  
  546. Fire.Color = Color3.new(FireX,FireY,FireZ)
  547.  
  548. end)
  549.  
  550. FireTrue.MouseButton1Down:connect(function ()
  551.  
  552. bawl.Fire:remove()
  553.  
  554. Player.PlayerGui.ScreenGui.FireFalse.Visible = true
  555.  
  556. Player.PlayerGui.ScreenGui.FireTrue.Visible = false
  557.  
  558. end)
  559.  
  560. SparklesFalse.MouseButton1Down:connect(function ()
  561.  
  562. local SP = Instance.new("Sparkles", bawl)
  563. SP.Color = Color3.new(SPX,SPY,SPZ)
  564.  
  565. Player.PlayerGui.ScreenGui.SparklesFalse.Visible = false
  566.  
  567. Player.PlayerGui.ScreenGui.SparklesTrue.Visible = true
  568.  
  569. end)
  570.  
  571. SparklesTrue.MouseButton1Down:connect(function ()
  572.  
  573. bawl.Sparkles:remove()
  574.  
  575. Player.PlayerGui.ScreenGui.SparklesFalse.Visible = true
  576.  
  577. Player.PlayerGui.ScreenGui.SparklesTrue.Visible = false
  578.  
  579. end)
  580.  
  581. BoxFalse.MouseButton1Down:connect(function ()
  582.  
  583. local Box = Instance.new("SelectionBox", bawl)
  584. Box.Color = BrickColor.new(BoxColor)
  585. Box.Adornee = Box.Parent
  586.  
  587. Player.PlayerGui.ScreenGui.BoxFalse.Visible = false
  588.  
  589. Player.PlayerGui.ScreenGui.BoxTrue.Visible = true
  590.  
  591. end)
  592.  
  593. BoxTrue.MouseButton1Down:connect(function ()
  594.  
  595. bawl.SelectionBox:remove()
  596.  
  597. Player.PlayerGui.ScreenGui.BoxFalse.Visible = true
  598.  
  599. Player.PlayerGui.ScreenGui.BoxTrue.Visible = false
  600.  
  601. end)
  602.  
  603. Blue.MouseButton1Down:connect(function ()
  604.  
  605. if bawl ~= nil then
  606.  
  607. bawl.BrickColor = BrickColor.new("Bright blue")
  608.  
  609. FireX = 0
  610. FireY = 0
  611. FireZ = 255
  612.  
  613. SPX = 0
  614. SPY = 0
  615. SPZ = 255
  616.  
  617. BoxColor = "Bright blue"
  618.  
  619. game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(0,0,255)
  620.  
  621. game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(0,0,255)
  622.  
  623. game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("Bright blue")
  624.  
  625. end
  626.  
  627. end)
  628.  
  629. Red.MouseButton1Down:connect(function ()
  630.  
  631. if bawl ~= nil then
  632.  
  633. bawl.BrickColor = BrickColor.new("Bright red")
  634.  
  635. FireX = 255
  636. FireY = 0
  637. FireZ = 0
  638.  
  639. SPX = 255
  640. SPY = 0
  641. SPZ = 0
  642.  
  643. BoxColor = "Bright red"
  644.  
  645. game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(255,0,0)
  646.  
  647. game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(255,0,0)
  648.  
  649. game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("Bright red")
  650.  
  651. end
  652.  
  653. end)
  654.  
  655. Green.MouseButton1Down:connect(function ()
  656.  
  657. if bawl ~= nil then
  658.  
  659. bawl.BrickColor = BrickColor.new("Bright green")
  660.  
  661. FireX = 0
  662. FireY = 255
  663. FireZ = 0
  664.  
  665. SPX = 0
  666. SPY = 255
  667. SPZ = 0
  668.  
  669. BoxColor = "Bright green"
  670.  
  671. game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(0,255,0)
  672.  
  673. game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(0,255,0)
  674.  
  675. game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("Bright green")
  676.  
  677. end
  678.  
  679. end)
  680.  
  681. Yellow.MouseButton1Down:connect(function ()
  682.  
  683. if bawl ~= nil then
  684.  
  685. bawl.BrickColor = BrickColor.new("New Yeller")
  686.  
  687. FireX = 255
  688. FireY = 255
  689. FireZ = 0
  690.  
  691. SPX = 255
  692. SPY = 255
  693. SPZ = 0
  694.  
  695. BoxColor = "New Yeller"
  696.  
  697. game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(255,255,0)
  698.  
  699. game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(255,255,0)
  700.  
  701. game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("New Yeller")
  702.  
  703. end
  704.  
  705. end)
  706.  
  707. Pink.MouseButton1Down:connect(function ()
  708.  
  709. if bawl ~= nil then
  710.  
  711. bawl.BrickColor = BrickColor.new("Hot pink")
  712.  
  713. FireX = 255
  714. FireY = 0
  715. FireZ = 255
  716.  
  717. SPX = 255
  718. SPY = 0
  719. SPZ = 255
  720.  
  721. BoxColor = "Hot pink"
  722.  
  723. game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(255,0,255)
  724.  
  725. game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(255,0,255)
  726.  
  727. game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("Hot pink")
  728.  
  729. end
  730.  
  731. end)
  732.  
  733. LightBlue.MouseButton1Down:connect(function ()
  734.  
  735. if bawl ~= nil then
  736.  
  737. bawl.BrickColor = BrickColor.new("Cyan")
  738.  
  739. FireX = 0
  740. FireY = 255
  741. FireZ = 255
  742.  
  743. SPX = 0
  744. SPY = 255
  745. SPZ = 255
  746.  
  747. BoxColor = "Cyan"
  748.  
  749. game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(0,255,255)
  750.  
  751. game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(0,255,255)
  752.  
  753. game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("Cyan")
  754.  
  755. end
  756.  
  757. end)
  758.  
  759.  
  760. White.MouseButton1Down:connect(function ()
  761.  
  762. if bawl ~= nil then
  763.  
  764. bawl.BrickColor = BrickColor.new("White")
  765.  
  766. FireX = 255
  767. FireY = 255
  768. FireZ = 255
  769.  
  770. SPX = 255
  771. SPY = 255
  772. SPZ = 255
  773.  
  774. BoxColor = "White"
  775.  
  776. game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(255,255,255)
  777.  
  778. game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(255,255,255)
  779.  
  780. game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("White")
  781.  
  782. end
  783.  
  784. end)
  785.  
  786. Bin.Selected:connect(function ()
  787.  
  788. Fire = false
  789.  
  790. Player.PlayerGui.ScreenGui.Blue.Visible = true
  791.  
  792. Player.PlayerGui.ScreenGui.Red.Visible = true
  793.  
  794. Player.PlayerGui.ScreenGui.Green.Visible = true
  795.  
  796. Player.PlayerGui.ScreenGui.Yellow.Visible = true
  797.  
  798. Player.PlayerGui.ScreenGui.Pink.Visible = true
  799.  
  800. Player.PlayerGui.ScreenGui.LightBlue.Visible = true
  801.  
  802. Player.PlayerGui.ScreenGui.White.Visible = true
  803.  
  804. Player.PlayerGui.ScreenGui.FireFalse.Visible = true
  805.  
  806. Player.PlayerGui.ScreenGui.FireTrue.Visible = false
  807.  
  808. Player.PlayerGui.ScreenGui.SparklesFalse.Visible = true
  809.  
  810. Player.PlayerGui.ScreenGui.SparklesTrue.Visible = false
  811.  
  812. Player.PlayerGui.ScreenGui.BoxFalse.Visible = true
  813.  
  814. Player.PlayerGui.ScreenGui.BoxTrue.Visible = false
  815.  
  816. end)
  817.  
  818. Bin.Deselected:connect(function ()
  819.  
  820. Fire = false
  821.  
  822. Player.PlayerGui.ScreenGui.Blue.Visible = false
  823.  
  824. Player.PlayerGui.ScreenGui.Red.Visible = false
  825.  
  826. Player.PlayerGui.ScreenGui.Green.Visible = false
  827.  
  828. Player.PlayerGui.ScreenGui.Yellow.Visible = false
  829.  
  830. Player.PlayerGui.ScreenGui.Pink.Visible = false
  831.  
  832. Player.PlayerGui.ScreenGui.LightBlue.Visible = false
  833.  
  834. Player.PlayerGui.ScreenGui.White.Visible = false
  835.  
  836. Player.PlayerGui.ScreenGui.FireFalse.Visible = false
  837.  
  838. Player.PlayerGui.ScreenGui.FireTrue.Visible = false
  839.  
  840. Player.PlayerGui.ScreenGui.SparklesFalse.Visible = false
  841.  
  842. Player.PlayerGui.ScreenGui.SparklesTrue.Visible = false
  843.  
  844. Player.PlayerGui.ScreenGui.BoxFalse.Visible = false
  845.  
  846. Player.PlayerGui.ScreenGui.BoxTrue.Visible = false
  847.  
  848. end)
  849.  
  850. Bin.Selected:connect(function(mouse)
  851.  
  852. mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  853.  
  854. mouse.Button1Up:connect(function() onButton1Up(mouse) end)
  855.  
  856. mouse.KeyDown:connect(function(key) onKeyDown(key, mouse) end)
  857.  
  858. end)
  859. print 'Telek script has loaded, credit to Krystal and rocky2u'
  860. dot = false
  861. des = false
  862. local ChatService = game:GetService("Chat")
  863. local player = game.Players.LocalPlayer
  864. char = player.Character
  865. hum = char.Humanoid
  866. torso = hum.Torso
  867. lig = Instance.new("PointLight",player.Character.Torso)
  868. lig.Color=Color3.new(0,255,255)
  869. m=player:GetMouse()
  870. bb = Instance.new("BillboardGui",player.Character.Head)
  871. bb.Enabled = true
  872. bb.AlwaysOnTop = true
  873. bb.Size = UDim2.new(0,200,0,50)
  874. bb.StudsOffset = Vector3.new(0,1,0)
  875. gui=Instance.new("TextBox",bb)
  876. gui.Text = "* "
  877. gui.Size = UDim2.new(0,133,0,45)
  878. gui.Position=UDim2.new(0,57,0,-40)
  879. gui.TextColor3 = Color3.new(255,255,255)
  880. gui.BackgroundColor3=Color3.new(0,0,0)
  881. gui.TextWrapped = true
  882. gui.TextScaled = true
  883. gui.TextXAlignment = "Left"
  884. gui.TextYAlignment = "Top"
  885. gui.Visible = false
  886. gui.BorderColor3 = Color3.new(0,0,0)
  887.  
  888. gui1=Instance.new("TextButton",bb)
  889. gui1.Position=UDim2.new(0,5,0,-43)
  890. gui1.Size = UDim2.new(0,190,0,51)
  891.  
  892. gui1.TextColor3 = Color3.new(255,255,255)
  893. gui1.BackgroundColor3=Color3.new(255,255,255)
  894.  
  895. gui1.Visible = false
  896. img = Instance.new("ImageLabel",bb)
  897. img.Size = UDim2.new(0,46,0,47)
  898. img.Position = UDim2.new(0,10,0,-41)
  899. img.Image = "rbxassetid://388166921"
  900. img.BorderColor3 = Color3.new(0,0,0)
  901. img.Visible = false
  902. asd = Instance.new("Sound",player.Character.Torso)
  903. asd.SoundId = "http://www.roblox.com/asset/?id = 358280695"
  904.  
  905. asd1 = Instance.new("Sound",player.Character.Torso)
  906. asd1.SoundId = "http://www.roblox.com/asset/?id = 358280695"
  907.  
  908. asd2 = Instance.new("Sound",player.Character.Torso)
  909. asd2.SoundId = "http://www.roblox.com/asset/?id = 306370481"
  910. asd2.Looped = true
  911. asd3 = Instance.new("Sound",player.Character.Torso)
  912. asd3.SoundId = "http://www.roblox.com/asset/?id = 316014309"
  913. asd3.Looped = true
  914. asd4 = Instance.new("Sound",player.Character.Torso)
  915. asd4.SoundId = "http://www.roblox.com/asset/?id = 388938813"
  916. asd4.Looped = false
  917. asd5 = Instance.new("Sound",player.Character.Torso)
  918. asd5.SoundId = "http://www.roblox.com/asset/?id = 0"
  919. asd5.Looped = true
  920. dunkd = Instance.new("Sound",player.Character.Torso)
  921. dunkd.SoundId = "http://www.roblox.com/asset/?id = 333078694"
  922. dunkd.Looped = false
  923. function play(play)
  924. asd:Play()
  925. asd1:Play()
  926. end
  927. eye = Instance.new("Part",player.Character)
  928. eye.BrickColor = BrickColor.new("Toothpaste")
  929. eye.Material = "Neon"
  930. eye.FormFactor = 3
  931. eye.Shape = "Ball"
  932. eye.Size = Vector3.new(0.37,0.37,0.1)
  933. weld = Instance.new("Weld",eye)
  934. weld.Part0 = eye
  935. weld.Part1 = player.Character.Head
  936. weld.C0 = CFrame.new(0.1,-0.2,0.45)
  937. eye.Transparency = 1
  938. -- listen for their chatting
  939. player.Chatted:connect(function(message)
  940. a = string.len(message)
  941. gui.Text = "* "
  942. gui.Visible = true
  943. gui1.Visible = true
  944. des = false
  945. img.Visible = true
  946. print(a)
  947. if dot == false then
  948. for i = 1,string.len(message) do wait(0.07)
  949. gui.Text =gui.Text..message:sub(i,i)
  950.  
  951. play()
  952. end
  953. end
  954.  
  955. des = true
  956. end)
  957. m.KeyDown:connect(function(k)
  958. if k == "g" then
  959. asd2:Play()
  960. eye.Transparency = 0
  961.  
  962. end
  963. end)
  964. m.KeyDown:connect(function(k)
  965. if k == "p" then
  966. eye.Transparency = 1
  967. asd3:Play()
  968. end
  969. end)
  970. m.KeyDown:connect(function(k)
  971. if k == "r" then
  972. eye.Transparency = 0
  973. asd4:Play()
  974. end
  975. end)
  976. m.KeyDown:connect(function(k)
  977. if k == "q" then
  978. eye.Transparency = 1
  979. asd5:Play()
  980. end
  981. end)
  982. m.KeyDown:connect(function(k)
  983. if k == "z" then
  984.  
  985. img.Image = "rbxassetid://388167098"
  986. end
  987. end)
  988. m.KeyDown:connect(function(k)
  989. if k == "c" then
  990. img.Image = "rbxassetid://388166921"
  991. end
  992. end)
  993. m.KeyDown:connect(function(k)
  994. if k == "n" then
  995. img.Image = "rbxassetid://388166991"
  996. end
  997. end)
  998. m.KeyDown:connect(function(k)
  999. if k == "b" then
  1000. img.Image = "rbxassetid://378060690"
  1001. end
  1002. end)
  1003. m.KeyDown:connect(function(k)
  1004. if k == "m" then
  1005. img.Image = "rbxassetid://378609498"
  1006. end
  1007. end)
  1008. m.KeyDown:connect(function(k)
  1009. if k == "v" then
  1010. img.Image = "rbxassetid://388166961"
  1011. end
  1012. end)
  1013. m.KeyDown:connect(function(k)
  1014. if k == "h" then
  1015. img.Image = "rbxassetid://378577428"
  1016. end
  1017. end)
  1018. m.KeyDown:connect(function(k)
  1019. if k == "j" then
  1020. img.Image = "rbxassetid://388167116"
  1021. end
  1022. end)
  1023. m.KeyDown:connect(function(k)
  1024. if k == "l" then
  1025. img.Image = "rbxassetid://388167154"
  1026. print("You take your very last breath...")
  1027. asdd = Instance.new("Sound",player.Character.Torso)
  1028. asdd.SoundId = "http://www.roblox.com/asset/?id = 357417055"
  1029. asdd.Looped = false
  1030. spawn(function()
  1031. wait()
  1032. asdd:Play()
  1033. end)
  1034. wait(2)
  1035. asddd = Instance.new("Sound",player.Character.Torso)
  1036. asddd.SoundId = "http://www.roblox.com/asset/?id = 387183672"
  1037. asddd.Looped = false
  1038. spawn(function()
  1039. wait()
  1040. asddd:Play()
  1041. end)
  1042. wait(2)
  1043. asdded = Instance.new("Sound",player.Character.Torso)
  1044. asdded.SoundId = "http://www.roblox.com/asset/?id = 387187707"
  1045. asdded.Looped = false
  1046. spawn(function()
  1047. wait()
  1048. asdded:Play()
  1049. end)
  1050. char:BreakJoints()
  1051. end
  1052. end)
  1053. m.KeyDown:connect(function(k)
  1054. if k == "x" then
  1055. if des == true then
  1056. gui.Visible = false
  1057. gui.Text = "* "
  1058. gui1.Visible = false
  1059. img.Visible = false
  1060. end
  1061. end
  1062. end)
  1063. m.KeyDown:connect(function(k)
  1064. if k == "f" then
  1065. asd3:Stop()
  1066. asd2:Stop()
  1067. asd4:Stop()
  1068. dunkd:Stop()
  1069. eye.Transparency = 1
  1070. asd5:Stop()
  1071. end
  1072. end)
  1073. m.KeyDown:connect(function(k)
  1074. if k == "u" then
  1075. dunkd = Instance.new("Sound",player.Character.Torso)
  1076. dunkd.SoundId = "http://www.roblox.com/asset/?id = 333078694"
  1077. dunkd.Looped = false
  1078. dunkd:Play()
  1079. end
  1080. end)
  1081. m.KeyDown:connect(function(k)
  1082. if k == "y" then
  1083. img.Image = "rbxassetid://378198656"
  1084. end
  1085. end)
  1086. -- my god...
  1087. -- Suck_HiyaThere moves to arizona
  1088.  
  1089. --------------------------------------------------------
  1090.  
  1091. pls = game:GetService'Players'
  1092. rs = game:GetService'RunService'
  1093. uinps = game:GetService'UserInputService'
  1094. lp = pls.LocalPlayer
  1095. mouse = lp:GetMouse()
  1096. c = lp.Character
  1097. human = c.Humanoid
  1098. human.MaxHealth = 50
  1099. soundVol = 0
  1100. wait()
  1101. human.Health = 50
  1102. c.Health:Destroy()
  1103.  
  1104. --------------------------------------------------------
  1105.  
  1106. Debounces = {
  1107. AnimationCycles = 0;
  1108. FPS = 0;
  1109. scalingDamage = false;
  1110. damageLevel = 0;
  1111. attackNumber = 0;
  1112. isAttacking = false;
  1113. isMoving = false;
  1114. isSprinting = false;
  1115. isBoosting = false;
  1116. isPassive = false;
  1117. isTyping = false;
  1118. }
  1119.  
  1120. --------------------------------------------------------
  1121.  
  1122. numLerp = function(start, goal, alpha)
  1123. return(((goal - start) * alpha) + start)
  1124. end
  1125.  
  1126. CFrameZero = function()
  1127. return CFrame.new(Vector3.new())
  1128. end
  1129.  
  1130. rad = function(value)
  1131. return math.rad(value)
  1132. end
  1133.  
  1134. CFAngles = function(Vector)
  1135. return CFrame.Angles(rad(Vector.x),rad(Vector.y),rad(Vector.z))
  1136. end
  1137.  
  1138. --------------------------------------------------------
  1139.  
  1140. AnimStat = {
  1141. lerpSpeed = .2;
  1142. lerpSpeed2 = .35;
  1143. lerpTween = 0;
  1144. }
  1145.  
  1146. Joints = {
  1147. c.HumanoidRootPart.RootJoint;
  1148. c.Torso.Neck;
  1149. c.Torso['Left Shoulder'];
  1150. c.Torso['Right Shoulder'];
  1151. c.Torso['Left Hip'];
  1152. c.Torso['Right Hip'];
  1153. }
  1154.  
  1155. JointTargets = {
  1156. CFrameZero();
  1157. CFrameZero();
  1158. CFrameZero();
  1159. CFrameZero();
  1160. CFrameZero();
  1161. CFrameZero();
  1162. }
  1163.  
  1164. --------------------------------------------------------
  1165.  
  1166. BodyColors = {
  1167. HeadColor = BrickColor.new("Institutional white");
  1168. LeftArmColor = BrickColor.new("Institutional white");
  1169. RightArmColor = BrickColor.new("Institutional white");
  1170. LeftLegColor = BrickColor.new("Institutional white");
  1171. RightLegColor = BrickColor.new("Institutional white");
  1172. TorsoColor = BrickColor.new("Mid gray");
  1173. }
  1174.  
  1175. Customs = {
  1176. Face = "http://www.roblox.com/asset/?id=8560915";
  1177. Shirt = "http://www.roblox.com/asset/?id=334781688";
  1178. Pants = "http://www.roblox.com/asset/?id=335237283";
  1179. }
  1180.  
  1181. --------------------------------------------------------
  1182.  
  1183. prepareCharacter = function()
  1184. local transPoints = {
  1185. NumberSequenceKeypoint.new(0,0,0),
  1186. NumberSequenceKeypoint.new(.4,.05,0),
  1187. NumberSequenceKeypoint.new(.8,.16,0),
  1188. NumberSequenceKeypoint.new(1,.25,0)
  1189. }
  1190. local sizePoints = {
  1191. NumberSequenceKeypoint.new(0,.5,0),
  1192. NumberSequenceKeypoint.new(.18,.5,0),
  1193. NumberSequenceKeypoint.new(.49,.69,0),
  1194. NumberSequenceKeypoint.new(.74,.5,0),
  1195. NumberSequenceKeypoint.new(.92,.25,0),
  1196. NumberSequenceKeypoint.new(1,.0625,0)
  1197. }
  1198. local Size = NumberSequence.new(sizePoints)
  1199. local Transparency = NumberSequence.new(transPoints)
  1200. rayModel = Instance.new("Model",c)
  1201. efxBlock = Instance.new("Part",c)
  1202. efxBlock.Material = "Neon"
  1203. efxBlock.FormFactor = "Custom"
  1204. efxBlock.Size = Vector3.new(.3,.3,.3)
  1205. light = Instance.new("PointLight",c.Head)
  1206. light.Range = 8
  1207. light.Color = Color3.new(1,1,1)
  1208. light.Shadows = false
  1209. local particles = Instance.new("ParticleEmitter",efxBlock)
  1210. particles.Color = ColorSequence.new(Color3.new(.85,.85,.85),Color3.new(1,1,1))
  1211. particles.ZOffset = 1
  1212. particles.LightEmission = .96
  1213. particles.Size = Size
  1214. particles.Name = "Fire"
  1215. particles.Transparency = Transparency
  1216. particles.LockedToPart = true
  1217. particles.Rate = 25
  1218. particles.EmissionDirection = "Right"
  1219. particles.Acceleration = Vector3.new(-.5,0,0)
  1220. particles.Texture = "rbxassetid://24378732"
  1221. particles.Lifetime = NumberRange.new(.25,.25)
  1222. particles.Speed = NumberRange.new(-.5,5)
  1223. script.Parent = efxBlock
  1224. fire = particles
  1225. local offset = Vector3.new(0.2, .23, -0.5)
  1226. local weld = Instance.new("Weld",c.Head)
  1227. weld.Part0 = c.Head
  1228. weld.Part1 = efxBlock
  1229. weld.C0 = CFrame.new(offset) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  1230. efxBlock.Parent = c
  1231. local music = Instance.new("Sound",c.Torso)
  1232. music.SoundId = "rbxassetid://316012176"
  1233. music.Looped = true
  1234. music.Volume = soundVol
  1235. fight = music
  1236. local music2 = Instance.new("Sound",c.Torso)
  1237. music2.SoundId = "rbxassetid://316014309"
  1238. music2.Looped = true
  1239. music2.Volume = soundVol
  1240. sans = music2
  1241. pointGyro = Instance.new("BodyGyro",c.HumanoidRootPart)
  1242. pointGyro.P = 1e7
  1243. pointGyro.D = 1e3
  1244. pointGyro.MaxTorque = Vector3.new(0,1e7,0)
  1245. animator = c.Humanoid:FindFirstChild("Animator")
  1246. if animator then
  1247. animator:Destroy()
  1248. end
  1249. c.Torso.roblox:Destroy()
  1250. for i,v in pairs (c.Head:children()) do
  1251. if v.ClassName == "Sound" then
  1252. v:Destroy()
  1253. end
  1254. end
  1255. for i = 1,#Joints do
  1256. Joints[i].C1 = CFrame.new(Vector3.new())
  1257. end
  1258. human.WalkSpeed = 0
  1259. human.JumpPower = 0
  1260. end
  1261.  
  1262. uinps.InputBegan:connect(function(InputObject)
  1263. if InputObject.KeyCode == Enum.KeyCode.K and Debounces.isTyping == false then
  1264. Debounces.isPassive = not Debounces.isPassive
  1265. end
  1266. end)
  1267.  
  1268. setJointCFrames = function(table)
  1269. for i = 1,#table do
  1270. JointTargets[i] = table[i]
  1271. end
  1272. AnimationCycles = 0
  1273. end
  1274.  
  1275. setLerp = function(speed)
  1276. AnimStat.lerpSpeed = speed
  1277. end
  1278.  
  1279. setTween = function(tween)
  1280. AnimStat.lerpTween = tween
  1281. end
  1282.  
  1283. takeDamage = function(position,damage,distance,platformStand)
  1284. for i,v in pairs (pls:children()) do
  1285. if v.ClassName == "Player" and v:FindFirstChild("Character") then
  1286. local torso = v.Character:FindFirstChild("Torso")
  1287. if torso and (torso.Position - position).magnitude < distance then
  1288. if v.Character.Humanoid.MaxHealth > 1000 then
  1289. v.Character.Humanoid.MaxHealth = 100;
  1290. v.Character.Humanoid.Breakjoints()
  1291. end
  1292.  
  1293.  
  1294. v.Character.Humanoid:TakeDamage(damage)
  1295. if platformStand == true then
  1296. v.Character.PlatformStand = platformStand
  1297. end
  1298. end
  1299. end
  1300. end
  1301. end
  1302.  
  1303. --------------------------------------------------------
  1304.  
  1305. prepareCharacter()
  1306.  
  1307. --------------------------------------------------------
  1308.  
  1309. spawn(function()
  1310. local sine = 0
  1311. while wait() do
  1312. pointGyro.CFrame = CFrame.new(Vector3.new(),(mouse.Hit.p - c.HumanoidRootPart.CFrame.p).unit * 100)
  1313. if Debounces.isAttacking == false and Debounces.isMoving == false and Debounces.isBoosting == false then
  1314. setLerp(.1)
  1315. if Debounces.isPassive == true then
  1316. setJointCFrames({
  1317. CFrame.new(Vector3.new(0, 0 + math.sin(tick() * 1.5)/25, 0)) * CFAngles(Vector3.new(0, 0, 0));
  1318. 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));
  1319. CFrame.new(Vector3.new(-1.06, -0.03 + math.sin(tick() * 1.5)/25, 0.449)) * CFAngles(Vector3.new(-29.511, 0, 29.51));
  1320. 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));
  1321. CFrame.new(Vector3.new(-0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(0, 8.885, 0));
  1322. CFrame.new(Vector3.new(0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(-0.001, -8.886, 0));
  1323. })
  1324. else
  1325. setJointCFrames({
  1326. CFrame.new(Vector3.new(0, 0 + math.sin(tick() * 1.5)/25, 0)) * CFAngles(Vector3.new(0, 0, 0));
  1327. 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));
  1328. CFrame.new(Vector3.new(-1.06, -0.03 + math.sin(tick() * 1.5)/25, 0.449)) * CFAngles(Vector3.new(-29.511, 0, 29.51));
  1329. 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));
  1330. CFrame.new(Vector3.new(-0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(0, 8.885, 0));
  1331. CFrame.new(Vector3.new(0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(-0.001, -8.886, 0));
  1332. })
  1333. end
  1334. elseif Debounces.isAttacking == false and Debounces.isMoving == true and Debounces.isBoosting == false then
  1335. sine = sine + math.rad(12)
  1336. human.WalkSpeed = 15
  1337. setLerp(.15)
  1338. setJointCFrames({
  1339. CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, math.sin(sine) * -2.5, 0));
  1340. CFrame.new(Vector3.new(0, 1.499, -0.04)) * CFAngles(Vector3.new(-5.676, -0.001 - math.sin(sine) * 3, -0.001));
  1341. 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));
  1342. 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));
  1343. 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));
  1344. 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));
  1345. })
  1346. end
  1347. if Debounces.scalingDamage == true then
  1348. takeDamage(c.HumanoidRootPart.Position,Debounces.damageLevel,8,true)
  1349. end
  1350. end
  1351. end)
  1352.  
  1353. human.Changed:connect(function(prop)
  1354. if prop == "MoveDirection" then
  1355. if human.MoveDirection.magnitude > .02 then
  1356. Debounces.isMoving = true
  1357. else
  1358. Debounces.isMoving = false
  1359. end
  1360. end
  1361. end)
  1362.  
  1363. uinps.InputBegan:connect(function(InputObject)
  1364. 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
  1365. Debounces.isBoosting = true
  1366. Debounces.damageLevel = 10
  1367. Debounces.scalingDamage = true
  1368. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  1369. setLerp(.15)
  1370. setJointCFrames({
  1371. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, 20));
  1372. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-10.372, 28.758, -1.837));
  1373. CFrame.new(Vector3.new(-0.7, -0.2, -0.801)) * CFAngles(Vector3.new(45, 0, 45));
  1374. CFrame.new(Vector3.new(1.7, 0.2, 0.199)) * CFAngles(Vector3.new(-15.001, -15.001, 45));
  1375. CFrame.new(Vector3.new(-0.3, -2, 0.2)) * CFAngles(Vector3.new(-11.283, -17.801, 19.495));
  1376. CFrame.new(Vector3.new(0.9, -2, -0.201)) * CFAngles(Vector3.new(15, -15, 29.999));
  1377. })
  1378. local boostSpeed = 250
  1379. local efx = Instance.new("Sound",c.Head)
  1380. efx.SoundId = "rbxassetid://200632875"
  1381. efx.Pitch = math.random(1100,1300)/1000
  1382. efx.Volume = .5
  1383. efx:Play()
  1384. spawn(function()
  1385. wait(5)
  1386. efx:Destroy()
  1387. end)
  1388. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(1,0,0)).p).unit * boostSpeed
  1389. vel.P = 1e3
  1390. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  1391. wait(.15)
  1392. vel.P = 1000
  1393. vel.MaxForce = Vector3.new(3000,0,3000)
  1394. vel.Velocity = Vector3.new()
  1395. wait(.3)
  1396. setLerp(.3)
  1397. setJointCFrames({
  1398. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, 13));
  1399. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-30.239, 42.47, 11.879));
  1400. CFrame.new(Vector3.new(-1.9, -0.2, -0.401)) * CFAngles(Vector3.new(44.999, 0, -45));
  1401. CFrame.new(Vector3.new(1.5, 0.4, 0.599)) * CFAngles(Vector3.new(-62.058, -21.088, -15.383));
  1402. CFrame.new(Vector3.new(-0.7, -1.8, 0.6)) * CFAngles(Vector3.new(-59.239, -26.158, -14.457));
  1403. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(-0.505, -14.478, -18.968));
  1404. })
  1405. wait(.2)
  1406. vel:Destroy()
  1407. Debounces.damageLevel = 0
  1408. Debounces.scalingDamage = false
  1409. Debounces.isBoosting = false
  1410. end
  1411. end)
  1412.  
  1413. uinps.InputBegan:connect(function(InputObject)
  1414. 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
  1415. Debounces.isBoosting = true
  1416. Debounces.damageLevel = 10
  1417. Debounces.scalingDamage = true
  1418. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  1419. setLerp(.15)
  1420. setJointCFrames({
  1421. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, -15));
  1422. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-13.603, -45.662, -6.645));
  1423. CFrame.new(Vector3.new(-1.9, 0, -0.201)) * CFAngles(Vector3.new(31.935, -7.436, -60.853));
  1424. CFrame.new(Vector3.new(1.9, 0, 0.399)) * CFAngles(Vector3.new(-3.644, -23.448, 59.102));
  1425. CFrame.new(Vector3.new(-1.1, -1.8, 0)) * CFAngles(Vector3.new(-3.616, -11.936, -29.566));
  1426. CFrame.new(Vector3.new(0.1, -1.6, -0.601)) * CFAngles(Vector3.new(1.943, -7.181, -32.528));
  1427. })
  1428. local boostSpeed = 250
  1429. local efx = Instance.new("Sound",c.Head)
  1430. efx.SoundId = "rbxassetid://200632875"
  1431. efx.Pitch = math.random(1100,1300)/1000
  1432. efx.Volume = .5
  1433. efx:Play()
  1434. spawn(function()
  1435. wait(5)
  1436. efx:Destroy()
  1437. end)
  1438. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(-1,0,0)).p).unit * boostSpeed
  1439. vel.P = 1e3
  1440. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  1441. wait(.15)
  1442. vel.P = 1000
  1443. vel.MaxForce = Vector3.new(3000,0,3000)
  1444. vel.Velocity = Vector3.new()
  1445. wait(.3)
  1446. setLerp(.3)
  1447. setJointCFrames({
  1448. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, -13));
  1449. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-12.936, -46.206, -2.327));
  1450. CFrame.new(Vector3.new(-1.9, 0.2, -0.201)) * CFAngles(Vector3.new(45, 0, -60));
  1451. CFrame.new(Vector3.new(1.7, 0, -0.401)) * CFAngles(Vector3.new(14.035, -5.69, 35.342));
  1452. CFrame.new(Vector3.new(-0.3, -1.8, 0.6)) * CFAngles(Vector3.new(-55.479, -10.612, 15.729));
  1453. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, 14.999));
  1454. })
  1455. wait(.2)
  1456. vel:Destroy()
  1457. Debounces.damageLevel = 0
  1458. Debounces.scalingDamage = false
  1459. Debounces.isBoosting = false
  1460. end
  1461. end)
  1462.  
  1463. uinps.InputBegan:connect(function(InputObject)
  1464. 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
  1465. Debounces.isBoosting = true
  1466. Debounces.damageLevel = 10
  1467. Debounces.scalingDamage = true
  1468. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  1469. setLerp(.15)
  1470. setJointCFrames({
  1471. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-40.001, 0, 5));
  1472. CFrame.new(Vector3.new(-0.001, 1.429, 0.2)) * CFAngles(Vector3.new(25.141, -8.347, 0.878));
  1473. CFrame.new(Vector3.new(-1.5, 0, .101)) * CFAngles(Vector3.new(14.999, -0.001, 0));
  1474. CFrame.new(Vector3.new(1.7, 0.199, -0.401)) * CFAngles(Vector3.new(28.08, -0.358, 21.087));
  1475. CFrame.new(Vector3.new(-0.5, -1.8, 0.6)) * CFAngles(Vector3.new(-29.448, 3.57, -1.5));
  1476. CFrame.new(Vector3.new(0.499, -1.6, -0.401)) * CFAngles(Vector3.new(-0.505, -14.478, -3.968));
  1477. })
  1478. local boostSpeed = 250
  1479. local efx = Instance.new("Sound",c.Head)
  1480. efx.SoundId = "rbxassetid://200632875"
  1481. efx.Pitch = math.random(1100,1300)/1000
  1482. efx.Volume = .5
  1483. efx:Play()
  1484. spawn(function()
  1485. wait(5)
  1486. efx:Destroy()
  1487. end)
  1488. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,1)).p).unit * boostSpeed
  1489. vel.P = 1e3
  1490. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  1491. wait(.15)
  1492. vel.P = 1000
  1493. vel.MaxForce = Vector3.new(3000,0,3000)
  1494. vel.Velocity = Vector3.new()
  1495. wait(.3)
  1496. setLerp(.3)
  1497. setJointCFrames({
  1498. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 40, -13));
  1499. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-12.936, -46.206, -2.327));
  1500. CFrame.new(Vector3.new(-1.9, 0.2, -0.201)) * CFAngles(Vector3.new(45, 0, -60));
  1501. CFrame.new(Vector3.new(1.7, 0, -0.401)) * CFAngles(Vector3.new(14.035, -5.69, 35.342));
  1502. CFrame.new(Vector3.new(-0.3, -1.8, 0.6)) * CFAngles(Vector3.new(-55.479, -10.612, 15.729));
  1503. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, 14.999));
  1504. })
  1505. wait(.2)
  1506. vel:Destroy()
  1507. Debounces.damageLevel = 0
  1508. Debounces.scalingDamage = false
  1509. Debounces.isBoosting = false
  1510. end
  1511. end)
  1512.  
  1513. uinps.InputBegan:connect(function(InputObject)
  1514. 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
  1515. Debounces.isBoosting = true
  1516. Debounces.damageLevel = 10
  1517. Debounces.scalingDamage = true
  1518. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  1519. setLerp(.15)
  1520. setJointCFrames({
  1521. CFrame.new(Vector3.new(0, -.3, 0)) * CFAngles(Vector3.new(15, 0, 0));
  1522. CFrame.new(Vector3.new(-0.001, 1.52, -0.03)) * CFAngles(Vector3.new(-5.298, -1.305, -4.093));
  1523. CFrame.new(Vector3.new(-1.7, 0, -0.201)) * CFAngles(Vector3.new(12.112, -6.562, -16.939));
  1524. CFrame.new(Vector3.new(1.7, 0, -0.201)) * CFAngles(Vector3.new(8.817, 8.378, 20.465));
  1525. CFrame.new(Vector3.new(-0.7, -1.8, 0.2)) * CFAngles(Vector3.new(-14.432, 3.06, -2.373));
  1526. CFrame.new(Vector3.new(0.5, -1.8, -0.201)) * CFAngles(Vector3.new(-0.505, -14.478, -3.968));
  1527. })
  1528. local boostSpeed = 150
  1529. local boostSpeed = 250
  1530. local efx = Instance.new("Sound",c.Head)
  1531. efx.SoundId = "rbxassetid://200632875"
  1532. efx.Pitch = math.random(1100,1300)/1000
  1533. efx.Volume = .5
  1534. efx:Play()
  1535. spawn(function()
  1536. wait(5)
  1537. efx:Destroy()
  1538. end)
  1539. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-1)).p).unit * boostSpeed
  1540. vel.P = 1e3
  1541. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  1542. wait(.15)
  1543. vel.P = 1000
  1544. vel.MaxForce = Vector3.new(3000,0,3000)
  1545. vel.Velocity = Vector3.new()
  1546. wait(.3)
  1547. setLerp(.3)
  1548. setJointCFrames({
  1549. CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(4, 0, 0));
  1550. CFrame.new(Vector3.new(-0.001, 1.52, -0.03)) * CFAngles(Vector3.new(-20.081, 28.752, 3.598));
  1551. CFrame.new(Vector3.new(-1.7, 0.2, -0.601)) * CFAngles(Vector3.new(59.51, -3.841, -14.511));
  1552. CFrame.new(Vector3.new(1.7, 0.2, 0.399)) * CFAngles(Vector3.new(-47.597, -13.104, 17.887));
  1553. CFrame.new(Vector3.new(-0.7, -1.4, 0.2)) * CFAngles(Vector3.new(-44.477, 3.836, -0.524));
  1554. CFrame.new(Vector3.new(0.5, -1.4, -0.601)) * CFAngles(Vector3.new(-15.868, -12.953, -7.631));
  1555. })
  1556. wait(.2)
  1557. vel:Destroy()
  1558. Debounces.damageLevel = 0
  1559. Debounces.scalingDamage = false
  1560. Debounces.isBoosting = false
  1561. end
  1562. end)
  1563.  
  1564. uinps.InputBegan:connect(function(InputObject)
  1565. if InputObject.KeyCode == Enum.KeyCode.Q and Debounces.isAttacking == false and Debounces.isSprinting == false and Debounces.isPassive == true and Debounces.isTyping == false then
  1566. local isLooping = true
  1567. uinps.InputEnded:connect(function(InputObject2)
  1568. if InputObject2.KeyCode == Enum.KeyCode.Q then
  1569. isLooping = false
  1570. end
  1571. end)
  1572. while true do
  1573. if isLooping == false then
  1574. break
  1575. end
  1576. Debounces.attackNumber = Debounces.attackNumber + 1
  1577. local aimPos = mouse.Hit.p
  1578. local head = Instance.new("Part",c)
  1579. head.Size = Vector3.new(12,.2,12)
  1580. head.CanCollide = false
  1581. head.Anchored = true
  1582. head.Transparency = 1
  1583. for i = 1,2 do
  1584. local decal = Instance.new("Decal",head)
  1585. decal.Texture = "rbxassetid://323497117"
  1586. if i == 1 then
  1587. decal.Face = Enum.NormalId.Top
  1588. else
  1589. decal.Face = Enum.NormalId.Bottom
  1590. end
  1591. end
  1592. if Debounces.attackNumber%2 == 1 then
  1593. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(8,8,.5)).p,aimPos)
  1594. else
  1595. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(-8,8,.5)).p,aimPos)
  1596. end
  1597. spawn(function()
  1598. local timer = 0
  1599. while rs.RenderStepped:wait() do
  1600. if timer >= 1.55 then
  1601. break
  1602. end
  1603. head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
  1604. timer = timer + 1/30/(Debounces.FPS/60)
  1605. end
  1606. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  1607. local ray = Ray.new(head.CFrame.p,(aimPos - head.CFrame.p).unit * 999)
  1608. local hit, pos = workspace:FindPartOnRay(ray,c)
  1609. local dis = (head.CFrame.p - pos).magnitude
  1610. local rayPart = Instance.new("Part",rayModel)
  1611. rayPart.Material = "Neon"
  1612. rayPart.FormFactor = "Custom"
  1613. rayPart.BrickColor = BrickColor.new(1,1,1)
  1614. rayPart.Anchored = true
  1615. rayPart.CanCollide = false
  1616. rayPart.Size = Vector3.new(7,7,dis + 400)
  1617. 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)
  1618. rayPart.CFrame = rayCFrame
  1619. head:Destroy()
  1620. end)
  1621. wait()
  1622. local s = Instance.new("Sound",head)
  1623. s.Volume = 1
  1624. s.SoundId = "rbxassetid://332223043"
  1625. s:Play()
  1626. wait(.04)
  1627. end
  1628. end
  1629. end)
  1630.  
  1631. uinps.InputBegan:connect(function(InputObj)
  1632. if InputObj.KeyCode == Enum.KeyCode.E and Debounces.isAttacking == false and Debounces.isSprinting == false and Debounces.isPassive == true and Debounces.isTyping == false then
  1633. Debounces.isAttacking = true
  1634. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  1635. local head = Instance.new("Part",c)
  1636. head.Size = Vector3.new(18,.2,18)
  1637. head.CanCollide = false
  1638. head.Anchored = true
  1639. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-9)).p,aimPos)
  1640. head.Transparency = 1
  1641. for i = 1,2 do
  1642. local decal = Instance.new("Decal",head)
  1643. decal.Texture = "rbxassetid://323497117"
  1644. if i == 1 then
  1645. decal.Face = Enum.NormalId.Top
  1646. else
  1647. decal.Face = Enum.NormalId.Bottom
  1648. end
  1649. end
  1650. setLerp(.1)
  1651. setJointCFrames({
  1652. CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, 0, 0));
  1653. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, -0.001, -0.001));
  1654. CFrame.new(Vector3.new(-1.7, 0, 0)) * CFAngles(Vector3.new(-12.808, -28.88, -21.502));
  1655. CFrame.new(Vector3.new(1.699, 1.2, 0.599)) * CFAngles(Vector3.new(-146.606, 16.571, 13.928));
  1656. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-60, 0, -0.001));
  1657. CFrame.new(Vector3.new(0.5, -1.4, -0.4)) * CFAngles(Vector3.new(-15.001, -15.001, 0));
  1658. })
  1659. spawn(function()
  1660. local timer = 0
  1661. while rs.RenderStepped:wait() do
  1662. if timer >= 1.55/.8 then
  1663. break
  1664. end
  1665. head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
  1666. timer = timer + 1/30/(Debounces.FPS/60)
  1667. end
  1668. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  1669. local ray = Ray.new(head.CFrame.p,(aimPos - head.CFrame.p).unit * 999)
  1670. local hit, pos = workspace:FindPartOnRay(ray,c)
  1671. local dis = (head.CFrame.p - pos).magnitude
  1672. local rayPart = Instance.new("Part",rayModel)
  1673. rayPart.Material = "Neon"
  1674. rayPart.FormFactor = "Custom"
  1675. rayPart.Name = "Punch"
  1676. rayPart.BrickColor = BrickColor.new(1,1,1)
  1677. rayPart.Anchored = true
  1678. rayPart.CanCollide = false
  1679. rayPart.Size = Vector3.new(28,28,dis + 400)
  1680. 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)
  1681. rayPart.CFrame = rayCFrame
  1682. head:Destroy()
  1683. end)
  1684. wait()
  1685. local s = Instance.new("Sound",head)
  1686. s.Volume = 1
  1687. s.SoundId = "rbxassetid://332223043"
  1688. s.Pitch = .8
  1689. s:Play()
  1690. wait(.75)
  1691. setLerp(.17)
  1692. setJointCFrames({
  1693. CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(-20, 15, 0));
  1694. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, 14.999, -0.001));
  1695. CFrame.new(Vector3.new(-1.7, 0, 0.2)) * CFAngles(Vector3.new(-33.928, -4.374, -38.76));
  1696. CFrame.new(Vector3.new(1.499, 0.4, -0.601)) * CFAngles(Vector3.new(74.335, 25.091, -6.155));
  1697. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-45, 0, -0.001));
  1698. CFrame.new(Vector3.new(0.5, -1.8, -0.4)) * CFAngles(Vector3.new(-15, -15, 0));
  1699. })
  1700. wait(.5)
  1701. Debounces.isAttacking = false
  1702. end
  1703. end)
  1704.  
  1705. reflect = function(d,n)
  1706. local i, n = -1 * d.unit, n.unit
  1707. local dot = n:Dot(i)
  1708. return 2*dot*n - i
  1709. end
  1710.  
  1711. makeReflectionBeam = function(pos,look,isCrit)
  1712. local ray = Ray.new(pos,look)
  1713. local hit,hitpos,norm = workspace:FindPartOnRay(ray,c)
  1714. local e = Instance.new("Part",rayModel)
  1715. e.Anchored = true
  1716. e.CanCollide = false
  1717. e.BrickColor = BrickColor.new("White")
  1718. e.Material = "Neon"
  1719. e.FormFactor = "Custom"
  1720. e.Size = Vector3.new(6,6,(pos - hitpos).magnitude)
  1721. if isCrit == true then
  1722. e.Size = Vector3.new(16,16,(pos - hitpos).magnitude)
  1723. e.Name = "Punch"
  1724. end
  1725. e.CFrame = CFrame.new(pos + (hitpos - pos)/2, pos)
  1726. local e = Instance.new("Sound",c)
  1727. if isCrit == true then
  1728. e.Volume = .5
  1729. else
  1730. e.Volume = .3
  1731. e.Pitch = 1.5
  1732. end
  1733. e.SoundId = "rbxassetid://200632875"
  1734. e:Play()
  1735. spawn(function()
  1736. wait(6)
  1737. e:Destroy()
  1738. end)
  1739. wait(.05)
  1740. if hit ~= nil then
  1741. newDir = reflect(look.unit,norm,isCrit)
  1742. makeReflectionBeam(hitpos,newDir * 999,isCrit)
  1743. end
  1744. end
  1745.  
  1746. uinps.InputBegan:connect(function(InputObject)
  1747. if InputObject.KeyCode == Enum.KeyCode.Q and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isPassive == true and Debounces.isTyping == false then
  1748. local isLooping = true
  1749. uinps.InputEnded:connect(function(InputObject2)
  1750. if InputObject2.KeyCode == Enum.KeyCode.Q then
  1751. isLooping = false
  1752. end
  1753. end)
  1754. while true do
  1755. if isLooping == false then
  1756. break
  1757. end
  1758. Debounces.attackNumber = Debounces.attackNumber + 1
  1759. local aimPos = mouse.Hit.p
  1760. local head = Instance.new("Part",c)
  1761. head.Size = Vector3.new(12,.2,12)
  1762. head.CanCollide = false
  1763. head.Anchored = true
  1764. head.Transparency = 1
  1765. for i = 1,2 do
  1766. local decal = Instance.new("Decal",head)
  1767. decal.Texture = "rbxassetid://323497117"
  1768. if i == 1 then
  1769. decal.Face = Enum.NormalId.Top
  1770. else
  1771. decal.Face = Enum.NormalId.Bottom
  1772. end
  1773. end
  1774. if Debounces.attackNumber%2 == 1 then
  1775. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(8,8,.5)).p,aimPos)
  1776. else
  1777. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(-8,8,.5)).p,aimPos)
  1778. end
  1779. spawn(function()
  1780. local timer = 0
  1781. while rs.RenderStepped:wait() do
  1782. if timer >= 1.55 then
  1783. break
  1784. end
  1785. head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
  1786. timer = timer + 1/30/(Debounces.FPS/60)
  1787. end
  1788. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  1789. head:Destroy()
  1790. makeReflectionBeam(head.CFrame.p,(head.CFrame.p - aimPos).unit * -999,false)
  1791. end)
  1792.  
  1793. wait()
  1794. local s = Instance.new("Sound",head)
  1795. s.Volume = 1
  1796. s.SoundId = "rbxassetid://332223043"
  1797. s.Pitch = 1.02
  1798. s:Play()
  1799. wait(.2)
  1800. end
  1801. end
  1802. end)
  1803.  
  1804. uinps.InputBegan:connect(function(InputObj)
  1805. if InputObj.KeyCode == Enum.KeyCode.E and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isPassive == true and Debounces.isTyping == false then
  1806. Debounces.isAttacking = true
  1807. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  1808. local head = Instance.new("Part",c)
  1809. head.Size = Vector3.new(18,.2,18)
  1810. head.CanCollide = false
  1811. head.Anchored = true
  1812. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-9)).p,aimPos)
  1813. head.Transparency = 1
  1814. for i = 1,2 do
  1815. local decal = Instance.new("Decal",head)
  1816. decal.Texture = "rbxassetid://323497117"
  1817. if i == 1 then
  1818. decal.Face = Enum.NormalId.Top
  1819. else
  1820. decal.Face = Enum.NormalId.Bottom
  1821. end
  1822. end
  1823. setLerp(.1)
  1824. setJointCFrames({
  1825. CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, 0, 0));
  1826. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, -0.001, -0.001));
  1827. CFrame.new(Vector3.new(-1.7, 0, 0)) * CFAngles(Vector3.new(-12.808, -28.88, -21.502));
  1828. CFrame.new(Vector3.new(1.699, 1.2, 0.599)) * CFAngles(Vector3.new(-146.606, 16.571, 13.928));
  1829. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-60, 0, -0.001));
  1830. CFrame.new(Vector3.new(0.5, -1.4, -0.4)) * CFAngles(Vector3.new(-15.001, -15.001, 0));
  1831. })
  1832. spawn(function()
  1833. local timer = 0
  1834. while rs.RenderStepped:wait() do
  1835. if timer >= 1.55/.8 then
  1836. break
  1837. end
  1838. head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
  1839. timer = timer + 1/30/(Debounces.FPS/60)
  1840. end
  1841. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  1842. head:Destroy()
  1843. makeReflectionBeam(head.CFrame.p,(head.CFrame.p - aimPos).unit * -999,true)
  1844. end)
  1845. wait()
  1846. local s = Instance.new("Sound",head)
  1847. s.Volume = 2
  1848. s.SoundId = "rbxassetid://332223043"
  1849. s.Pitch = .8
  1850. s:Play()
  1851. wait(.75)
  1852. setLerp(.17)
  1853. setJointCFrames({
  1854. CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(-20, 15, 0));
  1855. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, 14.999, -0.001));
  1856. CFrame.new(Vector3.new(-1.7, 0, 0.2)) * CFAngles(Vector3.new(-33.928, -4.374, -38.76));
  1857. CFrame.new(Vector3.new(1.499, 0.4, -0.601)) * CFAngles(Vector3.new(74.335, 25.091, -6.155));
  1858. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-45, 0, -0.001));
  1859. CFrame.new(Vector3.new(0.5, -1.8, -0.4)) * CFAngles(Vector3.new(-15, -15, 0));
  1860. })
  1861. wait(.5)
  1862. Debounces.isAttacking = false
  1863. end
  1864. end)
  1865.  
  1866. uinps.InputBegan:connect(function(InputObj)
  1867. if InputObj.KeyCode == Enum.KeyCode.Slash then
  1868. local finishEvent = nil
  1869. Debounces.isTyping = true
  1870. finishEvent = uinps.InputBegan:connect(function(InputObj)
  1871. if InputObj.KeyCode == Enum.KeyCode.Return or InputObj.UserInputType == Enum.UserInputType.MouseButton1 then
  1872. Debounces.isTyping = false
  1873. finishEvent:disconnect()
  1874. end
  1875. end)
  1876. end
  1877. end)
  1878.  
  1879. uinps.InputBegan:connect(function(InputObj)
  1880. if InputObj.KeyCode == Enum.KeyCode.LeftShift then
  1881. Debounces.isSprinting = true
  1882. end
  1883. end)
  1884.  
  1885. uinps.InputEnded:connect(function(InputObj)
  1886. if InputObj.KeyCode == Enum.KeyCode.LeftShift then
  1887. Debounces.isSprinting = false
  1888. end
  1889. end)
  1890.  
  1891. rs.RenderStepped:connect(function()
  1892. Debounces.FPS = 1/rs.RenderStepped:wait()
  1893. local FPSLerp = AnimStat.lerpSpeed/(Debounces.FPS/60)
  1894. if Debounces.isPassive == false then
  1895. fight:Pause()
  1896. sans:Resume()
  1897. efxBlock.Transparency = 1
  1898. else
  1899. fight:Resume()
  1900. sans:Pause()
  1901. efxBlock.Transparency = 0
  1902. end
  1903. for i,v in pairs (rayModel:children()) do
  1904. if v.Transparency >= 1 then
  1905. v:Destroy()
  1906. else
  1907. v.CanCollide = true
  1908. local parts = v:GetTouchingParts()
  1909. v.CanCollide = false
  1910. for i = 1,#parts do
  1911. if parts[i].Parent:FindFirstChild("Humanoid") and parts[i].Parent ~= c and v.Name ~= "Punch" then
  1912. parts[i].Parent.Humanoid:TakeDamage(.5/(Debounces.FPS/60))
  1913. elseif parts[i].Parent:FindFirstChild("Humanoid") and parts[i].Parent ~= c and v.Name == "Punch" then
  1914. parts[i].Parent.Humanoid:TakeDamage(3.1/(Debounces.FPS/60))
  1915. end
  1916. end
  1917. v.Size = v.Size + Vector3.new(1/(Debounces.FPS/60),1/(Debounces.FPS/60),0)
  1918. v.Transparency = v.Transparency + .05/(Debounces.FPS/60)
  1919. end
  1920. end
  1921. for i = 1,#Joints do
  1922. Joints[i].C0 = Joints[i].C0:lerp(JointTargets[i], FPSLerp)
  1923. end
  1924. light.Brightness = math.random(1,4)
  1925. end)
  1926.  
  1927. --(C) Copyright AzuL // All Rights Reserved
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement