Advertisement
RandomNewbieScripter

Untitled

Jul 25th, 2017
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. local parts = {}
  2. function scan(p)
  3. for _,target in pairs(p:GetChildren()) do
  4. if target:IsA("BasePart") then
  5. local bb = Instance.new("BillboardGui", target)
  6. bb.Size = UDim2.new(50,0 , 25,0)
  7. bb.AlwaysOnTop = true
  8. local randomtext = {
  9. "black niggers",
  10. "kfc watermelon",
  11. "niggers"
  12. }
  13. local label = Instance.new("TextLabel", bb)
  14. label.Size = UDim2.new(1,0 , 1,0)
  15. label.TextScaled = true
  16. label.TextWrapped = true
  17. label.BackgroundTransparency = 1
  18. local brickcolor = BrickColor.new("Really red")
  19. label.TextColor3 = brickcolor.Color
  20. label.Font = "ArialBold"
  21. label.TextSize = 100
  22. local chosentext = randomtext[math.random(1, #randomtext)]
  23. label.Text = chosentext
  24. end
  25. scan(target)
  26. end
  27. end
  28. scan(game.Workspace)
  29. --print(#parts .. (#parts == 1 and " brick " or " bricks ") .. "counted")
  30. parts = {}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement