Advertisement
AlphaTwo_gg

Untitled

Feb 21st, 2025 (edited)
10
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 28.99 KB | None | 0 0
  1. local player = game.Players.LocalPlayer
  2.  
  3. local playerGui = player.PlayerGui
  4.  
  5. local hotbar = playerGui:FindFirstChild("Hotbar")
  6.  
  7. local backpack = hotbar:FindFirstChild("Backpack")
  8.  
  9. local hotbarFrame = backpack:FindFirstChild("Hotbar")
  10.  
  11. local baseButton = hotbarFrame:FindFirstChild("1").Base
  12.  
  13. local ToolName = baseButton.ToolName
  14.  
  15.  
  16. ToolName.Text = "Ki Blast"
  17.  
  18.  
  19. local player = game.Players.LocalPlayer
  20.  
  21. local playerGui = player.PlayerGui
  22.  
  23. local hotbar = playerGui:FindFirstChild("Hotbar")
  24.  
  25. local backpack = hotbar:FindFirstChild("Backpack")
  26.  
  27. local hotbarFrame = backpack:FindFirstChild("Hotbar")
  28.  
  29. local baseButton = hotbarFrame:FindFirstChild("2").Base
  30.  
  31. local ToolName = baseButton.ToolName
  32.  
  33.  
  34. ToolName.Text = "Flurry kick"
  35.  
  36.  
  37. local player = game.Players.LocalPlayer
  38.  
  39. local playerGui = player.PlayerGui
  40.  
  41. local hotbar = playerGui:FindFirstChild("Hotbar")
  42.  
  43. local backpack = hotbar:FindFirstChild("Backpack")
  44.  
  45. local hotbarFrame = backpack:FindFirstChild("Hotbar")
  46.  
  47. local baseButton = hotbarFrame:FindFirstChild("3").Base
  48.  
  49. local ToolName = baseButton.ToolName
  50.  
  51.  
  52. ToolName.Text = "Flip kick"
  53.  
  54.  
  55. local player = game.Players.LocalPlayer
  56.  
  57. local playerGui = player.PlayerGui
  58.  
  59. local hotbar = playerGui:FindFirstChild("Hotbar")
  60.  
  61. local backpack = hotbar:FindFirstChild("Backpack")
  62.  
  63. local hotbarFrame = backpack:FindFirstChild("Hotbar")
  64.  
  65. local baseButton = hotbarFrame:FindFirstChild("4").Base
  66.  
  67. local ToolName = baseButton.ToolName
  68.  
  69.  
  70. ToolName.Text = "upperkick"
  71.  
  72.  
  73. local Players = game:GetService("Players")
  74.  
  75. local player = Players.LocalPlayer
  76.  
  77. local playerGui = player:WaitForChild("PlayerGui")
  78.  
  79.  
  80. local function findGuiAndSetText()
  81.  
  82. local screenGui = playerGui:FindFirstChild("ScreenGui")
  83.  
  84. if screenGui then
  85.  
  86. local magicHealthFrame = screenGui:FindFirstChild("MagicHealth")
  87.  
  88. if magicHealthFrame then
  89.  
  90. local textLabel = magicHealthFrame:FindFirstChild("TextLabel")
  91.  
  92. if textLabel then
  93.  
  94. textLabel.Text = "Super Saiyan"
  95.  
  96. end
  97.  
  98. end
  99.  
  100. end
  101.  
  102. end
  103.  
  104.  
  105. playerGui.DescendantAdded:Connect(findGuiAndSetText)
  106.  
  107. findGuiAndSetText()
  108.  
  109.  
  110. local animationId = 10468665991
  111.  
  112.  
  113. local player = game.Players.LocalPlayer
  114.  
  115. local character = player.Character or player.CharacterAdded:Wait()
  116.  
  117. local humanoid = character:WaitForChild("Humanoid")
  118.  
  119.  
  120. local function onAnimationPlayed(animationTrack)
  121.  
  122. if animationTrack.Animation.AnimationId == "rbxassetid://" .. animationId then
  123.  
  124.  
  125. local p = game.Players.LocalPlayer
  126.  
  127. local Humanoid = p.Character:WaitForChild("Humanoid")
  128.  
  129.  
  130. for _, animTrack in pairs(Humanoid:GetPlayingAnimationTracks()) do
  131.  
  132. animTrack:Stop()
  133.  
  134. end
  135.  
  136. -- First move
  137. local AnimAnim = Instance.new("Animation")
  138.  
  139. AnimAnim.AnimationId = "rbxassetid://13073745835"
  140.  
  141. local Anim = Humanoid:LoadAnimation(AnimAnim)
  142.  
  143.  
  144. local startTime = 0.2
  145.  
  146.  
  147. Anim:Play()
  148.  
  149. Anim:AdjustSpeed(0)
  150.  
  151. Anim.TimePosition = startTime
  152.  
  153. Anim:AdjustSpeed(1)
  154.  
  155.  
  156. end
  157.  
  158. end
  159.  
  160.  
  161. humanoid.AnimationPlayed:Connect(onAnimationPlayed)
  162.  
  163.  
  164. local animationId = 10466974800
  165.  
  166.  
  167. local player = game.Players.LocalPlayer
  168.  
  169. local character = player.Character or player.CharacterAdded:Wait()
  170.  
  171. local humanoid = character:WaitForChild("Humanoid")
  172.  
  173.  
  174. local function onAnimationPlayed(animationTrack)
  175.  
  176. if animationTrack.Animation.AnimationId == "rbxassetid://" .. animationId then
  177.  
  178.  
  179. local p = game.Players.LocalPlayer
  180.  
  181. local Humanoid = p.Character:WaitForChild("Humanoid")
  182.  
  183.  
  184. for _, animTrack in pairs(Humanoid:GetPlayingAnimationTracks()) do
  185.  
  186. animTrack:Stop()
  187.  
  188. end
  189.  
  190. -- second move
  191. local AnimAnim = Instance.new("Animation")
  192.  
  193. AnimAnim.AnimationId = "rbxassetid://18181589384"
  194.  
  195. local Anim = Humanoid:LoadAnimation(AnimAnim)
  196.  
  197.  
  198. local startTime = 0.2
  199.  
  200.  
  201. Anim:Play()
  202.  
  203. Anim:AdjustSpeed(0)
  204.  
  205. Anim.TimePosition = startTime
  206.  
  207. Anim:AdjustSpeed(0.9)
  208.  
  209.  
  210. end
  211.  
  212. end
  213.  
  214.  
  215. humanoid.AnimationPlayed:Connect(onAnimationPlayed)
  216.  
  217.  
  218. local animationId = 10471336737
  219.  
  220.  
  221. local player = game.Players.LocalPlayer
  222.  
  223. local character = player.Character or player.CharacterAdded:Wait()
  224.  
  225. local humanoid = character:WaitForChild("Humanoid")
  226.  
  227.  
  228. local function onAnimationPlayed(animationTrack)
  229.  
  230. if animationTrack.Animation.AnimationId == "rbxassetid://" .. animationId then
  231.  
  232.  
  233. local p = game.Players.LocalPlayer
  234.  
  235. local Humanoid = p.Character:WaitForChild("Humanoid")
  236.  
  237.  
  238. for _, animTrack in pairs(Humanoid:GetPlayingAnimationTracks()) do
  239.  
  240. animTrack:Stop()
  241.  
  242. end
  243.  
  244. -- third move
  245. local AnimAnim = Instance.new("Animation")
  246.  
  247. AnimAnim.AnimationId = "rbxassetid://15391323441"
  248.  
  249. local Anim = Humanoid:LoadAnimation(AnimAnim)
  250.  
  251.  
  252. local startTime = 5.3
  253.  
  254.  
  255. Anim:Play()
  256.  
  257. Anim:AdjustSpeed(0)
  258.  
  259. Anim.TimePosition = startTime
  260.  
  261. Anim:AdjustSpeed(2.9)
  262.  
  263.  
  264. delay(1.8, function()
  265.  
  266. Anim:Stop()
  267.  
  268. end)
  269.  
  270.  
  271. end
  272.  
  273. end
  274.  
  275.  
  276. humanoid.AnimationPlayed:Connect(onAnimationPlayed)
  277.  
  278.  
  279. local animationId = 12510170988
  280.  
  281.  
  282. local player = game.Players.LocalPlayer
  283.  
  284. local character = player.Character or player.CharacterAdded:Wait()
  285.  
  286. local humanoid = character:WaitForChild("Humanoid")
  287.  
  288.  
  289. local function onAnimationPlayed(animationTrack)
  290.  
  291. if animationTrack.Animation.AnimationId == "rbxassetid://" .. animationId then
  292.  
  293. local p = game.Players.LocalPlayer
  294.  
  295. local Humanoid = p.Character:WaitForChild("Humanoid")
  296.  
  297.  
  298. for _, animTrack in pairs(Humanoid:GetPlayingAnimationTracks()) do
  299.  
  300. animTrack:Stop()
  301.  
  302. end
  303.  
  304. -- fourth move (last move)
  305. local AnimAnim = Instance.new("Animation")
  306.  
  307. AnimAnim.AnimationId = "rbxassetid://18179181663"
  308.  
  309. local Anim = Humanoid:LoadAnimation(AnimAnim)
  310.  
  311.  
  312. local startTime = 0.1
  313.  
  314.  
  315. Anim:Play()
  316.  
  317. Anim:AdjustSpeed(0)
  318.  
  319. Anim.TimePosition = startTime
  320.  
  321. Anim:AdjustSpeed(1)
  322.  
  323.  
  324. end
  325.  
  326. end
  327.  
  328. humanoid.AnimationPlayed:Connect(onAnimationPlayed)
  329.  
  330. local animationId = 11343318134
  331.  
  332.  
  333. local player = game.Players.LocalPlayer
  334.  
  335. local character = player.Character or player.CharacterAdded:Wait()
  336.  
  337. local humanoid = character:WaitForChild("Humanoid")
  338.  
  339.  
  340. local function onAnimationPlayed(animationTrack)
  341.  
  342. if animationTrack.Animation.AnimationId == "rbxassetid://" .. animationId then
  343.  
  344. local p = game.Players.LocalPlayer
  345.  
  346. local Humanoid = p.Character:WaitForChild("Humanoid")
  347.  
  348.  
  349. for _, animTrack in pairs(Humanoid:GetPlayingAnimationTracks()) do
  350.  
  351. animTrack:Stop()
  352.  
  353. end
  354.  
  355. -- serious punch
  356.  
  357. local AnimAnim = Instance.new("Animation")
  358.  
  359. AnimAnim.AnimationId = "rbxassetid://12983333733"
  360.  
  361. local Anim = Humanoid:LoadAnimation(AnimAnim)
  362.  
  363.  
  364. local startTime = 2
  365.  
  366. Anim:Play()
  367.  
  368. Anim:AdjustSpeed(0)
  369.  
  370. Anim.TimePosition = startTime
  371.  
  372. Anim:AdjustSpeed(0.5)
  373.  
  374.  
  375. end
  376.  
  377. end
  378.  
  379. humanoid.AnimationPlayed:Connect(onAnimationPlayed)
  380.  
  381. local animationId = 15955393872
  382.  
  383.  
  384. local player = game.Players.LocalPlayer
  385.  
  386. local character = player.Character or player.CharacterAdded:Wait()
  387.  
  388. local humanoid = character:WaitForChild("Humanoid")
  389.  
  390.  
  391. local function onAnimationPlayed(animationTrack)
  392.  
  393. if animationTrack.Animation.AnimationId == "rbxassetid://" .. animationId then
  394.  
  395. local p = game.Players.LocalPlayer
  396.  
  397. local Humanoid = p.Character:WaitForChild("Humanoid")
  398.  
  399.  
  400. for _, animTrack in pairs(Humanoid:GetPlayingAnimationTracks()) do
  401.  
  402. animTrack:Stop()
  403.  
  404. end
  405.  
  406. -- Wallcombo
  407. local AnimAnim = Instance.new("Animation")
  408.  
  409. AnimAnim.AnimationId = "rbxassetid://15944317351"
  410.  
  411. local Anim = Humanoid:LoadAnimation(AnimAnim)
  412.  
  413.  
  414. local startTime = 0.2
  415.  
  416.  
  417. Anim:Play()
  418.  
  419. Anim:AdjustSpeed(0)
  420.  
  421. Anim.TimePosition = startTime
  422.  
  423. Anim:AdjustSpeed(1)
  424.  
  425.  
  426. end
  427.  
  428. end
  429.  
  430. humanoid.AnimationPlayed:Connect(onAnimationPlayed)
  431.  
  432. local animationId = 12983333733
  433.  
  434.  
  435. local player = game.Players.LocalPlayer
  436.  
  437. local character = player.Character or player.CharacterAdded:Wait()
  438.  
  439. local humanoid = character:WaitForChild("Humanoid")
  440.  
  441.  
  442. local function onAnimationPlayed(animationTrack)
  443.  
  444. if animationTrack.Animation.AnimationId == "rbxassetid://" .. animationId then
  445.  
  446. local p = game.Players.LocalPlayer
  447.  
  448. local Humanoid = p.Character:WaitForChild("Humanoid")
  449.  
  450.  
  451. for _, animTrack in pairs(Humanoid:GetPlayingAnimationTracks()) do
  452.  
  453. animTrack:Stop()
  454.  
  455. end
  456.  
  457.  
  458. -- death counter
  459. local AnimAnim = Instance.new("Animation")
  460.  
  461. AnimAnim.AnimationId = "rbxassetid://13073745835"
  462.  
  463. local Anim = Humanoid:LoadAnimation(AnimAnim)
  464.  
  465.  
  466. local startTime = 0.3
  467.  
  468.  
  469. Anim:Play()
  470.  
  471. Anim:AdjustSpeed(0)
  472.  
  473. Anim.TimePosition = startTime
  474.  
  475. Anim:AdjustSpeed(0.2)
  476.  
  477.  
  478. end
  479.  
  480. end
  481.  
  482. humanoid.AnimationPlayed:Connect(onAnimationPlayed)
  483.  
  484.  
  485. local animationId = 12447707844
  486.  
  487.  
  488. local player = game.Players.LocalPlayer
  489.  
  490. local character = player.Character or player.CharacterAdded:Wait()
  491.  
  492. local humanoid = character:WaitForChild("Humanoid")
  493.  
  494.  
  495. local function onAnimationPlayed(animationTrack)
  496.  
  497. if animationTrack.Animation.AnimationId == "rbxassetid://" .. animationId then
  498.  
  499. local p = game.Players.LocalPlayer
  500.  
  501. local Humanoid = p.Character:WaitForChild("Humanoid")
  502.  
  503.  
  504. for _, animTrack in pairs(Humanoid:GetPlayingAnimationTracks()) do
  505.  
  506. animTrack:Stop()
  507.  
  508. end
  509.  
  510. -- ult anim
  511. local AnimAnim = Instance.new("Animation")
  512.  
  513. AnimAnim.AnimationId = "rbxassetid://17292505729"
  514.  
  515. local Anim = Humanoid:LoadAnimation(AnimAnim)
  516.  
  517.  
  518. local startTime = 0
  519.  
  520.  
  521. Anim:Play()
  522.  
  523. Anim:AdjustSpeed(0)
  524.  
  525. Anim.TimePosition = startTime
  526.  
  527. Anim:AdjustSpeed(1)
  528.  
  529. end
  530.  
  531. end
  532.  
  533. humanoid.AnimationPlayed:Connect(onAnimationPlayed)
  534.  
  535.  
  536. local animationId = 10479335397
  537.  
  538.  
  539. local player = game.Players.LocalPlayer
  540.  
  541. local character = player.Character or player.CharacterAdded:Wait()
  542.  
  543. local humanoid = character:WaitForChild("Humanoid")
  544.  
  545.  
  546. local function onAnimationPlayed(animationTrack)
  547.  
  548. if animationTrack.Animation.AnimationId == "rbxassetid://" .. animationId then
  549.  
  550. local p = game.Players.LocalPlayer
  551.  
  552. local Humanoid = p.Character:WaitForChild("Humanoid")
  553.  
  554.  
  555. for _, animTrack in pairs(Humanoid:GetPlayingAnimationTracks()) do
  556.  
  557. animTrack:Stop()
  558.  
  559. end
  560.  
  561. -- Dash anim
  562. local AnimAnim = Instance.new("Animation")
  563.  
  564. AnimAnim.AnimationId = "rbxassetid://17838006839"
  565.  
  566. local Anim = Humanoid:LoadAnimation(AnimAnim)
  567.  
  568.  
  569. local startTime = 0.120
  570.  
  571.  
  572. Anim:Play()
  573.  
  574. Anim:AdjustSpeed(0)
  575.  
  576. Anim.TimePosition = startTime
  577.  
  578. Anim:AdjustSpeed(0.7)
  579.  
  580.  
  581. delay(1.2, function()
  582.  
  583. Anim:Stop()
  584.  
  585. end)
  586.  
  587.  
  588. end
  589.  
  590. end
  591.  
  592. humanoid.AnimationPlayed:Connect(onAnimationPlayed)
  593.  
  594.  
  595. local animationId = 10503381238
  596.  
  597.  
  598. local player = game.Players.LocalPlayer
  599.  
  600. local character = player.Character or player.CharacterAdded:Wait()
  601.  
  602. local humanoid = character:WaitForChild("Humanoid")
  603.  
  604.  
  605. local function onAnimationPlayed(animationTrack)
  606.  
  607. if animationTrack.Animation.AnimationId == "rbxassetid://" .. animationId then
  608.  
  609. local p = game.Players.LocalPlayer
  610.  
  611. local Humanoid = p.Character:WaitForChild("Humanoid")
  612.  
  613.  
  614. for _, animTrack in pairs(Humanoid:GetPlayingAnimationTracks()) do
  615.  
  616. animTrack:Stop()
  617.  
  618. end
  619.  
  620. -- Uppercut anim
  621. local AnimAnim = Instance.new("Animation")
  622.  
  623. AnimAnim.AnimationId = "rbxassetid://14001963401"
  624.  
  625. local Anim = Humanoid:LoadAnimation(AnimAnim)
  626.  
  627.  
  628. local startTime = 0.2
  629.  
  630.  
  631. Anim:Play()
  632.  
  633. Anim:AdjustSpeed(0)
  634.  
  635. Anim.TimePosition = startTime
  636.  
  637. Anim:AdjustSpeed(1)
  638.  
  639.  
  640. end
  641.  
  642. end
  643.  
  644. humanoid.AnimationPlayed:Connect(onAnimationPlayed)
  645.  
  646.  
  647. local animationId = 10470104242
  648.  
  649.  
  650. local player = game.Players.LocalPlayer
  651.  
  652. local character = player.Character or player.CharacterAdded:Wait()
  653.  
  654. local humanoid = character:WaitForChild("Humanoid")
  655.  
  656.  
  657. local function onAnimationPlayed(animationTrack)
  658.  
  659. if animationTrack.Animation.AnimationId == "rbxassetid://" .. animationId then
  660.  
  661. local p = game.Players.LocalPlayer
  662.  
  663. local Humanoid = p.Character:WaitForChild("Humanoid")
  664.  
  665.  
  666. for _, animTrack in pairs(Humanoid:GetPlayingAnimationTracks()) do
  667.  
  668. animTrack:Stop()
  669.  
  670. end
  671.  
  672. -- Downslam anim
  673. local AnimAnim = Instance.new("Animation")
  674.  
  675. AnimAnim.AnimationId = "rbxassetid://17858878027 "
  676.  
  677. local Anim = Humanoid:LoadAnimation(AnimAnim)
  678.  
  679.  
  680. local startTime = 0.1120
  681.  
  682.  
  683. wait(0.2)
  684.  
  685. Anim:Play()
  686.  
  687. Anim:AdjustSpeed(0.10)
  688.  
  689. Anim.TimePosition = startTime
  690.  
  691. Anim:AdjustSpeed(1)
  692.  
  693.  
  694. end
  695.  
  696. end
  697.  
  698. humanoid.AnimationPlayed:Connect(onAnimationPlayed)
  699.  
  700.  
  701. local Players = game:GetService("Players")
  702.  
  703. local player = Players.LocalPlayer
  704.  
  705. local character = player.Character or player.CharacterAdded:Wait()
  706.  
  707. local humanoid = character:WaitForChild("Humanoid")
  708.  
  709. -- Saitama m1s
  710.  
  711. local animationIdsToStop = {
  712. [123130271314378] = true,
  713. [132690143255992] = true,
  714. [105675367938130] = true,
  715. [120421361219907] = true,
  716. }
  717.  
  718. local replacementAnimations = {
  719. ["120421361219907"] = "rbxassetid://89205521225929",
  720. ["105675367938130"] = "rbxassetid://118489749870118",
  721. ["132690143255992"] = "rbxassetid://84087621403403",
  722. ["123130271314378"] = "rbxassetid://85620384705370",
  723. }
  724.  
  725.  
  726. local queue = {}
  727.  
  728. local isAnimating = false
  729.  
  730.  
  731. local function playReplacementAnimation(animationId)
  732.  
  733. if isAnimating then
  734.  
  735. table.insert(queue, animationId)
  736.  
  737. return
  738.  
  739. end
  740.  
  741.  
  742.  
  743. isAnimating = true
  744.  
  745. local replacementAnimationId = replacementAnimations[tostring(animationId)]
  746.  
  747. if replacementAnimationId then
  748.  
  749. local AnimAnim = Instance.new("Animation")
  750.  
  751. AnimAnim.AnimationId = replacementAnimationId
  752.  
  753. local Anim = humanoid:LoadAnimation(AnimAnim)
  754.  
  755. Anim:Play()
  756.  
  757.  
  758.  
  759. Anim.Stopped:Connect(function()
  760.  
  761. isAnimating = false
  762.  
  763. if #queue > 0 then
  764.  
  765. local nextAnimationId = table.remove(queue, 1)
  766.  
  767. playReplacementAnimation(nextAnimationId)
  768.  
  769. end
  770.  
  771. end)
  772.  
  773. else
  774.  
  775. isAnimating = false
  776.  
  777. end
  778.  
  779. end
  780.  
  781.  
  782. local function stopSpecificAnimations()
  783.  
  784. for _, track in ipairs(humanoid:GetPlayingAnimationTracks()) do
  785.  
  786. local animationId = tonumber(track.Animation.AnimationId:match("%d+"))
  787.  
  788. if animationIdsToStop[animationId] then
  789.  
  790. track:Stop()
  791.  
  792. end
  793.  
  794. end
  795.  
  796. end
  797.  
  798.  
  799. local function onAnimationPlayed(animationTrack)
  800.  
  801. local animationId = tonumber(animationTrack.Animation.AnimationId:match("%d+"))
  802.  
  803. if animationIdsToStop[animationId] then
  804.  
  805. stopSpecificAnimations()
  806.  
  807. animationTrack:Stop()
  808.  
  809.  
  810.  
  811. local replacementAnimationId = replacementAnimations[tostring(animationId)]
  812.  
  813. if replacementAnimationId then
  814.  
  815. playReplacementAnimation(animationId)
  816.  
  817. end
  818.  
  819. end
  820.  
  821. end
  822.  
  823.  
  824. humanoid.AnimationPlayed:Connect(onAnimationPlayed)
  825.  
  826.  
  827. local player = game.Players.LocalPlayer
  828.  
  829. local character = player.Character or player.CharacterAdded:Wait()
  830.  
  831. local humanoidRootPart = character:WaitForChild("HumanoidRootPart")
  832.  
  833.  
  834. local function onBodyVelocityAdded(bodyVelocity)
  835.  
  836. if bodyVelocity:IsA("BodyVelocity") then
  837.  
  838. bodyVelocity.Velocity = Vector3.new(bodyVelocity.Velocity.X, 0, bodyVelocity.Velocity.Z)
  839.  
  840. end
  841.  
  842. end
  843.  
  844.  
  845. character.DescendantAdded:Connect(onBodyVelocityAdded)
  846.  
  847.  
  848. for _, descendant in pairs(character:GetDescendants()) do
  849.  
  850. onBodyVelocityAdded(descendant)
  851.  
  852. end
  853.  
  854.  
  855. player.CharacterAdded:Connect(function(newCharacter)
  856.  
  857. character = newCharacter
  858.  
  859. humanoidRootPart = character:WaitForChild("HumanoidRootPart")
  860.  
  861. character.DescendantAdded:Connect(onBodyVelocityAdded)
  862.  
  863.  
  864.  
  865. for _, descendant in pairs(character:GetDescendants()) do
  866.  
  867. onBodyVelocityAdded(descendant)
  868.  
  869. end
  870.  
  871. end)
  872.  
  873. -- Tp tooooooooooooooolll
  874. local Players = game:GetService("Players")
  875. local LocalPlayer = Players.LocalPlayer
  876.  
  877.  
  878. while not LocalPlayer do
  879. wait()
  880. LocalPlayer = Players.LocalPlayer
  881. end
  882.  
  883.  
  884. local function createTool(name)
  885. local newTool = Instance.new("Tool")
  886. newTool.Name = name
  887. newTool.RequiresHandle = false
  888. newTool.CanBeDropped = false
  889. newTool.Parent = LocalPlayer.Backpack
  890. return newTool
  891. end
  892.  
  893.  
  894. local function bindTeleportLogic(tool)
  895. tool.Activated:Connect(function()
  896. teleportToClosestPlayer(tool)
  897. end)
  898. end
  899.  
  900.  
  901. local tool = createTool("Instant Transmission")
  902. bindTeleportLogic(tool)
  903.  
  904.  
  905. local teleportSound = Instance.new("Sound")
  906. teleportSound.SoundId = "rbxassetid://5066021887"
  907. teleportSound.Volume = 2
  908. teleportSound.Looped = false
  909. teleportSound.PlayOnRemove = false
  910. teleportSound.Parent = LocalPlayer
  911.  
  912. local teleportAnimation = Instance.new("Animation")
  913. teleportAnimation.AnimationId = "rbxassetid://15957361339"
  914.  
  915.  
  916. local teleportDistance = 50
  917.  
  918.  
  919. local cooldownTime = 5
  920. local isOnCooldown = false
  921. local originalToolName = tool.Name
  922.  
  923. local function findClosestPlayer()
  924. local player = LocalPlayer
  925. local character = player.Character
  926. if not character then return nil end
  927.  
  928. local humanoidRootPart = character:FindFirstChild("HumanoidRootPart")
  929. if not humanoidRootPart then return nil end
  930.  
  931. local closestPlayer = nil
  932. local shortestDistance = math.huge
  933.  
  934. for _, otherPlayer in pairs(Players:GetPlayers()) do
  935. if otherPlayer ~= player and otherPlayer.Character and otherPlayer.Character:FindFirstChild("HumanoidRootPart") then
  936. local otherHumanoidRootPart = otherPlayer.Character.HumanoidRootPart
  937. local distance = (humanoidRootPart.Position - otherHumanoidRootPart.Position).magnitude
  938.  
  939.  
  940. if (not teleportDistance or distance <= teleportDistance) and distance < shortestDistance then
  941. shortestDistance = distance
  942. closestPlayer = otherPlayer
  943. end
  944. end
  945. end
  946.  
  947. return closestPlayer, shortestDistance
  948. end
  949.  
  950. function teleportToClosestPlayer(tool)
  951.  
  952. if isOnCooldown then
  953. warn("LOW ON ENERGY WAIT 5 SECONDS!")
  954. return
  955. end
  956.  
  957. local player = LocalPlayer
  958. local character = player.Character or player.CharacterAdded:Wait()
  959. local humanoid = character:WaitForChild("Humanoid")
  960. local closestPlayer, distance = findClosestPlayer()
  961.  
  962. if closestPlayer and closestPlayer.Character then
  963. local closestHumanoidRootPart = closestPlayer.Character:FindFirstChild("HumanoidRootPart")
  964. if closestHumanoidRootPart then
  965. local humanoidRootPart = character:WaitForChild("HumanoidRootPart")
  966.  
  967. if not teleportDistance or distance <= teleportDistance then
  968.  
  969. isOnCooldown = true
  970.  
  971.  
  972. teleportSound:Play()
  973.  
  974.  
  975. local animationTrack = humanoid:LoadAnimation(teleportAnimation)
  976. animationTrack:Play()
  977.  
  978.  
  979. humanoidRootPart.CFrame = closestHumanoidRootPart.CFrame * CFrame.new(0, 0, 1)
  980.  
  981.  
  982. animationTrack.Stopped:Connect(function()
  983. animationTrack:Stop()
  984. end)
  985.  
  986.  
  987. if tool and tool.Parent then
  988. tool:Destroy()
  989. end
  990. tool = createTool("Low On Energy!")
  991.  
  992.  
  993. wait(cooldownTime)
  994.  
  995.  
  996. if tool and tool.Parent then
  997. tool:Destroy()
  998. end
  999. tool = createTool(originalToolName)
  1000. bindTeleportLogic(tool)
  1001. isOnCooldown = false
  1002. print("Energy is back on!")
  1003. else
  1004. warn("No energy is detected")
  1005. end
  1006. end
  1007. end
  1008. end
  1009.  
  1010. -- Credits
  1011. local gui = Instance.new("ScreenGui")
  1012. gui.Name = "CreditsGui"
  1013. gui.ResetOnSpawn = false
  1014. gui.Parent = game.CoreGui
  1015.  
  1016. local frame = Instance.new("Frame")
  1017. frame.Size = UDim2.new(0, 500, 0, 250)
  1018. frame.Position = UDim2.new(0.5, -250, 0.5, -100)
  1019. frame.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  1020. frame.BorderSizePixel = 0
  1021. frame.Parent = gui
  1022.  
  1023.  
  1024. local frameGradient = Instance.new("UIGradient")
  1025. frameGradient.Color = ColorSequence.new({
  1026. ColorSequenceKeypoint.new(0, Color3.fromRGB(180, 180, 180)),
  1027. ColorSequenceKeypoint.new(0.5, Color3.fromRGB(100, 100, 100)),
  1028. ColorSequenceKeypoint.new(1, Color3.fromRGB(180, 180, 180))
  1029. })
  1030. frameGradient.Rotation = 90
  1031. frameGradient.Parent = frame
  1032.  
  1033. local frameUICorner = Instance.new("UICorner")
  1034. frameUICorner.CornerRadius = UDim.new(0, 12)
  1035. frameUICorner.Parent = frame
  1036.  
  1037. local topHighlight = Instance.new("Frame")
  1038. topHighlight.Size = UDim2.new(1, 0, 0.1, 0)
  1039. topHighlight.BackgroundTransparency = 0.5
  1040. topHighlight.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1041. topHighlight.Parent = frame
  1042.  
  1043. local highlightGradient = Instance.new("UIGradient")
  1044. highlightGradient.Color = ColorSequence.new({
  1045. ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)),
  1046. ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 255, 255), 0)
  1047. })
  1048. highlightGradient.Rotation = 90
  1049. highlightGradient.Parent = topHighlight
  1050.  
  1051. local title = Instance.new("TextLabel")
  1052. title.Size = UDim2.new(0, 500, 0, 50)
  1053. title.Position = UDim2.new(0.5, -250, 0.5, -80)
  1054. title.BackgroundTransparency = 1
  1055. title.Text = "SPECIAL THANKS TO"
  1056. title.Font = Enum.Font.GothamBold
  1057. title.TextSize = 30
  1058. title.TextColor3 = Color3.fromRGB(240, 240, 240)
  1059. title.TextYAlignment = Enum.TextYAlignment.Center
  1060. title.Parent = gui
  1061.  
  1062. local creditsText = Instance.new("TextLabel")
  1063. creditsText.Size = UDim2.new(1, -40, 1, -100)
  1064. creditsText.Position = UDim2.new(0, 20, 0, 60)
  1065. creditsText.BackgroundTransparency = 1
  1066. creditsText.Text = "Inverted - owner Osaka - Vfx black pumpkin - main developer\n\"Just wanted to say a big thank you for helping me make this script come true. Your support and contributions mean a lot!"
  1067. creditsText.Font = Enum.Font.Gotham
  1068. creditsText.TextSize = 22
  1069. creditsText.TextWrapped = true
  1070. creditsText.TextColor3 = Color3.fromRGB(220, 220, 220)
  1071. creditsText.TextYAlignment = Enum.TextYAlignment.Top
  1072. creditsText.Parent = frame
  1073.  
  1074. local button = Instance.new("TextButton")
  1075. button.Size = UDim2.new(0, 240, 0, 50)
  1076. button.Position = UDim2.new(0.5, -120, 1, -60)
  1077. button.BackgroundColor3 = Color3.fromRGB(130, 130, 130)
  1078. button.Text = ".gg/GigaHub | Moveset"
  1079. button.Font = Enum.Font.GothamBold
  1080. button.TextSize = 24
  1081. button.TextColor3 = Color3.fromRGB(255, 255, 255)
  1082. button.Parent = frame
  1083.  
  1084. local buttonUICorner = Instance.new("UICorner")
  1085. buttonUICorner.CornerRadius = UDim.new(0, 12)
  1086. buttonUICorner.Parent = button
  1087.  
  1088. local buttonGradient = Instance.new("UIGradient")
  1089. buttonGradient.Color = ColorSequence.new({
  1090. ColorSequenceKeypoint.new(0, Color3.fromRGB(200, 200, 200)),
  1091. ColorSequenceKeypoint.new(1, Color3.fromRGB(100, 100, 100))
  1092. })
  1093. buttonGradient.Rotation = 90 -- Vertical gradient
  1094. buttonGradient.Parent = button
  1095.  
  1096. button.MouseButton1Click:Connect(function()
  1097. setclipboard("https://discord.gg/Ssy9TTNGHW")
  1098. button.Text = "Copied!"
  1099. wait(1)
  1100. gui:Destroy()
  1101. end)
  1102.  
  1103. -- cool credits
  1104. local screenGui = Instance.new("ScreenGui")
  1105. screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  1106.  
  1107. local textLabel = Instance.new("TextLabel")
  1108. textLabel.Parent = screenGui
  1109. textLabel.Text = "MADE BY INVERTED | MOVESET"
  1110. textLabel.Size = UDim2.new(0, 300, 0, 100)
  1111. textLabel.Position = UDim2.new(0.5, -150, 0, 10)
  1112. textLabel.AnchorPoint = Vector2.new(0.5, 0)
  1113. textLabel.BackgroundTransparency = 1
  1114. textLabel.TextColor3 = Color3.new(1, 1, 1)
  1115. textLabel.TextStrokeTransparency = 0.5
  1116. textLabel.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  1117. textLabel.Font = Enum.Font.Cartoon
  1118. textLabel.TextScaled = true
  1119. textLabel.TextTransparency = 1
  1120.  
  1121. local stroke = Instance.new("UIStroke")
  1122. stroke.Parent = textLabel
  1123. stroke.Thickness = 3 -- Thicker outline
  1124. stroke.Color = Color3.fromRGB(0, 0, 0)
  1125. stroke.Transparency = 0.2
  1126.  
  1127. local tweenService = game:GetService("TweenService")
  1128.  
  1129. local fadeInTween = tweenService:Create(textLabel, TweenInfo.new(2, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut), {TextTransparency = 0})
  1130. fadeInTween:Play()
  1131.  
  1132. -- Useless running
  1133. local userInputService = game:GetService("UserInputService")
  1134. local runService = game:GetService("RunService")
  1135. local tweenService = game:GetService("TweenService") -- Added TweenService for sound fading
  1136. local players = game:GetService("Players")
  1137.  
  1138.  
  1139. local player = players.LocalPlayer
  1140. local isPC = userInputService.KeyboardEnabled
  1141. local isActive = false
  1142. local runSoundId = "rbxassetid://1847683491"
  1143. local runAnimationId = "rbxassetid://18897115785"
  1144. local stopAnimationId = "rbxassetid://13876406148"
  1145.  
  1146.  
  1147. local sound = Instance.new("Sound")
  1148. sound.SoundId = runSoundId
  1149. sound.Looped = true
  1150. sound.Volume = 1 -- Default volume set to 1
  1151. sound.Parent = player:WaitForChild("PlayerGui")
  1152.  
  1153. local tool = Instance.new("Tool")
  1154. tool.Name = "Goku Max run"
  1155. tool.RequiresHandle = false
  1156. tool.Parent = player.Backpack
  1157.  
  1158.  
  1159. local animationTrack
  1160. local stopAnimationTrack
  1161. local moveConnection
  1162. local moveSpeed = 250
  1163. local initialSpeed = 0.5
  1164. local speed = initialSpeed
  1165. local elapsedTime = 0
  1166. local changeTime = 2.3
  1167.  
  1168. local fadeDuration = 1
  1169.  
  1170. local trail
  1171.  
  1172. local function createTrail(rootPart)
  1173. trail = Instance.new("Trail")
  1174. trail.Attachment0 = Instance.new("Attachment", rootPart)
  1175. trail.Attachment1 = Instance.new("Attachment", rootPart)
  1176. trail.Attachment1.Position = Vector3.new(0, -2, 0)
  1177. trail.Lifetime = 0.5 -- Adjust as needed
  1178. trail.Color = ColorSequence.new(Color3.new(1, 1, 1))
  1179. trail.Transparency = NumberSequence.new({
  1180. NumberSequenceKeypoint.new(0, 0),
  1181. NumberSequenceKeypoint.new(1, 1)
  1182. })
  1183. trail.Enabled = false
  1184. trail.Parent = rootPart
  1185. end
  1186.  
  1187. local function startMoving(rootPart)
  1188. trail.Enabled = true
  1189. moveConnection = runService.RenderStepped:Connect(function(deltaTime)
  1190. elapsedTime = elapsedTime + deltaTime
  1191. if elapsedTime >= changeTime then
  1192. moveSpeed = 350
  1193. end
  1194.  
  1195. local lookVector = rootPart.CFrame.LookVector
  1196. local newVelocity = lookVector * moveSpeed * speed
  1197. rootPart.Velocity = newVelocity
  1198. end)
  1199. end
  1200.  
  1201. local function stopMoving(rootPart)
  1202. if moveConnection then
  1203. moveConnection:Disconnect()
  1204. moveConnection = nil
  1205. speed = initialSpeed
  1206. elapsedTime = 0 -- Reset elapsed time
  1207. rootPart.Velocity = Vector3.new(0, 0, 0)
  1208. trail.Enabled = false
  1209. end
  1210. end
  1211.  
  1212. local function playStopAnimation(humanoid)
  1213. local stopAnimation = Instance.new("Animation")
  1214. stopAnimation.AnimationId = stopAnimationId
  1215. stopAnimationTrack = humanoid:LoadAnimation(stopAnimation)
  1216. stopAnimationTrack:Play()
  1217. end
  1218.  
  1219. local function fadeOutSound()
  1220. local tweenInfo = TweenInfo.new(fadeDuration)
  1221. local goal = { Volume = 0 }
  1222.  
  1223.  
  1224. local tween = tweenService:Create(sound, tweenInfo, goal)
  1225. tween:Play()
  1226.  
  1227. tween.Completed:Connect(function()
  1228. sound:Stop()
  1229. sound.Volume = 1
  1230. end)
  1231. end
  1232.  
  1233. local function activate()
  1234. local character = player.Character or player.CharacterAdded:Wait()
  1235. local humanoid = character:WaitForChild("Humanoid")
  1236. local rootPart = character:WaitForChild("HumanoidRootPart")
  1237.  
  1238. rootPart.Anchored = false
  1239.  
  1240. if not trail then
  1241. createTrail(rootPart)
  1242. end
  1243.  
  1244. local runAnimation = Instance.new("Animation")
  1245. runAnimation.AnimationId = runAnimationId
  1246. animationTrack = humanoid:LoadAnimation(runAnimation)
  1247. animationTrack:Play()
  1248. animationTrack:AdjustSpeed(1)
  1249.  
  1250. sound:Play()
  1251.  
  1252. startMoving(rootPart)
  1253. end
  1254.  
  1255. local function deactivate()
  1256. local character = player.Character
  1257. local humanoid = character:WaitForChild("Humanoid")
  1258. local rootPart = character:WaitForChild("HumanoidRootPart")
  1259.  
  1260. if animationTrack then
  1261. animationTrack:Stop()
  1262. end
  1263.  
  1264. fadeOutSound()
  1265.  
  1266. stopMoving(rootPart)
  1267.  
  1268. playStopAnimation(humanoid)
  1269. end
  1270.  
  1271. local function toggleAbility()
  1272. if not isActive then
  1273. activate()
  1274. else
  1275. deactivate()
  1276. end
  1277. isActive = not isActive
  1278. end
  1279.  
  1280. local function onKeyPress(input)
  1281. if input.KeyCode == Enum.KeyCode.K then
  1282. toggleAbility()
  1283. end
  1284. end
  1285.  
  1286. local function onToolActivated()
  1287. toggleAbility()
  1288. end
  1289.  
  1290. if isPC then
  1291. userInputService.InputBegan:Connect(onKeyPress)
  1292. else
  1293. tool.Activated:Connect(onToolActivated)
  1294. end
  1295.  
  1296. local Players = game:GetService("Players")
  1297. local TweenService = game:GetService("TweenService")
  1298.  
  1299. local player = Players.LocalPlayer
  1300. local playerGui = player:WaitForChild("PlayerGui")
  1301.  
  1302. local function updateBarColor()
  1303. local screenGui = playerGui:FindFirstChild("ScreenGui")
  1304. if not screenGui then return end
  1305.  
  1306. local magicHealthFrame = screenGui:FindFirstChild("MagicHealth")
  1307. if not magicHealthFrame then return end
  1308.  
  1309. local healthFrame = magicHealthFrame:FindFirstChild("Health")
  1310. if not healthFrame then return end
  1311.  
  1312. local barFrame = healthFrame:FindFirstChild("Bar")
  1313. if not barFrame then return end
  1314.  
  1315. local imageLabel = barFrame:FindFirstChild("Bar")
  1316. if not imageLabel or not imageLabel:IsA("ImageLabel") then return end
  1317.  
  1318. imageLabel.ImageColor3 = Color3.fromRGB(255, 255, 0)
  1319. end
  1320.  
  1321. local function onCharacterAdded(character)
  1322. updateBarColor()
  1323. end
  1324.  
  1325. local function onPlayerAdded()
  1326. local character = player.Character or player.CharacterAdded:Wait()
  1327. onCharacterAdded(character)
  1328.  
  1329. player.CharacterAdded:Connect(onCharacterAdded)
  1330. end
  1331.  
  1332. Players.PlayerAdded:Connect(onPlayerAdded)
  1333. if player then
  1334. onPlayerAdded()
  1335. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement