Advertisement
M0nkePr0

Untitled

Jul 3rd, 2022 (edited)
394
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.79 KB | None | 0 0
  1.         for __,v in pairs(game.workspace.Idols:GetDescendants()) do -- the path
  2.             if v.Name == "Bag" then -- the item
  3.                 local a = Instance.new("BillboardGui",v) -- pretty much explains everything
  4.                 a.Size = UDim2.new(3,0,1.5,2)
  5.                 a.AlwaysOnTop = true
  6.                 local b = Instance.new("Frame",a)
  7.                 b.Size = UDim2.new(1,0,1,0)
  8.                 b.BackgroundTransparency = 1
  9.                 b.BorderSizePixel = 0
  10.                 local c = Instance.new('TextLabel',b)
  11.                 c.TextColor3 = Color3.fromRGB(255, 88,60)
  12.                 c.Size = UDim2.new(1,0,1,1)
  13.                 c.BorderSizePixel = 0
  14.                 c.TextSize = 20
  15.                 c.Text = v.Name
  16.                 c.BackgroundTransparency = 10 -- higher value = lower transparency and lower value = higher transparency
  17.                 c.Font = Enum.Font.GothamBold -- font https://developer.roblox.com/en-us/api-reference/enum/Font
  18.             end
  19.         end
  20.     end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement