Advertisement
thatonepuggo

kick_MENU

Jan 30th, 2019
435
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 7.94 KB | None | 0 0
  1. local Kick = Instance.new("ScreenGui")
  2. local Error = Instance.new("TextLabel")
  3. local ImageLabel = Instance.new("ImageLabel")
  4. local ImageLabel_2 = Instance.new("ImageLabel")
  5. local drag = Instance.new("TextButton")
  6. local Frame = Instance.new("Frame")
  7. local Kickbutton = Instance.new("TextButton")
  8. local Kickreason = Instance.new("TextBox")
  9. local Playername = Instance.new("TextBox")
  10. local TextButton = Instance.new("TextButton")
  11. local Title = Instance.new("TextLabel")
  12. local ScreenGui = Instance.new("ScreenGui")
  13. local Topbar = Instance.new("Frame")
  14. Kick.Name = "Kick"
  15. Kick.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  16. Kick.DisplayOrder = 999999999
  17. Error.Name = "Error"
  18. Error.Parent = Kick
  19. Error.BackgroundColor3 = Color3.new(0, 1, 0.364706)
  20. Error.BorderSizePixel = 0
  21. Error.Position = UDim2.new(0.5, -394, 0.5, -24)
  22. Error.Size = UDim2.new(0, 787, 0, 47)
  23. Error.Visible = false
  24. Error.ZIndex = 999999999
  25. Error.Font = Enum.Font.SourceSans
  26. Error.Text = ""
  27. Error.TextColor3 = Color3.new(0, 0, 0)
  28. Error.TextScaled = true
  29. Error.TextSize = 14
  30. Error.TextWrapped = true
  31. ImageLabel.Parent = Error
  32. ImageLabel.BackgroundColor3 = Color3.new(0, 1, 0.364706)
  33. ImageLabel.BackgroundTransparency = 1
  34. ImageLabel.Position = UDim2.new(0.958873451, 0, -0.0199944694, 0)
  35. ImageLabel.Size = UDim2.new(0, 43, 0, 48)
  36. ImageLabel.Image = "rbxassetid://605740338"
  37. ImageLabel.ImageColor3 = Color3.new(0.133333, 1, 0)
  38. ImageLabel_2.Parent = Error
  39. ImageLabel_2.BackgroundColor3 = Color3.new(0, 1, 0.364706)
  40. ImageLabel_2.BackgroundTransparency = 1
  41. ImageLabel_2.Position = UDim2.new(-0.0143493637, 0, -0.0199944656, 0)
  42. ImageLabel_2.Size = UDim2.new(0, 43, 0, 48)
  43. ImageLabel_2.Image = "rbxassetid://605740338"
  44. ImageLabel_2.ImageColor3 = Color3.new(0.133333, 1, 0)
  45. drag.Name = "drag"
  46. drag.Parent = Kick
  47. drag.BackgroundColor3 = Color3.new(1, 1, 1)
  48. drag.BackgroundTransparency = 1
  49. drag.Position = UDim2.new(0.581920922, -108, 0.50415802, -134)
  50. drag.Size = UDim2.new(0, 174, 0, 41)
  51. drag.ZIndex = 999999999
  52. drag.Font = Enum.Font.SourceSans
  53. drag.Text = ""
  54. drag.TextColor3 = Color3.new(0, 0, 0)
  55. drag.TextSize = 14
  56. drag.TextWrapped = true
  57. Frame.Parent = drag
  58. Frame.BackgroundColor3 = Color3.new(0.223529, 0.223529, 0.223529)
  59. Frame.BorderSizePixel = 0
  60. Frame.LayoutOrder = -1
  61. Frame.Position = UDim2.new(-0.0454206094, 0, -0.229268283, 0)
  62. Frame.Size = UDim2.new(0, 244, 0, 282)
  63. Frame.ZIndex = 0
  64. Kickbutton.Name = "Kickbutton"
  65. Kickbutton.Parent = Frame
  66. Kickbutton.BackgroundColor3 = Color3.new(0, 1, 0.364706)
  67. Kickbutton.BorderSizePixel = 0
  68. Kickbutton.Position = UDim2.new(0.0305000674, 0, 0.290291756, 0)
  69. Kickbutton.Size = UDim2.new(0, 230, 0, 48)
  70. Kickbutton.Font = Enum.Font.SourceSans
  71. Kickbutton.Text = "Kick"
  72. Kickbutton.TextColor3 = Color3.new(0, 0, 0)
  73. Kickbutton.TextScaled = true
  74. Kickbutton.TextSize = 14
  75. Kickbutton.TextWrapped = true
  76. Kickreason.Name = "Kickreason"
  77. Kickreason.Parent = Frame
  78. Kickreason.BackgroundColor3 = Color3.new(0, 1, 0.364706)
  79. Kickreason.BorderSizePixel = 0
  80. Kickreason.Position = UDim2.new(0.0305000674, 0, 0.508234978, 0)
  81. Kickreason.Size = UDim2.new(0, 230, 0, 57)
  82. Kickreason.Font = Enum.Font.SourceSans
  83. Kickreason.PlaceholderColor3 = Color3.new(0.301961, 0.301961, 0.301961)
  84. Kickreason.PlaceholderText = "Enter Reason"
  85. Kickreason.Text = ""
  86. Kickreason.TextColor3 = Color3.new(0, 0, 0)
  87. Kickreason.TextScaled = true
  88. Kickreason.TextSize = 14
  89. Kickreason.TextWrapped = true
  90. Playername.Name = "Playername"
  91. Playername.Parent = Frame
  92. Playername.BackgroundColor3 = Color3.new(0, 1, 0.364706)
  93. Playername.BorderSizePixel = 0
  94. Playername.Position = UDim2.new(0.0305000674, 0, 0.746438861, 0)
  95. Playername.Size = UDim2.new(0, 230, 0, 57)
  96. Playername.Font = Enum.Font.SourceSans
  97. Playername.PlaceholderColor3 = Color3.new(0.301961, 0.301961, 0.301961)
  98. Playername.PlaceholderText = "Enter target name"
  99. Playername.Text = ""
  100. Playername.TextColor3 = Color3.new(0, 0, 0)
  101. Playername.TextScaled = true
  102. Playername.TextSize = 14
  103. Playername.TextWrapped = true
  104. TextButton.Parent = Frame
  105. TextButton.BackgroundColor3 = Color3.new(0, 1, 0.364706)
  106. TextButton.BorderSizePixel = 0
  107. TextButton.Position = UDim2.new(0.783174813, 0, 0.0302564874, 0)
  108. TextButton.Size = UDim2.new(0, 46, 0, 45)
  109. TextButton.Font = Enum.Font.SourceSans
  110. TextButton.Text = "X"
  111. TextButton.TextColor3 = Color3.new(0, 0, 0)
  112. TextButton.TextScaled = true
  113. TextButton.TextSize = 14
  114. TextButton.TextWrapped = true
  115. Title.Name = "Title"
  116. Title.Parent = Frame
  117. Title.BackgroundColor3 = Color3.new(0, 1, 0.364706)
  118. Title.BorderSizePixel = 0
  119. Title.Position = UDim2.new(0.0305000674, 0, 0.0292614885, 0)
  120. Title.Size = UDim2.new(0, 176, 0, 45)
  121. Title.Font = Enum.Font.SourceSans
  122. Title.Text = "Kick GUI"
  123. Title.TextColor3 = Color3.new(0, 0, 0)
  124. Title.TextScaled = true
  125. Title.TextSize = 14
  126. Title.TextWrapped = true
  127. ScreenGui.Parent = Kick
  128. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  129. Topbar.Name = "Topbar"
  130. Topbar.Parent = ScreenGui
  131. Topbar.BackgroundColor3 = Color3.new(0, 0, 0)
  132. Topbar.BackgroundTransparency = 0.60000002384186
  133. Topbar.BorderSizePixel = 0
  134. Topbar.Position = UDim2.new(0, 0, 0, -100)
  135. Topbar.Size = UDim2.new(0, 1000000, 0, 100)
  136. Topbar.ZIndex = 999999998
  137. function SCRIPT_DQCP71_FAKESCRIPT() -- drag.LocalScript
  138.     local script = Instance.new('LocalScript')
  139.     script.Parent = drag
  140.     local UserInputService = game:GetService("UserInputService")
  141.    
  142.     local gui = script.Parent
  143.    
  144.     local dragging
  145.     local dragInput
  146.     local dragStart
  147.     local startPos
  148.    
  149.     local function update(input)
  150.         local delta = input.Position - dragStart
  151.         gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  152.     end
  153.    
  154.     gui.InputBegan:Connect(function(input)
  155.         if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  156.             dragging = true
  157.             dragStart = input.Position
  158.             startPos = gui.Position
  159.            
  160.             input.Changed:Connect(function()
  161.                 if input.UserInputState == Enum.UserInputState.End then
  162.                     dragging = false
  163.                 end
  164.             end)
  165.         end
  166.     end)
  167.    
  168.     gui.InputChanged:Connect(function(input)
  169.         if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  170.             dragInput = input
  171.         end
  172.     end)
  173.    
  174.     UserInputService.InputChanged:Connect(function(input)
  175.         if input == dragInput and dragging then
  176.             update(input)
  177.         end
  178.     end)
  179.  
  180. end
  181. coroutine.resume(coroutine.create(SCRIPT_DQCP71_FAKESCRIPT))
  182. function SCRIPT_UEEN88_FAKESCRIPT() -- Frame.KickScript
  183.     local script = Instance.new('LocalScript')
  184.     script.Parent = Frame
  185.     local window = script.Parent
  186.     local kickbutton = window.Kickbutton
  187.     local plrname = window.Playername
  188.     local reason = window.Kickreason
  189.     local Err = window.Parent.Parent.Error
  190.    
  191.     kickbutton.MouseButton1Click:Connect(function()
  192.         local playerToKick = game.Players:FindFirstChild(plrname.Text)
  193.         if  playerToKick then
  194.             window.Parent.Parent.kickEvent:FireServer()
  195.         elseif plrname.Text:sub(1,1)=="" or plrname.Text:sub(1,1)==" " then
  196.             Err.Text = 'Error while trying to find user "'.. plrname.Text ..'".'
  197.             Err.Visible = true
  198.             wait(3)
  199.             Err.Visible = false
  200.             Err.Text = ""
  201.         elseif not playerToKick then
  202.             Err.Text = 'Player "'..plrname.Text..'" does not exist! Make sure you are typing in their name with correct caps and spelling.'
  203.             Err.Visible = true
  204.             wait(3)
  205.             Err.Visible = false
  206.             Err.Text = ""
  207.         end
  208.     end)
  209.  
  210. end
  211. coroutine.resume(coroutine.create(SCRIPT_UEEN88_FAKESCRIPT))
  212. function SCRIPT_SPNN90_FAKESCRIPT() -- TextButton.LocalScript
  213.     local script = Instance.new('LocalScript')
  214.     script.Parent = TextButton
  215.     script.Parent.MouseButton1Click:connect(function()
  216.             script.Parent.Parent:Destroy()
  217.     end)
  218.  
  219. end
  220. coroutine.resume(coroutine.create(SCRIPT_SPNN90_FAKESCRIPT))
  221. function SCRIPT_DTJD83_FAKESCRIPT() -- Topbar.LocalScript
  222.     local script = Instance.new('LocalScript')
  223.     script.Parent = Topbar
  224.     script.Parent.Parent.Parent.Parent:SetTopbarTransparency(1)
  225.  
  226. end
  227. coroutine.resume(coroutine.create(SCRIPT_DTJD83_FAKESCRIPT))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement