Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function createFakeCharacter_Backup(DisplayName)
- local Model0 = Instance.new("Model")
- local SpawnLocation1 = Instance.new("SpawnLocation")
- local Motor6D2 = Instance.new("Motor6D")
- local SpawnLocation3 = Instance.new("SpawnLocation")
- local SpawnLocation4 = Instance.new("SpawnLocation")
- local SpawnLocation5 = Instance.new("SpawnLocation")
- local Motor6D6 = Instance.new("Motor6D")
- local Motor6D7 = Instance.new("Motor6D")
- local Motor6D8 = Instance.new("Motor6D")
- local Motor6D9 = Instance.new("Motor6D")
- local Motor6D10 = Instance.new("Motor6D")
- local SpawnLocation11 = Instance.new("SpawnLocation")
- local SpawnLocation12 = Instance.new("SpawnLocation")
- local SpawnLocation13 = Instance.new("SpawnLocation")
- local SpecialMesh14 = Instance.new("SpecialMesh")
- local Weld15 = Instance.new("Weld")
- local Weld16 = Instance.new("Weld")
- local Pants17 = Instance.new("Pants")
- local Shirt18 = Instance.new("Shirt")
- local Humanoid19 = Instance.new("Humanoid")
- local SpawnLocation20 = Instance.new("SpawnLocation")
- local SpecialMesh21 = Instance.new("SpecialMesh")
- local SpawnLocation22 = Instance.new("SpawnLocation")
- local SpecialMesh23 = Instance.new("SpecialMesh")
- Model0.Name = "Ghost"
- Model0.PrimaryPart = SpawnLocation1
- SpawnLocation1.Name = "HumanoidRootPart"
- SpawnLocation1.Parent = Model0
- SpawnLocation1.CFrame = CFrame.new(-12.1660004, 3, -27.3568153, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- SpawnLocation1.Position = Vector3.new(-12.166000366211, 3, -27.356815338135)
- SpawnLocation1.Color = Color3.new(0.905882, 0.905882, 0.92549)
- SpawnLocation1.Enabled = false
- SpawnLocation1.Transparency = 1
- SpawnLocation1.Size = Vector3.new(2, 2, 1)
- SpawnLocation1.BottomSurface = Enum.SurfaceType.Smooth
- SpawnLocation1.BrickColor = BrickColor.new("Pearl")
- SpawnLocation1.CanCollide = false
- SpawnLocation1.TopSurface = Enum.SurfaceType.Smooth
- SpawnLocation1.brickColor = BrickColor.new("Pearl")
- Motor6D2.Name = "RootJoint"
- Motor6D2.Parent = SpawnLocation1
- Motor6D2.MaxVelocity = 0.10000000149012
- Motor6D2.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D2.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D2.Part0 = SpawnLocation1
- Motor6D2.Part1 = SpawnLocation5
- Motor6D2.part1 = SpawnLocation5
- SpawnLocation3.Name = "Right Leg"
- SpawnLocation3.Parent = Model0
- SpawnLocation3.CFrame = CFrame.new(-11.6660004, 1, -27.3568153, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- SpawnLocation3.Position = Vector3.new(-11.666000366211, 1, -27.356815338135)
- SpawnLocation3.Color = Color3.new(0.905882, 0.905882, 0.92549)
- SpawnLocation3.Enabled = false
- SpawnLocation3.Size = Vector3.new(1, 2, 1)
- SpawnLocation3.BottomSurface = Enum.SurfaceType.Smooth
- SpawnLocation3.BrickColor = BrickColor.new("Pearl")
- SpawnLocation3.CanCollide = false
- SpawnLocation3.TopSurface = Enum.SurfaceType.Smooth
- SpawnLocation3.brickColor = BrickColor.new("Pearl")
- SpawnLocation4.Name = "Left Leg"
- SpawnLocation4.Parent = Model0
- SpawnLocation4.CFrame = CFrame.new(-12.6660004, 1, -27.3568153, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- SpawnLocation4.Position = Vector3.new(-12.666000366211, 1, -27.356815338135)
- SpawnLocation4.Color = Color3.new(0.905882, 0.905882, 0.92549)
- SpawnLocation4.Enabled = false
- SpawnLocation4.Size = Vector3.new(1, 2, 1)
- SpawnLocation4.BottomSurface = Enum.SurfaceType.Smooth
- SpawnLocation4.BrickColor = BrickColor.new("Pearl")
- SpawnLocation4.CanCollide = false
- SpawnLocation4.TopSurface = Enum.SurfaceType.Smooth
- SpawnLocation4.brickColor = BrickColor.new("Pearl")
- SpawnLocation5.Name = "Torso"
- SpawnLocation5.Parent = Model0
- SpawnLocation5.CFrame = CFrame.new(-12.1660004, 3, -27.3568153, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- SpawnLocation5.Position = Vector3.new(-12.166000366211, 3, -27.356815338135)
- SpawnLocation5.Color = Color3.new(0.905882, 0.905882, 0.92549)
- SpawnLocation5.Enabled = false
- SpawnLocation5.Size = Vector3.new(2, 2, 1)
- SpawnLocation5.BottomSurface = Enum.SurfaceType.Smooth
- SpawnLocation5.BrickColor = BrickColor.new("Pearl")
- SpawnLocation5.CanCollide = false
- SpawnLocation5.TopSurface = Enum.SurfaceType.Smooth
- SpawnLocation5.brickColor = BrickColor.new("Pearl")
- Motor6D6.Name = "Left Hip"
- Motor6D6.Parent = SpawnLocation5
- Motor6D6.MaxVelocity = 0.10000000149012
- Motor6D6.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D6.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D6.Part0 = SpawnLocation5
- Motor6D6.Part1 = SpawnLocation4
- Motor6D6.part1 = SpawnLocation4
- Motor6D7.Name = "Right Hip"
- Motor6D7.Parent = SpawnLocation5
- Motor6D7.MaxVelocity = 0.10000000149012
- Motor6D7.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D7.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D7.Part0 = SpawnLocation5
- Motor6D7.Part1 = SpawnLocation3
- Motor6D7.part1 = SpawnLocation3
- Motor6D8.Name = "Right Shoulder"
- Motor6D8.Parent = SpawnLocation5
- Motor6D8.MaxVelocity = 0.10000000149012
- Motor6D8.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D8.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D8.Part0 = SpawnLocation5
- Motor6D8.Part1 = SpawnLocation12
- Motor6D8.part1 = SpawnLocation12
- Motor6D9.Name = "Neck"
- Motor6D9.Parent = SpawnLocation5
- Motor6D9.MaxVelocity = 0.10000000149012
- Motor6D9.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D9.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D9.Part0 = SpawnLocation5
- Motor6D9.Part1 = SpawnLocation13
- Motor6D9.part1 = SpawnLocation13
- Motor6D10.Name = "Left Shoulder"
- Motor6D10.Parent = SpawnLocation5
- Motor6D10.MaxVelocity = 0.10000000149012
- Motor6D10.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D10.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D10.Part0 = SpawnLocation5
- Motor6D10.Part1 = SpawnLocation11
- Motor6D10.part1 = SpawnLocation11
- SpawnLocation11.Name = "Left Arm"
- SpawnLocation11.Parent = Model0
- SpawnLocation11.CFrame = CFrame.new(-13.6660004, 3, -27.3568153, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- SpawnLocation11.Position = Vector3.new(-13.666000366211, 3, -27.356815338135)
- SpawnLocation11.Color = Color3.new(0.905882, 0.905882, 0.92549)
- SpawnLocation11.Enabled = false
- SpawnLocation11.Size = Vector3.new(1, 2, 1)
- SpawnLocation11.BottomSurface = Enum.SurfaceType.Smooth
- SpawnLocation11.BrickColor = BrickColor.new("Pearl")
- SpawnLocation11.CanCollide = false
- SpawnLocation11.TopSurface = Enum.SurfaceType.Smooth
- SpawnLocation11.brickColor = BrickColor.new("Pearl")
- SpawnLocation12.Name = "Right Arm"
- SpawnLocation12.Parent = Model0
- SpawnLocation12.CFrame = CFrame.new(-10.6660004, 3, -27.3568153, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- SpawnLocation12.Position = Vector3.new(-10.666000366211, 3, -27.356815338135)
- SpawnLocation12.Color = Color3.new(0.905882, 0.905882, 0.92549)
- SpawnLocation12.Enabled = false
- SpawnLocation12.Size = Vector3.new(1, 2, 1)
- SpawnLocation12.BottomSurface = Enum.SurfaceType.Smooth
- SpawnLocation12.BrickColor = BrickColor.new("Pearl")
- SpawnLocation12.CanCollide = false
- SpawnLocation12.TopSurface = Enum.SurfaceType.Smooth
- SpawnLocation12.brickColor = BrickColor.new("Pearl")
- SpawnLocation13.Name = "Head"
- SpawnLocation13.Parent = Model0
- SpawnLocation13.CFrame = CFrame.new(-12.1660004, 4.5, -27.3568153, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- SpawnLocation13.Position = Vector3.new(-12.166000366211, 4.5, -27.356815338135)
- SpawnLocation13.Color = Color3.new(0.905882, 0.905882, 0.92549)
- SpawnLocation13.Enabled = false
- SpawnLocation13.Size = Vector3.new(2, 1, 1)
- SpawnLocation13.BottomSurface = Enum.SurfaceType.Smooth
- SpawnLocation13.BrickColor = BrickColor.new("Pearl")
- SpawnLocation13.CanCollide = false
- SpawnLocation13.TopSurface = Enum.SurfaceType.Smooth
- SpawnLocation13.brickColor = BrickColor.new("Pearl")
- SpecialMesh14.Parent = SpawnLocation13
- SpecialMesh14.Scale = Vector3.new(1.25, 1.25, 1.25)
- Weld15.Name = "Hair"
- Weld15.Parent = SpawnLocation13
- Weld15.C0 = CFrame.new(0, 0, 0.000240325928, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld15.Part0 = SpawnLocation13
- Weld15.Part1 = SpawnLocation20
- Weld15.part1 = SpawnLocation20
- Weld16.Name = "Mask"
- Weld16.Parent = SpawnLocation13
- Weld16.C0 = CFrame.new(0, 0, 0.000240325928, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld16.Part0 = SpawnLocation13
- Weld16.Part1 = SpawnLocation22
- Weld16.part1 = SpawnLocation22
- Pants17.Name = "Pants"
- Pants17.Parent = Model0
- Pants17.PantsTemplate = "http://www.roblox.com/asset/?id=1210858273"
- Shirt18.Name = "Shirt"
- Shirt18.Parent = Model0
- Shirt18.ShirtTemplate = "http://www.roblox.com/asset/?id=1210857659"
- Humanoid19.Parent = Model0
- Humanoid19.LeftLeg = SpawnLocation4
- Humanoid19.RightLeg = SpawnLocation3
- Humanoid19.Torso = SpawnLocation1
- Humanoid19.DisplayName = DisplayName
- SpawnLocation20.Name = "Hair"
- SpawnLocation20.Parent = Model0
- SpawnLocation20.CFrame = CFrame.new(-12.1660004, 4.5, -27.356575, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- SpawnLocation20.Position = Vector3.new(-12.166000366211, 4.5, -27.356575012207)
- SpawnLocation20.Color = Color3.new(0.905882, 0.905882, 0.92549)
- SpawnLocation20.Enabled = false
- SpawnLocation20.Size = Vector3.new(1, 1, 1)
- SpawnLocation20.BottomSurface = Enum.SurfaceType.Smooth
- SpawnLocation20.BrickColor = BrickColor.new("Pearl")
- SpawnLocation20.CanCollide = false
- SpawnLocation20.TopSurface = Enum.SurfaceType.Smooth
- SpawnLocation20.brickColor = BrickColor.new("Pearl")
- SpecialMesh21.Name = "SpecialMesh"
- SpecialMesh21.Parent = SpawnLocation20
- SpecialMesh21.MeshId = "rbxassetid://6521980205"
- SpecialMesh21.Offset = Vector3.new(0, -0.69999998807907, 0.30000001192093)
- SpecialMesh21.Scale = Vector3.new(0.94999998807907, 0.95999997854233, 0.91000002622604)
- SpecialMesh21.TextureId = "http://www.roblox.com/asset/?id=6517665515"
- SpecialMesh21.MeshType = Enum.MeshType.FileMesh
- SpawnLocation22.Name = "Mask"
- SpawnLocation22.Parent = Model0
- SpawnLocation22.CFrame = CFrame.new(-12.1660004, 4.5, -27.356575, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- SpawnLocation22.Position = Vector3.new(-12.166000366211, 4.5, -27.356575012207)
- SpawnLocation22.Color = Color3.new(0.905882, 0.905882, 0.92549)
- SpawnLocation22.Enabled = false
- SpawnLocation22.Size = Vector3.new(1, 1, 1)
- SpawnLocation22.BottomSurface = Enum.SurfaceType.Smooth
- SpawnLocation22.BrickColor = BrickColor.new("Pearl")
- SpawnLocation22.CanCollide = false
- SpawnLocation22.TopSurface = Enum.SurfaceType.Smooth
- SpawnLocation22.brickColor = BrickColor.new("Pearl")
- SpecialMesh23.Name = "SpecialMesh"
- SpecialMesh23.Parent = SpawnLocation22
- SpecialMesh23.MeshId = "rbxassetid://5728632913"
- SpecialMesh23.TextureId = "http://www.roblox.com/asset/?id=4809181158"
- SpecialMesh23.MeshType = Enum.MeshType.FileMesh
- return Model0
- end
- function createFakeCharacter(DisplayName)
- local Model0 = Instance.new("Model")
- local SpawnLocation1 = Instance.new("Part")
- local Motor6D2 = Instance.new("Motor6D")
- local SpawnLocation3 = Instance.new("Part")
- local SpawnLocation4 = Instance.new("Part")
- local SpawnLocation5 = Instance.new("Part")
- local Motor6D6 = Instance.new("Motor6D")
- local Motor6D7 = Instance.new("Motor6D")
- local Motor6D8 = Instance.new("Motor6D")
- local Motor6D9 = Instance.new("Motor6D")
- local Motor6D10 = Instance.new("Motor6D")
- local SpawnLocation11 = Instance.new("Part")
- local SpawnLocation12 = Instance.new("Part")
- local SpawnLocation13 = Instance.new("Part")
- local SpecialMesh14 = Instance.new("SpecialMesh")
- local Weld15 = Instance.new("Weld")
- local Weld16 = Instance.new("Weld")
- local Pants17 = Instance.new("Pants")
- local Shirt18 = Instance.new("Shirt")
- local Humanoid19 = Instance.new("Humanoid")
- local SpawnLocation20 = Instance.new("Part")
- local SpecialMesh21 = Instance.new("SpecialMesh")
- local SpawnLocation22 = Instance.new("Part")
- local SpecialMesh23 = Instance.new("SpecialMesh")
- Model0.Name = "Ghost"
- Model0.PrimaryPart = SpawnLocation1
- SpawnLocation1.Name = "HumanoidRootPart"
- SpawnLocation1.Parent = Model0
- SpawnLocation1.CFrame = CFrame.new(-12.1660004, 3, -27.3568153, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- SpawnLocation1.Position = Vector3.new(-12.166000366211, 3, -27.356815338135)
- SpawnLocation1.Color = Color3.new(0.905882, 0.905882, 0.92549)
- SpawnLocation1.Transparency = 1
- SpawnLocation1.Size = Vector3.new(2, 2, 1)
- SpawnLocation1.BottomSurface = Enum.SurfaceType.Smooth
- SpawnLocation1.BrickColor = BrickColor.new("Pearl")
- SpawnLocation1.CanCollide = false
- SpawnLocation1.TopSurface = Enum.SurfaceType.Smooth
- SpawnLocation1.brickColor = BrickColor.new("Pearl")
- Motor6D2.Name = "RootJoint"
- Motor6D2.Parent = SpawnLocation1
- Motor6D2.MaxVelocity = 0.10000000149012
- Motor6D2.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D2.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D2.Part0 = SpawnLocation1
- Motor6D2.Part1 = SpawnLocation5
- Motor6D2.part1 = SpawnLocation5
- SpawnLocation3.Name = "Right Leg"
- SpawnLocation3.Parent = Model0
- SpawnLocation3.CFrame = CFrame.new(-11.6660004, 1, -27.3568153, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- SpawnLocation3.Position = Vector3.new(-11.666000366211, 1, -27.356815338135)
- SpawnLocation3.Color = Color3.new(0.905882, 0.905882, 0.92549)
- SpawnLocation3.Size = Vector3.new(1, 2, 1)
- SpawnLocation3.BottomSurface = Enum.SurfaceType.Smooth
- SpawnLocation3.BrickColor = BrickColor.new("Pearl")
- SpawnLocation3.CanCollide = false
- SpawnLocation3.TopSurface = Enum.SurfaceType.Smooth
- SpawnLocation3.brickColor = BrickColor.new("Pearl")
- SpawnLocation4.Name = "Left Leg"
- SpawnLocation4.Parent = Model0
- SpawnLocation4.CFrame = CFrame.new(-12.6660004, 1, -27.3568153, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- SpawnLocation4.Position = Vector3.new(-12.666000366211, 1, -27.356815338135)
- SpawnLocation4.Color = Color3.new(0.905882, 0.905882, 0.92549)
- SpawnLocation4.Size = Vector3.new(1, 2, 1)
- SpawnLocation4.BottomSurface = Enum.SurfaceType.Smooth
- SpawnLocation4.BrickColor = BrickColor.new("Pearl")
- SpawnLocation4.CanCollide = false
- SpawnLocation4.TopSurface = Enum.SurfaceType.Smooth
- SpawnLocation4.brickColor = BrickColor.new("Pearl")
- SpawnLocation5.Name = "Torso"
- SpawnLocation5.Parent = Model0
- SpawnLocation5.CFrame = CFrame.new(-12.1660004, 3, -27.3568153, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- SpawnLocation5.Position = Vector3.new(-12.166000366211, 3, -27.356815338135)
- SpawnLocation5.Color = Color3.new(0.905882, 0.905882, 0.92549)
- SpawnLocation5.Size = Vector3.new(2, 2, 1)
- SpawnLocation5.BottomSurface = Enum.SurfaceType.Smooth
- SpawnLocation5.BrickColor = BrickColor.new("Pearl")
- SpawnLocation5.CanCollide = false
- SpawnLocation5.TopSurface = Enum.SurfaceType.Smooth
- SpawnLocation5.brickColor = BrickColor.new("Pearl")
- Motor6D6.Name = "Left Hip"
- Motor6D6.Parent = SpawnLocation5
- Motor6D6.MaxVelocity = 0.10000000149012
- Motor6D6.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D6.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D6.Part0 = SpawnLocation5
- Motor6D6.Part1 = SpawnLocation4
- Motor6D6.part1 = SpawnLocation4
- Motor6D7.Name = "Right Hip"
- Motor6D7.Parent = SpawnLocation5
- Motor6D7.MaxVelocity = 0.10000000149012
- Motor6D7.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D7.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D7.Part0 = SpawnLocation5
- Motor6D7.Part1 = SpawnLocation3
- Motor6D7.part1 = SpawnLocation3
- Motor6D8.Name = "Right Shoulder"
- Motor6D8.Parent = SpawnLocation5
- Motor6D8.MaxVelocity = 0.10000000149012
- Motor6D8.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D8.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D8.Part0 = SpawnLocation5
- Motor6D8.Part1 = SpawnLocation12
- Motor6D8.part1 = SpawnLocation12
- Motor6D9.Name = "Neck"
- Motor6D9.Parent = SpawnLocation5
- Motor6D9.MaxVelocity = 0.10000000149012
- Motor6D9.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D9.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D9.Part0 = SpawnLocation5
- Motor6D9.Part1 = SpawnLocation13
- Motor6D9.part1 = SpawnLocation13
- Motor6D10.Name = "Left Shoulder"
- Motor6D10.Parent = SpawnLocation5
- Motor6D10.MaxVelocity = 0.10000000149012
- Motor6D10.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D10.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D10.Part0 = SpawnLocation5
- Motor6D10.Part1 = SpawnLocation11
- Motor6D10.part1 = SpawnLocation11
- SpawnLocation11.Name = "Left Arm"
- SpawnLocation11.Parent = Model0
- SpawnLocation11.CFrame = CFrame.new(-13.6660004, 3, -27.3568153, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- SpawnLocation11.Position = Vector3.new(-13.666000366211, 3, -27.356815338135)
- SpawnLocation11.Color = Color3.new(0.905882, 0.905882, 0.92549)
- SpawnLocation11.Size = Vector3.new(1, 2, 1)
- SpawnLocation11.BottomSurface = Enum.SurfaceType.Smooth
- SpawnLocation11.BrickColor = BrickColor.new("Pearl")
- SpawnLocation11.CanCollide = false
- SpawnLocation11.TopSurface = Enum.SurfaceType.Smooth
- SpawnLocation11.brickColor = BrickColor.new("Pearl")
- SpawnLocation12.Name = "Right Arm"
- SpawnLocation12.Parent = Model0
- SpawnLocation12.CFrame = CFrame.new(-10.6660004, 3, -27.3568153, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- SpawnLocation12.Position = Vector3.new(-10.666000366211, 3, -27.356815338135)
- SpawnLocation12.Color = Color3.new(0.905882, 0.905882, 0.92549)
- SpawnLocation12.Size = Vector3.new(1, 2, 1)
- SpawnLocation12.BottomSurface = Enum.SurfaceType.Smooth
- SpawnLocation12.BrickColor = BrickColor.new("Pearl")
- SpawnLocation12.CanCollide = false
- SpawnLocation12.TopSurface = Enum.SurfaceType.Smooth
- SpawnLocation12.brickColor = BrickColor.new("Pearl")
- SpawnLocation13.Name = "Head"
- SpawnLocation13.Parent = Model0
- SpawnLocation13.CFrame = CFrame.new(-12.1660004, 4.5, -27.3568153, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- SpawnLocation13.Position = Vector3.new(-12.166000366211, 4.5, -27.356815338135)
- SpawnLocation13.Color = Color3.new(0.905882, 0.905882, 0.92549)
- SpawnLocation13.Size = Vector3.new(2, 1, 1)
- SpawnLocation13.BottomSurface = Enum.SurfaceType.Smooth
- SpawnLocation13.BrickColor = BrickColor.new("Pearl")
- SpawnLocation13.CanCollide = false
- SpawnLocation13.TopSurface = Enum.SurfaceType.Smooth
- SpawnLocation13.brickColor = BrickColor.new("Pearl")
- SpecialMesh14.Parent = SpawnLocation13
- SpecialMesh14.Scale = Vector3.new(1.25, 1.25, 1.25)
- Weld15.Name = "Hair"
- Weld15.Parent = SpawnLocation13
- Weld15.C0 = CFrame.new(0, 0, 0.000240325928, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld15.Part0 = SpawnLocation13
- Weld15.Part1 = SpawnLocation20
- Weld15.part1 = SpawnLocation20
- Weld16.Name = "Mask"
- Weld16.Parent = SpawnLocation13
- Weld16.C0 = CFrame.new(0, 0, 0.000240325928, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld16.Part0 = SpawnLocation13
- Weld16.Part1 = SpawnLocation22
- Weld16.part1 = SpawnLocation22
- Pants17.Name = "Pants"
- Pants17.Parent = Model0
- Pants17.PantsTemplate = "http://www.roblox.com/asset/?id=1210858273"
- Shirt18.Name = "Shirt"
- Shirt18.Parent = Model0
- Shirt18.ShirtTemplate = "http://www.roblox.com/asset/?id=1210857659"
- Humanoid19.Parent = Model0
- Humanoid19.LeftLeg = SpawnLocation4
- Humanoid19.RightLeg = SpawnLocation3
- Humanoid19.Torso = SpawnLocation1
- Humanoid19.DisplayName = DisplayName
- SpawnLocation20.Name = "Hair"
- SpawnLocation20.Parent = Model0
- SpawnLocation20.CFrame = CFrame.new(-12.1660004, 4.5, -27.356575, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- SpawnLocation20.Position = Vector3.new(-12.166000366211, 4.5, -27.356575012207)
- SpawnLocation20.Color = Color3.new(0.905882, 0.905882, 0.92549)
- SpawnLocation20.Size = Vector3.new(1, 1, 1)
- SpawnLocation20.BottomSurface = Enum.SurfaceType.Smooth
- SpawnLocation20.BrickColor = BrickColor.new("Pearl")
- SpawnLocation20.CanCollide = false
- SpawnLocation20.TopSurface = Enum.SurfaceType.Smooth
- SpawnLocation20.brickColor = BrickColor.new("Pearl")
- SpecialMesh21.Name = "SpecialMesh"
- SpecialMesh21.Parent = SpawnLocation20
- SpecialMesh21.MeshId = "rbxassetid://6521980205"
- SpecialMesh21.Offset = Vector3.new(0, -0.69999998807907, 0.30000001192093)
- SpecialMesh21.Scale = Vector3.new(0.94999998807907, 0.95999997854233, 0.91000002622604)
- SpecialMesh21.TextureId = "http://www.roblox.com/asset/?id=6517665515"
- SpecialMesh21.MeshType = Enum.MeshType.FileMesh
- SpawnLocation22.Name = "Mask"
- SpawnLocation22.Parent = Model0
- SpawnLocation22.CFrame = CFrame.new(-12.1660004, 4.5, -27.356575, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- SpawnLocation22.Position = Vector3.new(-12.166000366211, 4.5, -27.356575012207)
- SpawnLocation22.Color = Color3.new(0.905882, 0.905882, 0.92549)
- SpawnLocation22.Size = Vector3.new(1, 1, 1)
- SpawnLocation22.BottomSurface = Enum.SurfaceType.Smooth
- SpawnLocation22.BrickColor = BrickColor.new("Pearl")
- SpawnLocation22.CanCollide = false
- SpawnLocation22.TopSurface = Enum.SurfaceType.Smooth
- SpawnLocation22.brickColor = BrickColor.new("Pearl")
- SpecialMesh23.Name = "SpecialMesh"
- SpecialMesh23.Parent = SpawnLocation22
- SpecialMesh23.MeshId = "rbxassetid://5728632913"
- SpecialMesh23.TextureId = "http://www.roblox.com/asset/?id=4809181158"
- SpecialMesh23.MeshType = Enum.MeshType.FileMesh
- return Model0
- end
- repeat wait() until #game:GetService("Players"):GetPlayers() > 0
- owner = game.Players.plytalent
- local com0 = Instance.new("RemoteEvent",script)
- local waitremote = Instance.new('RemoteEvent',script)
- waitremote.Name = "WaitRemote"
- local lasterr = ""
- com0.OnServerEvent:Connect(function(plr,partname,partcf,partsize)
- if plr ~= owner then
- return
- end
- if not charst then
- return
- end
- if not conchar then
- local _,err=pcall(function()
- conchar = createFakeCharacter(owner.DisplayName)
- end)
- if err ~= lasterr then
- print("ERROR:",err)
- lasterr= err
- return
- elseif err then
- if err:find("Unable To create \"SpawnLocation\"") then
- local _,err=pcall(function()
- conchar = createFakeCharacter_Backup(owner.DisplayName)
- end)
- if err ~= lasterr then
- print("ERROR:",err)
- lasterr= err
- end
- return
- end
- end
- return
- end
- if not conchar.Parent then
- conchar=nil
- return
- end
- conchar.Name = "Ghost"
- local part = conchar:FindFirstChild(partname)
- if not part then
- conchar:Destroy()
- conchar = nil
- end
- if part then
- if partname == "HumanoidRootPart" then
- part.Transparency = 1
- end
- part.Name = partname
- part.Anchored = true
- part.CFrame = partcf
- end
- end)
- local NLS = NLS or nil
- wait(3)
- if NLS then
- NLS([==[
- local remote=script.Parent.RemoteEvent
- game:GetService("RunService").RenderStepped:Connect(function()
- if game:GetService("Players").LocalPlayer.Character.Parent ~= workspace then
- game:GetService("Players").LocalPlayer.Character.Parent = workspace
- end
- end)
- local parttable={}
- wait()
- game:GetService("RunService").Stepped:Connect(function()
- coroutine.resume(coroutine.create(function()
- if workspace:FindFirstChild("Ghost") then
- for _,part in pairs(workspace:FindFirstChild("Ghost"):GetDescendants()) do
- if part:IsA("BasePart") then
- part.CanCollide = false
- part.Velocity = Vector3.new(0,0,0)
- elseif part:IsA("Humanoid") then
- part:Destroy()
- end
- end
- end
- end))
- for _, part in pairs(game:GetService("Players").LocalPlayer.Character:GetChildren()) do
- coroutine.resume(coroutine.create(function()
- local part = part
- if part:IsA("BasePart") then
- if parttable[part.Name] ~= part.CFrame then
- parttable[part.Name] = part.CFrame
- remote:FireServer(part.Name,part.CFrame,part.Size)
- end
- end
- end))
- end
- end)
- script.Parent.WaitRemote:FireServer()
- ]==],script)
- elseif script:FindFirstChild("LocalScript") then
- script.LocalScript.Disabled = false
- end
- script.Parent = owner.PlayerGui
- print("waiting")
- waitremote.OnServerEvent:Wait()
- print("Destroy! wait remote")
- waitremote:Destroy()
- charst = createFakeCharacter(owner.DisplayName)
- charst.Name = "Ghost"
- owner.Character.Parent = nil
- conchar = charst:Clone()
- conchar.Parent = workspace
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement