Advertisement
febidoboi

Untitled

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