Advertisement
Guest User

Code

a guest
Feb 25th, 2019
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 14.19 KB | None | 0 0
  1. local Players = game:GetService("Players")
  2.  
  3. local function onCharacterAdded(character)
  4. cors = {}
  5. mas = Instance.new("Model",game:GetService("Lighting"))
  6. Part0 = Instance.new("Part")
  7. Part1 = Instance.new("Part")
  8. Part2 = Instance.new("Part")
  9. ManualWeld3 = Instance.new("ManualWeld")
  10. Part4 = Instance.new("Part")
  11. ManualWeld5 = Instance.new("ManualWeld")
  12. Part6 = Instance.new("Part")
  13. ManualWeld7 = Instance.new("ManualWeld")
  14. Part8 = Instance.new("Part")
  15. ManualWeld9 = Instance.new("ManualWeld")
  16. UnionOperation10 = Instance.new("UnionOperation")
  17. ManualWeld11 = Instance.new("ManualWeld")
  18. UnionOperation12 = Instance.new("UnionOperation")
  19. SurfaceGui13 = Instance.new("SurfaceGui")
  20. ImageLabel14 = Instance.new("ImageLabel")
  21. ManualWeld15 = Instance.new("ManualWeld")
  22. UnionOperation16 = Instance.new("UnionOperation")
  23. ManualWeld17 = Instance.new("ManualWeld")
  24. UnionOperation18 = Instance.new("UnionOperation")
  25. ManualWeld19 = Instance.new("ManualWeld")
  26. UnionOperation20 = Instance.new("UnionOperation")
  27. ManualWeld21 = Instance.new("ManualWeld")
  28. UnionOperation22 = Instance.new("UnionOperation")
  29. SurfaceGui23 = Instance.new("SurfaceGui")
  30. ImageLabel24 = Instance.new("ImageLabel")
  31. ManualWeld25 = Instance.new("ManualWeld")
  32. Part0.Name = "Left Leg"
  33. Part0.Parent = mas
  34. Part0.CFrame = CFrame.new(-13.030756, 1.4990139, 19.5060959, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  35. Part0.Position = Vector3.new(-13.030756, 1.4990139, 19.5060959)
  36. Part0.Size = Vector3.new(1, 2, 1)
  37. Part0.BottomSurface = Enum.SurfaceType.Smooth
  38. Part0.CanCollide = false
  39. Part0.Locked = true
  40. Part0.FormFactor = Enum.FormFactor.Symmetric
  41. Part0.formFactor = Enum.FormFactor.Symmetric
  42. Part1.Name = "Right Leg"
  43. Part1.Parent = mas
  44. Part1.CFrame = CFrame.new(-12.030756, 1.4990139, 19.5060959, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  45. Part1.Position = Vector3.new(-12.030756, 1.4990139, 19.5060959)
  46. Part1.Size = Vector3.new(1, 2, 1)
  47. Part1.BottomSurface = Enum.SurfaceType.Smooth
  48. Part1.CanCollide = false
  49. Part1.Locked = true
  50. Part1.FormFactor = Enum.FormFactor.Symmetric
  51. Part1.formFactor = Enum.FormFactor.Symmetric
  52. Part2.Name = "Left Leg"
  53. Part2.Parent = mas
  54. Part2.CFrame = CFrame.new(-13.030756, 0.249014497, 19.5060959, 1, 0, 0, -5.50508489e-22, 0.99999845, -2.66453526e-15, 0, 0, 1)
  55. Part2.Position = Vector3.new(-13.030756, 0.249014497, 19.5060959)
  56. Part2.Color = Color3.new(0.937255, 0.937255, 0.937255)
  57. Part2.Size = Vector3.new(1, 0.5, 1)
  58. Part2.BottomSurface = Enum.SurfaceType.Smooth
  59. Part2.BrickColor = BrickColor.new("Transparent")
  60. Part2.TopSurface = Enum.SurfaceType.Smooth
  61. Part2.brickColor = BrickColor.new("Transparent")
  62. ManualWeld3.Name = "Weld"
  63. ManualWeld3.Parent = Part2
  64. ManualWeld3.C0 = CFrame.new(0, 0, 0, 1, -5.50508489e-22, 0, 0, 0.99999845, 0, 0, -2.66453526e-15, 1)
  65. ManualWeld3.C1 = CFrame.new(0, -1.2499994, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  66. ManualWeld3.Part0 = Part2
  67. ManualWeld3.Part1 = Part0
  68. ManualWeld3.part1 = Part0
  69. Part4.Name = "Left Leg"
  70. Part4.Parent = mas
  71. Part4.CFrame = CFrame.new(-12.5557556, 0.624013901, 19.5035915, 1.19248806e-08, 1, 0, -0.99999845, 1.1924862e-08, -2.66453526e-15, 0, 0, 1)
  72. Part4.Orientation = Vector3.new(0, 0, -90)
  73. Part4.Position = Vector3.new(-12.5557556, 0.624013901, 19.5035915)
  74. Part4.Rotation = Vector3.new(0, 0, -90)
  75. Part4.Color = Color3.new(0.937255, 0.937255, 0.937255)
  76. Part4.Size = Vector3.new(1.25, 0.0500000007, 1.48500001)
  77. Part4.BottomSurface = Enum.SurfaceType.Smooth
  78. Part4.BrickColor = BrickColor.new("Transparent")
  79. Part4.TopSurface = Enum.SurfaceType.Smooth
  80. Part4.brickColor = BrickColor.new("Transparent")
  81. ManualWeld5.Name = "Weld"
  82. ManualWeld5.Parent = Part4
  83. ManualWeld5.C0 = CFrame.new(0, 0, 0, 1.19248806e-08, -1, 0, 1, 1.19248806e-08, 0, 0, 0, 1)
  84. ManualWeld5.C1 = CFrame.new(0.475000381, 0.375, -0.00250434875, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  85. ManualWeld5.Part0 = Part4
  86. ManualWeld5.Part1 = Part2
  87. ManualWeld5.part1 = Part2
  88. Part6.Name = "Right Leg"
  89. Part6.Parent = mas
  90. Part6.CFrame = CFrame.new(-12.0242577, 0.249016881, 19.4989147, -1, 0, -8.74227766e-08, -6.3513476e-23, 0.999998808, -1.77635684e-15, 8.74227766e-08, 0, -1)
  91. Part6.Orientation = Vector3.new(0, -180, 0)
  92. Part6.Position = Vector3.new(-12.0242577, 0.249016881, 19.4989147)
  93. Part6.Rotation = Vector3.new(180, 0, -180)
  94. Part6.Color = Color3.new(0.937255, 0.937255, 0.937255)
  95. Part6.Size = Vector3.new(1, 0.5, 1)
  96. Part6.BottomSurface = Enum.SurfaceType.Smooth
  97. Part6.BrickColor = BrickColor.new("Transparent")
  98. Part6.TopSurface = Enum.SurfaceType.Smooth
  99. Part6.brickColor = BrickColor.new("Transparent")
  100. ManualWeld7.Name = "Weld"
  101. ManualWeld7.Parent = Part6
  102. ManualWeld7.C0 = CFrame.new(0, 0, 0, -1, -6.3513476e-23, 8.74227766e-08, 0, 0.999998808, 0, -8.74227766e-08, -1.77635684e-15, -1)
  103. ManualWeld7.C1 = CFrame.new(0.00649833679, -1.24999702, -0.0071811676, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  104. ManualWeld7.Part0 = Part6
  105. ManualWeld7.Part1 = Part1
  106. ManualWeld7.part1 = Part1
  107. Part8.Name = "Right Leg"
  108. Part8.Parent = mas
  109. Part8.CFrame = CFrame.new(-12.499258, 0.624016404, 19.5014114, -1.19248806e-08, -1, -8.74227766e-08, -0.999998808, 1.19248664e-08, -1.77635684e-15, 1.04250613e-15, 8.74227766e-08, -1)
  110. Part8.Orientation = Vector3.new(0, -180, -90)
  111. Part8.Position = Vector3.new(-12.499258, 0.624016404, 19.5014114)
  112. Part8.Rotation = Vector3.new(180, 0, 90)
  113. Part8.Color = Color3.new(0.937255, 0.937255, 0.937255)
  114. Part8.Size = Vector3.new(1.25, 0.0500000007, 1.48500001)
  115. Part8.BottomSurface = Enum.SurfaceType.Smooth
  116. Part8.BrickColor = BrickColor.new("Transparent")
  117. Part8.TopSurface = Enum.SurfaceType.Smooth
  118. Part8.brickColor = BrickColor.new("Transparent")
  119. ManualWeld9.Name = "Weld"
  120. ManualWeld9.Parent = Part8
  121. ManualWeld9.C0 = CFrame.new(0, 0, 0, -1.19248806e-08, -1, 1.04250613e-15, -1, 1.19248806e-08, 8.74227766e-08, -8.74227766e-08, 0, -1)
  122. ManualWeld9.C1 = CFrame.new(0.475000381, 0.375, -0.00249671936, -1, 0, 8.74227766e-08, 0, 1, 0, -8.74227766e-08, 0, -1)
  123. ManualWeld9.Part0 = Part8
  124. ManualWeld9.Part1 = Part6
  125. ManualWeld9.part1 = Part6
  126. UnionOperation10.Name = "Left Leg"
  127. UnionOperation10.Parent = mas
  128. UnionOperation10.CFrame = CFrame.new(-13.1550016, 0.624999046, 18.8800049, -5.21253064e-16, -1.19248806e-08, -0.999999821, 0.99999845, -4.37113172e-08, 5.18734131e-22, -4.37113883e-08, -1, 1.19248789e-08)
  129. UnionOperation10.Orientation = Vector3.new(0, -90, 90)
  130. UnionOperation10.Position = Vector3.new(-13.1550016, 0.624999046, 18.8800049)
  131. UnionOperation10.Rotation = Vector3.new(0, -89.9700012, 90)
  132. UnionOperation10.Color = Color3.new(0.12549, 0.301961, 0.705882)
  133. UnionOperation10.Size = Vector3.new(1.24999809, 0.250001907, 1.24997997)
  134. UnionOperation10.BrickColor = BrickColor.new("Deep blue")
  135. UnionOperation10.brickColor = BrickColor.new("Deep blue")
  136. ManualWeld11.Name = "Weld"
  137. ManualWeld11.Parent = UnionOperation10
  138. ManualWeld11.C0 = CFrame.new(0, 0, 0, -5.21253064e-16, 1, -4.37113883e-08, -1.19248806e-08, -4.37113883e-08, -1, -0.999999821, 0, 1.19248789e-08)
  139. ManualWeld11.C1 = CFrame.new(-0.124245644, 0.375985146, -0.626091957, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  140. ManualWeld11.Part0 = UnionOperation10
  141. ManualWeld11.Part1 = Part2
  142. ManualWeld11.part1 = Part2
  143. UnionOperation12.Name = "Left Leg"
  144. UnionOperation12.Parent = mas
  145. UnionOperation12.CFrame = CFrame.new(-13.6550016, 0.625, 19.501091, 1.56375919e-15, 1.31134158e-07, -1, -0.999998391, 1.19248584e-08, 2.01096902e-22, 1.19248806e-08, 1, 1.31134158e-07)
  146. UnionOperation12.Orientation = Vector3.new(0, -90, -90)
  147. UnionOperation12.Position = Vector3.new(-13.6550016, 0.625, 19.501091)
  148. UnionOperation12.Rotation = Vector3.new(90, -90, 0)
  149. UnionOperation12.Color = Color3.new(0.937255, 0.937255, 0.937255)
  150. UnionOperation12.Size = Vector3.new(1.25, 1.48849297, 0.250000954)
  151. UnionOperation12.BrickColor = BrickColor.new("Transparent")
  152. UnionOperation12.brickColor = BrickColor.new("Transparent")
  153. SurfaceGui13.Parent = UnionOperation12
  154. SurfaceGui13.LightInfluence = 1
  155. SurfaceGui13.Face = Enum.NormalId.Back
  156. SurfaceGui13.ClipsDescendants = true
  157. SurfaceGui13.CanvasSize = Vector2.new(1000, 1000)
  158. SurfaceGui13.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  159. ImageLabel14.Parent = SurfaceGui13
  160. ImageLabel14.Position = UDim2.new(0.25, 0, 0.25, 0)
  161. ImageLabel14.Rotation = 270
  162. ImageLabel14.Size = UDim2.new(0.5, 0, 0.5, 0)
  163. ImageLabel14.BackgroundColor = BrickColor.new("Institutional white")
  164. ImageLabel14.BackgroundColor3 = Color3.new(1, 1, 1)
  165. ImageLabel14.BackgroundTransparency = 1
  166. ImageLabel14.BorderSizePixel = 0
  167. ImageLabel14.Image = "rbxassetid://2877462379"
  168. ImageLabel14.ScaleType = Enum.ScaleType.Fit
  169. ManualWeld15.Name = "Weld"
  170. ManualWeld15.Parent = UnionOperation12
  171. ManualWeld15.C0 = CFrame.new(0, 0, 0, 1.56375919e-15, -0.99999994, 1.19248806e-08, 1.31134158e-07, 1.19248798e-08, 1, -1, 0, 1.31134158e-07)
  172. ManualWeld15.C1 = CFrame.new(-0.624245644, 0.375986099, -0.00500392914, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  173. ManualWeld15.Part0 = UnionOperation12
  174. ManualWeld15.Part1 = Part2
  175. ManualWeld15.part1 = Part2
  176. UnionOperation16.Name = "Left Leg"
  177. UnionOperation16.Parent = mas
  178. UnionOperation16.CFrame = CFrame.new(-13.1500101, 0.624999046, 20.1250076, 1.56375919e-15, 1.31134158e-07, -1, -0.999998391, 1.19248584e-08, 2.01096902e-22, 1.19248806e-08, 1, 1.31134158e-07)
  179. UnionOperation16.Orientation = Vector3.new(0, -90, -90)
  180. UnionOperation16.Position = Vector3.new(-13.1500101, 0.624999046, 20.1250076)
  181. UnionOperation16.Rotation = Vector3.new(90, -90, 0)
  182. UnionOperation16.Color = Color3.new(0.12549, 0.301961, 0.705882)
  183. UnionOperation16.Size = Vector3.new(1.24999833, 0.250001907, 1.25000095)
  184. UnionOperation16.BrickColor = BrickColor.new("Deep blue")
  185. UnionOperation16.brickColor = BrickColor.new("Deep blue")
  186. ManualWeld17.Name = "Weld"
  187. ManualWeld17.Parent = UnionOperation16
  188. ManualWeld17.C0 = CFrame.new(0, 0, 0, 1.56375919e-15, -0.99999994, 1.19248806e-08, 1.31134158e-07, 1.19248798e-08, 1, -1, 0, 1.31134158e-07)
  189. ManualWeld17.C1 = CFrame.new(-0.119254112, 0.375985146, 0.618911743, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  190. ManualWeld17.Part0 = UnionOperation16
  191. ManualWeld17.Part1 = Part2
  192. ManualWeld17.part1 = Part2
  193. UnionOperation18.Name = "Right Leg"
  194. UnionOperation18.Parent = mas
  195. UnionOperation18.CFrame = CFrame.new(-11.9000101, 0.62500155, 20.1250057, 4.34262399e-15, 9.9347659e-08, 0.999999821, 0.999998808, -4.37113314e-08, 4.2330617e-23, 4.37113883e-08, 1, -9.93476448e-08)
  196. UnionOperation18.Orientation = Vector3.new(0, 90, 90)
  197. UnionOperation18.Position = Vector3.new(-11.9000101, 0.62500155, 20.1250057)
  198. UnionOperation18.Rotation = Vector3.new(-180, 89.9700012, -90)
  199. UnionOperation18.Color = Color3.new(0.12549, 0.301961, 0.705882)
  200. UnionOperation18.Size = Vector3.new(1.24999809, 0.250001907, 1.24997997)
  201. UnionOperation18.BrickColor = BrickColor.new("Deep blue")
  202. UnionOperation18.brickColor = BrickColor.new("Deep blue")
  203. ManualWeld19.Name = "Weld"
  204. ManualWeld19.Parent = UnionOperation18
  205. ManualWeld19.C0 = CFrame.new(0, 0, 0, 4.34262399e-15, 1, 4.37113883e-08, 9.9347659e-08, -4.37113883e-08, 1, 0.999999821, 0, -9.93476448e-08)
  206. ManualWeld19.C1 = CFrame.new(-0.124247551, 0.375985146, -0.626091003, -1, 0, 8.74227766e-08, 0, 1, 0, -8.74227766e-08, 0, -1)
  207. ManualWeld19.Part0 = UnionOperation18
  208. ManualWeld19.Part1 = Part6
  209. ManualWeld19.part1 = Part6
  210. UnionOperation20.Name = "Right Leg"
  211. UnionOperation20.Parent = mas
  212. UnionOperation20.CFrame = CFrame.new(-11.9050016, 0.62500155, 18.880003, -2.60626532e-15, -2.18556934e-07, 1, -0.999998748, 1.19248638e-08, -1.69427582e-22, -1.19248806e-08, -1, -2.18556934e-07)
  213. UnionOperation20.Orientation = Vector3.new(0, 90, -90)
  214. UnionOperation20.Position = Vector3.new(-11.9050016, 0.62500155, 18.880003)
  215. UnionOperation20.Rotation = Vector3.new(-90, 90, 0)
  216. UnionOperation20.Color = Color3.new(0.12549, 0.301961, 0.705882)
  217. UnionOperation20.Size = Vector3.new(1.24999833, 0.250001907, 1.25000095)
  218. UnionOperation20.BrickColor = BrickColor.new("Deep blue")
  219. UnionOperation20.brickColor = BrickColor.new("Deep blue")
  220. ManualWeld21.Name = "Weld"
  221. ManualWeld21.Parent = UnionOperation20
  222. ManualWeld21.C0 = CFrame.new(0, 0, 0, -2.60626532e-15, -0.99999994, -1.19248806e-08, -2.18556934e-07, 1.19248798e-08, -1, 1, 0, -2.18556934e-07)
  223. ManualWeld21.C1 = CFrame.new(-0.11925602, 0.375985146, 0.618911743, -1, 0, 8.74227766e-08, 0, 1, 0, -8.74227766e-08, 0, -1)
  224. ManualWeld21.Part0 = UnionOperation20
  225. ManualWeld21.Part1 = Part6
  226. ManualWeld21.part1 = Part6
  227. UnionOperation22.Name = "Right Leg"
  228. UnionOperation22.Parent = mas
  229. UnionOperation22.CFrame = CFrame.new(-11.400012, 0.625002503, 19.5039177, -2.60626532e-15, -2.18556934e-07, 1, -0.999998748, 1.19248638e-08, -1.69427582e-22, -1.19248806e-08, -1, -2.18556934e-07)
  230. UnionOperation22.Orientation = Vector3.new(0, 90, -90)
  231. UnionOperation22.Position = Vector3.new(-11.400012, 0.625002503, 19.5039177)
  232. UnionOperation22.Rotation = Vector3.new(-90, 90, 0)
  233. UnionOperation22.Color = Color3.new(0.937255, 0.937255, 0.937255)
  234. UnionOperation22.Size = Vector3.new(1.25, 1.48849297, 0.250000954)
  235. UnionOperation22.BrickColor = BrickColor.new("Transparent")
  236. UnionOperation22.brickColor = BrickColor.new("Transparent")
  237. SurfaceGui23.Parent = UnionOperation22
  238. SurfaceGui23.LightInfluence = 1
  239. SurfaceGui23.Face = Enum.NormalId.Back
  240. SurfaceGui23.ClipsDescendants = true
  241. SurfaceGui23.CanvasSize = Vector2.new(1000, 1000)
  242. SurfaceGui23.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  243. ImageLabel24.Parent = SurfaceGui23
  244. ImageLabel24.Position = UDim2.new(0.25, 0, 0.25, 0)
  245. ImageLabel24.Rotation = 270
  246. ImageLabel24.Size = UDim2.new(0.5, 0, 0.5, 0)
  247. ImageLabel24.BackgroundColor = BrickColor.new("Institutional white")
  248. ImageLabel24.BackgroundColor3 = Color3.new(1, 1, 1)
  249. ImageLabel24.BackgroundTransparency = 1
  250. ImageLabel24.BorderSizePixel = 0
  251. ImageLabel24.Image = "rbxassetid://2877462379"
  252. ImageLabel24.ScaleType = Enum.ScaleType.Fit
  253. ManualWeld25.Name = "Weld"
  254. ManualWeld25.Parent = UnionOperation22
  255. ManualWeld25.C0 = CFrame.new(0, 0, 0, -2.60626532e-15, -0.99999994, -1.19248806e-08, -2.18556934e-07, 1.19248798e-08, -1, 1, 0, -2.18556934e-07)
  256. ManualWeld25.C1 = CFrame.new(-0.624245644, 0.375986099, -0.00500392914, -1, 0, 8.74227766e-08, 0, 1, 0, -8.74227766e-08, 0, -1)
  257. ManualWeld25.Part0 = UnionOperation22
  258. ManualWeld25.Part1 = Part6
  259. ManualWeld25.part1 = Part6
  260. for i,v in pairs(mas:GetChildren()) do
  261.     v.Parent = workspace
  262.     pcall(function() v:MakeJoints() end)
  263. end
  264. mas:Destroy()
  265. for i,v in pairs(cors) do
  266.     spawn(function()
  267.         pcall(v)
  268.     end)
  269. end
  270. end
  271. local function onPlayerAdded(player)
  272.     player.CharacterAdded:Connect(onCharacterAdded)
  273. end
  274.  
  275. Players.PlayerAdded:Connect(onPlayerAdded)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement