Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for i,v in pairs(game.Workspace:GetDescendants()) do
- if v.ClassName == "Tool" then
- local BillboardGui = Instance.new("BillboardGui")
- local TextLabel = Instance.new("TextLabel")
- BillboardGui.Parent = v.Parent
- BillboardGui.AlwaysOnTop = true
- BillboardGui.LightInfluence = 1
- BillboardGui.Size = UDim2.new(0, 100, 0, 100)
- BillboardGui.StudsOffset = Vector3.new(0, 2, 0)
- TextLabel.Parent = BillboardGui
- TextLabel.BackgroundColor3 = Color3.new(245, 205, 48)
- TextLabel.BackgroundTransparency = 1
- TextLabel.Size = UDim2.new(1, 0, 1, 0)
- TextLabel.Text = "Arrow or Fruit or Book"
- TextLabel.TextColor3 = Color3.new(245, 205, 48)
- TextLabel.TextScaled = true
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement