Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gui to Lua
- -- Version: 3.2
- -- Instances:
- local ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local UICorner = Instance.new("UICorner")
- local UIGradient = Instance.new("UIGradient")
- local Playername = Instance.new("TextBox")
- local UICorner_2 = Instance.new("UICorner")
- local TextLabel = Instance.new("TextLabel")
- local UICorner_3 = Instance.new("UICorner")
- local UIGradient_2 = Instance.new("UIGradient")
- local TextLabel_2 = Instance.new("TextLabel")
- local UICorner_4 = Instance.new("UICorner")
- local UIGradient_3 = Instance.new("UIGradient")
- local TextLabel_3 = Instance.new("TextLabel")
- local UICorner_5 = Instance.new("UICorner")
- local UIGradient_4 = Instance.new("UIGradient")
- local Loop = Instance.new("TextButton")
- local UICorner_6 = Instance.new("UICorner")
- --Properties:
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Frame.Position = UDim2.new(0.645631075, 0, 0.46227929, 0)
- Frame.Size = UDim2.new(0, 161, 0, 179)
- Frame.Active = true
- Frame.Draggable = true
- UICorner.Parent = Frame
- UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(85, 0, 127)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(0, 0, 0))}
- UIGradient.Parent = Frame
- Playername.Name = "Playername"
- Playername.Parent = Frame
- Playername.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Playername.Position = UDim2.new(0.0434782617, 0, 0.134078205, 0)
- Playername.Size = UDim2.new(0, 147, 0, 41)
- Playername.Font = Enum.Font.SourceSans
- Playername.Text = ""
- Playername.TextColor3 = Color3.fromRGB(0, 0, 0)
- Playername.TextSize = 14.000
- UICorner_2.Parent = Playername
- TextLabel.Parent = Frame
- TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel.Position = UDim2.new(-0.24844721, 0, 0.30726257, 0)
- TextLabel.Size = UDim2.new(0, 40, 0, 102)
- TextLabel.Font = Enum.Font.SourceSans
- TextLabel.Text = ""
- TextLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel.TextSize = 14.000
- UICorner_3.Parent = TextLabel
- UIGradient_2.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(85, 0, 127)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(0, 0, 0))}
- UIGradient_2.Parent = TextLabel
- TextLabel_2.Parent = Frame
- TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_2.Position = UDim2.new(3.7252903e-09, 0, 0.966480374, 0)
- TextLabel_2.Size = UDim2.new(0, 50, 0, 40)
- TextLabel_2.Font = Enum.Font.SourceSans
- TextLabel_2.Text = ""
- TextLabel_2.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel_2.TextSize = 14.000
- UICorner_4.Parent = TextLabel_2
- UIGradient_3.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(85, 0, 127)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(0, 0, 0))}
- UIGradient_3.Parent = TextLabel_2
- TextLabel_3.Parent = Frame
- TextLabel_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_3.Position = UDim2.new(0.689440966, 0, 0.966480374, 0)
- TextLabel_3.Size = UDim2.new(0, 50, 0, 40)
- TextLabel_3.Font = Enum.Font.SourceSans
- TextLabel_3.Text = ""
- TextLabel_3.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel_3.TextSize = 14.000
- UICorner_5.Parent = TextLabel_3
- UIGradient_4.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(85, 0, 127)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(0, 0, 0))}
- UIGradient_4.Parent = TextLabel_3
- Loop.Name = "Loop"
- Loop.Parent = Frame
- Loop.BackgroundColor3 = Color3.fromRGB(85, 0, 127)
- Loop.BackgroundTransparency = 0.700
- Loop.Position = UDim2.new(0.0434782617, 0, 0.508379877, 0)
- Loop.Size = UDim2.new(0, 147, 0, 49)
- Loop.Font = Enum.Font.SourceSans
- Loop.Text = "LOOP"
- Loop.TextColor3 = Color3.fromRGB(255, 255, 255)
- Loop.TextSize = 30.000
- UICorner_6.Parent = Loop
- Loop.MouseButton1Click:connect(function()
- local field = Playername.Text
- local LocalUser = game.Players.LocalPlayer
- local ENEMY = field
- for i=1,2000 do
- game.ReplicatedStorage.Remotes.Human_Punch:FireServer(LocalUser.Character.LeftHand, "LeftPunch", game.Workspace[ENEMY].LeftHand, 5, true, "RightPunch", LocalUser.Character.Boxing.Handle.Hit, 100)
- wait()
- end
- end)
- Playername.FocusLost:connect(function()
- for i,v in pairs(game.Players:GetChildren()) do
- if (string.sub(string.lower(v.Name),1,string.len(Playername.Text))) == string.lower(Playername.Text) then
- Playername.Text = v.Name
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement