SHOW:
|
|
- or go back to the newest paste.
1 | -- Made by gabkiu1 C: -- | |
2 | ||
3 | - | local plr = game.Players.LocalPlayer |
3 | + | local plr = ihjezogksawpgtaew |
4 | function welcomeOut(we) | |
5 | we:TweenPosition(UDim2.new(0.5, -120,-2,0), "Out", "Bounce",2) | |
6 | wait(2) | |
7 | we.Visible = false | |
8 | end | |
9 | local wea = Instance.new("ScreenGui") | |
10 | wea.Parent = plr.PlayerGui | |
11 | local Welcome = Instance.new("TextLabel") | |
12 | Welcome.Parent = wea | |
13 | Welcome.BackgroundColor3 = Color3.new(0.0705882, 0.0705882, 0.0705882) | |
14 | Welcome.BorderColor3 = Color3.new(0, 0, 0) | |
15 | Welcome.BorderSizePixel = 2 | |
16 | Welcome.TextColor3 = Color3.new(255, 255, 255) | |
17 | Welcome.Text = 'Welcome, Made by "gabkiu1", ENJOY!' | |
18 | Welcome.TextScaled = true | |
19 | Welcome.Size = UDim2.new(0, 250, 0, 45) | |
20 | Welcome.Position = UDim2.new(0.5, -125,0.5,-22) | |
21 | ||
22 | wait(4) | |
23 | welcomeOut(Welcome) | |
24 | ||
25 | function newgui() | |
26 | local hasKicked = nil | |
27 | - | local plr = game.Players.LocalPlayer |
27 | + | local plr = ihjezogksawpgtaew |
28 | local ScreenGui = Instance.new("ScreenGui") | |
29 | local Frame = Instance.new("Frame") | |
30 | local cKick = Instance.new("TextButton") | |
31 | local victime = Instance.new("TextBox") | |
32 | local Kicked = Instance.new("TextLabel") | |
33 | local tReason = Instance.new("TextBox") | |
34 | local rGui = Instance.new("ScreenGui") | |
35 | ScreenGui.Parent = plr.PlayerGui | |
36 | ||
37 | ||
38 | Frame.Parent = ScreenGui | |
39 | Frame.BackgroundColor3 = Color3.new(0.14902, 0.14902, 0.14902) | |
40 | Frame.BorderColor3 = Color3.new(0.109804, 0.109804, 0.109804) | |
41 | Frame.BorderSizePixel = 2 | |
42 | Frame.Position = UDim2.new(0.915912032, -100, 1, -65) | |
43 | Frame.Size = UDim2.new(0, 165, 0, 65) | |
44 | ||
45 | ||
46 | tReason.Name = "tReason" | |
47 | tReason.Parent = ScreenGui.Frame | |
48 | tReason.BackgroundColor3 = Color3.new(0.0705882, 0.0705882, 0.0705882) | |
49 | tReason.BorderColor3 = Color3.new(0, 0, 0) | |
50 | tReason.BorderSizePixel = 2 | |
51 | tReason.Position = UDim2.new(0, 0, -0.338461548, 0) | |
52 | tReason.Size = UDim2.new(0, 165, 0, 20) | |
53 | tReason.Font = Enum.Font.Fantasy | |
54 | tReason.PlaceholderColor3 = Color3.new(0.698039, 0.698039, 0.698039) | |
55 | tReason.Text = "Reason(Optional)" | |
56 | tReason.TextColor3 = Color3.new(1, 1, 1) | |
57 | tReason.TextSize = 14 | |
58 | ||
59 | cKick.Name = "cKick" | |
60 | cKick.Parent = Frame | |
61 | cKick.BackgroundColor3 = Color3.new(0.109804, 0.109804, 0.109804) | |
62 | cKick.BorderColor3 = Color3.new(0.0705882, 0.0705882, 0.0705882) | |
63 | cKick.BorderSizePixel = 2 | |
64 | cKick.Position = UDim2.new(0.109090912, 0, 0.55384618, 0) | |
65 | cKick.Size = UDim2.new(0, 60, 0, 17) | |
66 | cKick.Font = Enum.Font.Fantasy | |
67 | cKick.Text = "Kick" | |
68 | cKick.TextColor3 = Color3.new(1, 1, 1) | |
69 | cKick.TextSize = 14 | |
70 | local cBan = cKick:Clone() | |
71 | cBan.Parent = Frame | |
72 | cBan.Text = "Ban" | |
73 | cBan.Position = UDim2.new(0.539090912, 0, 0.55384618, 0) | |
74 | ||
75 | ||
76 | victime.Name = "victime" | |
77 | victime.Parent = Frame | |
78 | victime.BackgroundColor3 = Color3.new(0.917647, 0.917647, 0.917647) | |
79 | victime.BorderColor3 = Color3.new(0.0705882, 0.0705882, 0.0705882) | |
80 | victime.BorderSizePixel = 2 | |
81 | victime.Position = UDim2.new(0.0606060624, 0, 0.123076923, 0) | |
82 | victime.Size = UDim2.new(0, 148, 0, 16) | |
83 | victime.Font = Enum.Font.Fantasy | |
84 | victime.PlaceholderColor3 = Color3.new(1, 1, 1) | |
85 | victime.Text = "Player Name" | |
86 | victime.TextColor3 = Color3.new(0, 0, 0) | |
87 | victime.TextScaled = true | |
88 | victime.TextSize = 14 | |
89 | victime.TextWrapped = true | |
90 | ||
91 | Kicked.Name = "Kicked" | |
92 | Kicked.Parent = ScreenGui | |
93 | Kicked.BackgroundColor3 = Color3.new(0.14902, 0.14902, 0.14902) | |
94 | Kicked.BorderColor3 = Color3.new(0.109804, 0.109804, 0.109804) | |
95 | Kicked.BorderSizePixel = 2 | |
96 | Kicked.Position = UDim2.new(0.5, -120, 0, 0) | |
97 | Kicked.Size = UDim2.new(0, 239, 0, 38) | |
98 | Kicked.Visible = false | |
99 | Kicked.Font = Enum.Font.Fantasy | |
100 | Kicked.Text = "" | |
101 | Kicked.TextColor3 = Color3.new(1, 1, 1) | |
102 | Kicked.TextScaled = true | |
103 | Kicked.TextSize = 14 | |
104 | Kicked.TextWrapped = true | |
105 | ||
106 | function plrReason(victim,reason) | |
107 | local victimReason = Instance.new("TextLabel") | |
108 | rGui.Parent = victim.PlayerGui | |
109 | victimReason.Name = "victimReason" | |
110 | victimReason.Parent = rGui | |
111 | victimReason.BorderSizePixel = 2 | |
112 | victimReason.BackgroundColor3 = Color3.new(0.109804, 0.109804, 0.109804) | |
113 | victimReason.BorderColor3 = Color3.new(0.0705882, 0.0705882, 0.0705882) | |
114 | victimReason.Size = UDim2.new(1,0,1,0) | |
115 | victimReason.Font = Enum.Font.Fantasy | |
116 | victimReason.Text = reason | |
117 | victimReason.TextColor3 = Color3.new(1, 1, 1) | |
118 | victimReason.TextScaled = true | |
119 | end | |
120 | ||
121 | function Kick(PLAYER) | |
122 | if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') and PLAYER.Character:FindFirstChild('Torso') then | |
123 | PLAYER.Character.HumanoidRootPart.Position = Vector3.new(math.random(999000, 1001000), 10000, 0) | |
124 | local Plat = Instance.new('SkateboardPlatform', PLAYER.Character) Plat.Position = PLAYER.Character.HumanoidRootPart.Position | |
125 | Plat.Name = 'IYkick' | |
126 | Plat.Size = Vector3.new(100, 1, 100) | |
127 | local PART = Instance.new('Part', PLAYER.Character) | |
128 | PART.Position = Plat.Position - Vector3.new(0, 3, 0) | |
129 | PART.Size = Vector3.new(100, 1, 100) | |
130 | PART.Anchored = true | |
131 | ||
132 | PART.Transparency = 1 | |
133 | Plat.Transparency = 1 | |
134 | ||
135 | repeat wait(1) | |
136 | if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') then | |
137 | Plat.Position = PLAYER.Character.HumanoidRootPart.Position | |
138 | end | |
139 | Kick(PLAYER) | |
140 | until not game.Players:findFirstChild(PLAYER) | |
141 | end | |
142 | end | |
143 | ||
144 | function EKick(plrName) | |
145 | if game.Players:FindFirstChild(plrName) then | |
146 | if tReason.Text ~= "Reason(Optional)" then | |
147 | plrReason(game.Players:FindFirstChild(plrName),tReason.Text) | |
148 | end | |
149 | wait() | |
150 | Kick(game.Players:FindFirstChild(plrName)) | |
151 | wait(2.25) | |
152 | ||
153 | if game.Players:FindFirstChild(plrName) then | |
154 | Kicked.Text = "Something hanpped, ... error..." | |
155 | Kicked.Visible = true | |
156 | wait(6) | |
157 | Kicked.Visible = false | |
158 | else | |
159 | Kicked.Text = "Kicked " .. plrName .. " Successful, Made By gabkiu1" | |
160 | Kicked.Visible = true | |
161 | wait(6) | |
162 | Kicked.Visible = false | |
163 | end | |
164 | end | |
165 | end | |
166 | ||
167 | function RKick(plrName) | |
168 | local plrexist = game.Players:FindFirstChild(plrName) | |
169 | if not plrexist then | |
170 | return false | |
171 | end | |
172 | if game.Players:FindFirstChild(plrName) then | |
173 | if tReason.Text ~= "Reason(Optional)" then | |
174 | plrReason(game.Players:FindFirstChild(plrName),tReason.Text) | |
175 | end | |
176 | wait() | |
177 | Kick(game.Players:FindFirstChild(plrName)) | |
178 | wait(2.25) | |
179 | if not game.Players:FindFirstChild(plrName) then | |
180 | ||
181 | wait(1) | |
182 | Kicked.Text = "Kicked " .. plrName .. " Successful, Made By gabkiu1" | |
183 | Kicked.Visible = true | |
184 | wait(6) | |
185 | Kicked.Visible = false | |
186 | else | |
187 | Kicked.Text = "Something hanpped... error..." | |
188 | Kicked.Visible = true | |
189 | wait(6) | |
190 | end | |
191 | end | |
192 | end | |
193 | function eBan(plrName) | |
194 | if game.Players:FindFirstChild(plrName) then | |
195 | if tReason.Text ~= "Reason(Optional)" then | |
196 | plrReason(game.Players:FindFirstChild(plrName),tReason.Text) | |
197 | end | |
198 | wait() | |
199 | Kick(game.Players:FindFirstChild(plrName)) | |
200 | wait(2.25) | |
201 | if game.Players:FindFirstChild(plrName) then | |
202 | Kicked.Text = "Something hanpped, ... error..." | |
203 | Kicked.Visible = true | |
204 | wait(6) | |
205 | Kicked.Visible = false | |
206 | end | |
207 | if not game.Players:FindFirstChild(plrName) then | |
208 | wait(1) | |
209 | Kicked.Text = "Banned " .. plrName .. " Successful, Made By gabkiu1" | |
210 | Kicked.Visible = true | |
211 | wait(6) | |
212 | Kicked.Visible = false | |
213 | while true do | |
214 | Kick(game.Players:WaitForChild(plrName)) | |
215 | wait(1) | |
216 | end | |
217 | end | |
218 | end | |
219 | end | |
220 | function rBan(plrName) | |
221 | if not game.Players:FindFirstChild(plrName) then | |
222 | return false | |
223 | end | |
224 | if game.Players:FindFirstChild(plrName) then | |
225 | Kick(game.Players:FindFirstChild(plrName)) | |
226 | wait(2.3) | |
227 | if game.Players:FindFirstChild(plrName) then | |
228 | Kicked.Text = "Something hanpped, ... error..." | |
229 | Kicked.Visible = true | |
230 | wait(6) | |
231 | Kicked.Visible = false | |
232 | end | |
233 | if not game.Players:FindFirstChild(plrName) then | |
234 | if tReason.Text ~= "Reason(Optional)" then | |
235 | plrReason(game.Players:FindFirstChild(plrName),tReason.Text) | |
236 | end | |
237 | Kicked.Text = "Banned " .. plrName .. " Successful, Made By gabkiu1" | |
238 | Kicked.Visible = true | |
239 | wait(6) | |
240 | Kicked.Visible = false | |
241 | while true do | |
242 | Kick(game.Players:WaitForChild(plrName)) | |
243 | wait(2) | |
244 | end | |
245 | end | |
246 | end | |
247 | end | |
248 | ||
249 | cBan.MouseButton1Click:connect(function() | |
250 | if not rBan(victime.Text) then | |
251 | local letters = string.len(victime.Text) | |
252 | for i,v in pairs(game.Players:GetChildren()) do | |
253 | local ple = string.lower(string.sub(v.Name,1,letters)) | |
254 | if ple == string.lower(victime.Text) then | |
255 | eBan(v.Name) | |
256 | end | |
257 | end | |
258 | end | |
259 | end) | |
260 | ||
261 | cKick.MouseButton1Click:connect(function() | |
262 | ||
263 | if string.lower(victime.Text) == "all" then | |
264 | for i,v in pairs(game.Players:GetChildren()) do | |
265 | - | if v.Name ~= game.Players.LocalPlayer.Name then |
265 | + | if v.Name ~= ihjezogksawpgtaew then |
266 | Kick(v) | |
267 | end | |
268 | end | |
269 | elseif string.lower(victime.Text) == "others" then | |
270 | for i,v in pairs(game.Players:GetChildren()) do | |
271 | - | if v.Name ~= game.Players.LocalPlayer.Name then |
271 | + | if v.Name ~= ihjezogksawpgtaew then |
272 | Kick(v) | |
273 | end | |
274 | end | |
275 | else | |
276 | ||
277 | if not RKick(victime.Text) then | |
278 | local letters = string.len(victime.Text) | |
279 | for i,v in pairs(game.Players:GetChildren()) do | |
280 | local ple = string.lower(string.sub(v.Name,1,letters)) | |
281 | if ple == string.lower(victime.Text) then | |
282 | EKick(v.Name) | |
283 | end | |
284 | end | |
285 | end | |
286 | end | |
287 | end) | |
288 | end | |
289 | newgui() | |
290 | - | game.Players.LocalPlayer.CharacterAdded:connect(function() |
290 | + | ihjezogksawpgtaew.CharacterAdded:connect(function() |
291 | newgui() | |
292 | end) |