Advertisement
lucasdrtty

Sans Genocide Script

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