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.Name == "Collectable" 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)
- BillboardGui.Adornee = v.Base
- TextLabel.Parent = BillboardGui
- TextLabel.BackgroundColor3 = Color3.new(245, 205, 48)
- TextLabel.BackgroundTransparency = 1
- TextLabel.Size = UDim2.new(0.5, 0, 0.5, 0)
- TextLabel.Text = "Collectable"
- TextLabel.TextColor3 = Color3.new(128, 0, 255)
- TextLabel.TextScaled = true
- end
- end
- for i,v in pairs(game.Workspace:GetDescendants()) do
- if v.Name == "TraitorEvidence" 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)
- BillboardGui.Adornee = v.Base
- TextLabel.Parent = BillboardGui
- TextLabel.BackgroundColor3 = Color3.new(245, 205, 48)
- TextLabel.BackgroundTransparency = 1
- TextLabel.Size = UDim2.new(0.5, 0, 0.5, 0)
- TextLabel.Text = "Trace"
- TextLabel.TextColor3 = Color3.new(148, 0, 255)
- TextLabel.TextScaled = true
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement