Advertisement
Guest User

Thank you

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