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("Model")
- base.Name = "Dummy"
- -------body
- local Head = Instance.new("Part")
- Head.Name = "Head"
- local Torso = Instance.new("Part")
- Torso.Name = "Torso"
- local LeftArm = Instance.new("Part")
- LeftArm.Name = "LeftArm"
- local RightArm = Instance.new("Part")
- RightArm.Name = "RightArm"
- local LeftLeg = Instance.new("Part")
- LeftLeg.Name = "LeftLeg"
- local RightLeg = Instance.new("Part")
- RightLeg.Name = "RightLeg"
- -------body
- local runner = game.Workspace:WaitForChild("refrop")
- -----variables
- -----game
- wait(0.2)
- local W = Wo
- base.Parent = W
- ---base.World = runner.Torso.Position - Vector3.new(0, 1, 0)
- Head.Parent = base
- Head.Position = runner.Torso.Position - Vector3.new(0, 0, 0)
- Head.Orientation = Vector3.new(0, 0, 0)
- Head.Size = Vector3.new(0, 0, 0)
- Head.Anchored = false
- Head.BrickColor = BrickColor.new("Dark stone grey")
- Head.Material = Enum.Material.SmoothPlastic
- Torso.Parent = base
- Torso.Position = runner.Torso.Position - Vector3.new(0, 0, 0)
- Torso.Orientation = Vector3.new(0, 0, 0)
- Torso.Size = Vector3.new(0, 0, 0)
- Torso.Anchored = false
- Torso.BrickColor = BrickColor.new("Dark stone grey")
- Torso.Material = Enum.Material.SmoothPlastic
- LeftArm.Parent = base
- LeftArm.Position = runner.Torso.Position - Vector3.new(0, 0, 0)
- LeftArm.Orientation = Vector3.new(0, 0, 0)
- LeftArm.Size = Vector3.new(0, 0, 0)
- LeftArm.Anchored = false
- LeftArm.BrickColor = BrickColor.new("Dark stone grey")
- LeftArm.Material = Enum.Material.SmoothPlastic
- RightArm.Parent = base
- RightArm.Position = runner.Torso.Position - Vector3.new(0, 0, 0)
- RightArm.Orientation = Vector3.new(0, 0, 0)
- RightArm.Size = Vector3.new(0, 0, 0)
- RightArm.Anchored = false
- RightArm.BrickColor = BrickColor.new("Dark stone grey")
- RightArm.Material = Enum.Material.SmoothPlastic
- LeftLeg.Parent = base
- LeftLeg.Position = runner.Torso.Position - Vector3.new(0, 0, 0)
- LeftLeg.Orientation = Vector3.new(0, 0, 0)
- LeftLeg.Size = Vector3.new(0, 0, 0)
- LeftLeg.Anchored = false
- LeftLeg.BrickColor = BrickColor.new("Dark stone grey")
- LeftLeg.Material = Enum.Material.SmoothPlastic
- RightLeg.Parent = base
- RightLeg.Position = runner.Torso.Position - Vector3.new(0, 0, 0)
- RightLeg.Orientation = Vector3.new(0, 0, 0)
- RightLeg.Size = Vector3.new(0, 0, 0)
- RightLeg.Anchored = false
- RightLeg.BrickColor = BrickColor.new("Dark stone grey")
- RightLeg.Material = Enum.Material.SmoothPlastic
- -----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
Add Comment
Please, Sign In to add comment