Upscalefanatic3

Phantom forces XRAY

Jan 26th, 2018
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. --Scripted By: SYKOxXVenomXx
  2. local HideTransparency = 0.75
  3. local MapName = "Map"
  4. local GetMap = game.Workspace:FindFirstChild(MapName):GetChildren()
  5.  
  6. for i=1, #GetMap do
  7. if GetMap[i].ClassName == "Part" or GetMap[i].ClassName == "Union" then
  8. GetMap[i].Transparency = HideTransparency
  9. end
  10. end
  11.  
  12. game.Workspace.ChildAdded:connect(function(Part)
  13. game.Workspace:FindFirstChild(MapName).ChildAdded:connect(function(Part)
  14. if Part.ClassName == "Part" or Part.ClassName == "Union" then
  15. Part.Transparency = HideTransparency
  16. end
  17. end)
  18. end)
Add Comment
Please, Sign In to add comment