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("Model")
- base.Name = "MyDummy"
- -------body
- local Head = Instance.new("Part")
- Head.Name = "Head"
- local Torso = Instance.new("Part")
- Torso.Name = "Torso"
- local LeftArm = Instance.new("Part")
- LeftArm.Name = "Left Arm"
- local RightArm = Instance.new("Part")
- RightArm.Name = "Right Arm"
- local LeftLeg = Instance.new("Part")
- LeftLeg.Name = "Left Leg"
- local RightLeg = Instance.new("Part")
- RightLeg.Name = "Right Leg"
- local Humanoid = Instance.new("Humanoid")
- Humanoid.Name = "Humanoid"
- local Face = Instance.new("Decal")
- Face.Name = "Face"
- -------body
- ------Motor6D
- local Neck = Instance.new("WeldConstraint")
- Neck.Name = "Neck"
- local RightShoulder = Instance.new("WeldConstraint")
- RightShoulder.Name = "Right Shoulder"
- local LeftHip = Instance.new("WeldConstraint")
- LeftHip.Name = "Left Hip"
- --local LeftShoulder = Instance.new("Motor6D")
- --LeftShoulder.Name = "Left Shoulder"
- local LeftShoulder = Instance.new("WeldConstraint")
- LeftShoulder.Name = "Left Shoulder"
- local RightHip = Instance.new("WeldConstraint")
- RightHip.Name = "Right Hip"
- local Mesh = Instance.new("SpecialMesh")
- Mesh.Name = "Mesh"
- ------Motor6D
- 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, 4.5, 0)
- Head.Orientation = Vector3.new(0, 0, 0)
- Head.Size = Vector3.new(2, 1, 1)
- Head.Anchored = false
- Head.BrickColor = BrickColor.new("Cool yellow")
- Head.Material = Enum.Material.SmoothPlastic
- Face.Parent = Head
- Face.Texture = "http://www.roblox.com/asset/?id=5400574876"
- Mesh.Parent = Head
- Mesh.Scale = Vector3.new(1.25, 1.25, 1.25)
- Torso.Parent = base
- Torso.Position = runner.Torso.Position + Vector3.new(0, 3, 0)
- Torso.Orientation = Vector3.new(0, 0, 0)
- Torso.Size = Vector3.new(2, 2, 1)
- Torso.Anchored = false
- Torso.BrickColor = BrickColor.new("Neon orange")
- Torso.Material = Enum.Material.SmoothPlastic
- Torso.CanCollide = false
- LeftArm.Parent = base
- LeftArm.Position = runner.Torso.Position + Vector3.new(-1.47, 3, 0)
- LeftArm.Orientation = Vector3.new(0, 0, 0)
- LeftArm.Size = Vector3.new(1, 2, 1)
- LeftArm.Anchored = false
- LeftArm.BrickColor = BrickColor.new("Cool yellow")
- LeftArm.Material = Enum.Material.SmoothPlastic
- LeftArm.CanCollide = false
- RightArm.Parent = base
- RightArm.Position = runner.Torso.Position + Vector3.new(1.47, 3, 0)
- RightArm.Orientation = Vector3.new(0, 0, 0)
- RightArm.Size = Vector3.new(1, 2, 1)
- RightArm.Anchored = false
- RightArm.BrickColor = BrickColor.new("Cool yellow")
- RightArm.Material = Enum.Material.SmoothPlastic
- RightArm.CanCollide = false
- LeftLeg.Parent = base
- LeftLeg.Position = runner.Torso.Position + Vector3.new(-0.5, 1, 0)
- LeftLeg.Orientation = Vector3.new(0, 0, 0)
- LeftLeg.Size = Vector3.new(1, 2, 1)
- LeftLeg.Anchored = false
- LeftLeg.BrickColor = BrickColor.new("Neon orange")
- LeftLeg.Material = Enum.Material.SmoothPlastic
- LeftLeg.CanCollide = false
- RightLeg.Parent = base
- RightLeg.Position = runner.Torso.Position + Vector3.new(0.5, 1, 0)
- RightLeg.Orientation = Vector3.new(0, 0, 0)
- RightLeg.Size = Vector3.new(1, 2, 1)
- RightLeg.Anchored = false
- RightLeg.BrickColor = BrickColor.new("Neon orange")
- RightLeg.Material = Enum.Material.SmoothPlastic
- RightLeg.CanCollide = false
- Humanoid.Parent = base
- -------------Motor6D
- LeftHip.Parent = Torso
- LeftHip.Part0 = Torso
- LeftHip.Part1 = LeftLeg
- RightHip.Parent = Torso
- RightHip.Part0 = Torso
- RightHip.Part1 = RightLeg
- Neck.Parent = Torso
- Neck.Part0 = Torso
- Neck.Part1 = Head
- RightShoulder.Parent = Torso
- RightShoulder.Part0 = Torso
- RightShoulder.Part1 = RightArm
- LeftShoulder.Parent = Torso
- LeftShoulder.Part0 = Torso
- LeftShoulder.Part1 = LeftArm
- -------------Motor6D
- -----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