Advertisement
Guest User

Place Steal {Fix}

a guest
Dec 12th, 2015
10,403
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 4.14 KB | None | 0 0
  1. --[[  / Made by 9/11 \
  2.    
  3.     Credits to:
  4.     GeneHackman
  5.     ScapterDaFapper
  6. --]]
  7.  
  8. src=""
  9. MadeBy="9/11"
  10. newline=[[
  11.  
  12. ]]
  13.  
  14. function c(d)
  15. src=src..newline..d
  16. end
  17.  
  18. function copy(ffa)
  19. for i,v in pairs(ffa:GetChildren()) do
  20.  
  21. if v:IsA'Part' or v:IsA'WedgePart' or v:IsA'SpawnLocation' or v:IsA'UnionOperation' or v:IsA'Seat' or v:IsA'VehicleSeat' then
  22. PartID="a"..tostring(math.random(10000,100000))
  23. if v.className~="UnionOperation" then
  24. c(PartID.."=Instance.new('"..v.className.."', Workspace)")
  25. else
  26.     c(PartID.."=Instance.new('Part', Workspace)")
  27. end
  28. if v:IsA'Part' then
  29. c(PartID..".Shape="..tostring(v.Shape))
  30. end
  31. if v:IsA'Part' or v:IsA'Seat' or v:IsA'VehicleSeat' then
  32. c(PartID..".FormFactor="..tostring(v.FormFactor))
  33. end
  34. c(PartID..".Transparency="..tostring(v.Transparency))
  35. c(PartID..".BrickColor=BrickColor.new('"..tostring(v.BrickColor).."')")
  36. c(PartID..".Reflectance="..tostring(v.Reflectance))
  37. c(PartID..".Size=Vector3.new("..tostring(v.Size)..")")
  38. c(PartID..".CFrame=CFrame.new("..tostring(v.CFrame)..")")
  39. c(PartID..".Material="..tostring(v.Material))
  40. c(PartID..".Anchored="..tostring(v.Anchored))
  41. c(PartID..".CanCollide="..tostring(v.CanCollide))
  42. c(PartID..".Name='"..tostring(v.Name).."'")
  43. if AllowPartsToGetLocked==true then
  44.     c(PartID..".Locked="..tostring(v.Locked))
  45. end
  46. for g,h in pairs(v:GetChildren()) do
  47. if h:IsA'SpecialMesh' then
  48. c("MeshID=Instance.new('"..h.className.."', "..PartID..")")
  49. c("MeshID.Scale=Vector3.new("..tostring(h.Scale)..")")
  50. c("MeshID.Offset=Vector3.new("..tostring(h.Offset)..")")
  51. c("MeshID.MeshType="..tostring(h.MeshType))
  52. c("MeshID.MeshId='"..tostring(h.MeshId).."'")
  53. c("MeshID.TextureId='"..tostring(h.TextureId).."'")
  54. elseif h:IsA'CylinderMesh' then
  55. c("MeshID=Instance.new('"..h.className.."', "..PartID..")")
  56. elseif h:IsA'Decal' then
  57. c("DecID=Instance.new('"..h.className.."', "..PartID..")")
  58. c("DecID.Transparency="..tostring(h.Transparency))
  59. c("DecID.Texture='"..tostring(h.Texture).."'")
  60. c("DecID.Face="..tostring(h.Face))
  61. elseif h:IsA'PointLight' then
  62. c("plID=Instance.new('"..h.className.."', "..PartID..")")
  63. c("plID.Range="..tostring(h.Range))
  64. c("plID.Color=Color3.new("..tostring(h.Color)..")")
  65. c("plID.Enabled="..tostring(h.Enabled))
  66. c("plID.Brightness="..tostring(h.Brightness))
  67. c("plID.Shadows="..tostring(h.Shadows))
  68. elseif h:IsA'SpotLight' then
  69. c("slID=Instance.new('"..h.className.."', "..PartID..")")
  70. c("slID.Range="..tostring(h.Range))
  71. c("slID.Angle="..tostring(h.Angle))
  72. c("slID.Color=Color3.new("..tostring(h.Color)..")")
  73. c("slID.Enabled="..tostring(h.Enabled))
  74. c("slID.Brightness="..tostring(h.Brightness))
  75. c("slID.Shadows="..tostring(h.Shadows))
  76. c("slID.Face="..tostring(h.Face))
  77. end
  78. end
  79. end
  80.  
  81. end
  82. if MadeBy==string.reverse("11/9") then
  83.     if ChangeLightingProperties==true then
  84. c("game.Lighting.TimeOfDay='"..tostring(game.Lighting.TimeOfDay).."'")
  85. c("game.Lighting.Brightness="..tostring(game.Lighting.Brightness))
  86. c("game.Lighting.Outlines="..tostring(game.Lighting.Outlines))
  87. c("game.Lighting.FogEnd="..tostring(game.Lighting.FogEnd))
  88. c("game.Lighting.FogStart="..tostring(game.Lighting.FogStart))
  89. c("game.Lighting.FogColor=Color3.new("..tostring(game.Lighting.FogColor)..")")
  90. c("game.Lighting.Ambient=Color3.new("..tostring(game.Lighting.Ambient)..")")
  91. end
  92. CopyString(src)
  93. else
  94. print("This script was made by 9/11, this guy just copyed it eww eww.")
  95. end
  96. end
  97.  
  98. function ungroupws()
  99.     local function rc(inst)
  100.         for _, v in pairs(inst:GetChildren()) do
  101.             if v:IsA("Model") then
  102.                 if v.Archivable then
  103.                     for _, x in pairs(v:GetChildren()) do
  104.                         x.Parent = workspace;
  105.                         rc(x)
  106.                     end
  107.                     v:Destroy() -- cleanup
  108.                 end
  109.             end
  110.         end
  111.     end
  112.     rc(Workspace)
  113. end
  114. print'Getting ready.'
  115. for i=1,100 do
  116. ungroupws()
  117. wait(0.2)
  118. end
  119.  
  120. print'Starting copying in 10 seconds.'
  121. wait(10)
  122. print('Copying map. Please allow upto 15 minutes for this proccess, your ROBLOXPlayer will freeze but wait - .'..string.reverse("11/9"))
  123. copy(game.Workspace)
  124. --io.open("C:/Copyed/"..game.PlaceId..".txt", "w"):write(src)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement