Advertisement
Guest User

disguise probably

a guest
Oct 20th, 2017
1,165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.58 KB | None | 0 0
  1. -- This Script was made by A1_exe's Asset to Script Converter --
  2. ----------------------] Made by: A1_exe and darkelementallord [-----------------------
  3. -- * MESSAGE ME ANY PROPERTIES I'VE MISSED * --
  4. -- https://www.roblox.com/messages/compose?recipientId=46695416 --
  5.  
  6. FormAssets = function()
  7. --------- CREATE FUNCTION ---------
  8. local create = function(class, parent)
  9. local instance = Instance.new(class);
  10. return function(props)
  11. for property, value in next, (props) do
  12. if (property ~= 'Parent') and (typeof(value) ~= 'Instance') then
  13. local suc, err = pcall(function()
  14. instance[property] = value
  15. end)
  16. if not suc then print(err) end
  17.  
  18. elseif (property == 'Parent') then
  19. parent = value
  20. elseif (typeof(value) == 'Instance') then
  21. value.Parent = instance
  22. end
  23. end
  24.  
  25. if parent and (typeof(parent) == 'Instance') then
  26. instance['Parent'] = parent
  27. end
  28.  
  29. return instance
  30. end
  31. end
  32.  
  33. -------------------------------------
  34. -------------------------------------
  35. -- SOME THINGS MAY BE OUT OF ORDER --
  36. ----(INSTANCE RELATED PROPERTIES)----
  37. -------------(UNLIKELY)--------------
  38. -------------------------------------
  39. -------------------------------------
  40.  
  41. local Main = create('Tool'){
  42. Name = "Spytron3000";
  43. GripForward = Vector3.new(-0, 1, -0);
  44. GripPos = Vector3.new(0.150000006, -0.150000006, -0.5);
  45. GripUp = Vector3.new(0, 0, 1);
  46. ToolTip = "Disguise kit"
  47. }
  48.  
  49. local Part = create('Part', Main){
  50. Name = "Handle";
  51. Position = Vector3.new(-9.8553915, 0.714646637, -3.81998706);
  52. Rotation = Vector3.new(-90, -0.0299999993, -179.990005);
  53. Size = Vector3.new(0.289999992, 0.360000014, 1.43000031);
  54. BrickColor = BrickColor.new('Bright bluish green');
  55. Locked = true;
  56. Color = Color3.new(0, 0.560784, 0.611765)
  57. }
  58.  
  59. local SpecialMesh = create('SpecialMesh', Part){
  60. MeshId = "http://www.roblox.com/asset/?id=33680919"
  61. }
  62.  
  63. local Sound = create('Sound', Part){
  64. Name = "ThrowSound";
  65. SoundId = "http://www.roblox.com/asset?id=46198621"
  66. }
  67.  
  68. local TouchTransmitter = create('TouchTransmitter', Part){}
  69.  
  70. local Animation = create('Animation', Main){
  71. Name = "Throw"
  72. }
  73.  
  74. local Sound1 = create('Sound', Main){
  75. Name = "MorphSound";
  76. SoundId = "http://www.roblox.com/asset/?id=48579482"
  77. }
  78.  
  79. local Sound2 = create('Sound', Main){
  80. Name = "MorphResetSound";
  81. SoundId = "http://www.roblox.com/asset/?id=48579638"
  82. }
  83.  
  84. local Camera = create('Camera', Main){
  85. Name = "ThumbnailCamera"
  86. }
  87.  
  88. return Main
  89. end
  90.  
  91. local Main = FormAssets()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement