Advertisement
_Goofy

Punch Simulator

Sep 6th, 2023 (edited)
3,102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 7.84 KB | Gaming | 0 0
  1. local Players = game:GetService("Players")
  2. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  3. local LocalPlayer = Players.LocalPlayer
  4.  
  5. game:GetService("ProximityPromptService").PromptButtonHoldBegan:Connect(function(prompt)
  6.             prompt.HoldDuration = 0
  7.         end)
  8.  
  9. local function autoPunch(enabled)
  10.   while enabled do
  11.     ReplicatedStorage.Events.DamageIncreaseOnClickEvent:FireServer()
  12.     wait()
  13.   end
  14. end
  15.  
  16. local function fireEggs(count, delay, arg)
  17.   local args = {
  18.     [1] = tostring(arg)
  19.   }
  20.  
  21.   local remote = ReplicatedStorage.Events.PlayerPressedKeyOnEgg
  22.  
  23.   for i = 1, count do
  24.     remote:FireServer(unpack(args))
  25.     wait(delay)
  26.   end
  27.  
  28. end
  29.  
  30. local OrionLib = loadstring(game:HttpGet(('https://raw.githubusercontent.com/shlexware/Orion/main/source')))()
  31.  
  32. -- Main window
  33. local Window = OrionLib:MakeWindow({
  34.   Name = "Punch Simulator",
  35.   HidePremium = false,
  36.   SaveConfig = true,
  37.   ConfigFolder = "PunchSimulator"
  38. })
  39.  
  40. -- Tabs
  41. local MainTab = Window:MakeTab({
  42.   Name = "Main",
  43.   Icon = "rbxassetid://4483345998"
  44. })
  45.  
  46. local EggTab = Window:MakeTab({
  47.   Name = "Egg",
  48.   Icon = "rbxassetid://4483345998"
  49. })
  50.  
  51. local GeneralTab = Window:MakeTab({
  52.   Name = "General",
  53.   Icon = "rbxassetid://4483345998"
  54. })
  55.  
  56. -- Elements
  57. MainTab:AddParagraph("made by", "pizza")
  58.  
  59. -- Main
  60. local autoPunchEnabled = false
  61.  
  62. MainTab:AddToggle({
  63.     Name = "skip fight",
  64.     Default = false,
  65.     Callback = function(Value)
  66.         _G.skipfight = Value
  67.         while _G.skipfight and task.wait() do
  68.             local args = {
  69.                 [1] = true
  70.             }
  71.  
  72.             game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("PushEvent"):FireServer(unpack(args))
  73.         end
  74.     end
  75. })
  76.  
  77.  
  78. MainTab:AddToggle({
  79.   Name = "auto punch",
  80.   Default = false,
  81.   Callback = function(value)
  82.     autoPunchEnabled = value
  83.     autoPunch(autoPunchEnabled)
  84.   end
  85. })
  86.  
  87. MainTab:AddButton({
  88.     Name = "load tora script",
  89.     Callback = function()
  90.         loadstring(game:HttpGet('https://raw.githubusercontent.com/ToraIsMe/ToraIsMe/main/0PUNCH'))()
  91.     end    
  92. })
  93.  
  94. MainTab:AddButton({
  95.     Name = "load redblue script",
  96.     Callback = function()
  97.         loadstring(game:HttpGet("https://raw.githubusercontent.com/JustAP1ayer/PlayerHubOther/main/PlayerHubPunchingSimulator.lua", true))()
  98.     end    
  99. })
  100.  
  101.  
  102.  
  103. EggTab:AddToggle({
  104.   Name = "Hide Animation",
  105.   Default = false,
  106.   Callback = function(Value)
  107.     autoHideAnimation = Value
  108.     while autoHideAnimation and task.wait() do
  109.       if workspace.Camera:FindFirstChild("EggOpenMap") then
  110.         workspace.Camera:FindFirstChild("EggOpenMap"):Destroy()
  111.       end
  112.     end
  113.   end  
  114. })
  115.  
  116. EggTab:AddToggle({
  117.   Name = "Auto Hatch Gem Egg",
  118.   Default = false,
  119.   Callback = function(Value)
  120.     autoBreakGemEgg = Value
  121.     while autoBreakGemEgg and task.wait() do
  122.         local args = {
  123.             [1] = "VisitEgg"
  124.         }
  125.  
  126.         game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("PlayerPressedKeyOnEgg"):FireServer(unpack(args))
  127.     end
  128.   end
  129. })
  130.  
  131. EggTab:AddToggle({
  132.   Name = "Auto Hatch Forest Egg",
  133.   Default = false,
  134.   Callback = function(Value)
  135.     autoBreakEgg1 = Value
  136.     while autoBreakEgg1 and task.wait() do
  137.       local args = {
  138.         [1] = "1"  
  139.       }
  140.       game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("PlayerPressedKeyOnEgg"):FireServer(unpack(args))
  141.     end
  142.   end
  143. })
  144.  
  145. EggTab:AddToggle({
  146.   Name = "Auto Hatch Desert Egg",
  147.   Default = false,
  148.   Callback = function(Value)
  149.     autoBreakEgg2 = Value
  150.     while autoBreakEgg2 and task.wait() do
  151.       local args = {
  152.         [1] = "2"  
  153.       }
  154.       game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("PlayerPressedKeyOnEgg"):FireServer(unpack(args))
  155.     end
  156.   end
  157. })
  158.  
  159. EggTab:AddToggle({
  160.   Name = "Auto Hatch Cave Egg",
  161.   Default = false,
  162.   Callback = function(Value)
  163.     autoBreakEgg2 = Value
  164.     while autoBreakEgg2 and task.wait() do
  165.       local args = {
  166.         [1] = "3"  
  167.       }
  168.       game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("PlayerPressedKeyOnEgg"):FireServer(unpack(args))
  169.     end
  170.   end
  171. })
  172.  
  173. EggTab:AddToggle({
  174.   Name = "Auto Hatch Ocean Egg",
  175.   Default = false,
  176.   Callback = function(Value)
  177.     autoBreakEgg2 = Value
  178.     while autoBreakEgg2 and task.wait() do
  179.       local args = {
  180.         [1] = "4"  
  181.       }
  182.       game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("PlayerPressedKeyOnEgg"):FireServer(unpack(args))
  183.     end
  184.   end
  185. })
  186.  
  187. EggTab:AddToggle({
  188.   Name = "Auto Hatch Candy Egg",
  189.   Default = false,
  190.   Callback = function(Value)
  191.     autoBreakEgg2 = Value
  192.     while autoBreakEgg2 and task.wait() do
  193.       local args = {
  194.         [1] = "5"  
  195.       }
  196.       game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("PlayerPressedKeyOnEgg"):FireServer(unpack(args))
  197.     end
  198.   end
  199. })
  200.  
  201. EggTab:AddToggle({
  202.   Name = "Auto Hatch Snow Egg",
  203.   Default = false,
  204.   Callback = function(Value)
  205.     autoBreakEgg2 = Value
  206.     while autoBreakEgg2 and task.wait() do
  207.       local args = {
  208.         [1] = "6"  
  209.       }
  210.       game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("PlayerPressedKeyOnEgg"):FireServer(unpack(args))
  211.     end
  212.   end
  213. })
  214.  
  215. EggTab:AddToggle({
  216.   Name = "Auto Hatch Toy Egg",
  217.   Default = false,
  218.   Callback = function(Value)
  219.     autoBreakEgg2 = Value
  220.     while autoBreakEgg2 and task.wait() do
  221.       local args = {
  222.         [1] = "7"  
  223.       }
  224.       game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("PlayerPressedKeyOnEgg"):FireServer(unpack(args))
  225.     end
  226.   end
  227. })
  228.  
  229. EggTab:AddToggle({
  230.   Name = "Auto Hatch Farm Egg",
  231.   Default = false,
  232.   Callback = function(Value)
  233.     autoBreakEgg8 = Value
  234.     while autoBreakEgg8 and task.wait() do
  235.       local args = {
  236.         [1] = "8"  
  237.       }
  238.       game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("PlayerPressedKeyOnEgg"):FireServer(unpack(args))
  239.     end
  240.   end
  241. })
  242.  
  243. EggTab:AddToggle({
  244.   Name = "Auto Hatch Samurai Egg",
  245.   Default = false,
  246.   Callback = function(Value)
  247.     autoBreakEgg9 = Value
  248.     while autoBreakEgg9 and task.wait() do
  249.       local args = {
  250.         [1] = "9"  
  251.       }
  252.       game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("PlayerPressedKeyOnEgg"):FireServer(unpack(args))
  253.     end
  254.   end
  255. })
  256.  
  257. EggTab:AddToggle({
  258.   Name = "Auto Hatch Space Egg",
  259.   Default = false,
  260.   Callback = function(Value)
  261.     autoBreakEgg10 = Value
  262.     while autoBreakEgg10 and task.wait() do
  263.       local args = {
  264.         [1] = "10"  
  265.       }
  266.       game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("PlayerPressedKeyOnEgg"):FireServer(unpack(args))
  267.     end
  268.   end
  269. })
  270.  
  271. EggTab:AddToggle({
  272.   Name = "Auto Hatch Magic Forest Egg",
  273.   Default = false,
  274.   Callback = function(Value)
  275.     autoBreakEgg11 = Value
  276.     while autoBreakEgg11 and task.wait() do
  277.       local args = {
  278.         [1] = "11"  
  279.       }
  280.       game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("PlayerPressedKeyOnEgg"):FireServer(unpack(args))
  281.     end
  282.   end
  283. })
  284.  
  285. GeneralTab:AddToggle({
  286.   Name = "Claim UGC",
  287.   Default = false,
  288.   Callback = function(Value)
  289.     autoClaimUGC = Value
  290.     while autoClaimUGC and task.wait(0.5) do
  291.       local args = {
  292.           [1] = "LegendaryHatchEvent"
  293.       }
  294.  
  295.       game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("NewUGCEvents"):WaitForChild("ClickedEventClaimButton"):FireServer(unpack(args))
  296.     end
  297.   end  
  298. })
  299.  
  300.  
  301. GeneralTab:AddToggle({
  302.   Name = "Claim UGC 2",
  303.   Default = false,
  304.   Callback = function(Value)
  305.     autoClaimUGC2 = Value
  306.     while autoClaimUGC2 and task.wait(0.5) do
  307.       game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("ClickedAxolotlEventClaimButton"):FireServer()
  308.  
  309.     end
  310.   end  
  311. })
  312.  
  313. OrionLib:Init()
  314.  
  315.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement