your best friend(s) BOB
Key RequiredUniversal

your best friend(s) BOB

Universal ScriptDealerDealer 5.6K views 30 executesUpdated Feb 11, 2025
Unrated
00
Lua Script•51 lines (2108 chars)
local Players = game:GetService("Players")
local TweenService = game:GetService("TweenService")
local player = Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoidRootPart = character:WaitForChild("HumanoidRootPart")
local imageId = "rbxthumb://type=Asset&id=16538409348&w=150&h=150"
local function createDecal()
    local decalPart = Instance.new("Part")
    decalPart.Size = Vector3.new(5, 5, 0.1)
    decalPart.Anchored = true
    decalPart.CanCollide = false
    decalPart.Transparency = 1 
    decalPart.Parent = workspace
    local surfaceGuiFront = Instance.new("SurfaceGui", decalPart)
    surfaceGuiFront.Face = Enum.NormalId.Front
    surfaceGuiFront.Adornee = decalPart
    local imageLabelFront = Instance.new("ImageLabel", surfaceGuiFront)
    imageLabelFront.Size = UDim2.new(1, 0, 1, 0)
    imageLabelFront.Image = imageId
    imageLabelFront.BackgroundTransparency = 1
    local surfaceGuiBack = Instance.new("SurfaceGui", decalPart)
    surfaceGuiBack.Face = Enum.NormalId.Back
    surfaceGuiBack.Adornee = decalPart
    local imageLabelBack = Instance.new("ImageLabel", surfaceGuiBack)
    imageLabelBack.Size = UDim2.new(1, 0, 1, 0)
    imageLabelBack.Image = imageId
    imageLabelBack.BackgroundTransparency = 1
    return decalPart
end
local function moveDecal(decalPart)
    while true do
        local radius = math.random(10, 20)
        local angle = math.random(0, 360)
        local randomDirection = math.random(0, 1) < 0.5 and 1 or -1
        local newPosition = humanoidRootPart.Position + Vector3.new(
            radius * math.cos(math.rad(angle)) * randomDirection,
            0,
            radius * math.sin(math.rad(angle)) * randomDirection
        )
        local tweenInfo = TweenInfo.new(.8, Enum.EasingStyle.Linear)
        local goal = {Position = newPosition}
        local tween = TweenService:Create(decalPart, tweenInfo, goal)
        tween:Play()
        tween.Completed:Wait()
        task.wait(math.random(0.01, 2))
    end
end
for i = 1, 5 do
    local decalPart = createDecal()
    moveDecal(decalPart)
end

Features & Information

Made it for fun. This script isn't serious so that's why i made it by using ai { I FIXED A LOT OF BUGS SO APPARENTLY I DID SOME WORK TOO } Have fun with your new pals

Community Comments (3)

PrimeraEspadaPrimeraEspadaFeb 11, 2025(edited)

FE?

DealerDealerFeb 13, 2025(edited)

no

PostKingPostKingFeb 19, 2025(edited)

yo dealer can we work together my dc is: waylontheevident add me and dm me saying you asked to work you'll get a cut of profit i make from scripts since theres gonna be four of us 4/100 is ima say %20 since i get %40 for luarmor ect

More Scripts for Universal Scripts