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 ImageLabel = Instance.new("ImageLabel")
- local PlayerName = Instance.new("TextBox")
- local LOOP = Instance.new("TextButton")
- local close = Instance.new("TextButton")
- --Properties:
- ScreenGui.Parent = game.CoreGui
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Frame.Position = UDim2.new(0.16438359, 0, 0.301972687, 0)
- Frame.Size = UDim2.new(0, 329, 0, 366)
- Frame.Active = true
- Frame.Draggable = true
- ImageLabel.Parent = Frame
- ImageLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- ImageLabel.Position = UDim2.new(0.00303951371, 0, 0, 0)
- ImageLabel.Size = UDim2.new(0, 328, 0, 366)
- ImageLabel.Image = "http://www.roblox.com/asset/?id=7016427849"
- PlayerName.Name = "PlayerName"
- PlayerName.Parent = Frame
- PlayerName.BackgroundColor3 = Color3.fromRGB(0, 85, 255)
- PlayerName.Position = UDim2.new(0.164133742, 0, 0.323936701, 0)
- PlayerName.Size = UDim2.new(0, 216, 0, 58)
- PlayerName.Font = Enum.Font.SourceSans
- PlayerName.Text = "Name..."
- PlayerName.TextColor3 = Color3.fromRGB(0, 0, 0)
- PlayerName.TextSize = 14.000
- LOOP.Name = "LOOP"
- LOOP.Parent = Frame
- LOOP.BackgroundColor3 = Color3.fromRGB(0, 85, 255)
- LOOP.Position = UDim2.new(0.206686944, 0, 0.657075405, 0)
- LOOP.Size = UDim2.new(0, 187, 0, 50)
- LOOP.Font = Enum.Font.SourceSans
- LOOP.Text = "Loop That Neek"
- LOOP.TextColor3 = Color3.fromRGB(0, 0, 0)
- LOOP.TextScaled = true
- LOOP.TextSize = 14.000
- LOOP.TextWrapped = true
- close.Name = "close"
- close.Parent = Frame
- close.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- close.Position = UDim2.new(0.893617034, 0, 0, 0)
- close.Size = UDim2.new(0, 34, 0, 27)
- close.Style = Enum.ButtonStyle.RobloxButtonDefault
- close.Font = Enum.Font.SourceSans
- close.Text = "X"
- close.TextColor3 = Color3.fromRGB(170, 0, 0)
- close.TextSize = 14.000
- close.TextWrapped = true
- 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)
- close.MouseButton1Click:connect(function()
- close.Visible = true
- Frame.Visible = false
- close.Visible = false
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement