Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[ / Made by 9/11 \
- Credits to:
- GeneHackman
- ScapterDaFapper
- --]]
- src=""
- MadeBy="9/11"
- newline=[[
- ]]
- function c(d)
- src=src..newline..d
- end
- function copy(ffa)
- for i,v in pairs(ffa:GetChildren()) do
- 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
- PartID="a"..tostring(math.random(10000,100000))
- if v.className~="UnionOperation" then
- c(PartID.."=Instance.new('"..v.className.."', Workspace)")
- else
- c(PartID.."=Instance.new('Part', Workspace)")
- end
- if v:IsA'Part' then
- c(PartID..".Shape="..tostring(v.Shape))
- end
- if v:IsA'Part' or v:IsA'Seat' or v:IsA'VehicleSeat' then
- c(PartID..".FormFactor="..tostring(v.FormFactor))
- end
- c(PartID..".Transparency="..tostring(v.Transparency))
- c(PartID..".BrickColor=BrickColor.new('"..tostring(v.BrickColor).."')")
- c(PartID..".Reflectance="..tostring(v.Reflectance))
- c(PartID..".Size=Vector3.new("..tostring(v.Size)..")")
- c(PartID..".CFrame=CFrame.new("..tostring(v.CFrame)..")")
- c(PartID..".Material="..tostring(v.Material))
- c(PartID..".Anchored="..tostring(v.Anchored))
- c(PartID..".CanCollide="..tostring(v.CanCollide))
- c(PartID..".Name='"..tostring(v.Name).."'")
- if AllowPartsToGetLocked==true then
- c(PartID..".Locked="..tostring(v.Locked))
- end
- for g,h in pairs(v:GetChildren()) do
- if h:IsA'SpecialMesh' then
- c("MeshID=Instance.new('"..h.className.."', "..PartID..")")
- c("MeshID.Scale=Vector3.new("..tostring(h.Scale)..")")
- c("MeshID.Offset=Vector3.new("..tostring(h.Offset)..")")
- c("MeshID.MeshType="..tostring(h.MeshType))
- c("MeshID.MeshId='"..tostring(h.MeshId).."'")
- c("MeshID.TextureId='"..tostring(h.TextureId).."'")
- elseif h:IsA'CylinderMesh' then
- c("MeshID=Instance.new('"..h.className.."', "..PartID..")")
- elseif h:IsA'Decal' then
- c("DecID=Instance.new('"..h.className.."', "..PartID..")")
- c("DecID.Transparency="..tostring(h.Transparency))
- c("DecID.Texture='"..tostring(h.Texture).."'")
- c("DecID.Face="..tostring(h.Face))
- elseif h:IsA'PointLight' then
- c("plID=Instance.new('"..h.className.."', "..PartID..")")
- c("plID.Range="..tostring(h.Range))
- c("plID.Color=Color3.new("..tostring(h.Color)..")")
- c("plID.Enabled="..tostring(h.Enabled))
- c("plID.Brightness="..tostring(h.Brightness))
- c("plID.Shadows="..tostring(h.Shadows))
- elseif h:IsA'SpotLight' then
- c("slID=Instance.new('"..h.className.."', "..PartID..")")
- c("slID.Range="..tostring(h.Range))
- c("slID.Angle="..tostring(h.Angle))
- c("slID.Color=Color3.new("..tostring(h.Color)..")")
- c("slID.Enabled="..tostring(h.Enabled))
- c("slID.Brightness="..tostring(h.Brightness))
- c("slID.Shadows="..tostring(h.Shadows))
- c("slID.Face="..tostring(h.Face))
- end
- end
- end
- end
- if MadeBy==string.reverse("11/9") then
- if ChangeLightingProperties==true then
- c("game.Lighting.TimeOfDay='"..tostring(game.Lighting.TimeOfDay).."'")
- c("game.Lighting.Brightness="..tostring(game.Lighting.Brightness))
- c("game.Lighting.Outlines="..tostring(game.Lighting.Outlines))
- c("game.Lighting.FogEnd="..tostring(game.Lighting.FogEnd))
- c("game.Lighting.FogStart="..tostring(game.Lighting.FogStart))
- c("game.Lighting.FogColor=Color3.new("..tostring(game.Lighting.FogColor)..")")
- c("game.Lighting.Ambient=Color3.new("..tostring(game.Lighting.Ambient)..")")
- end
- CopyString(src)
- else
- print("This script was made by 9/11, this guy just copyed it eww eww.")
- end
- end
- function ungroupws()
- local function rc(inst)
- for _, v in pairs(inst:GetChildren()) do
- if v:IsA("Model") then
- if v.Archivable then
- for _, x in pairs(v:GetChildren()) do
- x.Parent = workspace;
- rc(x)
- end
- v:Destroy() -- cleanup
- end
- end
- end
- end
- rc(Workspace)
- end
- print'Getting ready.'
- for i=1,100 do
- ungroupws()
- wait(0.2)
- end
- print'Starting copying in 10 seconds.'
- wait(10)
- print('Copying map. Please allow upto 15 minutes for this proccess, your ROBLOXPlayer will freeze but wait - .'..string.reverse("11/9"))
- copy(game.Workspace)
- --io.open("C:/Copyed/"..game.PlaceId..".txt", "w"):write(src)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement