Advertisement
copra50

Untitled

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