Advertisement
RobloxAnonymous

Prison Life - Kick Gui

Dec 15th, 2019
4,751
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.31 KB | None | 0 0
  1. --PRISON LIFE - KICK GUI--
  2. local jakeskickgui = Instance.new("ScreenGui")
  3. local main = Instance.new("Frame")
  4. local title = Instance.new("TextLabel")
  5. local kick = Instance.new("TextButton")
  6. local kicktext = Instance.new("TextBox")
  7. local title_2 = Instance.new("TextLabel")
  8. local close = Instance.new("TextButton")
  9. local openmain = Instance.new("Frame")
  10. local open = Instance.new("TextButton")
  11. --Properties:
  12. jakeskickgui.Name = "jakeskickgui"
  13. jakeskickgui.Parent = game.CoreGui
  14.  
  15. main.Name = "main"
  16. main.Parent = KickGui
  17. main.BackgroundColor3 = Color3.new(0, 0, 0)
  18. main.Position = UDim2.new(0.276372612, 0, 0.55282557, 0)
  19. main.Size = UDim2.new(0, 234, 0, 146)
  20. main.Active = true
  21. main.Draggable = true
  22.  
  23. local Players = game:GetService("Players")
  24. local LocalPlayer = Players.LocalPlayer
  25. local function RemoveSpaces(String)
  26. return String:gsub("%s+", "") or String
  27. end
  28.  
  29. local function FindPlayer(String)
  30. String = RemoveSpaces(String)
  31. for _, _Player in pairs(Players:GetPlayers()) do
  32. if _Player.Name:lower():match('^'.. String:lower()) then
  33. return _Player
  34. end
  35. end
  36. return nil
  37. end
  38.  
  39. title.Name = "title"
  40. title.Parent = main
  41. title.BackgroundColor3 = Color3.new(1, 1, 1)
  42. title.Size = UDim2.new(0, 234, 0, 31)
  43. title.Font = Enum.Font.GothamBold
  44. title.Text = "Prison Life Kick Player"
  45. title.TextColor3 = Color3.new(0, 0, 0)
  46. title.TextSize = 14
  47.  
  48. kick.Name = "kick"
  49. kick.Parent = main
  50. kick.BackgroundColor3 = Color3.new(1, 1, 1)
  51. kick.Position = UDim2.new(0.0726495758, 0, 0.534832001, 0)
  52. kick.Size = UDim2.new(0, 200, 0, 33)
  53. kick.Font = Enum.Font.GothamBlack
  54. kick.Text = "KICK"
  55. kick.TextColor3 = Color3.new(0, 0, 0)
  56. kick.TextSize = 14
  57. kick.MouseButton1Down:connect(function()
  58. game:GetService("StarterGui"):SetCore("SendNotification", {
  59. Title = "Player will be kicked!";
  60. Text = "Please wait up to 30 secs!!";
  61. })
  62. local kick = FindPlayer(kicktext.Text)
  63. for i,v in pairs(game.Players:GetChildren()) do
  64. if v.Name == (kick.Name) then
  65. local tbl_main =
  66. {
  67. "Start",
  68. v
  69. }
  70. game:GetService("Workspace").Remote.votekick:InvokeServer(unpack(tbl_main))
  71.  
  72. local tbl_main =
  73. {
  74. "Start",
  75. v
  76. }
  77. game:GetService("Workspace").Remote.votekick:InvokeServer(unpack(tbl_main))
  78.  
  79. local tbl_main =
  80. {
  81. "Start",
  82. v
  83. }
  84. game:GetService("Workspace").Remote.votekick:InvokeServer(unpack(tbl_main))
  85.  
  86. local tbl_main =
  87. {
  88. "Start",
  89. v
  90. }
  91. game:GetService("Workspace").Remote.votekick:InvokeServer(unpack(tbl_main))
  92.  
  93. local tbl_main =
  94. {
  95. "Start",
  96. v
  97. }
  98. game:GetService("Workspace").Remote.votekick:InvokeServer(unpack(tbl_main))
  99.  
  100. local tbl_main =
  101. {
  102. "Start",
  103. v
  104. }
  105. game:GetService("Workspace").Remote.votekick:InvokeServer(unpack(tbl_main))
  106.  
  107. local tbl_main =
  108. {
  109. "Start",
  110. v
  111. }
  112. game:GetService("Workspace").Remote.votekick:InvokeServer(unpack(tbl_main))
  113.  
  114. local tbl_main =
  115. {
  116. "Start",
  117. v
  118. }
  119. game:GetService("Workspace").Remote.votekick:InvokeServer(unpack(tbl_main))
  120.  
  121. local tbl_main =
  122. {
  123. "Start",
  124. v
  125. }
  126. game:GetService("Workspace").Remote.votekick:InvokeServer(unpack(tbl_main))
  127.  
  128. local tbl_main =
  129. {
  130. "Start",
  131. v
  132. }
  133. game:GetService("Workspace").Remote.votekick:InvokeServer(unpack(tbl_main))
  134.  
  135. local tbl_main =
  136. {
  137. "Start",
  138. v
  139. }
  140. game:GetService("Workspace").Remote.votekick:InvokeServer(unpack(tbl_main))
  141.  
  142. local tbl_main =
  143. {
  144. "Start",
  145. v
  146. }
  147. game:GetService("Workspace").Remote.votekick:InvokeServer(unpack(tbl_main))
  148.  
  149. local tbl_main =
  150. {
  151. "Start",
  152. v
  153. }
  154. game:GetService("Workspace").Remote.votekick:InvokeServer(unpack(tbl_main))
  155.  
  156. local tbl_main =
  157. {
  158. "Start",
  159. v
  160. }
  161. game:GetService("Workspace").Remote.votekick:InvokeServer(unpack(tbl_main))
  162.  
  163. local tbl_main =
  164. {
  165. "Start",
  166. v
  167. }
  168. game:GetService("Workspace").Remote.votekick:InvokeServer(unpack(tbl_main))
  169.  
  170. local tbl_main =
  171. {
  172. "Start",
  173. v
  174. }
  175. game:GetService("Workspace").Remote.votekick:InvokeServer(unpack(tbl_main))
  176.  
  177. local tbl_main =
  178. {
  179. "Start",
  180. v
  181. }
  182. game:GetService("Workspace").Remote.votekick:InvokeServer(unpack(tbl_main))
  183.  
  184. local tbl_main =
  185. {
  186. "Vote"
  187. }
  188. game:GetService("Workspace").Remote.votekick:InvokeServer(unpack(tbl_main))
  189.  
  190. local tbl_main =
  191. {
  192. "Vote"
  193. }
  194. game:GetService("Workspace").Remote.votekick:InvokeServer(unpack(tbl_main))
  195.  
  196. local tbl_main =
  197. {
  198. "Vote"
  199. }
  200. game:GetService("Workspace").Remote.votekick:InvokeServer(unpack(tbl_main))
  201.  
  202. local tbl_main =
  203. {
  204. "Vote"
  205. }
  206. game:GetService("Workspace").Remote.votekick:InvokeServer(unpack(tbl_main))
  207.  
  208. local tbl_main =
  209. {
  210. "Vote"
  211. }
  212. game:GetService("Workspace").Remote.votekick:InvokeServer(unpack(tbl_main))
  213.  
  214. local tbl_main =
  215. {
  216. "Vote"
  217. }
  218. game:GetService("Workspace").Remote.votekick:InvokeServer(unpack(tbl_main))
  219.  
  220. local tbl_main =
  221. {
  222. "Vote"
  223. }
  224. game:GetService("Workspace").Remote.votekick:InvokeServer(unpack(tbl_main))
  225.  
  226. local tbl_main =
  227. {
  228. "Vote"
  229. }
  230. game:GetService("Workspace").Remote.votekick:InvokeServer(unpack(tbl_main))
  231.  
  232. local tbl_main =
  233. {
  234. "Vote"
  235. }
  236. game:GetService("Workspace").Remote.votekick:InvokeServer(unpack(tbl_main))
  237.  
  238. local tbl_main =
  239. {
  240. "Vote"
  241. }
  242. game:GetService("Workspace").Remote.votekick:InvokeServer(unpack(tbl_main))
  243.  
  244. local tbl_main =
  245. {
  246. "Vote"
  247. }
  248. game:GetService("Workspace").Remote.votekick:InvokeServer(unpack(tbl_main))
  249.  
  250. local tbl_main =
  251. {
  252. "Vote"
  253. }
  254. game:GetService("Workspace").Remote.votekick:InvokeServer(unpack(tbl_main))
  255.  
  256. local tbl_main =
  257. {
  258. "Vote"
  259. }
  260. game:GetService("Workspace").Remote.votekick:InvokeServer(unpack(tbl_main))
  261.  
  262. local tbl_main =
  263. {
  264. "Vote"
  265. }
  266. game:GetService("Workspace").Remote.votekick:InvokeServer(unpack(tbl_main))
  267.  
  268. local tbl_main =
  269. {
  270. "Vote"
  271. }
  272. game:GetService("Workspace").Remote.votekick:InvokeServer(unpack(tbl_main))
  273.  
  274. local tbl_main =
  275. {
  276. "Vote"
  277. }
  278. game:GetService("Workspace").Remote.votekick:InvokeServer(unpack(tbl_main))
  279.  
  280. local tbl_main =
  281. {
  282. "Vote"
  283. }
  284. game:GetService("Workspace").Remote.votekick:InvokeServer(unpack(tbl_main))
  285.  
  286. local tbl_main =
  287. {
  288. "Vote"
  289. }
  290. game:GetService("Workspace").Remote.votekick:InvokeServer(unpack(tbl_main))
  291.  
  292. local tbl_main =
  293. {
  294. "Vote"
  295. }
  296. game:GetService("Workspace").Remote.votekick:InvokeServer(unpack(tbl_main))
  297.  
  298. local tbl_main =
  299. {
  300. "Vote"
  301. }
  302. game:GetService("Workspace").Remote.votekick:InvokeServer(unpack(tbl_main))
  303.  
  304. local tbl_main =
  305. {
  306. "Vote"
  307. }
  308. game:GetService("Workspace").Remote.votekick:InvokeServer(unpack(tbl_main))
  309.  
  310. local tbl_main =
  311. {
  312. "Vote"
  313. }
  314. game:GetService("Workspace").Remote.votekick:InvokeServer(unpack(tbl_main))
  315.  
  316. local tbl_main =
  317. {
  318. "Vote"
  319. }
  320. game:GetService("Workspace").Remote.votekick:InvokeServer(unpack(tbl_main))
  321.  
  322. local tbl_main =
  323. {
  324. "Vote"
  325. }
  326. game:GetService("Workspace").Remote.votekick:InvokeServer(unpack(tbl_main))
  327.  
  328. local tbl_main =
  329. {
  330. "Vote"
  331. }
  332. game:GetService("Workspace").Remote.votekick:InvokeServer(unpack(tbl_main))
  333.  
  334. local tbl_main =
  335. {
  336. "Vote"
  337. }
  338. game:GetService("Workspace").Remote.votekick:InvokeServer(unpack(tbl_main))
  339.  
  340. local tbl_main =
  341. {
  342. "Vote"
  343. }
  344. game:GetService("Workspace").Remote.votekick:InvokeServer(unpack(tbl_main))
  345.  
  346. local tbl_main =
  347. {
  348. "Vote"
  349. }
  350. game:GetService("Workspace").Remote.votekick:InvokeServer(unpack(tbl_main))
  351.  
  352. local tbl_main =
  353. {
  354. "Vote"
  355. }
  356. game:GetService("Workspace").Remote.votekick:InvokeServer(unpack(tbl_main))
  357.  
  358. local tbl_main =
  359. {
  360. "Vote"
  361. }
  362. game:GetService("Workspace").Remote.votekick:InvokeServer(unpack(tbl_main))
  363.  
  364. local tbl_main =
  365. {
  366. "Vote"
  367. }
  368. game:GetService("Workspace").Remote.votekick:InvokeServer(unpack(tbl_main))
  369.  
  370. local tbl_main =
  371. {
  372. "Vote"
  373. }
  374. game:GetService("Workspace").Remote.votekick:InvokeServer(unpack(tbl_main))
  375.  
  376. local tbl_main =
  377. {
  378. "Vote"
  379. }
  380. game:GetService("Workspace").Remote.votekick:InvokeServer(unpack(tbl_main))
  381.  
  382. local tbl_main =
  383. {
  384. "Vote"
  385. }
  386. game:GetService("Workspace").Remote.votekick:InvokeServer(unpack(tbl_main))
  387.  
  388. local tbl_main =
  389. {
  390. "Vote"
  391. }
  392. game:GetService("Workspace").Remote.votekick:InvokeServer(unpack(tbl_main))
  393.  
  394. local tbl_main =
  395. {
  396. "Vote"
  397. }
  398. game:GetService("Workspace").Remote.votekick:InvokeServer(unpack(tbl_main))
  399.  
  400. game:GetService("StarterGui"):SetCore("SendNotification", {
  401. Title = "If Player is not kicked";
  402. Text = "Please try again in 1 min and 30 secs!!";
  403. })
  404.  
  405. wait(13)
  406. game:GetService("StarterGui"):SetCore("SendNotification", {
  407. Title = "Player Should be kicked";
  408. Text = "If not please wait and try again!!";
  409. })
  410. end
  411. end
  412. end)
  413.  
  414. kicktext.Name = "kicktext"
  415. kicktext.Parent = main
  416. kicktext.BackgroundColor3 = Color3.new(1, 1, 1)
  417. kicktext.Position = UDim2.new(0.0726495758, 0, 0.254595488, 0)
  418. kicktext.Size = UDim2.new(0, 200, 0, 30)
  419. kicktext.Font = Enum.Font.Gotham
  420. kicktext.Text = "PlayerName"
  421. kicktext.TextColor3 = Color3.new(0, 0, 0)
  422. kicktext.TextSize = 14
  423.  
  424. title_2.Name = "title"
  425. title_2.Parent = main
  426. title_2.BackgroundColor3 = Color3.new(1, 1, 1)
  427. title_2.Position = UDim2.new(0, 0, 0.801369846, 0)
  428. title_2.Size = UDim2.new(0, 234, 0, 29)
  429. title_2.Font = Enum.Font.GothamBlack
  430. title_2.Text = "Made By Jake11price"
  431. title_2.TextColor3 = Color3.new(0, 0, 0)
  432. title_2.TextSize = 14
  433.  
  434. close.Name = "close"
  435. close.Parent = main
  436. close.BackgroundColor3 = Color3.new(0, 0, 0)
  437. close.Position = UDim2.new(0.85042733, 0, 0, 0)
  438. close.Size = UDim2.new(0, 35, 0, 31)
  439. close.Font = Enum.Font.GothamBold
  440. close.Text = "X"
  441. close.TextColor3 = Color3.new(1, 0, 0)
  442. close.TextScaled = true
  443. close.TextSize = 14
  444. close.TextWrapped = true
  445. close.MouseButton1Down:connect(function()
  446. main.Visible = false
  447. openmain.Visible = true
  448. end)
  449.  
  450. openmain.Name = "openmain"
  451. openmain.Parent = jakeskickgui
  452. openmain.BackgroundColor3 = Color3.new(0, 0, 0)
  453. openmain.Position = UDim2.new(0.00431832112, 0, 0.886977911, 0)
  454. openmain.Size = UDim2.new(0, 100, 0, 27)
  455. openmain.Visible = false
  456.  
  457. open.Name = "open"
  458. open.Parent = openmain
  459. open.BackgroundColor3 = Color3.new(0, 0, 0)
  460. open.Size = UDim2.new(0, 100, 0, 27)
  461. open.Font = Enum.Font.GothamBold
  462. open.Text = "OPEN"
  463. open.TextColor3 = Color3.new(1, 1, 1)
  464. open.TextSize = 14
  465. open.MouseButton1Down:connect(function()
  466. openmain.Visible = false
  467. main.Visible = true
  468. end)
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement