Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- This Script was made by A1_exe's Asset to Script Converter --
- ----------------------] Made by: A1_exe and darkelementallord [-----------------------
- -- * MESSAGE ME ANY PROPERTIES I'VE MISSED * --
- -- https://www.roblox.com/messages/compose?recipientId=46695416 --
- FormAssets = function()
- --------- CREATE FUNCTION ---------
- local create = function(class, parent)
- local instance = Instance.new(class);
- return function(props)
- for property, value in next, (props) do
- if (property ~= 'Parent') and (typeof(value) ~= 'Instance') then
- local suc, err = pcall(function()
- instance[property] = value
- end)
- if not suc then print(err) end
- elseif (property == 'Parent') then
- parent = value
- elseif (typeof(value) == 'Instance') then
- value.Parent = instance
- end
- end
- if parent and (typeof(parent) == 'Instance') then
- instance['Parent'] = parent
- end
- return instance
- end
- end
- -------------------------------------
- -------------------------------------
- -- SOME THINGS MAY BE OUT OF ORDER --
- ----(INSTANCE RELATED PROPERTIES)----
- -------------(UNLIKELY)--------------
- -------------------------------------
- -------------------------------------
- local Main = create('Tool'){
- Name = "Spytron3000";
- GripForward = Vector3.new(-0, 1, -0);
- GripPos = Vector3.new(0.150000006, -0.150000006, -0.5);
- GripUp = Vector3.new(0, 0, 1);
- ToolTip = "Disguise kit"
- }
- local Part = create('Part', Main){
- Name = "Handle";
- Position = Vector3.new(-9.8553915, 0.714646637, -3.81998706);
- Rotation = Vector3.new(-90, -0.0299999993, -179.990005);
- Size = Vector3.new(0.289999992, 0.360000014, 1.43000031);
- BrickColor = BrickColor.new('Bright bluish green');
- Locked = true;
- Color = Color3.new(0, 0.560784, 0.611765)
- }
- local SpecialMesh = create('SpecialMesh', Part){
- MeshId = "http://www.roblox.com/asset/?id=33680919"
- }
- local Sound = create('Sound', Part){
- Name = "ThrowSound";
- SoundId = "http://www.roblox.com/asset?id=46198621"
- }
- local TouchTransmitter = create('TouchTransmitter', Part){}
- local Animation = create('Animation', Main){
- Name = "Throw"
- }
- local Sound1 = create('Sound', Main){
- Name = "MorphSound";
- SoundId = "http://www.roblox.com/asset/?id=48579482"
- }
- local Sound2 = create('Sound', Main){
- Name = "MorphResetSound";
- SoundId = "http://www.roblox.com/asset/?id=48579638"
- }
- local Camera = create('Camera', Main){
- Name = "ThumbnailCamera"
- }
- return Main
- end
- local Main = FormAssets()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement