Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local TextLabel = Instance.new("TextLabel")
- local start = Instance.new("TextButton")
- local TextLabel_2 = Instance.new("TextLabel")
- local TextLabel_3 = Instance.new("TextLabel")
- local TextLabel_4 = Instance.new("TextLabel")
- --Properties:
- ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame.BorderSizePixel = 4
- Frame.Position = UDim2.new(0.353340864, 0, 0.373754144, 0)
- Frame.Size = UDim2.new(0, 258, 0, 152)
- Frame.Active = true
- Frame.Draggable = true
- TextLabel.Parent = Frame
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.BorderSizePixel = 3
- TextLabel.Size = UDim2.new(0, 258, 0, 44)
- TextLabel.Font = Enum.Font.Cartoon
- TextLabel.Text = "Y3Np's Gui"
- TextLabel.TextColor3 = Color3.new(0, 1, 0)
- TextLabel.TextScaled = true
- TextLabel.TextSize = 14
- TextLabel.TextWrapped = true
- start.Name = "start"
- start.Parent = Frame
- start.BackgroundColor3 = Color3.new(1, 1, 1)
- start.BorderSizePixel = 3
- start.Position = UDim2.new(0.0503875986, 0, 0.381578952, 0)
- start.Size = UDim2.new(0, 89, 0, 72)
- start.Font = Enum.Font.Highway
- start.Text = "Start"
- start.TextColor3 = Color3.new(0, 1, 0)
- start.TextSize = 30
- start.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character.Humanoid.Name = 1
- local l = game.Players.LocalPlayer.Character["1"]:Clone()
- l.Parent = game.Players.LocalPlayer.Character
- l.Name = "Humanoid"
- wait(0.1)
- game.Workspace.CurrentCamera.CameraSubject =
- game.Players.LocalPlayer.Character
- game.Players.LocalPlayer.Character.Animate.Disabled = true
- wait(0.1)
- game.Players.LocalPlayer.Character.Animate.Disabled = false
- game.Players.LocalPlayer.Character.Humanoid.DisplayDistanceType = "None"
- wait(0,5)
- while wait(0,1) do
- for _,v in pairs(game.Workspace.Mobs:GetDescendants()) do
- if v:IsA("Model") and v:FindFirstChild("HumanoidRootPart") then
- repeat
- wait(0,1)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame * CFrame.new(0,0,3)
- game:GetService("ReplicatedStorage").RemoteEvents.PunchRemote:FireServer()
- until v.Humanoid.Health == 0
- end
- end
- end
- end)
- TextLabel_2.Parent = Frame
- TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel_2.BorderSizePixel = 0
- TextLabel_2.Position = UDim2.new(0.430232555, 0, 0.328947365, 0)
- TextLabel_2.Size = UDim2.new(0, 147, 0, 40)
- TextLabel_2.Font = Enum.Font.SourceSans
- TextLabel_2.Text = "Gui By Kiet Pham"
- TextLabel_2.TextColor3 = Color3.new(1, 0.666667, 0)
- TextLabel_2.TextScaled = true
- TextLabel_2.TextSize = 19
- TextLabel_2.TextWrapped = true
- TextLabel_3.Parent = Frame
- TextLabel_3.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel_3.BorderSizePixel = 0
- TextLabel_3.Position = UDim2.new(0.430232555, 0, 0.671052635, 0)
- TextLabel_3.Size = UDim2.new(0, 147, 0, 43)
- TextLabel_3.Font = Enum.Font.SourceSans
- TextLabel_3.Text = "Script By Amnesia "
- TextLabel_3.TextColor3 = Color3.new(1, 0, 0)
- TextLabel_3.TextScaled = true
- TextLabel_3.TextSize = 19
- TextLabel_3.TextWrapped = true
- TextLabel_4.Parent = Frame
- TextLabel_4.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel_4.BorderSizePixel = 0
- TextLabel_4.Position = UDim2.new(0.430232555, 0, 0.546052635, 0)
- TextLabel_4.Size = UDim2.new(0, 147, 0, 23)
- TextLabel_4.Font = Enum.Font.SourceSans
- TextLabel_4.Text = "-----------"
- TextLabel_4.TextColor3 = Color3.new(0, 0, 0)
- TextLabel_4.TextSize = 50
- TextLabel_4.TextWrapped = true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement