Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
- frame = Instance.new("Frame", x)
- frame.Size = UDim2.new(0, 200,0, 100)
- frame.Position = UDim2.new(0, 0,0, 350)
- frame.Active = true
- frame.Draggable = true
- frame.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
- frame.BorderSizePixel = 0
- text = Instance.new("TextLabel", frame)
- text.Position = UDim2.new(0, 0,0, 0)
- text.Size = UDim2.new(0, 200,0, 40)
- text.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- text.BorderSizePixel = 1
- text.BorderColor3 = Color3.fromRGB(255, 0, 0)
- text.TextSize = 28
- text.TextWrapped = true
- text.FontSize = "Size28"
- text.Text = "This Player Has Knife"
- text.Font = "SciFi"
- text.TextColor3 = Color3.fromRGB(255,0,0)
- text.TextScaled = true
- players = Instance.new("TextLabel", frame)
- players.Position = UDim2.new(0, 0,0, 50)
- players.Size = UDim2.new(0, 200,0, 40)
- players.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- players.BorderSizePixel = 1
- players.BorderColor3 = Color3.fromRGB(255, 0, 0)
- players.TextSize = 15
- players.TextWrapped = true
- players.FontSize = "Size18"
- players.Text = ""
- players.TextColor3 = Color3.fromRGB(255,0,0)
- players.TextScaled = true
- while true do
- wait(5)
- for i, player in pairs(game.Players:GetChildren()) do
- for i, pack in pairs(player.Backpack:GetChildren()) do
- if pack.Name == "Knife" then
- players.Text = pack.Parent.Parent.Name
- end
- end
- end
- end
Add Comment
Please, Sign In to add comment