Advertisement
AceW0lf_BOt

Loop

Jul 6th, 2025
377
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 4.39 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local ScreenGui = Instance.new("ScreenGui")
  7. local Frame = Instance.new("Frame")
  8. local UICorner = Instance.new("UICorner")
  9. local UIGradient = Instance.new("UIGradient")
  10. local Playername = Instance.new("TextBox")
  11. local UICorner_2 = Instance.new("UICorner")
  12. local TextLabel = Instance.new("TextLabel")
  13. local UICorner_3 = Instance.new("UICorner")
  14. local UIGradient_2 = Instance.new("UIGradient")
  15. local TextLabel_2 = Instance.new("TextLabel")
  16. local UICorner_4 = Instance.new("UICorner")
  17. local UIGradient_3 = Instance.new("UIGradient")
  18. local TextLabel_3 = Instance.new("TextLabel")
  19. local UICorner_5 = Instance.new("UICorner")
  20. local UIGradient_4 = Instance.new("UIGradient")
  21. local Loop = Instance.new("TextButton")
  22. local UICorner_6 = Instance.new("UICorner")
  23.  
  24. --Properties:
  25.  
  26. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  27.  
  28. Frame.Parent = ScreenGui
  29. Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  30. Frame.Position = UDim2.new(0.645631075, 0, 0.46227929, 0)
  31. Frame.Size = UDim2.new(0, 161, 0, 179)
  32. Frame.Active = true
  33. Frame.Draggable = true
  34.  
  35. UICorner.Parent = Frame
  36.  
  37. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(85, 0, 127)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(0, 0, 0))}
  38. UIGradient.Parent = Frame
  39.  
  40. Playername.Name = "Playername"
  41. Playername.Parent = Frame
  42. Playername.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  43. Playername.Position = UDim2.new(0.0434782617, 0, 0.134078205, 0)
  44. Playername.Size = UDim2.new(0, 147, 0, 41)
  45. Playername.Font = Enum.Font.SourceSans
  46. Playername.Text = ""
  47. Playername.TextColor3 = Color3.fromRGB(0, 0, 0)
  48. Playername.TextSize = 14.000
  49.  
  50. UICorner_2.Parent = Playername
  51.  
  52. TextLabel.Parent = Frame
  53. TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  54. TextLabel.Position = UDim2.new(-0.24844721, 0, 0.30726257, 0)
  55. TextLabel.Size = UDim2.new(0, 40, 0, 102)
  56. TextLabel.Font = Enum.Font.SourceSans
  57. TextLabel.Text = ""
  58. TextLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
  59. TextLabel.TextSize = 14.000
  60.  
  61. UICorner_3.Parent = TextLabel
  62.  
  63. UIGradient_2.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(85, 0, 127)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(0, 0, 0))}
  64. UIGradient_2.Parent = TextLabel
  65.  
  66. TextLabel_2.Parent = Frame
  67. TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  68. TextLabel_2.Position = UDim2.new(3.7252903e-09, 0, 0.966480374, 0)
  69. TextLabel_2.Size = UDim2.new(0, 50, 0, 40)
  70. TextLabel_2.Font = Enum.Font.SourceSans
  71. TextLabel_2.Text = ""
  72. TextLabel_2.TextColor3 = Color3.fromRGB(0, 0, 0)
  73. TextLabel_2.TextSize = 14.000
  74.  
  75. UICorner_4.Parent = TextLabel_2
  76.  
  77. UIGradient_3.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(85, 0, 127)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(0, 0, 0))}
  78. UIGradient_3.Parent = TextLabel_2
  79.  
  80. TextLabel_3.Parent = Frame
  81. TextLabel_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  82. TextLabel_3.Position = UDim2.new(0.689440966, 0, 0.966480374, 0)
  83. TextLabel_3.Size = UDim2.new(0, 50, 0, 40)
  84. TextLabel_3.Font = Enum.Font.SourceSans
  85. TextLabel_3.Text = ""
  86. TextLabel_3.TextColor3 = Color3.fromRGB(0, 0, 0)
  87. TextLabel_3.TextSize = 14.000
  88.  
  89. UICorner_5.Parent = TextLabel_3
  90.  
  91. UIGradient_4.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(85, 0, 127)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(0, 0, 0))}
  92. UIGradient_4.Parent = TextLabel_3
  93.  
  94. Loop.Name = "Loop"
  95. Loop.Parent = Frame
  96. Loop.BackgroundColor3 = Color3.fromRGB(85, 0, 127)
  97. Loop.BackgroundTransparency = 0.700
  98. Loop.Position = UDim2.new(0.0434782617, 0, 0.508379877, 0)
  99. Loop.Size = UDim2.new(0, 147, 0, 49)
  100. Loop.Font = Enum.Font.SourceSans
  101. Loop.Text = "LOOP"
  102. Loop.TextColor3 = Color3.fromRGB(255, 255, 255)
  103. Loop.TextSize = 30.000
  104.  
  105. UICorner_6.Parent = Loop
  106.  
  107. Loop.MouseButton1Click:connect(function()
  108.  
  109.     local field = Playername.Text
  110.  
  111.     local LocalUser = game.Players.LocalPlayer
  112.     local ENEMY = field
  113.  
  114.     for i=1,2000 do
  115.         game.ReplicatedStorage.Remotes.Human_Punch:FireServer(LocalUser.Character.LeftHand, "LeftPunch", game.Workspace[ENEMY].LeftHand, 5, true, "RightPunch", LocalUser.Character.Boxing.Handle.Hit, 100)
  116.         wait()
  117.     end
  118. end)
  119.  
  120. Playername.FocusLost:connect(function()
  121.     for i,v in pairs(game.Players:GetChildren()) do
  122.         if (string.sub(string.lower(v.Name),1,string.len(Playername.Text))) == string.lower(Playername.Text) then
  123.             Playername.Text = v.Name
  124.         end
  125.     end
  126. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement