local Players = game:GetService("Players") local player = Players.LocalPlayer local character = player.Character or player.CharacterAdded:Wait() local hrp = character:WaitForChild("HumanoidRootPart") local humanoid = character:WaitForChild("Humanoid") local screenGui = Instance.new("ScreenGui") screenGui.Name = "BillboardController" screenGui.Parent = player:WaitForChild("PlayerGui") local idleButton = Instance.new("ImageButton") idleButton.Size = UDim2.new(0, 100, 0, 100) idleButton.Position = UDim2.new(0, 50, 0, 50) idleButton.Image = "rbxassetid://5563198794" idleButton.Parent = screenGui local deleteButton = Instance.new("TextButton") deleteButton.Size = UDim2.new(0, 100, 0, 50) deleteButton.Position = UDim2.new(0, 50, 0, 160) deleteButton.Text = "Delete All" deleteButton.Parent = screenGui local BillboardSize = UDim2.new(62, 0, 62, 0) local StudsOffset = Vector3.new(0, 28.1, 0) local ImageLabelSize = UDim2.new(1, 0, 1, 0) local ImageLabelPosition = UDim2.new(0, 0, 0, 0) local images = { Idle = "rbxassetid://5563198794", Walk1 = "rbxassetid://138441800759661", Walk2 = "rbxassetid://18867835362" } local currentBillboard local currentImageLabel local walkIndex = 1 local function setCharacterTransparency(value) for _, part in pairs(character:GetDescendants()) do if part:IsA("BasePart") and part ~= hrp then part.Transparency = value end end end local function createBillboard() if currentBillboard then currentBillboard:Destroy() end humanoid.JumpPower = 70 humanoid.WalkSpeed = 21 local billboard = Instance.new("BillboardGui") billboard.Size = BillboardSize billboard.StudsOffset = StudsOffset billboard.AlwaysOnTop = false billboard.Parent = hrp local imageLabel = Instance.new("ImageLabel") imageLabel.Size = ImageLabelSize imageLabel.Position = ImageLabelPosition imageLabel.Image = images.Idle imageLabel.BackgroundTransparency = 1 imageLabel.Parent = billboard currentBillboard = billboard currentImageLabel = imageLabel end spawn(function() while true do wait(0.2) if currentImageLabel then if humanoid.MoveDirection.Magnitude > 0 then walkIndex = (walkIndex % 2) + 1 if walkIndex == 1 then currentImageLabel.Image = images.Walk1 else currentImageLabel.Image = images.Walk2 end else currentImageLabel.Image = images.Idle walkIndex = 1 end end end end) idleButton.MouseButton1Click:Connect(createBillboard) deleteButton.MouseButton1Click:Connect(function() if currentBillboard then currentBillboard:Destroy() currentBillboard = nil currentImageLabel = nil end humanoid.JumpPower = 50 humanoid.WalkSpeed = 16 if screenGui then screenGui:Destroy() end end)