Advertisement
HenloMyDude

men mine saw neck

Aug 30th, 2019
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.35 KB | None | 0 0
  1.  
  2. --Converted with ttyyuu12345's model to script plugin v4
  3. function sandbox(var,func)
  4. local env = getfenv(func)
  5. local newenv = setmetatable({},{
  6. __index = function(self,k)
  7. if k=="script" then
  8. return var
  9. else
  10. return env[k]
  11. end
  12. end,
  13. })
  14. setfenv(func,newenv)
  15. return func
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. Model0 = Instance.new("Model")
  20. Model1 = Instance.new("Model")
  21. Part2 = Instance.new("Part")
  22. SpecialMesh3 = Instance.new("SpecialMesh")
  23. Decal4 = Instance.new("Decal")
  24. Decal5 = Instance.new("Decal")
  25. Decal6 = Instance.new("Decal")
  26. Decal7 = Instance.new("Decal")
  27. Decal8 = Instance.new("Decal")
  28. Decal9 = Instance.new("Decal")
  29. Model10 = Instance.new("Model")
  30. Part11 = Instance.new("Part")
  31. SpecialMesh12 = Instance.new("SpecialMesh")
  32. Decal13 = Instance.new("Decal")
  33. Decal14 = Instance.new("Decal")
  34. Decal15 = Instance.new("Decal")
  35. Decal16 = Instance.new("Decal")
  36. Decal17 = Instance.new("Decal")
  37. Decal18 = Instance.new("Decal")
  38. Model19 = Instance.new("Model")
  39. Part20 = Instance.new("Part")
  40. SpecialMesh21 = Instance.new("SpecialMesh")
  41. Decal22 = Instance.new("Decal")
  42. Decal23 = Instance.new("Decal")
  43. Decal24 = Instance.new("Decal")
  44. Decal25 = Instance.new("Decal")
  45. Decal26 = Instance.new("Decal")
  46. Decal27 = Instance.new("Decal")
  47. Model28 = Instance.new("Model")
  48. Part29 = Instance.new("Part")
  49. SpecialMesh30 = Instance.new("SpecialMesh")
  50. Decal31 = Instance.new("Decal")
  51. Decal32 = Instance.new("Decal")
  52. Decal33 = Instance.new("Decal")
  53. Decal34 = Instance.new("Decal")
  54. Decal35 = Instance.new("Decal")
  55. Decal36 = Instance.new("Decal")
  56. Part37 = Instance.new("Part")
  57. Script38 = Instance.new("Script")
  58. Script39 = Instance.new("Script")
  59. Script40 = Instance.new("Script")
  60. Script41 = Instance.new("Script")
  61. LocalScript42 = Instance.new("LocalScript")
  62. Script43 = Instance.new("Script")
  63. Sound44 = Instance.new("Sound")
  64. Sound45 = Instance.new("Sound")
  65. CylinderMesh46 = Instance.new("CylinderMesh")
  66. Model47 = Instance.new("Model")
  67. Part48 = Instance.new("Part")
  68. SpecialMesh49 = Instance.new("SpecialMesh")
  69. Decal50 = Instance.new("Decal")
  70. Decal51 = Instance.new("Decal")
  71. Decal52 = Instance.new("Decal")
  72. Decal53 = Instance.new("Decal")
  73. Decal54 = Instance.new("Decal")
  74. Decal55 = Instance.new("Decal")
  75. Script56 = Instance.new("Script")
  76. Model57 = Instance.new("Model")
  77. Part58 = Instance.new("Part")
  78. SpecialMesh59 = Instance.new("SpecialMesh")
  79. Decal60 = Instance.new("Decal")
  80. Decal61 = Instance.new("Decal")
  81. Decal62 = Instance.new("Decal")
  82. Decal63 = Instance.new("Decal")
  83. Decal64 = Instance.new("Decal")
  84. Decal65 = Instance.new("Decal")
  85. Part66 = Instance.new("Part")
  86. SpecialMesh67 = Instance.new("SpecialMesh")
  87. Decal68 = Instance.new("Decal")
  88. Decal69 = Instance.new("Decal")
  89. Decal70 = Instance.new("Decal")
  90. Decal71 = Instance.new("Decal")
  91. Decal72 = Instance.new("Decal")
  92. Model0.Name = "Sonic Morph"
  93. Model0.Parent = mas
  94. Model1.Name = "Leg2"
  95. Model1.Parent = Model0
  96. Part2.Name = "Middle"
  97. Part2.Parent = Model1
  98. Part2.CFrame = CFrame.new(68.6252899, 1.02136803, 4.37042189, 0.99984169, 0.000312189572, -0.0176074207, -1.33543961e-06, 0.999839067, 0.0176535156, 0.0176102817, -0.0176524259, 0.999686956)
  99. Part2.Orientation = Vector3.new(-1.00999999, -1.00999999, 0)
  100. Part2.Position = Vector3.new(68.6252899, 1.02136803, 4.37042189)
  101. Part2.Rotation = Vector3.new(-1.00999999, -1.00999999, -0.0199999996)
  102. Part2.Color = Color3.new(0.972549, 0.972549, 0.972549)
  103. Part2.Size = Vector3.new(1, 2, 1)
  104. Part2.Anchored = true
  105. Part2.BottomSurface = Enum.SurfaceType.Smooth
  106. Part2.BrickColor = BrickColor.new("Institutional white")
  107. Part2.Material = Enum.Material.SmoothPlastic
  108. Part2.TopSurface = Enum.SurfaceType.Smooth
  109. Part2.brickColor = BrickColor.new("Institutional white")
  110. Part2.FormFactor = Enum.FormFactor.Symmetric
  111. Part2.formFactor = Enum.FormFactor.Symmetric
  112. SpecialMesh3.Parent = Part2
  113. SpecialMesh3.Offset = Vector3.new(-0.125, 0, 0)
  114. SpecialMesh3.Scale = Vector3.new(0.75, 1, 0.75)
  115. SpecialMesh3.MeshType = Enum.MeshType.Brick
  116. Decal4.Parent = Part2
  117. Decal4.Texture = "http://www.roblox.com/asset/?id=336045592"
  118. Decal5.Parent = Part2
  119. Decal5.Texture = "http://www.roblox.com/asset/?id=336045607"
  120. Decal5.Face = Enum.NormalId.Left
  121. Decal6.Parent = Part2
  122. Decal6.Texture = "http://www.roblox.com/asset/?id=336045747"
  123. Decal6.Face = Enum.NormalId.Back
  124. Decal7.Parent = Part2
  125. Decal7.Texture = "http://www.roblox.com/asset/?id=336045766"
  126. Decal7.Face = Enum.NormalId.Right
  127. Decal8.Parent = Part2
  128. Decal8.Texture = "http://www.roblox.com/asset/?id=336045783"
  129. Decal8.Face = Enum.NormalId.Top
  130. Decal9.Parent = Part2
  131. Decal9.Texture = "http://www.roblox.com/asset/?id=336045801"
  132. Decal9.Face = Enum.NormalId.Bottom
  133. Model10.Name = "Leg1"
  134. Model10.Parent = Model0
  135. Part11.Name = "Middle"
  136. Part11.Parent = Model10
  137. Part11.CFrame = CFrame.new(67.625618, 1.02136803, 4.35284424, 0.99984169, 0.000312189572, -0.0176074207, -1.33543961e-06, 0.999839067, 0.0176535156, 0.0176102817, -0.0176524259, 0.999686956)
  138. Part11.Orientation = Vector3.new(-1.00999999, -1.00999999, 0)
  139. Part11.Position = Vector3.new(67.625618, 1.02136803, 4.35284424)
  140. Part11.Rotation = Vector3.new(-1.00999999, -1.00999999, -0.0199999996)
  141. Part11.Color = Color3.new(0.972549, 0.972549, 0.972549)
  142. Part11.Size = Vector3.new(1, 2, 1)
  143. Part11.Anchored = true
  144. Part11.BottomSurface = Enum.SurfaceType.Smooth
  145. Part11.BrickColor = BrickColor.new("Institutional white")
  146. Part11.Material = Enum.Material.SmoothPlastic
  147. Part11.TopSurface = Enum.SurfaceType.Smooth
  148. Part11.brickColor = BrickColor.new("Institutional white")
  149. Part11.FormFactor = Enum.FormFactor.Symmetric
  150. Part11.formFactor = Enum.FormFactor.Symmetric
  151. SpecialMesh12.Parent = Part11
  152. SpecialMesh12.Offset = Vector3.new(0.125, 0, 0)
  153. SpecialMesh12.Scale = Vector3.new(0.75, 1, 0.75)
  154. SpecialMesh12.MeshType = Enum.MeshType.Brick
  155. Decal13.Parent = Part11
  156. Decal13.Texture = "http://www.roblox.com/asset/?id=336045592"
  157. Decal14.Parent = Part11
  158. Decal14.Texture = "http://www.roblox.com/asset/?id=336045607"
  159. Decal14.Face = Enum.NormalId.Left
  160. Decal15.Parent = Part11
  161. Decal15.Texture = "http://www.roblox.com/asset/?id=336045747"
  162. Decal15.Face = Enum.NormalId.Back
  163. Decal16.Parent = Part11
  164. Decal16.Texture = "http://www.roblox.com/asset/?id=336045766"
  165. Decal16.Face = Enum.NormalId.Right
  166. Decal17.Parent = Part11
  167. Decal17.Texture = "http://www.roblox.com/asset/?id=336045783"
  168. Decal17.Face = Enum.NormalId.Top
  169. Decal18.Parent = Part11
  170. Decal18.Texture = "http://www.roblox.com/asset/?id=336045801"
  171. Decal18.Face = Enum.NormalId.Bottom
  172. Model19.Name = "Chest"
  173. Model19.Parent = Model0
  174. Part20.Name = "Middle"
  175. Part20.Parent = Model19
  176. Part20.CFrame = CFrame.new(68.1260147, 3.02045012, 4.32592678, 0.99984169, 0.000312189572, -0.0176074207, -1.33543961e-06, 0.999839067, 0.0176535156, 0.0176102817, -0.0176524259, 0.999686956)
  177. Part20.Orientation = Vector3.new(-1.00999999, -1.00999999, 0)
  178. Part20.Position = Vector3.new(68.1260147, 3.02045012, 4.32592678)
  179. Part20.Rotation = Vector3.new(-1.00999999, -1.00999999, -0.0199999996)
  180. Part20.Color = Color3.new(0.972549, 0.972549, 0.972549)
  181. Part20.Size = Vector3.new(2, 2, 1)
  182. Part20.Anchored = true
  183. Part20.BottomSurface = Enum.SurfaceType.Smooth
  184. Part20.BrickColor = BrickColor.new("Institutional white")
  185. Part20.Material = Enum.Material.SmoothPlastic
  186. Part20.TopSurface = Enum.SurfaceType.Smooth
  187. Part20.brickColor = BrickColor.new("Institutional white")
  188. Part20.FormFactor = Enum.FormFactor.Symmetric
  189. Part20.formFactor = Enum.FormFactor.Symmetric
  190. SpecialMesh21.Parent = Part20
  191. SpecialMesh21.Scale = Vector3.new(0.75, 1, 0.75)
  192. SpecialMesh21.MeshType = Enum.MeshType.Brick
  193. Decal22.Parent = Part20
  194. Decal22.Texture = "http://www.roblox.com/asset/?id=336045888"
  195. Decal23.Parent = Part20
  196. Decal23.Texture = "http://www.roblox.com/asset/?id=336045912"
  197. Decal23.Face = Enum.NormalId.Left
  198. Decal24.Parent = Part20
  199. Decal24.Texture = "http://www.roblox.com/asset/?id=336045922"
  200. Decal24.Face = Enum.NormalId.Back
  201. Decal25.Parent = Part20
  202. Decal25.Texture = "http://www.roblox.com/asset/?id=336045940"
  203. Decal25.Face = Enum.NormalId.Right
  204. Decal26.Parent = Part20
  205. Decal26.Texture = "http://www.roblox.com/asset/?id=336045977"
  206. Decal26.Face = Enum.NormalId.Top
  207. Decal27.Parent = Part20
  208. Decal27.Texture = "http://www.roblox.com/asset/?id=336046001"
  209. Decal27.Face = Enum.NormalId.Bottom
  210. Model28.Name = "Arm1"
  211. Model28.Parent = Model0
  212. Part29.Name = "Middle"
  213. Part29.Parent = Model28
  214. Part29.CFrame = CFrame.new(66.6265717, 3.02053094, 4.29962111, 0.999844909, 0.000312232412, -0.0176075995, -1.32663979e-06, 0.999844134, 0.0176547691, 0.0176102817, -0.0176520068, 0.999689102)
  215. Part29.Orientation = Vector3.new(-1.00999999, -1.00999999, 0)
  216. Part29.Position = Vector3.new(66.6265717, 3.02053094, 4.29962111)
  217. Part29.Rotation = Vector3.new(-1.00999999, -1.00999999, -0.0199999996)
  218. Part29.Color = Color3.new(0.972549, 0.972549, 0.972549)
  219. Part29.Size = Vector3.new(1, 2, 1)
  220. Part29.Anchored = true
  221. Part29.BottomSurface = Enum.SurfaceType.Smooth
  222. Part29.BrickColor = BrickColor.new("Institutional white")
  223. Part29.Material = Enum.Material.SmoothPlastic
  224. Part29.TopSurface = Enum.SurfaceType.Smooth
  225. Part29.brickColor = BrickColor.new("Institutional white")
  226. Part29.FormFactor = Enum.FormFactor.Symmetric
  227. Part29.formFactor = Enum.FormFactor.Symmetric
  228. SpecialMesh30.Parent = Part29
  229. SpecialMesh30.Offset = Vector3.new(0.375, 0, 0)
  230. SpecialMesh30.Scale = Vector3.new(0.75, 1, 0.75)
  231. SpecialMesh30.MeshType = Enum.MeshType.Brick
  232. Decal31.Parent = Part29
  233. Decal31.Texture = "http://www.roblox.com/asset/?id=336045358"
  234. Decal32.Parent = Part29
  235. Decal32.Texture = "http://www.roblox.com/asset/?id=336045368"
  236. Decal32.Face = Enum.NormalId.Left
  237. Decal33.Parent = Part29
  238. Decal33.Texture = "http://www.roblox.com/asset/?id=336045376"
  239. Decal33.Face = Enum.NormalId.Back
  240. Decal34.Parent = Part29
  241. Decal34.Texture = "http://www.roblox.com/asset/?id=336045385"
  242. Decal34.Face = Enum.NormalId.Right
  243. Decal35.Parent = Part29
  244. Decal35.Texture = "http://www.roblox.com/asset/?id=336045394"
  245. Decal35.Face = Enum.NormalId.Top
  246. Decal36.Parent = Part29
  247. Decal36.Texture = "http://www.roblox.com/asset/?id=336045403"
  248. Decal36.Face = Enum.NormalId.Bottom
  249. Part37.Name = "Head"
  250. Part37.Parent = Model0
  251. Part37.CFrame = CFrame.new(68.2756805, 0.100084998, 0.85769701, 0.999996841, -1.64996891e-07, 3.60608101e-06, 1.36153233e-07, 0.999994814, -3.82900325e-05, -3.51667404e-06, 3.66732493e-05, 0.999997854)
  252. Part37.Position = Vector3.new(68.2756805, 0.100084998, 0.85769701)
  253. Part37.Color = Color3.new(1, 0.8, 0.6)
  254. Part37.Size = Vector3.new(4, 0.200000003, 4)
  255. Part37.Anchored = true
  256. Part37.BottomSurface = Enum.SurfaceType.Smooth
  257. Part37.BrickColor = BrickColor.new("Pastel brown")
  258. Part37.TopSurface = Enum.SurfaceType.Smooth
  259. Part37.brickColor = BrickColor.new("Pastel brown")
  260. Part37.FormFactor = Enum.FormFactor.Custom
  261. Part37.formFactor = Enum.FormFactor.Custom
  262. Script38.Name = "HatRemover"
  263. Script38.Parent = Part37
  264. table.insert(cors,sandbox(Script38,function()
  265. function onTouched(hit)
  266. local d = hit.Parent:GetChildren()
  267. for i=1, #d do
  268. if (d[i].className == "Hat") then
  269. d[i]:remove()
  270. end
  271. end
  272. end
  273.  
  274. script.Parent.Touched:connect(onTouched)
  275. end))
  276. Script39.Parent = Part37
  277. table.insert(cors,sandbox(Script39,function()
  278. -- declarations
  279.  
  280. local head = script.Parent
  281. local sound = head:findFirstChild("Victory")
  282.  
  283. function onTouched(part)
  284. local h = part.Parent:findFirstChild("Humanoid")
  285. if h~=nil then
  286. sound:play()
  287. if part.Parent:findFirstChild("Head"):findFirstChild("face").Texture == nil then return end
  288. part.Parent:findFirstChild("Head"):findFirstChild("face").Texture="717dea9c5a1659640155f77c84892c " end
  289. end
  290.  
  291. script.Parent.Touched:connect(onTouched)
  292. end))
  293. Script40.Parent = Part37
  294. table.insert(cors,sandbox(Script40,function()
  295. -- declarations
  296.  
  297. local head = script.Parent
  298. local sound = head:findFirstChild("Victory")
  299.  
  300. function onTouched(part)
  301. local h = part.Parent:findFirstChild("Humanoid")
  302. if h~=nil then
  303. sound:play()
  304. if part.Parent:findFirstChild("Head"):findFirstChild("face").Texture == nil then return end
  305. part.Parent:findFirstChild("Head"):findFirstChild("face").Texture="717dea9c5a1659640155f77c84892c " end
  306. end
  307.  
  308. script.Parent.Touched:connect(onTouched)
  309. end))
  310. Script41.Name = "Stepped"
  311. Script41.Parent = Part37
  312. table.insert(cors,sandbox(Script41,function()
  313. local Button = script.Parent
  314. local Sound = Button:WaitForChild("Sound") -- change if you change the name of the sound
  315. local SoundPlayer = script:WaitForChild("SoundPlayer")
  316.  
  317. function GiveSound(Character)
  318. local Player = game.Players:GetPlayerFromCharacter(Character)
  319. if Player ~= nil then
  320. local PlayerGui = Player:FindFirstChild("PlayerGui")
  321. if PlayerGui ~= nil then
  322. local SoundScript = SoundPlayer:clone()
  323. local SoundCopy = Sound:clone()
  324. SoundCopy.Name = "Sound"
  325. SoundCopy.Parent = SoundScript
  326.  
  327. SoundScript.Parent = PlayerGui
  328. SoundScript.Disabled = false
  329. end
  330. end
  331. end
  332.  
  333. function Stepped(Part)
  334. if Part.Parent == nil then return end
  335. GiveSound(Part.Parent)
  336. end
  337. Button.Touched:connect(Stepped)
  338.  
  339. end))
  340. LocalScript42.Name = "SoundPlayer"
  341. LocalScript42.Parent = Script41
  342. table.insert(cors,sandbox(LocalScript42,function()
  343. local Camera = game.Workspace.CurrentCamera
  344. local Sound = script:WaitForChild("Sound")
  345.  
  346. local RobloxHasWorkingIsPlaying = false -- change me to true when roblox updates IsPlaying
  347. local SoundDeleteTimeForNonLooped = 1 -- set me while roblox still has non working IsPlaying
  348.  
  349. function PlaySound()
  350. Sound.Name = "SteppedSound"
  351. Sound.Parent = Camera
  352. if RobloxHasWorkingIsPlaying then
  353. Sound.Changed:connect(function(Property) if Property == "IsPlaying" and Sound.IsPlaying == false then Sound:Destroy(); script:Destroy() end end)
  354. Sound:Play()
  355. elseif not Sound.Looped then
  356. game.Debris:AddItem(Sound,SoundDeleteTimeForNonLooped)
  357. Sound:Play()
  358. script:Destroy()
  359. else
  360. Sound:Play()
  361. script:Destroy()
  362. end
  363. end
  364.  
  365. function Soundify()
  366. local OldSound = Camera:FindFirstChild("SteppedSound")
  367. if OldSound ~= nil then
  368. if OldSound.SoundId ~= Sound.SoundId then
  369. OldSound:Destroy()
  370. PlaySound()
  371. else
  372. script:Destroy()
  373. end
  374. else
  375. PlaySound()
  376. end
  377. end
  378.  
  379. Soundify()
  380. end))
  381. LocalScript42.Disabled = true
  382. Script43.Name = "Morph Script"
  383. Script43.Parent = Part37
  384. table.insert(cors,sandbox(Script43,function()
  385. function onTouched(hit)
  386.  
  387. if hit.Parent:findFirstChild("Arm1") ~= nil then
  388. hit.Parent:findFirstChild("Arm1"):Destroy()
  389. end
  390.  
  391. if hit.Parent:findFirstChild("Arm2") ~= nil then
  392. hit.Parent:findFirstChild("Arm2"):Destroy()
  393. end
  394.  
  395. if hit.Parent:findFirstChild("Leg1") ~= nil then
  396. hit.Parent:findFirstChild("Leg1"):Destroy()
  397. end
  398.  
  399. if hit.Parent:findFirstChild("Leg2") ~= nil then
  400. hit.Parent:findFirstChild("Leg2"):Destroy()
  401. end
  402.  
  403. if hit.Parent:findFirstChild("Chest") ~= nil then
  404. hit.Parent:findFirstChild("Chest"):Destroy()
  405. end
  406.  
  407. if hit.Parent:findFirstChild("xHead") ~= nil then
  408. hit.Parent:findFirstChild("xHead"):Destroy()
  409. end
  410. if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent:findFirstChild("Arm1") == nil then
  411. local g = script.Parent.Parent.Arm1:clone()
  412. g.Parent = hit.Parent
  413. local C = g:GetChildren()
  414. for i=1, #C do
  415. if C[i].className == "Part" or C[i].className == "UnionOperation" then
  416. local W = Instance.new("Weld")
  417. W.Part0 = g.Middle
  418. W.Part1 = C[i]
  419. local CJ = CFrame.new(g.Middle.Position)
  420. local C0 = g.Middle.CFrame:inverse()*CJ
  421. local C1 = C[i].CFrame:inverse()*CJ
  422. W.C0 = C0
  423. W.C1 = C1
  424. W.Parent = g.Middle
  425. end
  426. local Y = Instance.new("Weld")
  427. Y.Part0 = hit.Parent["Left Arm"]
  428. Y.Part1 = g.Middle
  429. Y.C0 = CFrame.new(0, 0, 0)
  430. Y.Parent = Y.Part0
  431. end
  432.  
  433. local h = g:GetChildren()
  434. for i = 1, # h do
  435. if h[i].className == "Part" or C[i].className == "UnionOperation" then
  436. h[i].Anchored = false
  437. h[i].CanCollide = false
  438. end
  439. end
  440.  
  441. end
  442.  
  443. if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent:findFirstChild("Arm2") == nil then
  444. local g = script.Parent.Parent.Arm2:clone()
  445. g.Parent = hit.Parent
  446. local C = g:GetChildren()
  447. for i=1, #C do
  448. if C[i].className == "Part" or C[i].className == "UnionOperation" then
  449. local W = Instance.new("Weld")
  450. W.Part0 = g.Middle
  451. W.Part1 = C[i]
  452. local CJ = CFrame.new(g.Middle.Position)
  453. local C0 = g.Middle.CFrame:inverse()*CJ
  454. local C1 = C[i].CFrame:inverse()*CJ
  455. W.C0 = C0
  456. W.C1 = C1
  457. W.Parent = g.Middle
  458. end
  459. local Y = Instance.new("Weld")
  460. Y.Part0 = hit.Parent["Right Arm"]
  461. Y.Part1 = g.Middle
  462. Y.C0 = CFrame.new(0, 0, 0)
  463. Y.Parent = Y.Part0
  464. end
  465.  
  466. local h = g:GetChildren()
  467. for i = 1, # h do
  468. if h[i].className == "Part" or C[i].className == "UnionOperation" then
  469. h[i].Anchored = false
  470. h[i].CanCollide = false
  471. end
  472. end
  473.  
  474. end
  475. if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent:findFirstChild("Leg1") == nil then
  476. local g = script.Parent.Parent.Leg1:clone()
  477. g.Parent = hit.Parent
  478. local C = g:GetChildren()
  479. for i=1, #C do
  480. if C[i].className == "Part" or C[i].className == "UnionOperation" then
  481. local W = Instance.new("Weld")
  482. W.Part0 = g.Middle
  483. W.Part1 = C[i]
  484. local CJ = CFrame.new(g.Middle.Position)
  485. local C0 = g.Middle.CFrame:inverse()*CJ
  486. local C1 = C[i].CFrame:inverse()*CJ
  487. W.C0 = C0
  488. W.C1 = C1
  489. W.Parent = g.Middle
  490. end
  491. local Y = Instance.new("Weld")
  492. Y.Part0 = hit.Parent["Left Leg"]
  493. Y.Part1 = g.Middle
  494. Y.C0 = CFrame.new(0, 0, 0)
  495. Y.Parent = Y.Part0
  496. end
  497.  
  498. local h = g:GetChildren()
  499. for i = 1, # h do
  500. if h[i].className == "Part" or C[i].className == "UnionOperation" then
  501. h[i].Anchored = false
  502. h[i].CanCollide = false
  503. end
  504. end
  505.  
  506. end
  507. if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent:findFirstChild("Leg2") == nil then
  508. local g = script.Parent.Parent.Leg2:clone()
  509. g.Parent = hit.Parent
  510. local C = g:GetChildren()
  511. for i=1, #C do
  512. if C[i].className == "Part" or C[i].className == "UnionOperation" then
  513. local W = Instance.new("Weld")
  514. W.Part0 = g.Middle
  515. W.Part1 = C[i]
  516. local CJ = CFrame.new(g.Middle.Position)
  517. local C0 = g.Middle.CFrame:inverse()*CJ
  518. local C1 = C[i].CFrame:inverse()*CJ
  519. W.C0 = C0
  520. W.C1 = C1
  521. W.Parent = g.Middle
  522. end
  523. local Y = Instance.new("Weld")
  524. Y.Part0 = hit.Parent["Right Leg"]
  525. Y.Part1 = g.Middle
  526. Y.C0 = CFrame.new(0, 0, 0)
  527. Y.Parent = Y.Part0
  528. end
  529.  
  530. local h = g:GetChildren()
  531. for i = 1, # h do
  532. if h[i].className == "Part" or C[i].className == "UnionOperation" then
  533. h[i].Anchored = false
  534. h[i].CanCollide = false
  535. end
  536. end
  537.  
  538. end
  539.  
  540.  
  541. if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent:findFirstChild("xHead") == nil then
  542. local g = script.Parent.Parent.xHead:clone()
  543. g.Parent = hit.Parent
  544. local C = g:GetChildren()
  545. for i=1, #C do
  546. if C[i].className == "Part" or C[i].className == "UnionOperation" then
  547. local W = Instance.new("Weld")
  548. W.Part0 = g.Middle
  549. W.Part1 = C[i]
  550. local CJ = CFrame.new(g.Middle.Position)
  551. local C0 = g.Middle.CFrame:inverse()*CJ
  552. local C1 = C[i].CFrame:inverse()*CJ
  553. W.C0 = C0
  554. W.C1 = C1
  555. W.Parent = g.Middle
  556. end
  557. local Y = Instance.new("Weld")
  558. Y.Part0 = hit.Parent["Head"]
  559. Y.Part1 = g.Middle
  560. Y.C0 = CFrame.new(0, 0, 0)
  561. Y.Parent = Y.Part0
  562. end
  563.  
  564. local h = g:GetChildren()
  565. for i = 1, # h do
  566. if h[i].className == "Part" or C[i].className == "UnionOperation" then
  567. h[i].Anchored = false
  568. h[i].CanCollide = false
  569. end
  570. end
  571.  
  572. end
  573.  
  574.  
  575.  
  576. if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent:findFirstChild("Chest") == nil then
  577. local g = script.Parent.Parent.Chest:clone()
  578. g.Parent = hit.Parent
  579. local C = g:GetChildren()
  580. for i=1, #C do
  581. if C[i].className == "Part" or C[i].className == "UnionOperation" then
  582. local W = Instance.new("Weld")
  583. W.Part0 = g.Middle
  584. W.Part1 = C[i]
  585. local CJ = CFrame.new(g.Middle.Position)
  586. local C0 = g.Middle.CFrame:inverse()*CJ
  587. local C1 = C[i].CFrame:inverse()*CJ
  588. W.C0 = C0
  589. W.C1 = C1
  590. W.Parent = g.Middle
  591. end
  592. local Y = Instance.new("Weld")
  593. Y.Part0 = hit.Parent.Torso
  594. Y.Part1 = g.Middle
  595. Y.C0 = CFrame.new(0, 0, 0)
  596. Y.Parent = Y.Part0
  597. end
  598.  
  599. local h = g:GetChildren()
  600. for i = 1, # h do
  601. if h[i].className == "Part" or C[i].className == "UnionOperation" then
  602. h[i].Anchored = false
  603. h[i].CanCollide = false
  604. end
  605. end
  606. hit.Parent:findFirstChild("Head").BrickColor = BrickColor.new(125)
  607. hit.Parent:findFirstChild("Head").Transparency = 0.98
  608. hit.Parent:findFirstChild("Torso").BrickColor = BrickColor.new(23)
  609. hit.Parent:findFirstChild("Torso").Transparency = 1
  610. hit.Parent:findFirstChild("Left Arm").BrickColor = BrickColor.new(23)
  611. hit.Parent:findFirstChild("Left Arm").Transparency = 1
  612. hit.Parent:findFirstChild("Right Arm").BrickColor = BrickColor.new(23)
  613. hit.Parent:findFirstChild("Right Arm").Transparency = 1
  614. hit.Parent:findFirstChild("Left Leg").BrickColor = BrickColor.new(23)
  615. hit.Parent:findFirstChild("Left Leg").CanCollide = true
  616. hit.Parent:findFirstChild("Left Leg").Transparency = 1
  617. hit.Parent:findFirstChild("Right Leg").BrickColor = BrickColor.new(23)
  618. hit.Parent:findFirstChild("Right Leg").CanCollide = true
  619. hit.Parent:findFirstChild("Right Leg").Transparency = 1
  620. end
  621. end
  622. script.Parent.Touched:connect(onTouched)
  623. end))
  624. Sound44.Name = "Victory"
  625. Sound44.Parent = Part37
  626. Sound44.EmitterSize = 0
  627. Sound44.MinDistance = 0
  628. Sound44.Pitch = 0
  629. Sound44.PlaybackSpeed = 0
  630. Sound44.SoundId = "rbxassetid://144093272"
  631. Sound44.Volume = 1
  632. Sound45.Parent = Part37
  633. Sound45.EmitterSize = 0
  634. Sound45.MinDistance = 0
  635. Sound45.SoundId = "http://www.roblox.com/asset/?id=229460162"
  636. Sound45.Volume = 1
  637. CylinderMesh46.Parent = Part37
  638. Model47.Name = "Arm2"
  639. Model47.Parent = Model0
  640. Part48.Name = "Middle"
  641. Part48.Parent = Model47
  642. Part48.CFrame = CFrame.new(69.6255722, 3.02052593, 4.35232496, 0.999844909, 0.000312232412, -0.0176075995, -1.32663979e-06, 0.999844134, 0.0176547691, 0.0176102817, -0.0176520068, 0.999689102)
  643. Part48.Orientation = Vector3.new(-1.00999999, -1.00999999, 0)
  644. Part48.Position = Vector3.new(69.6255722, 3.02052593, 4.35232496)
  645. Part48.Rotation = Vector3.new(-1.00999999, -1.00999999, -0.0199999996)
  646. Part48.Color = Color3.new(0.972549, 0.972549, 0.972549)
  647. Part48.Size = Vector3.new(1, 2, 1)
  648. Part48.Anchored = true
  649. Part48.BottomSurface = Enum.SurfaceType.Smooth
  650. Part48.BrickColor = BrickColor.new("Institutional white")
  651. Part48.Material = Enum.Material.SmoothPlastic
  652. Part48.TopSurface = Enum.SurfaceType.Smooth
  653. Part48.brickColor = BrickColor.new("Institutional white")
  654. Part48.FormFactor = Enum.FormFactor.Symmetric
  655. Part48.formFactor = Enum.FormFactor.Symmetric
  656. SpecialMesh49.Parent = Part48
  657. SpecialMesh49.Offset = Vector3.new(-0.375, 0, 0)
  658. SpecialMesh49.Scale = Vector3.new(0.75, 1, 0.75)
  659. SpecialMesh49.MeshType = Enum.MeshType.Brick
  660. Decal50.Parent = Part48
  661. Decal50.Texture = "http://www.roblox.com/asset/?id=336045358"
  662. Decal51.Parent = Part48
  663. Decal51.Texture = "http://www.roblox.com/asset/?id=336045368"
  664. Decal51.Face = Enum.NormalId.Left
  665. Decal52.Parent = Part48
  666. Decal52.Texture = "http://www.roblox.com/asset/?id=336045376"
  667. Decal52.Face = Enum.NormalId.Back
  668. Decal53.Parent = Part48
  669. Decal53.Texture = "http://www.roblox.com/asset/?id=336045385"
  670. Decal53.Face = Enum.NormalId.Right
  671. Decal54.Parent = Part48
  672. Decal54.Texture = "http://www.roblox.com/asset/?id=336045394"
  673. Decal54.Face = Enum.NormalId.Top
  674. Decal55.Parent = Part48
  675. Decal55.Texture = "http://www.roblox.com/asset/?id=336045403"
  676. Decal55.Face = Enum.NormalId.Bottom
  677. Script56.Name = "Instructions"
  678. Script56.Parent = Model0
  679. table.insert(cors,sandbox(Script56,function()
  680. --[[how to make a morph that works with meshes and unions!
  681.  
  682. take a regular brick, make it look like whatever you want,
  683. put it on the person where you want it to be,
  684. and put it in the model inside the morph that the brick is on
  685. its that easy!
  686. Credit to blockgun
  687.  
  688. ~hiimcool34]]
  689. end))
  690. Model57.Name = "xHead"
  691. Model57.Parent = Model0
  692. Part58.Name = "Middle"
  693. Part58.Parent = Model57
  694. Part58.CFrame = CFrame.new(68.1269226, 4.51982021, 4.29913282, 0.99984169, 0.000312189572, -0.0176074207, -1.33543961e-06, 0.999839067, 0.0176535156, 0.0176102817, -0.0176524259, 0.999686956)
  695. Part58.Orientation = Vector3.new(-1.00999999, -1.00999999, 0)
  696. Part58.Position = Vector3.new(68.1269226, 4.51982021, 4.29913282)
  697. Part58.Rotation = Vector3.new(-1.00999999, -1.00999999, -0.0199999996)
  698. Part58.Color = Color3.new(0.972549, 0.972549, 0.972549)
  699. Part58.Size = Vector3.new(2, 1, 1)
  700. Part58.Anchored = true
  701. Part58.BottomSurface = Enum.SurfaceType.Smooth
  702. Part58.BrickColor = BrickColor.new("Institutional white")
  703. Part58.Material = Enum.Material.SmoothPlastic
  704. Part58.TopSurface = Enum.SurfaceType.Smooth
  705. Part58.brickColor = BrickColor.new("Institutional white")
  706. Part58.FormFactor = Enum.FormFactor.Symmetric
  707. Part58.formFactor = Enum.FormFactor.Symmetric
  708. SpecialMesh59.Parent = Part58
  709. SpecialMesh59.Offset = Vector3.new(0, 0.25, 0)
  710. SpecialMesh59.Scale = Vector3.new(0.75, 1.5, 1.5)
  711. SpecialMesh59.MeshType = Enum.MeshType.Brick
  712. Decal60.Parent = Part58
  713. Decal60.Texture = "http://www.roblox.com/asset/?id=336045417"
  714. Decal61.Parent = Part58
  715. Decal61.Texture = "http://www.roblox.com/asset/?id=336045436"
  716. Decal61.Face = Enum.NormalId.Left
  717. Decal62.Parent = Part58
  718. Decal62.Texture = "http://www.roblox.com/asset/?id=336045466"
  719. Decal62.Face = Enum.NormalId.Back
  720. Decal63.Parent = Part58
  721. Decal63.Texture = "http://www.roblox.com/asset/?id=336045476"
  722. Decal63.Face = Enum.NormalId.Right
  723. Decal64.Parent = Part58
  724. Decal64.Texture = "http://www.roblox.com/asset/?id=336045490"
  725. Decal64.Face = Enum.NormalId.Top
  726. Decal65.Parent = Part58
  727. Decal65.Texture = "http://www.roblox.com/asset/?id=336045517"
  728. Decal65.Face = Enum.NormalId.Bottom
  729. Part66.Parent = Model57
  730. Part66.CFrame = CFrame.new(68.1269226, 4.51982021, 4.29913282, 0.99984169, 0.000312189572, -0.0176074207, -1.33543961e-06, 0.999839067, 0.0176535156, 0.0176102817, -0.0176524259, 0.999686956)
  731. Part66.Orientation = Vector3.new(-1.00999999, -1.00999999, 0)
  732. Part66.Position = Vector3.new(68.1269226, 4.51982021, 4.29913282)
  733. Part66.Rotation = Vector3.new(-1.00999999, -1.00999999, -0.0199999996)
  734. Part66.Color = Color3.new(0.972549, 0.972549, 0.972549)
  735. Part66.Transparency = 1
  736. Part66.Size = Vector3.new(2, 1, 1)
  737. Part66.Anchored = true
  738. Part66.BottomSurface = Enum.SurfaceType.Smooth
  739. Part66.BrickColor = BrickColor.new("Institutional white")
  740. Part66.Material = Enum.Material.SmoothPlastic
  741. Part66.TopSurface = Enum.SurfaceType.Smooth
  742. Part66.brickColor = BrickColor.new("Institutional white")
  743. Part66.FormFactor = Enum.FormFactor.Symmetric
  744. Part66.formFactor = Enum.FormFactor.Symmetric
  745. SpecialMesh67.Parent = Part66
  746. SpecialMesh67.Offset = Vector3.new(0, 0.25, 0)
  747. SpecialMesh67.Scale = Vector3.new(0.875, 1.75, 1.75)
  748. SpecialMesh67.MeshType = Enum.MeshType.Brick
  749. Decal68.Parent = Part66
  750. Decal68.Texture = "http://www.roblox.com/asset/?id=336045814"
  751. Decal69.Parent = Part66
  752. Decal69.Texture = "http://www.roblox.com/asset/?id=336045831"
  753. Decal69.Face = Enum.NormalId.Left
  754. Decal70.Parent = Part66
  755. Decal70.Texture = "http://www.roblox.com/asset/?id=336045842"
  756. Decal70.Face = Enum.NormalId.Back
  757. Decal71.Parent = Part66
  758. Decal71.Texture = "http://www.roblox.com/asset/?id=336045861"
  759. Decal71.Face = Enum.NormalId.Right
  760. Decal72.Parent = Part66
  761. Decal72.Texture = "http://www.roblox.com/asset/?id=336045872"
  762. Decal72.Face = Enum.NormalId.Top
  763. for i,v in pairs(mas:GetChildren()) do
  764. v.Parent = workspace
  765. pcall(function() v:MakeJoints() end)
  766. end
  767. mas:Destroy()
  768. for i,v in pairs(cors) do
  769. spawn(function()
  770. pcall(v)
  771. end)
  772. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement