PotatoSaiyan

Geno Sans Script (Potato)

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