Advertisement
plytalent

kuroghost

Sep 21st, 2021 (edited)
2,120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 25.04 KB | None | 0 0
  1. function createFakeCharacter_Backup(DisplayName)
  2.     local Model0 = Instance.new("Model")
  3.     local SpawnLocation1 = Instance.new("SpawnLocation")
  4.     local Motor6D2 = Instance.new("Motor6D")
  5.     local SpawnLocation3 = Instance.new("SpawnLocation")
  6.     local SpawnLocation4 = Instance.new("SpawnLocation")
  7.     local SpawnLocation5 = Instance.new("SpawnLocation")
  8.     local Motor6D6 = Instance.new("Motor6D")
  9.     local Motor6D7 = Instance.new("Motor6D")
  10.     local Motor6D8 = Instance.new("Motor6D")
  11.     local Motor6D9 = Instance.new("Motor6D")
  12.     local Motor6D10 = Instance.new("Motor6D")
  13.     local SpawnLocation11 = Instance.new("SpawnLocation")
  14.     local SpawnLocation12 = Instance.new("SpawnLocation")
  15.     local SpawnLocation13 = Instance.new("SpawnLocation")
  16.     local SpecialMesh14 = Instance.new("SpecialMesh")
  17.     local Weld15 = Instance.new("Weld")
  18.     local Weld16 = Instance.new("Weld")
  19.     local Pants17 = Instance.new("Pants")
  20.     local Shirt18 = Instance.new("Shirt")
  21.     local Humanoid19 = Instance.new("Humanoid")
  22.     local SpawnLocation20 = Instance.new("SpawnLocation")
  23.     local SpecialMesh21 = Instance.new("SpecialMesh")
  24.     local SpawnLocation22 = Instance.new("SpawnLocation")
  25.     local SpecialMesh23 = Instance.new("SpecialMesh")
  26.  
  27.     Model0.Name = "Ghost"
  28.     Model0.PrimaryPart = SpawnLocation1
  29.     SpawnLocation1.Name = "HumanoidRootPart"
  30.     SpawnLocation1.Parent = Model0
  31.     SpawnLocation1.CFrame = CFrame.new(-12.1660004, 3, -27.3568153, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  32.     SpawnLocation1.Position = Vector3.new(-12.166000366211, 3, -27.356815338135)
  33.     SpawnLocation1.Color = Color3.new(0.905882, 0.905882, 0.92549)
  34.     SpawnLocation1.Enabled = false
  35.     SpawnLocation1.Transparency = 1
  36.     SpawnLocation1.Size = Vector3.new(2, 2, 1)
  37.     SpawnLocation1.BottomSurface = Enum.SurfaceType.Smooth
  38.     SpawnLocation1.BrickColor = BrickColor.new("Pearl")
  39.     SpawnLocation1.CanCollide = false
  40.     SpawnLocation1.TopSurface = Enum.SurfaceType.Smooth
  41.     SpawnLocation1.brickColor = BrickColor.new("Pearl")
  42.     Motor6D2.Name = "RootJoint"
  43.     Motor6D2.Parent = SpawnLocation1
  44.     Motor6D2.MaxVelocity = 0.10000000149012
  45.     Motor6D2.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  46.     Motor6D2.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  47.     Motor6D2.Part0 = SpawnLocation1
  48.     Motor6D2.Part1 = SpawnLocation5
  49.     Motor6D2.part1 = SpawnLocation5
  50.     SpawnLocation3.Name = "Right Leg"
  51.     SpawnLocation3.Parent = Model0
  52.     SpawnLocation3.CFrame = CFrame.new(-11.6660004, 1, -27.3568153, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  53.     SpawnLocation3.Position = Vector3.new(-11.666000366211, 1, -27.356815338135)
  54.     SpawnLocation3.Color = Color3.new(0.905882, 0.905882, 0.92549)
  55.     SpawnLocation3.Enabled = false
  56.     SpawnLocation3.Size = Vector3.new(1, 2, 1)
  57.     SpawnLocation3.BottomSurface = Enum.SurfaceType.Smooth
  58.     SpawnLocation3.BrickColor = BrickColor.new("Pearl")
  59.     SpawnLocation3.CanCollide = false
  60.     SpawnLocation3.TopSurface = Enum.SurfaceType.Smooth
  61.     SpawnLocation3.brickColor = BrickColor.new("Pearl")
  62.     SpawnLocation4.Name = "Left Leg"
  63.     SpawnLocation4.Parent = Model0
  64.     SpawnLocation4.CFrame = CFrame.new(-12.6660004, 1, -27.3568153, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  65.     SpawnLocation4.Position = Vector3.new(-12.666000366211, 1, -27.356815338135)
  66.     SpawnLocation4.Color = Color3.new(0.905882, 0.905882, 0.92549)
  67.     SpawnLocation4.Enabled = false
  68.     SpawnLocation4.Size = Vector3.new(1, 2, 1)
  69.     SpawnLocation4.BottomSurface = Enum.SurfaceType.Smooth
  70.     SpawnLocation4.BrickColor = BrickColor.new("Pearl")
  71.     SpawnLocation4.CanCollide = false
  72.     SpawnLocation4.TopSurface = Enum.SurfaceType.Smooth
  73.     SpawnLocation4.brickColor = BrickColor.new("Pearl")
  74.     SpawnLocation5.Name = "Torso"
  75.     SpawnLocation5.Parent = Model0
  76.     SpawnLocation5.CFrame = CFrame.new(-12.1660004, 3, -27.3568153, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  77.     SpawnLocation5.Position = Vector3.new(-12.166000366211, 3, -27.356815338135)
  78.     SpawnLocation5.Color = Color3.new(0.905882, 0.905882, 0.92549)
  79.     SpawnLocation5.Enabled = false
  80.     SpawnLocation5.Size = Vector3.new(2, 2, 1)
  81.     SpawnLocation5.BottomSurface = Enum.SurfaceType.Smooth
  82.     SpawnLocation5.BrickColor = BrickColor.new("Pearl")
  83.     SpawnLocation5.CanCollide = false
  84.     SpawnLocation5.TopSurface = Enum.SurfaceType.Smooth
  85.     SpawnLocation5.brickColor = BrickColor.new("Pearl")
  86.     Motor6D6.Name = "Left Hip"
  87.     Motor6D6.Parent = SpawnLocation5
  88.     Motor6D6.MaxVelocity = 0.10000000149012
  89.     Motor6D6.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  90.     Motor6D6.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  91.     Motor6D6.Part0 = SpawnLocation5
  92.     Motor6D6.Part1 = SpawnLocation4
  93.     Motor6D6.part1 = SpawnLocation4
  94.     Motor6D7.Name = "Right Hip"
  95.     Motor6D7.Parent = SpawnLocation5
  96.     Motor6D7.MaxVelocity = 0.10000000149012
  97.     Motor6D7.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  98.     Motor6D7.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  99.     Motor6D7.Part0 = SpawnLocation5
  100.     Motor6D7.Part1 = SpawnLocation3
  101.     Motor6D7.part1 = SpawnLocation3
  102.     Motor6D8.Name = "Right Shoulder"
  103.     Motor6D8.Parent = SpawnLocation5
  104.     Motor6D8.MaxVelocity = 0.10000000149012
  105.     Motor6D8.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  106.     Motor6D8.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  107.     Motor6D8.Part0 = SpawnLocation5
  108.     Motor6D8.Part1 = SpawnLocation12
  109.     Motor6D8.part1 = SpawnLocation12
  110.     Motor6D9.Name = "Neck"
  111.     Motor6D9.Parent = SpawnLocation5
  112.     Motor6D9.MaxVelocity = 0.10000000149012
  113.     Motor6D9.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  114.     Motor6D9.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  115.     Motor6D9.Part0 = SpawnLocation5
  116.     Motor6D9.Part1 = SpawnLocation13
  117.     Motor6D9.part1 = SpawnLocation13
  118.     Motor6D10.Name = "Left Shoulder"
  119.     Motor6D10.Parent = SpawnLocation5
  120.     Motor6D10.MaxVelocity = 0.10000000149012
  121.     Motor6D10.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  122.     Motor6D10.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  123.     Motor6D10.Part0 = SpawnLocation5
  124.     Motor6D10.Part1 = SpawnLocation11
  125.     Motor6D10.part1 = SpawnLocation11
  126.     SpawnLocation11.Name = "Left Arm"
  127.     SpawnLocation11.Parent = Model0
  128.     SpawnLocation11.CFrame = CFrame.new(-13.6660004, 3, -27.3568153, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  129.     SpawnLocation11.Position = Vector3.new(-13.666000366211, 3, -27.356815338135)
  130.     SpawnLocation11.Color = Color3.new(0.905882, 0.905882, 0.92549)
  131.     SpawnLocation11.Enabled = false
  132.     SpawnLocation11.Size = Vector3.new(1, 2, 1)
  133.     SpawnLocation11.BottomSurface = Enum.SurfaceType.Smooth
  134.     SpawnLocation11.BrickColor = BrickColor.new("Pearl")
  135.     SpawnLocation11.CanCollide = false
  136.     SpawnLocation11.TopSurface = Enum.SurfaceType.Smooth
  137.     SpawnLocation11.brickColor = BrickColor.new("Pearl")
  138.     SpawnLocation12.Name = "Right Arm"
  139.     SpawnLocation12.Parent = Model0
  140.     SpawnLocation12.CFrame = CFrame.new(-10.6660004, 3, -27.3568153, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  141.     SpawnLocation12.Position = Vector3.new(-10.666000366211, 3, -27.356815338135)
  142.     SpawnLocation12.Color = Color3.new(0.905882, 0.905882, 0.92549)
  143.     SpawnLocation12.Enabled = false
  144.     SpawnLocation12.Size = Vector3.new(1, 2, 1)
  145.     SpawnLocation12.BottomSurface = Enum.SurfaceType.Smooth
  146.     SpawnLocation12.BrickColor = BrickColor.new("Pearl")
  147.     SpawnLocation12.CanCollide = false
  148.     SpawnLocation12.TopSurface = Enum.SurfaceType.Smooth
  149.     SpawnLocation12.brickColor = BrickColor.new("Pearl")
  150.     SpawnLocation13.Name = "Head"
  151.     SpawnLocation13.Parent = Model0
  152.     SpawnLocation13.CFrame = CFrame.new(-12.1660004, 4.5, -27.3568153, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  153.     SpawnLocation13.Position = Vector3.new(-12.166000366211, 4.5, -27.356815338135)
  154.     SpawnLocation13.Color = Color3.new(0.905882, 0.905882, 0.92549)
  155.     SpawnLocation13.Enabled = false
  156.     SpawnLocation13.Size = Vector3.new(2, 1, 1)
  157.     SpawnLocation13.BottomSurface = Enum.SurfaceType.Smooth
  158.     SpawnLocation13.BrickColor = BrickColor.new("Pearl")
  159.     SpawnLocation13.CanCollide = false
  160.     SpawnLocation13.TopSurface = Enum.SurfaceType.Smooth
  161.     SpawnLocation13.brickColor = BrickColor.new("Pearl")
  162.     SpecialMesh14.Parent = SpawnLocation13
  163.     SpecialMesh14.Scale = Vector3.new(1.25, 1.25, 1.25)
  164.     Weld15.Name = "Hair"
  165.     Weld15.Parent = SpawnLocation13
  166.     Weld15.C0 = CFrame.new(0, 0, 0.000240325928, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  167.     Weld15.Part0 = SpawnLocation13
  168.     Weld15.Part1 = SpawnLocation20
  169.     Weld15.part1 = SpawnLocation20
  170.     Weld16.Name = "Mask"
  171.     Weld16.Parent = SpawnLocation13
  172.     Weld16.C0 = CFrame.new(0, 0, 0.000240325928, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  173.     Weld16.Part0 = SpawnLocation13
  174.     Weld16.Part1 = SpawnLocation22
  175.     Weld16.part1 = SpawnLocation22
  176.     Pants17.Name = "Pants"
  177.     Pants17.Parent = Model0
  178.     Pants17.PantsTemplate = "http://www.roblox.com/asset/?id=1210858273"
  179.     Shirt18.Name = "Shirt"
  180.     Shirt18.Parent = Model0
  181.     Shirt18.ShirtTemplate = "http://www.roblox.com/asset/?id=1210857659"
  182.     Humanoid19.Parent = Model0
  183.     Humanoid19.LeftLeg = SpawnLocation4
  184.     Humanoid19.RightLeg = SpawnLocation3
  185.     Humanoid19.Torso = SpawnLocation1
  186.     Humanoid19.DisplayName = DisplayName
  187.     SpawnLocation20.Name = "Hair"
  188.     SpawnLocation20.Parent = Model0
  189.     SpawnLocation20.CFrame = CFrame.new(-12.1660004, 4.5, -27.356575, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  190.     SpawnLocation20.Position = Vector3.new(-12.166000366211, 4.5, -27.356575012207)
  191.     SpawnLocation20.Color = Color3.new(0.905882, 0.905882, 0.92549)
  192.     SpawnLocation20.Enabled = false
  193.     SpawnLocation20.Size = Vector3.new(1, 1, 1)
  194.     SpawnLocation20.BottomSurface = Enum.SurfaceType.Smooth
  195.     SpawnLocation20.BrickColor = BrickColor.new("Pearl")
  196.     SpawnLocation20.CanCollide = false
  197.     SpawnLocation20.TopSurface = Enum.SurfaceType.Smooth
  198.     SpawnLocation20.brickColor = BrickColor.new("Pearl")
  199.     SpecialMesh21.Name = "SpecialMesh"
  200.     SpecialMesh21.Parent = SpawnLocation20
  201.     SpecialMesh21.MeshId = "rbxassetid://6521980205"
  202.     SpecialMesh21.Offset = Vector3.new(0, -0.69999998807907, 0.30000001192093)
  203.     SpecialMesh21.Scale = Vector3.new(0.94999998807907, 0.95999997854233, 0.91000002622604)
  204.     SpecialMesh21.TextureId = "http://www.roblox.com/asset/?id=6517665515"
  205.     SpecialMesh21.MeshType = Enum.MeshType.FileMesh
  206.     SpawnLocation22.Name = "Mask"
  207.     SpawnLocation22.Parent = Model0
  208.     SpawnLocation22.CFrame = CFrame.new(-12.1660004, 4.5, -27.356575, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  209.     SpawnLocation22.Position = Vector3.new(-12.166000366211, 4.5, -27.356575012207)
  210.     SpawnLocation22.Color = Color3.new(0.905882, 0.905882, 0.92549)
  211.     SpawnLocation22.Enabled = false
  212.     SpawnLocation22.Size = Vector3.new(1, 1, 1)
  213.     SpawnLocation22.BottomSurface = Enum.SurfaceType.Smooth
  214.     SpawnLocation22.BrickColor = BrickColor.new("Pearl")
  215.     SpawnLocation22.CanCollide = false
  216.     SpawnLocation22.TopSurface = Enum.SurfaceType.Smooth
  217.     SpawnLocation22.brickColor = BrickColor.new("Pearl")
  218.     SpecialMesh23.Name = "SpecialMesh"
  219.     SpecialMesh23.Parent = SpawnLocation22
  220.     SpecialMesh23.MeshId = "rbxassetid://5728632913"
  221.     SpecialMesh23.TextureId = "http://www.roblox.com/asset/?id=4809181158"
  222.     SpecialMesh23.MeshType = Enum.MeshType.FileMesh
  223.  
  224.     return Model0
  225. end
  226.  
  227. function createFakeCharacter(DisplayName)
  228.     local Model0 = Instance.new("Model")
  229.     local SpawnLocation1 = Instance.new("Part")
  230.     local Motor6D2 = Instance.new("Motor6D")
  231.     local SpawnLocation3 = Instance.new("Part")
  232.     local SpawnLocation4 = Instance.new("Part")
  233.     local SpawnLocation5 = Instance.new("Part")
  234.     local Motor6D6 = Instance.new("Motor6D")
  235.     local Motor6D7 = Instance.new("Motor6D")
  236.     local Motor6D8 = Instance.new("Motor6D")
  237.     local Motor6D9 = Instance.new("Motor6D")
  238.     local Motor6D10 = Instance.new("Motor6D")
  239.     local SpawnLocation11 = Instance.new("Part")
  240.     local SpawnLocation12 = Instance.new("Part")
  241.     local SpawnLocation13 = Instance.new("Part")
  242.     local SpecialMesh14 = Instance.new("SpecialMesh")
  243.     local Weld15 = Instance.new("Weld")
  244.     local Weld16 = Instance.new("Weld")
  245.     local Pants17 = Instance.new("Pants")
  246.     local Shirt18 = Instance.new("Shirt")
  247.     local Humanoid19 = Instance.new("Humanoid")
  248.     local SpawnLocation20 = Instance.new("Part")
  249.     local SpecialMesh21 = Instance.new("SpecialMesh")
  250.     local SpawnLocation22 = Instance.new("Part")
  251.     local SpecialMesh23 = Instance.new("SpecialMesh")
  252.  
  253.     Model0.Name = "Ghost"
  254.     Model0.PrimaryPart = SpawnLocation1
  255.     SpawnLocation1.Name = "HumanoidRootPart"
  256.     SpawnLocation1.Parent = Model0
  257.     SpawnLocation1.CFrame = CFrame.new(-12.1660004, 3, -27.3568153, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  258.     SpawnLocation1.Position = Vector3.new(-12.166000366211, 3, -27.356815338135)
  259.     SpawnLocation1.Color = Color3.new(0.905882, 0.905882, 0.92549)
  260.     SpawnLocation1.Transparency = 1
  261.     SpawnLocation1.Size = Vector3.new(2, 2, 1)
  262.     SpawnLocation1.BottomSurface = Enum.SurfaceType.Smooth
  263.     SpawnLocation1.BrickColor = BrickColor.new("Pearl")
  264.     SpawnLocation1.CanCollide = false
  265.     SpawnLocation1.TopSurface = Enum.SurfaceType.Smooth
  266.     SpawnLocation1.brickColor = BrickColor.new("Pearl")
  267.     Motor6D2.Name = "RootJoint"
  268.     Motor6D2.Parent = SpawnLocation1
  269.     Motor6D2.MaxVelocity = 0.10000000149012
  270.     Motor6D2.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  271.     Motor6D2.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  272.     Motor6D2.Part0 = SpawnLocation1
  273.     Motor6D2.Part1 = SpawnLocation5
  274.     Motor6D2.part1 = SpawnLocation5
  275.     SpawnLocation3.Name = "Right Leg"
  276.     SpawnLocation3.Parent = Model0
  277.     SpawnLocation3.CFrame = CFrame.new(-11.6660004, 1, -27.3568153, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  278.     SpawnLocation3.Position = Vector3.new(-11.666000366211, 1, -27.356815338135)
  279.     SpawnLocation3.Color = Color3.new(0.905882, 0.905882, 0.92549)
  280.     SpawnLocation3.Size = Vector3.new(1, 2, 1)
  281.     SpawnLocation3.BottomSurface = Enum.SurfaceType.Smooth
  282.     SpawnLocation3.BrickColor = BrickColor.new("Pearl")
  283.     SpawnLocation3.CanCollide = false
  284.     SpawnLocation3.TopSurface = Enum.SurfaceType.Smooth
  285.     SpawnLocation3.brickColor = BrickColor.new("Pearl")
  286.     SpawnLocation4.Name = "Left Leg"
  287.     SpawnLocation4.Parent = Model0
  288.     SpawnLocation4.CFrame = CFrame.new(-12.6660004, 1, -27.3568153, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  289.     SpawnLocation4.Position = Vector3.new(-12.666000366211, 1, -27.356815338135)
  290.     SpawnLocation4.Color = Color3.new(0.905882, 0.905882, 0.92549)
  291.     SpawnLocation4.Size = Vector3.new(1, 2, 1)
  292.     SpawnLocation4.BottomSurface = Enum.SurfaceType.Smooth
  293.     SpawnLocation4.BrickColor = BrickColor.new("Pearl")
  294.     SpawnLocation4.CanCollide = false
  295.     SpawnLocation4.TopSurface = Enum.SurfaceType.Smooth
  296.     SpawnLocation4.brickColor = BrickColor.new("Pearl")
  297.     SpawnLocation5.Name = "Torso"
  298.     SpawnLocation5.Parent = Model0
  299.     SpawnLocation5.CFrame = CFrame.new(-12.1660004, 3, -27.3568153, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  300.     SpawnLocation5.Position = Vector3.new(-12.166000366211, 3, -27.356815338135)
  301.     SpawnLocation5.Color = Color3.new(0.905882, 0.905882, 0.92549)
  302.     SpawnLocation5.Size = Vector3.new(2, 2, 1)
  303.     SpawnLocation5.BottomSurface = Enum.SurfaceType.Smooth
  304.     SpawnLocation5.BrickColor = BrickColor.new("Pearl")
  305.     SpawnLocation5.CanCollide = false
  306.     SpawnLocation5.TopSurface = Enum.SurfaceType.Smooth
  307.     SpawnLocation5.brickColor = BrickColor.new("Pearl")
  308.     Motor6D6.Name = "Left Hip"
  309.     Motor6D6.Parent = SpawnLocation5
  310.     Motor6D6.MaxVelocity = 0.10000000149012
  311.     Motor6D6.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  312.     Motor6D6.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  313.     Motor6D6.Part0 = SpawnLocation5
  314.     Motor6D6.Part1 = SpawnLocation4
  315.     Motor6D6.part1 = SpawnLocation4
  316.     Motor6D7.Name = "Right Hip"
  317.     Motor6D7.Parent = SpawnLocation5
  318.     Motor6D7.MaxVelocity = 0.10000000149012
  319.     Motor6D7.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  320.     Motor6D7.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  321.     Motor6D7.Part0 = SpawnLocation5
  322.     Motor6D7.Part1 = SpawnLocation3
  323.     Motor6D7.part1 = SpawnLocation3
  324.     Motor6D8.Name = "Right Shoulder"
  325.     Motor6D8.Parent = SpawnLocation5
  326.     Motor6D8.MaxVelocity = 0.10000000149012
  327.     Motor6D8.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  328.     Motor6D8.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  329.     Motor6D8.Part0 = SpawnLocation5
  330.     Motor6D8.Part1 = SpawnLocation12
  331.     Motor6D8.part1 = SpawnLocation12
  332.     Motor6D9.Name = "Neck"
  333.     Motor6D9.Parent = SpawnLocation5
  334.     Motor6D9.MaxVelocity = 0.10000000149012
  335.     Motor6D9.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  336.     Motor6D9.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  337.     Motor6D9.Part0 = SpawnLocation5
  338.     Motor6D9.Part1 = SpawnLocation13
  339.     Motor6D9.part1 = SpawnLocation13
  340.     Motor6D10.Name = "Left Shoulder"
  341.     Motor6D10.Parent = SpawnLocation5
  342.     Motor6D10.MaxVelocity = 0.10000000149012
  343.     Motor6D10.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  344.     Motor6D10.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  345.     Motor6D10.Part0 = SpawnLocation5
  346.     Motor6D10.Part1 = SpawnLocation11
  347.     Motor6D10.part1 = SpawnLocation11
  348.     SpawnLocation11.Name = "Left Arm"
  349.     SpawnLocation11.Parent = Model0
  350.     SpawnLocation11.CFrame = CFrame.new(-13.6660004, 3, -27.3568153, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  351.     SpawnLocation11.Position = Vector3.new(-13.666000366211, 3, -27.356815338135)
  352.     SpawnLocation11.Color = Color3.new(0.905882, 0.905882, 0.92549)
  353.     SpawnLocation11.Size = Vector3.new(1, 2, 1)
  354.     SpawnLocation11.BottomSurface = Enum.SurfaceType.Smooth
  355.     SpawnLocation11.BrickColor = BrickColor.new("Pearl")
  356.     SpawnLocation11.CanCollide = false
  357.     SpawnLocation11.TopSurface = Enum.SurfaceType.Smooth
  358.     SpawnLocation11.brickColor = BrickColor.new("Pearl")
  359.     SpawnLocation12.Name = "Right Arm"
  360.     SpawnLocation12.Parent = Model0
  361.     SpawnLocation12.CFrame = CFrame.new(-10.6660004, 3, -27.3568153, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  362.     SpawnLocation12.Position = Vector3.new(-10.666000366211, 3, -27.356815338135)
  363.     SpawnLocation12.Color = Color3.new(0.905882, 0.905882, 0.92549)
  364.     SpawnLocation12.Size = Vector3.new(1, 2, 1)
  365.     SpawnLocation12.BottomSurface = Enum.SurfaceType.Smooth
  366.     SpawnLocation12.BrickColor = BrickColor.new("Pearl")
  367.     SpawnLocation12.CanCollide = false
  368.     SpawnLocation12.TopSurface = Enum.SurfaceType.Smooth
  369.     SpawnLocation12.brickColor = BrickColor.new("Pearl")
  370.     SpawnLocation13.Name = "Head"
  371.     SpawnLocation13.Parent = Model0
  372.     SpawnLocation13.CFrame = CFrame.new(-12.1660004, 4.5, -27.3568153, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  373.     SpawnLocation13.Position = Vector3.new(-12.166000366211, 4.5, -27.356815338135)
  374.     SpawnLocation13.Color = Color3.new(0.905882, 0.905882, 0.92549)
  375.     SpawnLocation13.Size = Vector3.new(2, 1, 1)
  376.     SpawnLocation13.BottomSurface = Enum.SurfaceType.Smooth
  377.     SpawnLocation13.BrickColor = BrickColor.new("Pearl")
  378.     SpawnLocation13.CanCollide = false
  379.     SpawnLocation13.TopSurface = Enum.SurfaceType.Smooth
  380.     SpawnLocation13.brickColor = BrickColor.new("Pearl")
  381.     SpecialMesh14.Parent = SpawnLocation13
  382.     SpecialMesh14.Scale = Vector3.new(1.25, 1.25, 1.25)
  383.     Weld15.Name = "Hair"
  384.     Weld15.Parent = SpawnLocation13
  385.     Weld15.C0 = CFrame.new(0, 0, 0.000240325928, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  386.     Weld15.Part0 = SpawnLocation13
  387.     Weld15.Part1 = SpawnLocation20
  388.     Weld15.part1 = SpawnLocation20
  389.     Weld16.Name = "Mask"
  390.     Weld16.Parent = SpawnLocation13
  391.     Weld16.C0 = CFrame.new(0, 0, 0.000240325928, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  392.     Weld16.Part0 = SpawnLocation13
  393.     Weld16.Part1 = SpawnLocation22
  394.     Weld16.part1 = SpawnLocation22
  395.     Pants17.Name = "Pants"
  396.     Pants17.Parent = Model0
  397.     Pants17.PantsTemplate = "http://www.roblox.com/asset/?id=1210858273"
  398.     Shirt18.Name = "Shirt"
  399.     Shirt18.Parent = Model0
  400.     Shirt18.ShirtTemplate = "http://www.roblox.com/asset/?id=1210857659"
  401.     Humanoid19.Parent = Model0
  402.     Humanoid19.LeftLeg = SpawnLocation4
  403.     Humanoid19.RightLeg = SpawnLocation3
  404.     Humanoid19.Torso = SpawnLocation1
  405.     Humanoid19.DisplayName = DisplayName
  406.     SpawnLocation20.Name = "Hair"
  407.     SpawnLocation20.Parent = Model0
  408.     SpawnLocation20.CFrame = CFrame.new(-12.1660004, 4.5, -27.356575, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  409.     SpawnLocation20.Position = Vector3.new(-12.166000366211, 4.5, -27.356575012207)
  410.     SpawnLocation20.Color = Color3.new(0.905882, 0.905882, 0.92549)
  411.     SpawnLocation20.Size = Vector3.new(1, 1, 1)
  412.     SpawnLocation20.BottomSurface = Enum.SurfaceType.Smooth
  413.     SpawnLocation20.BrickColor = BrickColor.new("Pearl")
  414.     SpawnLocation20.CanCollide = false
  415.     SpawnLocation20.TopSurface = Enum.SurfaceType.Smooth
  416.     SpawnLocation20.brickColor = BrickColor.new("Pearl")
  417.     SpecialMesh21.Name = "SpecialMesh"
  418.     SpecialMesh21.Parent = SpawnLocation20
  419.     SpecialMesh21.MeshId = "rbxassetid://6521980205"
  420.     SpecialMesh21.Offset = Vector3.new(0, -0.69999998807907, 0.30000001192093)
  421.     SpecialMesh21.Scale = Vector3.new(0.94999998807907, 0.95999997854233, 0.91000002622604)
  422.     SpecialMesh21.TextureId = "http://www.roblox.com/asset/?id=6517665515"
  423.     SpecialMesh21.MeshType = Enum.MeshType.FileMesh
  424.     SpawnLocation22.Name = "Mask"
  425.     SpawnLocation22.Parent = Model0
  426.     SpawnLocation22.CFrame = CFrame.new(-12.1660004, 4.5, -27.356575, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  427.     SpawnLocation22.Position = Vector3.new(-12.166000366211, 4.5, -27.356575012207)
  428.     SpawnLocation22.Color = Color3.new(0.905882, 0.905882, 0.92549)
  429.     SpawnLocation22.Size = Vector3.new(1, 1, 1)
  430.     SpawnLocation22.BottomSurface = Enum.SurfaceType.Smooth
  431.     SpawnLocation22.BrickColor = BrickColor.new("Pearl")
  432.     SpawnLocation22.CanCollide = false
  433.     SpawnLocation22.TopSurface = Enum.SurfaceType.Smooth
  434.     SpawnLocation22.brickColor = BrickColor.new("Pearl")
  435.     SpecialMesh23.Name = "SpecialMesh"
  436.     SpecialMesh23.Parent = SpawnLocation22
  437.     SpecialMesh23.MeshId = "rbxassetid://5728632913"
  438.     SpecialMesh23.TextureId = "http://www.roblox.com/asset/?id=4809181158"
  439.     SpecialMesh23.MeshType = Enum.MeshType.FileMesh
  440.  
  441.     return Model0
  442. end
  443.  
  444. repeat wait() until #game:GetService("Players"):GetPlayers() > 0
  445. owner = game.Players.plytalent
  446. local com0 = Instance.new("RemoteEvent",script)
  447. local waitremote = Instance.new('RemoteEvent',script)
  448. waitremote.Name = "WaitRemote"
  449. local lasterr = ""
  450. com0.OnServerEvent:Connect(function(plr,partname,partcf,partsize)
  451.     if plr ~= owner then
  452.         return
  453.     end
  454.     if not charst then
  455.         return
  456.     end
  457.     if not conchar then
  458.         local _,err=pcall(function()
  459.             conchar = createFakeCharacter(owner.DisplayName)
  460.         end)
  461.         if err ~= lasterr then
  462.             print("ERROR:",err)
  463.             lasterr= err
  464.             return
  465.         elseif err then
  466.             if err:find("Unable To create \"SpawnLocation\"") then
  467.                 local _,err=pcall(function()
  468.                     conchar = createFakeCharacter_Backup(owner.DisplayName)
  469.                 end)
  470.                 if err ~= lasterr then
  471.                     print("ERROR:",err)
  472.                     lasterr= err
  473.                 end
  474.                 return
  475.             end
  476.         end
  477.         return
  478.     end
  479.     if not conchar.Parent then
  480.         conchar=nil
  481.         return
  482.     end
  483.     conchar.Name = "Ghost"
  484.     local part = conchar:FindFirstChild(partname)
  485.     if not part then
  486.         conchar:Destroy()
  487.         conchar = nil
  488.     end
  489.     if part then
  490.         if partname == "HumanoidRootPart" then
  491.             part.Transparency = 1
  492.         end
  493.         part.Name = partname
  494.         part.Anchored = true
  495.         part.CFrame = partcf
  496.     end
  497. end)
  498. local NLS = NLS or nil
  499. wait(3)
  500. if NLS then
  501.     NLS([==[
  502.     local remote=script.Parent.RemoteEvent
  503. game:GetService("RunService").RenderStepped:Connect(function()
  504.     if game:GetService("Players").LocalPlayer.Character.Parent ~= workspace then
  505.         game:GetService("Players").LocalPlayer.Character.Parent = workspace
  506.     end
  507. end)
  508. local parttable={}
  509. wait()
  510. game:GetService("RunService").Stepped:Connect(function()
  511.     coroutine.resume(coroutine.create(function()
  512.         if workspace:FindFirstChild("Ghost") then
  513.             for _,part in pairs(workspace:FindFirstChild("Ghost"):GetDescendants()) do
  514.                 if part:IsA("BasePart") then
  515.                     part.CanCollide = false
  516.                     part.Velocity = Vector3.new(0,0,0)
  517.                 elseif part:IsA("Humanoid") then
  518.                     part:Destroy()
  519.                 end
  520.             end
  521.         end
  522.     end))
  523.     for _, part in pairs(game:GetService("Players").LocalPlayer.Character:GetChildren()) do
  524.         coroutine.resume(coroutine.create(function()
  525.             local part = part
  526.             if part:IsA("BasePart") then
  527.                 if parttable[part.Name] ~= part.CFrame then
  528.                     parttable[part.Name] = part.CFrame
  529.                     remote:FireServer(part.Name,part.CFrame,part.Size)
  530.                 end
  531.             end
  532.         end))
  533.     end
  534. end)
  535.  
  536. script.Parent.WaitRemote:FireServer()
  537.  
  538. ]==],script)
  539. elseif script:FindFirstChild("LocalScript") then
  540.     script.LocalScript.Disabled = false
  541. end
  542. script.Parent = owner.PlayerGui
  543. print("waiting")
  544. waitremote.OnServerEvent:Wait()
  545. print("Destroy! wait remote")
  546. waitremote:Destroy()
  547. charst = createFakeCharacter(owner.DisplayName)
  548. charst.Name = "Ghost"
  549. owner.Character.Parent = nil
  550. conchar = charst:Clone()
  551. conchar.Parent = workspace
  552.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement