SHOW:
|
|
- or go back to the newest paste.
1 | local lplayer = game:GetService('Players').LocalPlayer | |
2 | ||
3 | local killing = false | |
4 | function GetPlayer(String) | |
5 | local Found = {} | |
6 | local strl = String:lower() | |
7 | if strl == "all" then | |
8 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
9 | - | for i,v in pairs(game:GetService("Players"):GetPlayers()) do |
9 | + | table.insert(Found,v) |
10 | - | table.insert(Found,v) |
10 | + | |
11 | elseif strl == "others" then | |
12 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
13 | - | for i,v in pairs(game:GetService("Players"):GetPlayers()) do |
13 | + | if v.Name ~= lplayer.Name then |
14 | - | if v.Name ~= lplayer.Name then |
14 | + | table.insert(Found,v) |
15 | - | table.insert(Found,v) |
15 | + | |
16 | end | |
17 | elseif strl == "me" then | |
18 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
19 | - | for i,v in pairs(game:GetService("Players"):GetPlayers()) do |
19 | + | if v.Name == lplayer.Name then |
20 | - | if v.Name == lplayer.Name then |
20 | + | table.insert(Found,v) |
21 | - | table.insert(Found,v) |
21 | + | |
22 | end | |
23 | else | |
24 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
25 | - | for i,v in pairs(game:GetService("Players"):GetPlayers()) do |
25 | + | if v.Name:lower():sub(1, #String) == String:lower() then |
26 | - | if v.Name:lower():sub(1, #String) == String:lower() then |
26 | + | table.insert(Found,v) |
27 | - | table.insert(Found,v) |
27 | + | |
28 | end | |
29 | end | |
30 | return Found | |
31 | end | |
32 | function ahh(thing) | |
33 | - | function ahh(thing) |
33 | + | local asd = {'kill','gui','kill gui'} |
34 | - | local asd = {'kill','gui','kill gui'} |
34 | + | local f = string.upper(asd[math.random(1,#asd)]) |
35 | - | local f = string.upper(asd[math.random(1,#asd)]) |
35 | + | return f |
36 | - | return f |
36 | + | |
37 | ScreenGui = Instance.new("ScreenGui") | |
38 | - | ScreenGui = Instance.new("ScreenGui") |
38 | + | main = Instance.new("Frame") |
39 | - | main = Instance.new("Frame") |
39 | + | TextLabel = Instance.new("TextLabel") |
40 | - | TextLabel = Instance.new("TextLabel") |
40 | + | Player = Instance.new("TextBox") |
41 | - | Player = Instance.new("TextBox") |
41 | + | kill = Instance.new("TextButton") |
42 | - | kill = Instance.new("TextButton") |
42 | + | |
43 | ScreenGui.Parent = game.CoreGui | |
44 | - | ScreenGui.Parent = game.CoreGui |
44 | + | main.Name = "main" |
45 | - | main.Name = "main" |
45 | + | main.Parent = ScreenGui |
46 | - | main.Parent = ScreenGui |
46 | + | main.BackgroundColor3 = Color3.new(0.392157, 0.392157, 0.392157) |
47 | - | main.BackgroundColor3 = Color3.new(0.392157, 0.392157, 0.392157) |
47 | + | main.Position = UDim2.new(0.780606031, 0, 0.548271775, 0) |
48 | - | main.Position = UDim2.new(0.780606031, 0, 0.548271775, 0) |
48 | + | main.Size = UDim2.new(0, 326, 0, 212) |
49 | - | main.Size = UDim2.new(0, 326, 0, 212) |
49 | + | main.Active = true |
50 | - | main.Active = true |
50 | + | main.Draggable = true |
51 | - | main.Draggable = true |
51 | + | |
52 | TextLabel.Parent = main | |
53 | - | TextLabel.Parent = main |
53 | + | TextLabel.BackgroundColor3 = Color3.new(1, 1, 1) |
54 | - | TextLabel.BackgroundColor3 = Color3.new(1, 1, 1) |
54 | + | TextLabel.BackgroundTransparency = 1 |
55 | - | TextLabel.BackgroundTransparency = 1 |
55 | + | TextLabel.Size = UDim2.new(0, 326, 0, 50) |
56 | - | TextLabel.Size = UDim2.new(0, 326, 0, 50) |
56 | + | TextLabel.Font = Enum.Font.SourceSansItalic |
57 | - | TextLabel.Font = Enum.Font.SourceSansItalic |
57 | + | TextLabel.FontSize = Enum.FontSize.Size28 |
58 | - | TextLabel.FontSize = Enum.FontSize.Size28 |
58 | + | TextLabel.Text = "FEKILL BY MEEPEEP1234" |
59 | - | TextLabel.Text = "FEKILL BY MEEPEEP1234" |
59 | + | TextLabel.TextColor3 = Color3.new(1, 1, 1) |
60 | - | TextLabel.TextColor3 = Color3.new(1, 1, 1) |
60 | + | TextLabel.TextSize = 25 |
61 | - | TextLabel.TextSize = 25 |
61 | + | TextLabel.TextStrokeTransparency = 0 |
62 | - | TextLabel.TextStrokeTransparency = 0 |
62 | + | |
63 | Player.Name = "Player" | |
64 | - | Player.Name = "Player" |
64 | + | Player.Parent = main |
65 | - | Player.Parent = main |
65 | + | Player.BackgroundColor3 = Color3.new(0.392157, 0.392157, 0.392157) |
66 | - | Player.BackgroundColor3 = Color3.new(0.392157, 0.392157, 0.392157) |
66 | + | Player.BorderColor3 = Color3.new(0.509804, 0.509804, 0.509804) |
67 | - | Player.BorderColor3 = Color3.new(0.509804, 0.509804, 0.509804) |
67 | + | Player.BorderSizePixel = 3 |
68 | - | Player.BorderSizePixel = 3 |
68 | + | Player.Position = UDim2.new(0.193251535, 0, 0.316037744, 0) |
69 | - | Player.Position = UDim2.new(0.193251535, 0, 0.316037744, 0) |
69 | + | Player.Size = UDim2.new(0, 200, 0, 50) |
70 | - | Player.Size = UDim2.new(0, 200, 0, 50) |
70 | + | Player.Font = Enum.Font.SourceSans |
71 | - | Player.Font = Enum.Font.SourceSans |
71 | + | Player.FontSize = Enum.FontSize.Size14 |
72 | - | Player.FontSize = Enum.FontSize.Size14 |
72 | + | Player.Text = "" |
73 | - | Player.Text = "" |
73 | + | Player.TextColor3 = Color3.new(0, 0, 0) |
74 | - | Player.TextColor3 = Color3.new(0, 0, 0) |
74 | + | Player.TextSize = 14 |
75 | - | Player.TextSize = 14 |
75 | + | |
76 | kill.Name = "fuck em up" | |
77 | - | kill.Name = "fuck em up" |
77 | + | kill.Parent = main |
78 | - | kill.Parent = main |
78 | + | kill.BackgroundColor3 = Color3.new(0.52549, 0.52549, 0.52549) |
79 | - | kill.BackgroundColor3 = Color3.new(0.52549, 0.52549, 0.52549) |
79 | + | kill.Position = UDim2.new(0.193251535, 0, 0.613207519, 0) |
80 | - | kill.Position = UDim2.new(0.193251535, 0, 0.613207519, 0) |
80 | + | kill.Size = UDim2.new(0, 200, 0, 50) |
81 | - | kill.Size = UDim2.new(0, 200, 0, 50) |
81 | + | kill.FontSize = Enum.FontSize.Size14 |
82 | - | kill.FontSize = Enum.FontSize.Size14 |
82 | + | kill.Text = "FUCK EM UP" |
83 | - | kill.Text = "FUCK EM UP" |
83 | + | kill.TextColor3 = Color3.new(0, 0, 0) |
84 | - | kill.TextColor3 = Color3.new(0, 0, 0) |
84 | + | kill.TextSize = 14 |
85 | - | kill.TextSize = 14 |
85 | + | kill.MouseButton1Down:connect(function() |
86 | - | kill.MouseButton1Down:connect(function() |
86 | + | for i,v in pairs(GetPlayer(Player.Text)) do |
87 | - | for i,v in pairs(GetPlayer(Player.Text)) do |
87 | + | |
88 | local LocalPlayer = game:GetService("Players").LocalPlayer | |
89 | local target = game:GetService("Players")[v.Name] | |
90 | local torsoname = "Torso" | |
91 | - | local LocalPlayer = game:GetService("Players").LocalPlayer |
91 | + | if LocalPlayer.Character:FindFirstChild("Humanoid").RigType == Enum.HumanoidRigType.R15 then |
92 | - | local target = game:GetService("Players")[v.Name] |
92 | + | torsoname = "UpperTorso" |
93 | - | local torsoname = "Torso" |
93 | + | |
94 | - | if LocalPlayer.Character:FindFirstChild("Humanoid").RigType == Enum.HumanoidRigType.R15 then |
94 | + | |
95 | - | torsoname = "UpperTorso" |
95 | + | |
96 | LocalPlayer.Character:FindFirstChild(torsoname).Anchored = true | |
97 | local tool = Instance.new("Tool", LocalPlayer.Backpack) | |
98 | local hat = LocalPlayer.Character:FindFirstChildOfClass("Accessory") | |
99 | local hathandle = hat.Handle | |
100 | hathandle.Parent = tool | |
101 | hathandle.Massless = true | |
102 | tool.GripPos = Vector3.new(0, 9e99, 0) | |
103 | tool.Parent = LocalPlayer.Character | |
104 | repeat wait() until LocalPlayer.Character:FindFirstChildOfClass("Tool") ~= nil | |
105 | tool.Grip = CFrame.new(Vector3.new(0, 0, 0)) | |
106 | LocalPlayer.Character:FindFirstChild(torsoname).Anchored = false | |
107 | repeat | |
108 | LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame = target.Character:FindFirstChild("HumanoidRootPart").CFrame | |
109 | wait() | |
110 | until target.Character == nil or target.Character:FindFirstChild("Humanoid").Health <= 0 or LocalPlayer.Character == nil or LocalPlayer.Character:FindFirstChild("Humanoid").Health <= 0 or (target.Character:FindFirstChild("HumanoidRootPart").Velocity.magnitude - target.Character:FindFirstChild("Humanoid").WalkSpeed) > (target.Character:FindFirstChild("Humanoid").WalkSpeed + 20) | |
111 | LocalPlayer.Character:FindFirstChild("Humanoid"):UnequipTools() | |
112 | hathandle.Parent = hat | |
113 | hathandle.Massless = false | |
114 | tool:Destroy() | |
115 | LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame = savepos | |
116 | end | |
117 | end | |
118 | end) |