Advertisement
00fjg

Untitled

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