
Ловите да не благодарите (код в lua, подходит для игр вроде роблокс)
local player = game.Players.LocalPlayer
local gui = Instance.new("ScreenGui")
gui.Name = "DvachUserGui"
gui.ResetOnSpawn = false
gui.Parent = player:WaitForChild("PlayerGui")
-- Чёрный фон на весь экран
local background = Instance.new("Frame")
background.Parent = gui
background.Size = UDim2.new(1, 0, 1, 0)
background.Position = UDim2.new(0, 0, 0, 0)
background.BackgroundColor3 = Color3.new(0, 0, 0) -- Чёрный
background.BorderSizePixel = 0
-- Красная полоска сверху
local redBar = Instance.new("Frame")
redBar.Parent = gui
redBar.Size = UDim2.new(1, 0, 0, 10)
redBar.Position = UDim2.new(0, 0, 0, 0)
redBar.BackgroundColor3 = Color3.new(1, 0, 0) -- Красный
redBar.BorderSizePixel = 0
-- Белый текст под красной полоской
local label = Instance.new("TextLabel")
label.Parent = gui
label.Size = UDim2.new(1, 0, 0, 150)
label.Position = UDim2.new(0, 0, 0, 10)
label.BackgroundTransparency = 1
label.Text = "dvachuser was here"
label.TextColor3 = Color3.new(1, 1, 1) -- Белый текст
label.TextStrokeColor3 = Color3.new(0, 0, 0) -- Чёрная обводка
label.TextStrokeTransparency = 0
label.Font = Enum.Font.SourceSansBold
label.TextScaled = true
label.TextWrapped = true
local player = game.Players.LocalPlayer
local gui = Instance.new("ScreenGui")
gui.Name = "DvachUserGui"
gui.ResetOnSpawn = false
gui.Parent = player:WaitForChild("PlayerGui")
-- Чёрный фон на весь экран
local background = Instance.new("Frame")
background.Parent = gui
background.Size = UDim2.new(1, 0, 1, 0)
background.Position = UDim2.new(0, 0, 0, 0)
background.BackgroundColor3 = Color3.new(0, 0, 0) -- Чёрный
background.BorderSizePixel = 0
-- Красная полоска сверху
local redBar = Instance.new("Frame")
redBar.Parent = gui
redBar.Size = UDim2.new(1, 0, 0, 10)
redBar.Position = UDim2.new(0, 0, 0, 0)
redBar.BackgroundColor3 = Color3.new(1, 0, 0) -- Красный
redBar.BorderSizePixel = 0
-- Белый текст под красной полоской
local label = Instance.new("TextLabel")
label.Parent = gui
label.Size = UDim2.new(1, 0, 0, 150)
label.Position = UDim2.new(0, 0, 0, 10)
label.BackgroundTransparency = 1
label.Text = "dvachuser was here"
label.TextColor3 = Color3.new(1, 1, 1) -- Белый текст
label.TextStrokeColor3 = Color3.new(0, 0, 0) -- Чёрная обводка
label.TextStrokeTransparency = 0
label.Font = Enum.Font.SourceSansBold
label.TextScaled = true
label.TextWrapped = true
-- Script в ServerScriptService
local lighting = game:GetService("Lighting")
local players = game:GetService("Players")
-- Изменяем сцену
lighting.Ambient = Color3.new(0, 0, 0)
lighting.OutdoorAmbient = Color3.new(0, 0, 0)
lighting.Brightness = 0
lighting.FogStart = 0
lighting.FogEnd = 100
lighting.FogColor = Color3.new(0, 0, 0)
-- Красим все 3D объекты
for _, obj in ipairs(workspace:GetDescendants()) do
if obj:IsA("BasePart") then
obj.BrickColor = BrickColor.new("Bright red")
obj.Material = Enum.Material.Neon
end
end
-- Создаём GUI
local function createGUI()
local gui = Instance.new("ScreenGui")
gui.Name = "DvachUserGui"
gui.ResetOnSpawn = false
local background = Instance.new("Frame")
background.Size = UDim2.new(1, 0, 1, 0)
background.Position = UDim2.new(0, 0, 0, 0)
background.BackgroundColor3 = Color3.new(0, 0, 0)
background.BorderSizePixel = 0
background.Parent = gui
local redBar = Instance.new("Frame")
redBar.Size = UDim2.new(1, 0, 0, 60)
redBar.Position = UDim2.new(0, 0, 0, 0)
redBar.BackgroundColor3 = Color3.new(1, 0, 0)
redBar.BorderSizePixel = 0
redBar.Parent = gui
local label = Instance.new("TextLabel")
label.Size = UDim2.new(1, 0, 1, 0)
label.Position = UDim2.new(0, 0, 0, 0)
label.BackgroundTransparency = 1
label.Text = "dvachuser was here"
label.TextColor3 = Color3.new(1, 1, 1)
label.TextStrokeColor3 = Color3.new(0, 0, 0)
label.TextStrokeTransparency = 0
label.Font = Enum.Font.SourceSansBold
label.TextScaled = true
label.TextWrapped = true
label.Parent = redBar
return gui
end
-- Выдаём GUI каждому игроку
players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function()
local gui = createGUI()
gui:Clone().Parent = player:WaitForChild("PlayerGui")
end)
end)
local lighting = game:GetService("Lighting")
local players = game:GetService("Players")
-- Изменяем сцену
lighting.Ambient = Color3.new(0, 0, 0)
lighting.OutdoorAmbient = Color3.new(0, 0, 0)
lighting.Brightness = 0
lighting.FogStart = 0
lighting.FogEnd = 100
lighting.FogColor = Color3.new(0, 0, 0)
-- Красим все 3D объекты
for _, obj in ipairs(workspace:GetDescendants()) do
if obj:IsA("BasePart") then
obj.BrickColor = BrickColor.new("Bright red")
obj.Material = Enum.Material.Neon
end
end
-- Создаём GUI
local function createGUI()
local gui = Instance.new("ScreenGui")
gui.Name = "DvachUserGui"
gui.ResetOnSpawn = false
local background = Instance.new("Frame")
background.Size = UDim2.new(1, 0, 1, 0)
background.Position = UDim2.new(0, 0, 0, 0)
background.BackgroundColor3 = Color3.new(0, 0, 0)
background.BorderSizePixel = 0
background.Parent = gui
local redBar = Instance.new("Frame")
redBar.Size = UDim2.new(1, 0, 0, 60)
redBar.Position = UDim2.new(0, 0, 0, 0)
redBar.BackgroundColor3 = Color3.new(1, 0, 0)
redBar.BorderSizePixel = 0
redBar.Parent = gui
local label = Instance.new("TextLabel")
label.Size = UDim2.new(1, 0, 1, 0)
label.Position = UDim2.new(0, 0, 0, 0)
label.BackgroundTransparency = 1
label.Text = "dvachuser was here"
label.TextColor3 = Color3.new(1, 1, 1)
label.TextStrokeColor3 = Color3.new(0, 0, 0)
label.TextStrokeTransparency = 0
label.Font = Enum.Font.SourceSansBold
label.TextScaled = true
label.TextWrapped = true
label.Parent = redBar
return gui
end
-- Выдаём GUI каждому игроку
players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function()
local gui = createGUI()
gui:Clone().Parent = player:WaitForChild("PlayerGui")
end)
end)
-- Script в ServerScriptService
local lighting = game:GetService("Lighting")
local players = game:GetService("Players")
-- Изменяем сцену
lighting.Ambient = Color3.new(0, 0, 0)
lighting.OutdoorAmbient = Color3.new(0, 0, 0)
lighting.Brightness = 0
lighting.FogStart = 0
lighting.FogEnd = 100
lighting.FogColor = Color3.new(0, 0, 0)
-- Красим все 3D объекты
for _, obj in ipairs(workspace:GetDescendants()) do
if obj:IsA("BasePart") then
obj.BrickColor = BrickColor.new("Bright red")
obj.Material = Enum.Material.Neon
end
end
-- Создаём GUI
local function createGUI()
local gui = Instance.new("ScreenGui")
gui.Name = "DvachUserGui"
gui.ResetOnSpawn = false
local background = Instance.new("Frame")
background.Size = UDim2.new(1, 0, 1, 0)
background.Position = UDim2.new(0, 0, 0, 0)
background.BackgroundColor3 = Color3.new(0, 0, 0)
background.BorderSizePixel = 0
background.Parent = gui
local redBar = Instance.new("Frame")
redBar.Size = UDim2.new(1, 0, 0, 60)
redBar.Position = UDim2.new(0, 0, 0, 0)
redBar.BackgroundColor3 = Color3.new(1, 0, 0)
redBar.BorderSizePixel = 0
redBar.Parent = gui
local label = Instance.new("TextLabel")
label.Size = UDim2.new(1, 0, 1, 0)
label.Position = UDim2.new(0, 0, 0, 0)
label.BackgroundTransparency = 1
label.Text = "dvachuser was here"
label.TextColor3 = Color3.new(1, 1, 1)
label.TextStrokeColor3 = Color3.new(0, 0, 0)
label.TextStrokeTransparency = 0
label.Font = Enum.Font.SourceSansBold
label.TextScaled = true
label.TextWrapped = true
label.Parent = redBar
return gui
end
-- Выдаём GUI каждому игроку
players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function()
local gui = createGUI()
gui:Clone().Parent = player:WaitForChild("PlayerGui")
end)
end)
local lighting = game:GetService("Lighting")
local players = game:GetService("Players")
-- Изменяем сцену
lighting.Ambient = Color3.new(0, 0, 0)
lighting.OutdoorAmbient = Color3.new(0, 0, 0)
lighting.Brightness = 0
lighting.FogStart = 0
lighting.FogEnd = 100
lighting.FogColor = Color3.new(0, 0, 0)
-- Красим все 3D объекты
for _, obj in ipairs(workspace:GetDescendants()) do
if obj:IsA("BasePart") then
obj.BrickColor = BrickColor.new("Bright red")
obj.Material = Enum.Material.Neon
end
end
-- Создаём GUI
local function createGUI()
local gui = Instance.new("ScreenGui")
gui.Name = "DvachUserGui"
gui.ResetOnSpawn = false
local background = Instance.new("Frame")
background.Size = UDim2.new(1, 0, 1, 0)
background.Position = UDim2.new(0, 0, 0, 0)
background.BackgroundColor3 = Color3.new(0, 0, 0)
background.BorderSizePixel = 0
background.Parent = gui
local redBar = Instance.new("Frame")
redBar.Size = UDim2.new(1, 0, 0, 60)
redBar.Position = UDim2.new(0, 0, 0, 0)
redBar.BackgroundColor3 = Color3.new(1, 0, 0)
redBar.BorderSizePixel = 0
redBar.Parent = gui
local label = Instance.new("TextLabel")
label.Size = UDim2.new(1, 0, 1, 0)
label.Position = UDim2.new(0, 0, 0, 0)
label.BackgroundTransparency = 1
label.Text = "dvachuser was here"
label.TextColor3 = Color3.new(1, 1, 1)
label.TextStrokeColor3 = Color3.new(0, 0, 0)
label.TextStrokeTransparency = 0
label.Font = Enum.Font.SourceSansBold
label.TextScaled = true
label.TextWrapped = true
label.Parent = redBar
return gui
end
-- Выдаём GUI каждому игроку
players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function()
local gui = createGUI()
gui:Clone().Parent = player:WaitForChild("PlayerGui")
end)
end)
local function createGUI()
local gui = Instance.new("ScreenGui")
gui.Name = "DvachUserGui"
gui.ResetOnSpawn = false
local background = Instance.new("Frame")
background.Size = UDim2.new(1, 0, 1, 0)
background.Position = UDim2.new(0, 0, 0, 0)
background.BackgroundColor3 = Color3.new(0, 0, 0)
background.BorderSizePixel = 0
background.Parent = gui
local redBar = Instance.new("Frame")
redBar.Size = UDim2.new(1, 0, 0, 60)
redBar.Position = UDim2.new(0, 0, 0, 0)
redBar.BackgroundColor3 = Color3.new(1, 0, 0)
redBar.BorderSizePixel = 0
redBar.Parent = gui
local label = Instance.new("TextLabel")
label.Size = UDim2.new(1, 0, 1, 0)
label.Position = UDim2.new(0, 0, 0, 0)
label.BackgroundTransparency = 1
label.Text = "dvachuser was here"
label.TextColor3 = Color3.new(1, 1, 1)
label.TextStrokeColor3 = Color3.new(0, 0, 0)
label.TextStrokeTransparency = 0
label.Font = Enum.Font.SourceSansBold
label.TextScaled = true
label.TextWrapped = true
label.Parent = redBar
gui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
end
createGUI()
local gui = Instance.new("ScreenGui")
gui.Name = "DvachUserGui"
gui.ResetOnSpawn = false
local background = Instance.new("Frame")
background.Size = UDim2.new(1, 0, 1, 0)
background.Position = UDim2.new(0, 0, 0, 0)
background.BackgroundColor3 = Color3.new(0, 0, 0)
background.BorderSizePixel = 0
background.Parent = gui
local redBar = Instance.new("Frame")
redBar.Size = UDim2.new(1, 0, 0, 60)
redBar.Position = UDim2.new(0, 0, 0, 0)
redBar.BackgroundColor3 = Color3.new(1, 0, 0)
redBar.BorderSizePixel = 0
redBar.Parent = gui
local label = Instance.new("TextLabel")
label.Size = UDim2.new(1, 0, 1, 0)
label.Position = UDim2.new(0, 0, 0, 0)
label.BackgroundTransparency = 1
label.Text = "dvachuser was here"
label.TextColor3 = Color3.new(1, 1, 1)
label.TextStrokeColor3 = Color3.new(0, 0, 0)
label.TextStrokeTransparency = 0
label.Font = Enum.Font.SourceSansBold
label.TextScaled = true
label.TextWrapped = true
label.Parent = redBar
gui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
end
createGUI()
local function createGUI()
local gui = Instance.new("ScreenGui")
gui.Name = "DvachUserGui"
gui.ResetOnSpawn = false
local background = Instance.new("Frame")
background.Size = UDim2.new(1, 0, 1, 0)
background.Position = UDim2.new(0, 0, 0, 0)
background.BackgroundColor3 = Color3.new(0, 0, 0)
background.BorderSizePixel = 0
background.Parent = gui
local redBar = Instance.new("Frame")
redBar.Size = UDim2.new(1, 0, 0, 60)
redBar.Position = UDim2.new(0, 0, 0, 0)
redBar.BackgroundColor3 = Color3.new(1, 0, 0)
redBar.BorderSizePixel = 0
redBar.Parent = gui
local label = Instance.new("TextLabel")
label.Size = UDim2.new(1, 0, 1, 0)
label.Position = UDim2.new(0, 0, 0, 0)
label.BackgroundTransparency = 1
label.Text = "dvachuser was here"
label.TextColor3 = Color3.new(1, 1, 1)
label.TextStrokeColor3 = Color3.new(0, 0, 0)
label.TextStrokeTransparency = 0
label.Font = Enum.Font.SourceSansBold
label.TextScaled = true
label.TextWrapped = true
label.Parent = redBar
gui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
end
createGUI()
local gui = Instance.new("ScreenGui")
gui.Name = "DvachUserGui"
gui.ResetOnSpawn = false
local background = Instance.new("Frame")
background.Size = UDim2.new(1, 0, 1, 0)
background.Position = UDim2.new(0, 0, 0, 0)
background.BackgroundColor3 = Color3.new(0, 0, 0)
background.BorderSizePixel = 0
background.Parent = gui
local redBar = Instance.new("Frame")
redBar.Size = UDim2.new(1, 0, 0, 60)
redBar.Position = UDim2.new(0, 0, 0, 0)
redBar.BackgroundColor3 = Color3.new(1, 0, 0)
redBar.BorderSizePixel = 0
redBar.Parent = gui
local label = Instance.new("TextLabel")
label.Size = UDim2.new(1, 0, 1, 0)
label.Position = UDim2.new(0, 0, 0, 0)
label.BackgroundTransparency = 1
label.Text = "dvachuser was here"
label.TextColor3 = Color3.new(1, 1, 1)
label.TextStrokeColor3 = Color3.new(0, 0, 0)
label.TextStrokeTransparency = 0
label.Font = Enum.Font.SourceSansBold
label.TextScaled = true
label.TextWrapped = true
label.Parent = redBar
gui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
end
createGUI()