Item ESP Sols RNG Script
Roblox Scripts is what Roblox players and coders use to build interactive games. To be more specific, players use Lua scripts a popular scripting and programming language.
Instruction
1.Open Roblox And Start Playing 2.Click The Blue Circle To Copy The Script Code 3.Paste The Script Code Into Your Executor 4.Then Execute The Script Code 5.Enjoy
Script Code
--[Open source] local player = game.Players.LocalPlayer local character = player.Character or player.CharacterAdded:Wait() local humanoidRootPart = character:WaitForChild("HumanoidRootPart") local droppedItemsFolder = game.Workspace:WaitForChild("DroppedItems") local lines = {} -- Таблица для хранения линий local function clearLines() for _, line in pairs(lines) do if line then line:Destroy() -- Удаляем старую линию end end lines = {} -- Очищаем таблицу линий end local function drawLineToItem(item) local attachment1 if item:IsA("BasePart") then attachment1 = Instance.new("Attachment", item) elseif item:IsA("Model") then local basePart = item:FindFirstChildWhichIsA("BasePart") if basePart then attachment1 = Instance.new("Attachment", basePart) else return -- Если в Model нет BasePart, пропускаем создание линии end else return -- Если объект не BasePart и не Model, пропускаем создание линии end local attachment0 = Instance.new("Attachment", humanoidRootPart) local line = Instance.new("Beam") line.Attachment0 = attachment0 line.Attachment1 = attachment1 line.Color = ColorSequence.new(Color3.new(1, 0, 0)) -- Красный цвет линии line.FaceCamera = true line.Parent = humanoidRootPart table.insert(lines, line) -- Добавляем линию в таблицу end local function updateLines() while wait(3) do -- Цикл с задержкой в 3 секунды clearLines() for _, item in pairs(droppedItemsFolder:GetDescendants()) do if item:IsA("BasePart") or item:IsA("Model") then drawLineToItem(item) end end end end updateLines()