fufunny1

steve's one piece script Xray chest

Nov 13th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. for i,v in pairs(game.Workspace:GetDescendants()) do
  2. if v.ClassName == "UnionOperation" then
  3. if v.Parent.ClassName == "Part" and v.Parent.Parent.ClassName == "Folder" then
  4. local BillboardGui = Instance.new("BillboardGui")
  5. local TextLabel = Instance.new("TextLabel")
  6.  
  7. BillboardGui.Parent = v
  8. BillboardGui.AlwaysOnTop = true
  9. BillboardGui.LightInfluence = 1
  10. BillboardGui.Size = UDim2.new(0, 50, 0, 50)
  11. BillboardGui.StudsOffset = Vector3.new(0, 2, 0)
  12.  
  13. TextLabel.Parent = BillboardGui
  14. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  15. TextLabel.BackgroundTransparency = 1
  16. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  17. TextLabel.Text = "X"
  18. TextLabel.TextColor3 = Color3.new(1, 0, 0)
  19. TextLabel.TextScaled = true
  20. end
  21. end
  22. end
Add Comment
Please, Sign In to add comment