Advertisement
00fjg

Untitled

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