HugosOnTop

1321

Nov 10th, 2023
15
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.88 KB | None | 0 0
  1. local MainGui = Instance.new("ScreenGui")
  2. MainGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  3. MainGui.Name = math.rad(1203,13)
  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. local Kill = Instance.new("TextButton",Frame)
  25. Kill.BackgroundColor3 = Color3.fromRGB(97, 97, 97)
  26. Kill.Position = UDim2.new(0.522, 0,0.401, 0)
  27. Kill.Size = UDim2.new(0, 164,0, 41)
  28. Kill.Text = "Kill"
  29. Kill.BorderSizePixel = 0
  30. Kill.TextColor3 = Color3.fromRGB(255,255,255)
  31. Kill.TextScaled = true
  32. Kill.FontFace = Font.fromName("Roboto")
  33. Kill.FontFace.Bold = true
  34.  
  35.  
  36. local Punish = Instance.new("TextButton",Frame)
  37. Punish.BackgroundColor3 = Color3.fromRGB(97, 97, 97)
  38. Punish.Position = UDim2.new(0, 0,0.575, 0)
  39. Punish.Size = UDim2.new(0, 164,0, 41)
  40. Punish.Text = "Punish"
  41. Punish.BorderSizePixel = 0
  42. Punish.TextColor3 = Color3.fromRGB(255,255,255)
  43. Punish.TextScaled = true
  44. Punish.FontFace = Font.fromName("Roboto")
  45. Punish.FontFace.Bold = true
  46.  
  47.  
  48. local RemBase = Instance.new("TextButton",Frame)
  49. RemBase.BackgroundColor3 = Color3.fromRGB(97, 97, 97)
  50. RemBase.Position = UDim2.new(0, 0,0.226, 0)
  51. RemBase.Size = UDim2.new(0, 164,0, 41)
  52. RemBase.Text = "RemoveBaseplate"
  53. RemBase.BorderSizePixel = 0
  54. RemBase.TextColor3 = Color3.fromRGB(255,255,255)
  55. RemBase.TextScaled = true
  56. RemBase.FontFace = Font.fromName("Roboto")
  57. RemBase.FontFace.Bold = true
  58.  
  59. local RemFace = Instance.new("TextButton",Frame)
  60. RemFace.BackgroundColor3 = Color3.fromRGB(97, 97, 97)
  61. RemFace.Position = UDim2.new(0,0,0.401, 0)
  62. RemFace.Size = UDim2.new(0, 164,0, 41)
  63. RemFace.Text = "RemoveFace"
  64. RemFace.BorderSizePixel = 0
  65. RemFace.TextColor3 = Color3.fromRGB(255,255,255)
  66. RemFace.TextScaled = true
  67. RemFace.FontFace = Font.fromName("Roboto")
  68. RemFace.FontFace.Bold = true
  69.  
  70.  
  71. local TextBox = Instance.new("TextBox",Frame)
  72. TextBox.PlaceholderColor3 = Color3.fromRGB(178, 178, 178)
  73. TextBox.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
  74. TextBox.Position = UDim2.new(0.23, 0,0.88, 0)
  75. TextBox.Size = UDim2.new(0, 200,0, 50)
  76. TextBox.PlaceholderText = "PlayersName"
  77. TextBox.Text = "PlayersName"
  78. TextBox.BorderSizePixel = 0
  79. TextBox.TextColor3 = Color3.fromRGB(108, 151, 177)
  80. TextBox.TextScaled = true
  81. TextBox.FontFace = Font.fromName("Roboto")
  82. TextBox.FontFace.Bold = true
  83.  
  84. local Title = Instance.new("TextButton",Frame)
  85. Title.BackgroundColor3 = Color3.fromRGB(85, 85, 85)
  86. Title.Position = UDim2.new(0,0,0,0)
  87. Title.Size = UDim2.new(0, 370,0, 50)
  88. Title.Text = "Nalxed on top"
  89. Title.BorderSizePixel = 0
  90. Title.TextColor3 = Color3.fromRGB(255,255,255)
  91. Title.TextScaled = true
  92. Title.FontFace = Font.fromName("Roboto")
  93. Title.FontFace.Bold = true
  94.  
  95.  
  96. function Destroy(part)
  97. spawn(function()
  98. if game:GetService("ReplicatedStorage"):FindFirstChild("CarRemove") then
  99. game:GetService("ReplicatedStorage").CarRemove:FireServer(part)
  100.  
  101. else if game:GetService("ReplicatedStorage"):FindFirstChild("RemoveCar") then
  102. game:GetService("ReplicatedStorage").RemoveCar:FireServer(part)
  103.  
  104. elseif game:GetService("ReplicatedStorage"):FindFirstChild("DeleteCar") then
  105. game:GetService("ReplicatedStorage").DeleteCar:FireServer(part)
  106. end
  107. end
  108. end)
  109. end
  110. Players = game:GetService("Players")
  111.  
  112.  
  113.  
  114. RemBase.MouseButton1Click:Connect(function()
  115. Destroy(game.Workspace.Baseplate)
  116. end)
  117.  
  118. local target = TextBox.Text
  119.  
  120. RemFace.MouseButton1Click:Connect(function()
  121. local target = TextBox.Text
  122. local player = game.Players:FindFirstChild(target)
  123.  
  124. if player then
  125. local character = player.Character
  126. if character then
  127. local head = character:FindFirstChild("Head")
  128. if head then
  129. local face = head:FindFirstChildOfClass("Decal")
  130. if face then
  131. Destroy(face)
  132. else
  133. warn("Face not found for player: " .. target)
  134. end
  135. else
  136. warn("Head not found for player: " .. target)
  137. end
  138. else
  139. warn("Character not found for player: " .. target)
  140. end
  141. else
  142. warn("Player not found: " .. target)
  143. end
  144. end)
  145.  
  146.  
  147. Kick.MouseButton1Click:Connect(function()
  148. local target = TextBox.Text
  149. local player = game.Players:FindFirstChild(target)
  150.  
  151. if player then
  152. Destroy(player)
  153. else
  154. warn("Player not found: " .. target)
  155. end
  156. end)
  157.  
  158.  
  159.  
  160. Kill.MouseButton1Click:Connect(function()
  161. local target = TextBox.Text
  162. local player = game.Players:FindFirstChild(target)
  163.  
  164. if player then
  165. local character = player.Character
  166. character.Humanoid.Health = 0
  167. end
  168. end)
  169.  
Add Comment
Please, Sign In to add comment