Advertisement
ThatOneScript

Genocide Sans

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