
Key Required VerifiedUniversal

local screenGui = Instance.new("ScreenGui")
screenGui.Name = "IsnoneWeaponRemover"
screenGui.ResetOnSpawn = false
screenGui.IgnoreGuiInset = true
screenGui.Parent = game.CoreGui
local mainFrame = Instance.new("Frame")
mainFrame.Size = UDim2.new(0, 300, 0, 150)
mainFrame.Position = UDim2.new(0, 0, 0.5, -75)
mainFrame.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
mainFrame.BorderSizePixel = 0
mainFrame.Parent = screenGui
local titleLabel = Instance.new("TextLabel")
titleLabel.Size = UDim2.new(1, 0, 0, 40)
titleLabel.Position = UDim2.new(0, 0, 0, 0)
titleLabel.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
titleLabel.Text = "isnone weapon remover 2"
titleLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
titleLabel.Font = Enum.Font.SourceSansBold
titleLabel.TextSize = 20
titleLabel.Parent = mainFrame
local weaponTextBox = Instance.new("TextBox")
weaponTextBox.Size = UDim2.new(0.9, 0, 0, 35)
weaponTextBox.Position = UDim2.new(0.05, 0, 0, 55)
weaponTextBox.PlaceholderText = game.Players.LocalPlayer.Name
weaponTextBox.Text = ""
weaponTextBox.TextColor3 = Color3.fromRGB(0, 0, 0)
weaponTextBox.BackgroundColor3 = Color3.fromRGB(230, 230, 230)
weaponTextBox.Font = Enum.Font.SourceSans
weaponTextBox.TextSize = 18
weaponTextBox.ClearTextOnFocus = false
weaponTextBox.Parent = mainFrame
local confirmButton = Instance.new("TextButton")
confirmButton.Size = UDim2.new(0.9, 0, 0, 35)
confirmButton.Position = UDim2.new(0.05, 0, 0, 100)
confirmButton.Text = "Clear Weapon"
confirmButton.TextColor3 = Color3.fromRGB(255, 255, 255)
confirmButton.BackgroundColor3 = Color3.fromRGB(100, 0, 0)
confirmButton.Font = Enum.Font.SourceSansBold
confirmButton.TextSize = 18
confirmButton.Parent = mainFrame
local UserInputService = game:GetService("UserInputService")
local dragging = false
local dragStart = Vector3.new()
local startPos = UDim2.new()
mainFrame.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
dragging = true
dragStart = input.Position
startPos = mainFrame.Position
input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then
dragging = false
end
end)
end
end)
UserInputService.InputChanged:Connect(function(input)
if dragging then
if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
local delta = input.Position - dragStart
mainFrame.Position = UDim2.new(
startPos.X.Scale,
startPos.X.Offset + delta.X,
startPos.Y.Scale,
startPos.Y.Offset + delta.Y
)
end
end
end)
confirmButton.MouseButton1Click:Connect(function()
local inputText = weaponTextBox.Text:lower()
local foundPlayer = nil
for _, player in pairs(game.Players:GetPlayers()) do
if player.Name:lower():sub(1, #inputText) == inputText then
foundPlayer = player.Name
break
end
end
if foundPlayer then
p2 = game.Players[foundPlayer]
for _, tool in ipairs(p2.Backpack:GetChildren()) do
tool:FindFirstChild("ClientEvent"):FireServer("ConfirmDestruction",{})
end
for _, tool2 in ipairs(p2.Character:GetChildren()) do
if tool2:IsA("Tool") then
tool2:FindFirstChild("ClientEvent"):FireServer("ConfirmDestruction",{})
end
end
print("success clear "..foundPlayer.."'s weapon")
else
print("Invalid Player Name")
end
end)
not working
beta ye
why post stuff not working
...
@gabrielnixoncullers did u test that