Advertisement
Guest User

Untitled

a guest
Mar 20th, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. for i,v in pairs(game.Workspace:GetDescendants()) do
  2. if v.ClassName == "Tool" then
  3. local BillboardGui = Instance.new("BillboardGui")
  4. local TextLabel = Instance.new("TextLabel")
  5.  
  6. BillboardGui.Parent = v.Parent
  7. BillboardGui.AlwaysOnTop = true
  8. BillboardGui.LightInfluence = 1
  9. BillboardGui.Size = UDim2.new(0, 100, 0, 100)
  10. BillboardGui.StudsOffset = Vector3.new(0, 2, 0)
  11.  
  12. TextLabel.Parent = BillboardGui
  13. TextLabel.BackgroundColor3 = Color3.new(245, 205, 48)
  14. TextLabel.BackgroundTransparency = 1
  15. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  16. TextLabel.Text = "Arrow or Fruit or Book"
  17. TextLabel.TextColor3 = Color3.new(245, 205, 48)
  18. TextLabel.TextScaled = true
  19. end
  20. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement