
Key Required
Give a knife
Lua Script•117 lines (3476 chars)
local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local player = Players.LocalPlayer
local gui = Instance.new("ScreenGui")
gui.Name = "by 1w69"
gui.ResetOnSpawn = false
gui.Parent = player.PlayerGui
local main = Instance.new("Frame")
main.Size = UDim2.new(0, 250, 0, 130)
main.Position = UDim2.new(0.5, -125, 0.5, -65)
main.BackgroundColor3 = Color3.fromRGB(15, 15, 25)
main.BorderSizePixel = 0
main.Active = true
main.Draggable = true
main.Parent = gui
local corner = Instance.new("UICorner")
corner.CornerRadius = UDim.new(0, 12)
corner.Parent = main
local stroke = Instance.new("UIStroke")
stroke.Color = Color3.fromRGB(0, 200, 255)
stroke.Thickness = 2
stroke.Parent = main
local title = Instance.new("TextLabel")
title.Text = "🔪 by 1w69 🔪"
title.Size = UDim2.new(1, 0, 0, 40)
title.BackgroundColor3 = Color3.fromRGB(25, 35, 55)
title.TextColor3 = Color3.fromRGB(0, 255, 255)
title.Font = Enum.Font.GothamBold
title.TextSize = 18
title.Parent = main
local titleCorner = Instance.new("UICorner")
titleCorner.CornerRadius = UDim.new(0, 12, 0, 0)
titleCorner.Parent = title
local closeBtn = Instance.new("TextButton")
closeBtn.Text = "X"
closeBtn.Size = UDim2.new(0, 30, 0, 30)
closeBtn.Position = UDim2.new(1, -35, 0, 5)
closeBtn.BackgroundColor3 = Color3.fromRGB(255, 60, 60)
closeBtn.TextColor3 = Color3.new(1, 1, 1)
closeBtn.Font = Enum.Font.GothamBlack
closeBtn.TextSize = 18
closeBtn.Parent = title
local content = Instance.new("Frame")
content.Size = UDim2.new(1, -20, 0, 70)
content.Position = UDim2.new(0, 10, 0, 50)
content.BackgroundTransparency = 1
content.Parent = main
local function createButton(text, yPos, color)
local btn = Instance.new("TextButton")
btn.Text = text
btn.Size = UDim2.new(1, 0, 0, 45)
btn.Position = UDim2.new(0, 0, 0, yPos)
btn.BackgroundColor3 = color
btn.TextColor3 = Color3.new(1, 1, 1)
btn.Font = Enum.Font.GothamBold
btn.TextSize = 14
btn.Parent = content
local btnCorner = Instance.new("UICorner")
btnCorner.CornerRadius = UDim.new(0, 8)
btnCorner.Parent = btn
return btn
end
local giveWeaponBtn = createButton("Get Knife", 0, Color3.fromRGB(50, 150, 255))
local status = Instance.new("TextLabel")
status.Text = "Status: Ready"
status.Size = UDim2.new(1, -20, 0, 25)
status.Position = UDim2.new(0, 10, 1, -30)
status.BackgroundTransparency = 1
status.TextColor3 = Color3.fromRGB(180, 180, 255)
status.Font = Enum.Font.GothamMedium
status.TextSize = 12
status.TextXAlignment = Enum.TextXAlignment.Left
status.Parent = main
local function giveWeapon()
local giveKnifeEvent = ReplicatedStorage:FindFirstChild("GiveKnife")
if giveKnifeEvent then
if giveKnifeEvent:IsA("RemoteEvent") then
giveKnifeEvent:FireServer()
status.Text = "Knife Given ✓"
elseif giveKnifeEvent:IsA("RemoteFunction") then
giveKnifeEvent:InvokeServer()
status.Text = "Knife Given ✓"
else
status.Text = "Error: Invalid type"
end
else
status.Text = "Error: GiveKnife not found"
end
end
giveWeaponBtn.MouseButton1Click:Connect(giveWeapon)
closeBtn.MouseButton1Click:Connect(function()
gui:Destroy()
end)
closeBtn.MouseEnter:Connect(function()
closeBtn.BackgroundColor3 = Color3.fromRGB(255, 100, 100)
end)
closeBtn.MouseLeave:Connect(function()
closeBtn.BackgroundColor3 = Color3.fromRGB(255, 60, 60)
end)Features & Information
Give a knife
اخذ سكين
Community Comments (0)
No comments yet for this script.
