Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local MainGui = Instance.new("ScreenGui")
- MainGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- MainGui.Name = math.rad(1203,-123123123)
- MainGui.ResetOnSpawn = false
- local Frame = Instance.new("Frame",MainGui)
- Frame.BorderSizePixel = 0
- Frame.Size = UDim2.new(0, 370,0, 416)
- Frame.Position = UDim2.new(0.318, 0,0.181, 0)
- Frame.BackgroundColor3 = Color3.fromRGB(67, 67, 67)
- local Kick = Instance.new("TextButton",Frame)
- Kick.BackgroundColor3 = Color3.fromRGB(97, 97, 97)
- Kick.Position = UDim2.new(0.522, 0,0.226, 0)
- Kick.Size = UDim2.new(0, 164,0, 41)
- Kick.Text = "Kick"
- Kick.BorderSizePixel = 0
- Kick.TextColor3 = Color3.fromRGB(255,255,255)
- Kick.TextScaled = true
- Kick.FontFace = Font.fromName("Roboto")
- Kick.FontFace.Bold = true
- local Kill = Instance.new("TextButton",Frame)
- Kill.BackgroundColor3 = Color3.fromRGB(97, 97, 97)
- Kill.Position = UDim2.new(0.522, 0,0.401, 0)
- Kill.Size = UDim2.new(0, 164,0, 41)
- Kill.Text = "Kill"
- Kill.BorderSizePixel = 0
- Kill.TextColor3 = Color3.fromRGB(255,255,255)
- Kill.TextScaled = true
- Kill.FontFace = Font.fromName("Roboto")
- Kill.FontFace.Bold = true
- local Punish = Instance.new("TextButton",Frame)
- Punish.BackgroundColor3 = Color3.fromRGB(97, 97, 97)
- Punish.Position = UDim2.new(0, 0,0.575, 0)
- Punish.Size = UDim2.new(0, 164,0, 41)
- Punish.Text = "Punish"
- Punish.BorderSizePixel = 0
- Punish.TextColor3 = Color3.fromRGB(255,255,255)
- Punish.TextScaled = true
- Punish.FontFace = Font.fromName("Roboto")
- Punish.FontFace.Bold = true
- local RemBase = Instance.new("TextButton",Frame)
- RemBase.BackgroundColor3 = Color3.fromRGB(97, 97, 97)
- RemBase.Position = UDim2.new(0, 0,0.226, 0)
- RemBase.Size = UDim2.new(0, 164,0, 41)
- RemBase.Text = "RemoveMap"
- RemBase.BorderSizePixel = 0
- RemBase.TextColor3 = Color3.fromRGB(255,255,255)
- RemBase.TextScaled = true
- RemBase.FontFace = Font.fromName("Roboto")
- RemBase.FontFace.Bold = true
- local RemFace = Instance.new("TextButton",Frame)
- RemFace.BackgroundColor3 = Color3.fromRGB(97, 97, 97)
- RemFace.Position = UDim2.new(0,0,0.401, 0)
- RemFace.Size = UDim2.new(0, 164,0, 41)
- RemFace.Text = "RemoveFace"
- RemFace.BorderSizePixel = 0
- RemFace.TextColor3 = Color3.fromRGB(255,255,255)
- RemFace.TextScaled = true
- RemFace.FontFace = Font.fromName("Roboto")
- RemFace.FontFace.Bold = true
- local TextBox = Instance.new("TextBox",Frame)
- TextBox.PlaceholderColor3 = Color3.fromRGB(178, 178, 178)
- TextBox.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
- TextBox.Position = UDim2.new(0.23, 0,0.88, 0)
- TextBox.Size = UDim2.new(0, 200,0, 50)
- TextBox.PlaceholderText = "PlayersName"
- TextBox.Text = "PlayersName"
- TextBox.BorderSizePixel = 0
- TextBox.TextColor3 = Color3.fromRGB(108, 151, 177)
- TextBox.TextScaled = true
- TextBox.FontFace = Font.fromName("Roboto")
- TextBox.FontFace.Bold = true
- local Title = Instance.new("TextButton",Frame)
- Title.BackgroundColor3 = Color3.fromRGB(85, 85, 85)
- Title.Position = UDim2.new(0,0,0,0)
- Title.Size = UDim2.new(0, 370,0, 50)
- Title.Text = "Nalxed on top"
- Title.BorderSizePixel = 0
- Title.TextColor3 = Color3.fromRGB(255,255,255)
- Title.TextScaled = true
- Title.FontFace = Font.fromName("Roboto")
- Title.FontFace.Bold = true
- local KickAll = Instance.new("TextButton",Frame)
- KickAll.BackgroundColor3 = Color3.fromRGB(97, 97, 97)
- KickAll.Position = UDim2.new(0.522, 0,0.575, 0)
- KickAll.Size = UDim2.new(0, 164,0, 41)
- KickAll.Text = "Kick ALL"
- KickAll.BorderSizePixel = 0
- KickAll.TextColor3 = Color3.fromRGB(255,255,255)
- KickAll.TextScaled = true
- KickAll.FontFace = Font.fromName("Roboto")
- KickAll.FontFace.Bold = true
- function Destroy(part)
- spawn(function()
- if game:GetService("ReplicatedStorage"):FindFirstChild("CarRemove") then
- game:GetService("ReplicatedStorage").CarRemove:FireServer(part)
- else if game:GetService("ReplicatedStorage"):FindFirstChild("RemoveCar") then
- game:GetService("ReplicatedStorage").RemoveCar:FireServer(part)
- elseif game:GetService("ReplicatedStorage"):FindFirstChild("DeleteCar") then
- game:GetService("ReplicatedStorage").DeleteCar:FireServer(part)
- end
- end
- end)
- end
- Players = game:GetService("Players")
- RemBase.MouseButton1Click:Connect(function()
- for i,v in pairs(game:GetService("Workspace"):GetChildren()) do
- Destroy(v)
- end
- end)
- local target = TextBox.Text
- RemFace.MouseButton1Click:Connect(function()
- local target = TextBox.Text
- local player = game.Players:FindFirstChild(target)
- if player then
- local character = player.Character
- if character then
- local head = character:FindFirstChild("Head")
- if head then
- local face = head:FindFirstChildOfClass("Decal")
- if face then
- Destroy(face)
- else
- warn("Face not found for player: " .. target)
- end
- else
- warn("Head not found for player: " .. target)
- end
- else
- warn("Character not found for player: " .. target)
- end
- else
- warn("Player not found: " .. target)
- end
- end)
- Kick.MouseButton1Click:Connect(function()
- local target = TextBox.Text
- local player = game.Players:FindFirstChild(target)
- if player then
- Destroy(player)
- else
- warn("Player not found: " .. target)
- end
- end)
- Kill.MouseButton1Click:Connect(function()
- local target = TextBox.Text
- local player = game.Players:FindFirstChild(target)
- if player then
- local character = player.Character
- character.Humanoid.Health = 0
- end
- end)
- Punish.MouseButton1Click:Connect(function()
- local target = TextBox.Text
- local player = game.Players:FindFirstChild(target)
- if player then
- local character = player.Character
- Destroy(character.HumanoidRootPart)
- end
- end)
- KickAll.MouseButton1Click:Connect(function()
- local localPlayer = game.Players.LocalPlayer
- for _, player in pairs(game.Players:GetPlayers()) do
- if player ~= localPlayer then
- Destroy(player)
- end
- end
- end)
- local UIS = game:GetService('UserInputService')
- local frame = Frame
- local dragToggle = nil
- local dragSpeed = 0.25
- local dragStart = nil
- local startPos = nil
- local function updateInput(input)
- local delta = input.Position - dragStart
- local position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X,
- startPos.Y.Scale, startPos.Y.Offset + delta.Y)
- game:GetService('TweenService'):Create(frame, TweenInfo.new(dragSpeed), {Position = position}):Play()
- end
- frame.InputBegan:Connect(function(input)
- if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) then
- dragToggle = true
- dragStart = input.Position
- startPos = frame.Position
- input.Changed:Connect(function()
- if input.UserInputState == Enum.UserInputState.End then
- dragToggle = false
- end
- end)
- end
- end)
- UIS.InputChanged:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
- if dragToggle then
- updateInput(input)
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement