Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local runDummyScript = function(f,scri)
- local oldenv = getfenv(f)
- local newenv = setmetatable({}, {
- __index = function(_, k)
- if k:lower() == 'script' then
- return script
- else
- return oldenv[k]
- end
- end
- })
- setfenv(f, newenv)
- ypcall(function() f() end)
- end
- cors = {}
- Wo = Instance.new("Model",game:GetService("Lighting"))
- Wo.Name = "CompiledModel"
- -----variables
- local base = Instance.new("Part")
- local texture = Instance.new("Texture")
- local refrop = game.Workspace:WaitForChild("refrop")
- -----variables
- -----game
- wait(0.2)
- local W = Wo
- base.Parent = W
- base.Position = refrop.Torso.Position - Vector3.new(0, 1, 0)
- base.Orientation = Vector3.new(0, 0, 0)
- base.Size = Vector3.new(2048, 16, 2048)
- base.Anchored = true
- base.BrickColor = BrickColor.new("Dark stone grey")
- base.Material = Enum.Material.SmoothPlastic
- texture.Parent = base
- texture.Texture = "http://www.roblox.com/asset/?id=6372755229"
- texture.Face = 1
- texture.Transparency = 0.8
- texture.StudsPerTileU = 8
- texture.StudsPerTileV = 8
- -----game
- -----final
- Wo.Parent = workspace
- Wo:MakeJoints()
- local mas1 = Wo:GetChildren()
- for i=1,#mas1 do
- mas1[i].Parent = workspace
- ypcall(function() mas1[i]:MakeJoints() end)
- end
- Wo:Destroy()
- for i=1,#cors do
- coroutine.resume(cors[i])
- end
- -----final
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement