Advertisement
RyanDaCoder

Custom Parts (READ INSTRUCTIONS)

Jul 9th, 2018
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.89 KB | None | 0 0
  1. -- Custom Parts
  2. -- INSERT MESH TO PART
  3. -- RENAME MESH TO "CustomParts"
  4.  
  5. --[[
  6. Names:
  7. Mario
  8. Luigi
  9. Haramabe
  10. Pikachu
  11. Sans
  12. Sonic
  13. Squirtle
  14. Pistol
  15. ]]--
  16.  
  17. while true do
  18. wait()
  19. function FUNCTION(a)
  20. if (a.className == "Part") or (a.className == "Seat") or (a.className == "SpawnLocation") then
  21. if (a.Name=="Mario") then
  22. a.CustomParts.MeshId = "rbxassetid://494265290"
  23. a.CustomParts.TextureId = "rbxassetid://494265293"
  24. a.Scale = Vector3.new(4.138, 4.441, 4.656)
  25. end
  26. if (a.Name=="Luigi") then
  27. a.CustomParts.MeshId = "rbxassetid://952109645"
  28. a.CustomParts.TextureId = "rbxassetid://952109667"
  29. a.Scale = Vector3.new(7.66, 6.642, 2.759)
  30. end
  31. if (a.Name=="Harambe") then
  32. a.CustomParts.MeshId = "rbxassetid://430330296"
  33. a.CustomParts.TextureId = "rbxassetid://430330316"
  34. a.Scale = Vector3.new(6.614, 6.12, 4.362)
  35. end
  36. if (a.Name=="Pikachu") then
  37. a.CustomParts.MeshId = "rbxassetid://949646147"
  38. a.CustomParts.TextureId = "rbxassetid://949646155"
  39. a.Scale = Vector3.new(3.882, 5.387, 6.387)
  40. end
  41. if (a.Name=="Sans") then
  42. a.CustomParts.MeshId = "rbxassetid://430073345"
  43. a.CustomParts.TextureId = "rbxassetid://430073362"
  44. a.Scale = Vector3.new(5.339, 4.887, 5.201)
  45. end
  46. if (a.Name=="Sonic") then
  47. a.CustomParts.MeshId = "rbxassetid://444051415"
  48. a.CustomParts.TextureId = "rbxassetid://444051418"
  49. a.Scale = Vector3.new(5.25, 6.539, 4.788)
  50. end
  51. if (a.Name=="Squirtle") then
  52. a.CustomParts.MeshId = "rbxassetid://545624279"
  53. a.CustomParts.TextureId = "rbxassetid://545624288"
  54. a.Scale = Vector3.new(5.505, 7.407, 7.784)
  55. end
  56. if (a.Name=="Pistol") then
  57. a.CustomParts.MeshId = "rbxassetid://466593501"
  58. a.CustomParts.TextureId = "rbxassetid://466593516"
  59. a.Scale = Vector3.new(7.049, 4.308, 1.093)
  60. end
  61. end
  62. local b = a:GetChildren()
  63. for i=1,#b do
  64. FUNCTION(b[i])
  65. end
  66. end
  67.  
  68. FUNCTION(game.workspace)
  69. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement