Advertisement
HugosOnTop

rwessae3qw3e12312323

Nov 10th, 2023 (edited)
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.87 KB | None | 0 0
  1. local MainGui = Instance.new("ScreenGui")
  2. MainGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  3. MainGui.Name = math.rad(1203,-123123123)
  4. MainGui.ResetOnSpawn = false
  5. local Frame = Instance.new("Frame",MainGui)
  6. Frame.BorderSizePixel = 0
  7. Frame.Size = UDim2.new(0, 370,0, 416)
  8. Frame.Position = UDim2.new(0.318, 0,0.181, 0)
  9. Frame.BackgroundColor3 = Color3.fromRGB(67, 67, 67)
  10.  
  11. local Kick = Instance.new("TextButton",Frame)
  12. Kick.BackgroundColor3 = Color3.fromRGB(97, 97, 97)
  13. Kick.Position = UDim2.new(0.522, 0,0.226, 0)
  14. Kick.Size = UDim2.new(0, 164,0, 41)
  15. Kick.Text = "Kick"
  16. Kick.BorderSizePixel = 0
  17. Kick.TextColor3 = Color3.fromRGB(255,255,255)
  18. Kick.TextScaled = true
  19. Kick.FontFace = Font.fromName("Roboto")
  20. Kick.FontFace.Bold = true
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27. local Kill = Instance.new("TextButton",Frame)
  28. Kill.BackgroundColor3 = Color3.fromRGB(97, 97, 97)
  29. Kill.Position = UDim2.new(0.522, 0,0.401, 0)
  30. Kill.Size = UDim2.new(0, 164,0, 41)
  31. Kill.Text = "Kill"
  32. Kill.BorderSizePixel = 0
  33. Kill.TextColor3 = Color3.fromRGB(255,255,255)
  34. Kill.TextScaled = true
  35. Kill.FontFace = Font.fromName("Roboto")
  36. Kill.FontFace.Bold = true
  37.  
  38.  
  39. local Punish = Instance.new("TextButton",Frame)
  40. Punish.BackgroundColor3 = Color3.fromRGB(97, 97, 97)
  41. Punish.Position = UDim2.new(0, 0,0.575, 0)
  42. Punish.Size = UDim2.new(0, 164,0, 41)
  43. Punish.Text = "Punish"
  44. Punish.BorderSizePixel = 0
  45. Punish.TextColor3 = Color3.fromRGB(255,255,255)
  46. Punish.TextScaled = true
  47. Punish.FontFace = Font.fromName("Roboto")
  48. Punish.FontFace.Bold = true
  49.  
  50.  
  51. local RemBase = Instance.new("TextButton",Frame)
  52. RemBase.BackgroundColor3 = Color3.fromRGB(97, 97, 97)
  53. RemBase.Position = UDim2.new(0, 0,0.226, 0)
  54. RemBase.Size = UDim2.new(0, 164,0, 41)
  55. RemBase.Text = "RemoveMap"
  56. RemBase.BorderSizePixel = 0
  57. RemBase.TextColor3 = Color3.fromRGB(255,255,255)
  58. RemBase.TextScaled = true
  59. RemBase.FontFace = Font.fromName("Roboto")
  60. RemBase.FontFace.Bold = true
  61.  
  62. local RemFace = Instance.new("TextButton",Frame)
  63. RemFace.BackgroundColor3 = Color3.fromRGB(97, 97, 97)
  64. RemFace.Position = UDim2.new(0,0,0.401, 0)
  65. RemFace.Size = UDim2.new(0, 164,0, 41)
  66. RemFace.Text = "RemoveFace"
  67. RemFace.BorderSizePixel = 0
  68. RemFace.TextColor3 = Color3.fromRGB(255,255,255)
  69. RemFace.TextScaled = true
  70. RemFace.FontFace = Font.fromName("Roboto")
  71. RemFace.FontFace.Bold = true
  72.  
  73.  
  74. local TextBox = Instance.new("TextBox",Frame)
  75. TextBox.PlaceholderColor3 = Color3.fromRGB(178, 178, 178)
  76. TextBox.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
  77. TextBox.Position = UDim2.new(0.23, 0,0.88, 0)
  78. TextBox.Size = UDim2.new(0, 200,0, 50)
  79. TextBox.PlaceholderText = "PlayersName"
  80. TextBox.Text = "PlayersName"
  81. TextBox.BorderSizePixel = 0
  82. TextBox.TextColor3 = Color3.fromRGB(108, 151, 177)
  83. TextBox.TextScaled = true
  84. TextBox.FontFace = Font.fromName("Roboto")
  85. TextBox.FontFace.Bold = true
  86.  
  87. local Title = Instance.new("TextButton",Frame)
  88. Title.BackgroundColor3 = Color3.fromRGB(85, 85, 85)
  89. Title.Position = UDim2.new(0,0,0,0)
  90. Title.Size = UDim2.new(0, 370,0, 50)
  91. Title.Text = "Nalxed on top"
  92. Title.BorderSizePixel = 0
  93. Title.TextColor3 = Color3.fromRGB(255,255,255)
  94. Title.TextScaled = true
  95. Title.FontFace = Font.fromName("Roboto")
  96. Title.FontFace.Bold = true
  97.  
  98.  
  99. local KickAll = Instance.new("TextButton",Frame)
  100. KickAll.BackgroundColor3 = Color3.fromRGB(97, 97, 97)
  101. KickAll.Position = UDim2.new(0.522, 0,0.575, 0)
  102. KickAll.Size = UDim2.new(0, 164,0, 41)
  103. KickAll.Text = "Kick ALL"
  104. KickAll.BorderSizePixel = 0
  105. KickAll.TextColor3 = Color3.fromRGB(255,255,255)
  106. KickAll.TextScaled = true
  107. KickAll.FontFace = Font.fromName("Roboto")
  108. KickAll.FontFace.Bold = true
  109.  
  110.  
  111. function Destroy(part)
  112. spawn(function()
  113. if game:GetService("ReplicatedStorage"):FindFirstChild("CarRemove") then
  114. game:GetService("ReplicatedStorage").CarRemove:FireServer(part)
  115.  
  116. else if game:GetService("ReplicatedStorage"):FindFirstChild("RemoveCar") then
  117. game:GetService("ReplicatedStorage").RemoveCar:FireServer(part)
  118.  
  119. elseif game:GetService("ReplicatedStorage"):FindFirstChild("DeleteCar") then
  120. game:GetService("ReplicatedStorage").DeleteCar:FireServer(part)
  121.  
  122. end
  123. end
  124. end)
  125. end
  126. Players = game:GetService("Players")
  127.  
  128.  
  129.  
  130. RemBase.MouseButton1Click:Connect(function()
  131. for i,v in pairs(game:GetService("Workspace"):GetChildren()) do
  132. Destroy(v)
  133. end
  134. end)
  135.  
  136. local target = TextBox.Text
  137.  
  138. RemFace.MouseButton1Click:Connect(function()
  139. local target = TextBox.Text
  140. local player = game.Players:FindFirstChild(target)
  141.  
  142. if player then
  143. local character = player.Character
  144. if character then
  145. local head = character:FindFirstChild("Head")
  146. if head then
  147. local face = head:FindFirstChildOfClass("Decal")
  148. if face then
  149. Destroy(face)
  150. else
  151. warn("Face not found for player: " .. target)
  152. end
  153. else
  154. warn("Head not found for player: " .. target)
  155. end
  156. else
  157. warn("Character not found for player: " .. target)
  158. end
  159. else
  160. warn("Player not found: " .. target)
  161. end
  162. end)
  163.  
  164.  
  165. Kick.MouseButton1Click:Connect(function()
  166. local target = TextBox.Text
  167. local player = game.Players:FindFirstChild(target)
  168.  
  169. if player then
  170. Destroy(player)
  171. else
  172. warn("Player not found: " .. target)
  173. end
  174. end)
  175.  
  176.  
  177.  
  178. Kill.MouseButton1Click:Connect(function()
  179. local target = TextBox.Text
  180. local player = game.Players:FindFirstChild(target)
  181.  
  182. if player then
  183. local character = player.Character
  184. character.Humanoid.Health = 0
  185. end
  186. end)
  187.  
  188. Punish.MouseButton1Click:Connect(function()
  189. local target = TextBox.Text
  190. local player = game.Players:FindFirstChild(target)
  191.  
  192. if player then
  193. local character = player.Character
  194. Destroy(character.HumanoidRootPart)
  195. end
  196. end)
  197.  
  198. KickAll.MouseButton1Click:Connect(function()
  199. local localPlayer = game.Players.LocalPlayer
  200. for _, player in pairs(game.Players:GetPlayers()) do
  201. if player ~= localPlayer then
  202. Destroy(player)
  203. end
  204. end
  205. end)
  206.  
  207.  
  208.  
  209.  
  210. local UIS = game:GetService('UserInputService')
  211. local frame = Frame
  212. local dragToggle = nil
  213. local dragSpeed = 0.25
  214. local dragStart = nil
  215. local startPos = nil
  216.  
  217. local function updateInput(input)
  218. local delta = input.Position - dragStart
  219. local position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X,
  220. startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  221. game:GetService('TweenService'):Create(frame, TweenInfo.new(dragSpeed), {Position = position}):Play()
  222. end
  223.  
  224. frame.InputBegan:Connect(function(input)
  225. if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) then
  226. dragToggle = true
  227. dragStart = input.Position
  228. startPos = frame.Position
  229. input.Changed:Connect(function()
  230. if input.UserInputState == Enum.UserInputState.End then
  231. dragToggle = false
  232. end
  233. end)
  234. end
  235. end)
  236.  
  237. UIS.InputChanged:Connect(function(input)
  238. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  239. if dragToggle then
  240. updateInput(input)
  241. end
  242. end
  243. end)
  244.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement