Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- I convert a scythe from a file to a script
- returns scythe
- --]]
- print'Not my file of scythe : https://pastebin.com/raw/qzHRBRAR'
- local function Get_Scythe_1(color_1,color_2,color_3,color_4)
- if not color_1 then
- color_1 = Color3.fromRGB(248, 248, 248)
- end
- if not color_2 then
- color_2 = Color3.fromRGB(255, 0, 191)
- end
- if not color_3 then
- color_3 = Color3.fromRGB(99, 95, 98)
- end
- if not color_4 then
- color_4 = Color3.fromRGB(4, 175, 236)
- end
- local function Weld_Parts(part_1,part_2)
- local weldc = Instance.new("WeldConstraint",part_1)
- weldc.Part0 = part_1
- weldc.Part1 = part_2
- end
- local function Delete_Table_Of_Instances(table_1)
- for _,v in pairs(table_1)do
- if typeof(v)=='Instance'then
- v:Destroy()
- else
- print(typeof(v))
- end
- end
- end
- local function Get_Union_Operation(part_1,table_of_stuff,negated)
- local table_1 = {part_1}
- for _,v in pairs(table_of_stuff)do
- table.insert(table_1,v)
- v.Color = part_1.Color
- v.CanCollide = part_1.CanCollide
- v.Transparency = part_1.Transparency
- v.Material = part_1.Material
- v.Anchored = true
- end
- local union
- if negated==nil then
- union = part_1:UnionAsync(table_of_stuff)
- else
- union = part_1:SubtractAsync(table_of_stuff)
- end
- Delete_Table_Of_Instances(table_1)
- return union
- end
- local mod = Instance.new("Model",workspace)
- mod.Name = 'Scythe'
- local part = Instance.new("Part",mod)
- part.Color = color_1
- part.Orientation = Vector3.new(-90, -90, 0)
- part.Position = Vector3.new(33.684, 21.302, 2.484)
- part.Shape = Enum.PartType.Cylinder
- part.Size = Vector3.new(0.39, 1, 1)
- local part2 = Instance.new("Part",mod)
- part2.Orientation = Vector3.new(-90, -90, 0)
- part2.Position = part.Position
- part2.Shape = Enum.PartType.Cylinder
- part2.Size = Vector3.new(0.49, 0.66, 1)
- local part3 = Instance.new("Part",mod)
- part3.Orientation = Vector3.new(0, 90, -90)
- part3.Position = Vector3.new(33.694, 20.972, 2.469)
- part3.Size = Vector3.new(0.84, 0.44, 0.54)
- local union = Get_Union_Operation(part,{part2,part3},true)
- union.Parent = mod
- union.Anchored = true
- local part5 = Instance.new("Part",mod)
- part5.Color = color_1
- part5.Orientation = Vector3.new(-42, -90, 90)
- part5.Position = Vector3.new(33.716, 20.195, 2.494)
- part5.Size = Vector3.new(0.92, 0.29, 0.95)
- part5.Anchored = true
- local part6 = Instance.new("Part",mod)
- part6.Orientation = Vector3.new(-42, -90, 90)
- part6.Position = Vector3.new(33.736, 20.006, 2.494)
- part6.Size = Vector3.new(0.92, 0.39, 0.95)
- local part7 = Instance.new("Part",mod)
- part7.Orientation = Vector3.new(0, 0, 48)
- part7.Position = Vector3.new(33.922, 19.982, 2.529)
- part7.Size = Vector3.new(1.48, 1, 0.72)
- local part8 = Instance.new("Part",mod)
- part8.Orientation = Vector3.new(0, 0, -42)
- part8.Position = Vector3.new(32.887, 20.537, 2.379)
- part8.Size = Vector3.new(1.48, 1, 0.72)
- local union2 = Get_Union_Operation(part5,{part6,part7,part8},true)
- union2.Parent = mod
- local part9 = Instance.new("Part",mod)
- part9.Color = color_1
- part9.Orientation = Vector3.new(42, 90, -90)
- part9.Position = Vector3.new(33.65, 14.8, 2.494)
- part9.Size = Vector3.new(0.983, 0.31, 1.016)
- part9.Anchored = true
- local part10 = Instance.new("Part",mod)
- part10.Orientation = Vector3.new(42, 90, -90)
- part10.Position = Vector3.new(33.629, 15.002, 2.494)
- part10.Size = Vector3.new(0.983, 0.417, 1.016)
- local part11 = Instance.new("Part",mod)
- part11.Position = Vector3.new(34.536, 14.434, 2.371)
- part11.Orientation = Vector3.new(0, 0, 138)
- part11.Size = Vector3.new(1.582, 1.069, 0.77)
- local part12 = Instance.new("Part",mod)
- part12.Orientation = Vector3.new(0, 0, -132)
- part12.Position = Vector3.new(33.43, 15.027, 2.531)
- part12.Size = Vector3.new(1.582, 1.069, 0.77)
- local union3 = Get_Union_Operation(part9,{part10,part11,part12},true)
- union3.Parent = mod
- local part13 = Instance.new("Part",mod)
- part13.Color = color_2
- part13.Material = Enum.Material.Metal
- part13.Orientation = Vector3.new(-78, 90, -90)
- part13.Position = Vector3.new(35.159, 21.132, 2.504)
- part13.Size = Vector3.new(4.83, 0.27, 2)
- part13.Anchored = true
- local part14 = Instance.new("Part",mod)
- part14.Orientation = Vector3.new(-78, 90, -90)
- part14.Position = Vector3.new(35.401, 18.604, 2.788)
- part14.Shape = Enum.PartType.Ball
- part14.Size = Vector3.new(4.55, 4.55, 4.55)
- part14.Anchored = true
- local sub_part15_1 = Instance.new("Part",mod)
- sub_part15_1.Color = color_2
- sub_part15_1.Orientation = Vector3.new(-54, 90, -90)
- sub_part15_1.Position = Vector3.new(35.601, 22.347, 2.504)
- sub_part15_1.Size = Vector3.new(5.903, 0.33, 2.444)
- sub_part15_1.Material = Enum.Material.Metal
- local sub_part15_2 = Instance.new("Part",mod)
- sub_part15_2.Orientation = Vector3.new(-54, 90, -90)
- sub_part15_2.Position = Vector3.new(34.615, 19.403, 2.851)
- sub_part15_2.Shape = Enum.PartType.Ball
- sub_part15_2.Size = Vector3.new(5.561, 5.561, 5.561)
- local part15 = Get_Union_Operation(sub_part15_1,{sub_part15_2},true)
- part15.Parent = mod
- local part16 = Instance.new("Part",mod)
- part16.Orientation = Vector3.new(-89.97, 0, 0)
- part16.Position = Vector3.new(33.074, 21.477, 2.459)
- part16.Size = Vector3.new(1.96, 0.76, 2.41)
- local part17 = Instance.new("Part",mod)
- part17.Orientation = Vector3.new(-54, -90, 90)
- part17.Position = Vector3.new(32.864, 22.012, 2.459)
- part17.Size = Vector3.new(1.96, 0.76, 2)
- local part18 = Instance.new("Part",mod)
- part18.Orientation = Vector3.new(-90, -90, 0)
- part18.Position = Vector3.new(33.994, 21.772, 2.579)
- part18.Shape = Enum.PartType.Cylinder
- part18.Size = Vector3.new(0.48, 0.52, 1)
- local part19 = Instance.new("Part",mod)
- part19.Orientation = Vector3.new(-90, 0, 0)
- part19.Position = Vector3.new(35.741, 20.92, 1.939)
- part19.Size = Vector3.new(3.54, 1, 2.46)
- local part20 = Instance.new("Part",mod)
- part20.Orientation = Vector3.new(-90, 0, 0)
- part20.Position = Vector3.new(35.731, 20.92, 3.059)
- part20.Size = Vector3.new(3.69, 1.042, 2.46)
- local union4 = Get_Union_Operation(part13,{part14,part15,part16,part17,part18,part19,part20},true)
- union4.Parent = mod
- local part21 = Instance.new("Part",mod)
- part21.Anchored = true
- part21.Color = color_1
- part21.Orientation = Vector3.new(-42, -90, 90)
- part21.Position = Vector3.new(33.716, 20.105, 2.494)
- part21.Size = Vector3.new(0.92, 0.29, 0.95)
- local part22 = Instance.new("Part",mod)
- part22.Orientation = Vector3.new(-42, -90, 90)
- part22.Position = Vector3.new(33.736, 19.916, 2.494)
- part22.Size = Vector3.new(0.92, 0.39, 0.95)
- local part23 = Instance.new("Part",mod)
- part23.Orientation = Vector3.new(0, 0, 48)
- part23.Position = Vector3.new(33.922, 19.892, 2.529)
- part23.Size = Vector3.new(1.48, 1, 0.72)
- local part24 = Instance.new("Part",mod)
- part24.Orientation = Vector3.new(0, 0, -42)
- part24.Position = Vector3.new(32.887, 20.447, 2.379)
- part24.Size = Vector3.new(1.48, 1, 0.72)
- local union5 = Get_Union_Operation(part21,{part22,part23,part24},true)
- union5.Parent = mod
- local sub_part25_1 = Instance.new("Part",mod)
- sub_part25_1.Color = color_1
- sub_part25_1.Orientation = Vector3.new(-90, -90, 0)
- sub_part25_1.Position = Vector3.new(33.072, 21.351, 2.489)
- sub_part25_1.Size = Vector3.new(0.238, 1.081, 1.081)
- sub_part25_1.Shape = Enum.PartType.Cylinder
- sub_part25_1.Anchored = true
- local sub_part25_2 = Instance.new("Part",mod)
- sub_part25_2.Orientation = Vector3.new(-90, -90, 0)
- sub_part25_2.Position = Vector3.new(33.588, 20.72, 2.489)
- sub_part25_2.Size = Vector3.new(0.281, 1.081, 1.081)
- sub_part25_2.Shape = Enum.PartType.Cylinder
- local sub_part25_3 = Instance.new("Part",mod)
- sub_part25_3.Orientation = Vector3.new(-90, -90, 0)
- sub_part25_3.Position = Vector3.new(33.548, 22.032, 2.489)
- sub_part25_3.Size = Vector3.new(0.281, 1.081, 1.081)
- sub_part25_3.Shape = Enum.PartType.Cylinder
- local sub_part25_4 = Instance.new("Part",mod)
- sub_part25_4.Orientation = Vector3.new(-90, 90, 0)
- sub_part25_4.Position = Vector3.new(33.287, 21.341, 2.498)
- sub_part25_4.Size = Vector3.new(0.682, 1.049, 1.049)
- sub_part25_4.Shape = Enum.PartType.Cylinder
- local union5 = Get_Union_Operation(sub_part25_1,{sub_part25_2,sub_part25_3,sub_part25_4},true)
- union5.Parent = mod
- local part25 = Instance.new("Part",mod)
- part25.Color = color_3
- part25.Orientation = Vector3.new(-90, -90, 0)
- part25.Position = Vector3.new(33.034, 21.353, 2.489)
- part25.Size = Vector3.new(0.22, 1, 1)
- part25.Shape = Enum.PartType.Cylinder
- part25.Anchored = true
- local part26 = Instance.new("Part",mod)
- part26.Orientation = Vector3.new(-90, -90, 0)
- part26.Position = Vector3.new(33.474, 20.713, 2.489)
- part26.Shape = Enum.PartType.Cylinder
- part26.Size = Vector3.new(0.26, 1, 1)
- local part27 = Instance.new("Part",mod)
- part27.Orientation = Vector3.new(-90, -90, 0)
- part27.Position = Vector3.new(33.474, 21.983, 2.489)
- part27.Size = Vector3.new(0.26, 1, 1)
- part27.Shape = Enum.PartType.Cylinder
- local union6 = Get_Union_Operation(part25,{part26,part27},true)
- union6.Parent = mod
- local part28 = Instance.new("Part",mod)
- part28.Color = color_1
- part28.Anchored = true
- part28.Orientation = Vector3.new(-42, -90, 90)
- part28.Position = Vector3.new(33.718, 19.202, 2.494)
- part28.Size = Vector3.new(0.983, 0.31, 1.016)
- local part29 = Instance.new("Part",mod)
- part29.Orientation = Vector3.new(-42, -90, 90)
- part29.Position = Vector3.new(33.739, 19, 2.494)
- part29.Size = Vector3.new(0.983, 0.417, 1.016)
- local part30 = Instance.new("Part",mod)
- part30.Orientation = Vector3.new(0, 0, -42)
- part30.Position = Vector3.new(32.832, 19.568, 2.371)
- part30.Size = Vector3.new(1.582, 1.069, 0.77)
- local part31 = Instance.new("Part",mod)
- part31.Orientation = Vector3.new(0, 0, 48)
- part31.Position = Vector3.new(33.938, 18.975, 2.531)
- part31.Size = Vector3.new(1.582, 1.069, 0.77)
- local union7 = Get_Union_Operation(part28,{part29,part30,part31},true)
- union7.Parent = mod
- local sub_part32_1 = Instance.new("WedgePart",mod)
- sub_part32_1.Anchored = true
- sub_part32_1.Color = color_1
- sub_part32_1.Orientation = Vector3.new(-90, -90, 0)
- sub_part32_1.Position = Vector3.new(33.809, 19.742, 2.499)
- sub_part32_1.Size = Vector3.new(0.27, 0.26, 0.62)
- local sub_part32_2 = Instance.new("WedgePart",mod)
- sub_part32_2.Orientation = Vector3.new(-90, 90, 0)
- sub_part32_2.Position = Vector3.new(33.559, 19.742, 2.494)
- sub_part32_2.Size = Vector3.new(0.27, 0.24, 0.62)
- local part32 = Get_Union_Operation(sub_part32_1,{sub_part32_2})
- part32.Parent = mod
- local part33 = Instance.new("Part",mod)
- part33.Position = Vector3.new(33.689, 19.182, 2.479)
- part33.Size = Vector3.new(0.55, 1, 0.36)
- local union8 = Get_Union_Operation(part32,{part33},true)
- union8.Parent = mod
- local part34 = Instance.new("Part",mod)
- part34.Anchored = true
- part34.Color = color_3
- part34.Orientation = Vector3.new(0, -90, 0)
- part34.Position = Vector3.new(33.684, 13.793, 2.489)
- part34.Size = Vector3.new(0.22, 1, 1)
- part34.Shape = Enum.PartType.Cylinder
- local part35 = Instance.new("Part",mod)
- part35.Orientation = Vector3.new(0, -90, 0)
- part35.Position = Vector3.new(33.054, 14.233, 2.489)
- part35.Size = Vector3.new(0.26, 1, 1)
- part35.Shape = Enum.PartType.Cylinder
- local part36 = Instance.new("Part",mod)
- part36.Orientation = Vector3.new(0, -90, 0)
- part36.Position = Vector3.new(34.324, 14.233, 2.489)
- part36.Size = Vector3.new(0.26, 1, 1)
- part36.Shape = Enum.PartType.Cylinder
- local union9 = Get_Union_Operation(part34,{part35,part36},true)
- union9.Parent = mod
- local sub_part37_1 = Instance.new("WedgePart",mod)
- sub_part37_1.Color = color_1
- sub_part37_1.Anchored = true
- sub_part37_1.Orientation = Vector3.new(90, 90, 0)
- sub_part37_1.Position = Vector3.new(33.819, 14.262, 2.494)
- sub_part37_1.Size = Vector3.new(0.27, 0.24, 0.62)
- local sub_part37_2 = Instance.new("WedgePart",mod)
- sub_part37_2.Orientation = Vector3.new(90, -90, 0)
- sub_part37_2.Position = Vector3.new(33.569, 14.262, 2.499)
- sub_part37_2.Size = Vector3.new(0.27, 0.26, 0.62)
- local part37 = Get_Union_Operation(sub_part37_1,{sub_part37_2})
- part37.Anchored = true
- local part38 = Instance.new("Part",mod)
- part38.Position = Vector3.new(33.689, 14.822, 2.479)
- part38.Size = Vector3.new(0.55, 1, 0.36)
- local union10 = Get_Union_Operation(part37,{part38},true)
- union10.Parent = mod
- local part39 = Instance.new("Part",mod)
- part39.Color = color_4
- part39.Material = Enum.Material.Glass
- part39.Reflectance = 1
- part39.Transparency = .32
- part39.Position = Vector3.new(33.684, 21.332, 2.379)
- part39.Size = Vector3.new(0.24, 0.24, 0.24)
- part39.Shape = Enum.PartType.Ball
- local part40 = part39:Clone()
- part40.Position = Vector3.new(33.684, 21.362, 2.589)
- part40.Parent = mod
- local part41 = Instance.new("Part",mod)
- part41.Color = color_3
- part41.Orientation = Vector3.new(0, 0, -90)
- part41.Position = Vector3.new(33.694, 17.202, 2.494)
- part41.Size = Vector3.new(6, 0.22, 0.18)
- part41.Shape = Enum.PartType.Cylinder
- local part42 = Instance.new("Part",mod)
- part42.Color = color_3
- part42.Orientation = Vector3.new(-90, -90, 0)
- part42.Position = Vector3.new(33.674, 21.322, 2.494)
- part42.Size = Vector3.new(0.27, 0.88, 1)
- part42.Shape = Enum.PartType.Cylinder
- local function Make_Wedge(ori,pos,size)
- local wed = Instance.new("WedgePart",mod)
- wed.Orientation = ori
- wed.Position = pos
- wed.Size = size
- wed.Color = color_3
- end
- Make_Wedge(Vector3.new(-70.15, 90.3, -179.99),Vector3.new(33.51, 13.118, 2.494),Vector3.new(0.21, 0.19, 0.97))
- Make_Wedge(Vector3.new(90, 90, 0),Vector3.new(33.819, 20.362, 2.494),Vector3.new(0.27, 0.24, 0.62))
- Make_Wedge(Vector3.new(55.85, 90.18, -179.56),Vector3.new(32.683, 21.781, 2.494),Vector3.new(0.21, 0.19, 0.97))
- Make_Wedge(Vector3.new(-90, -90, 0),Vector3.new(33.909, 20.842, 2.499),Vector3.new(0.27, 0.44, 0.62))
- Make_Wedge(Vector3.new(58.15, 89.81, 0.13),Vector3.new(32.83, 21.866, 2.494),Vector3.new(0.21, 0.19, 0.97))
- Make_Wedge(Vector3.new(-43.85, 89.86, 0.39),Vector3.new(32.615, 20.984, 2.494),Vector3.new(0.21, 0.19, 0.97))
- Make_Wedge(Vector3.new(-90, 90, 0),Vector3.new(33.454, 20.842, 2.494),Vector3.new(0.27, 0.47, 0.62))
- Make_Wedge(Vector3.new(-73.85, -90.37, 0.64),Vector3.new(33.923, 13.133, 2.494),Vector3.new(0.21, 0.19, 0.97))
- Make_Wedge(Vector3.new(-67.85, 89.73, 0.54),Vector3.new(33.355, 13.187, 2.494),Vector3.new(0.21, 0.19, 0.97))
- Make_Wedge(Vector3.new(90, -90, 0),Vector3.new(33.569, 20.362, 2.499),Vector3.new(0.27, 0.26, 0.62))
- Make_Wedge(Vector3.new(-43.85, -90.14, 0.39),Vector3.new(34.163, 13.503, 2.494),Vector3.new(0.21, 0.19, 0.97))
- Make_Wedge(Vector3.new(-31.85, 89.88, 0.350),Vector3.new(33.224, 13.605, 2.494),Vector3.new(0.21, 0.19, 0.97))
- Make_Wedge(Vector3.new(-16.15, 90.11, -179.74),Vector3.new(32.359, 21.098, 2.494),Vector3.new(0.21, 0.19, 0.97))
- Make_Wedge(Vector3.new(-46.15, -89.85, -179.81),Vector3.new(34.036, 13.389, 2.494),Vector3.new(0.21, 0.19, 0.97))
- Make_Wedge(Vector3.new(-34.15, 90.12, -179.78),Vector3.new(33.309, 13.458, 2.494),Vector3.new(0.21, 0.19, 0.97))
- Make_Wedge(Vector3.new(22.15, 89.89, 0.25),Vector3.new(32.362, 21.736, 2.494),Vector3.new(0.21, 0.19, 0.97))
- Make_Wedge(Vector3.new(-46.15, 90.15, -179.81),Vector3.new(32.728, 20.858, 2.494),Vector3.new(0.21, 0.19, 0.97))
- Make_Wedge(Vector3.new(-76.15, -89.57, 179.88),Vector3.new(33.756, 13.098, 2.494),Vector3.new(0.21, 0.19, 0.97))
- Make_Wedge(Vector3.new(-13.85, 89.89, 0.32),Vector3.new(32.323, 21.264, 2.494),Vector3.new(0.21, 0.19, 0.97))
- Make_Wedge(Vector3.new(19.85, 90.11, -179.67),Vector3.new(32.293, 21.58, 2.494),Vector3.new(0.21, 0.19, 0.97))
- for _,v in pairs(mod:GetChildren())do
- if v:IsA'BasePart'then
- Weld_Parts(union,v)
- end
- end
- wait(.1)
- for _,v in pairs(mod:GetChildren())do
- v.Anchored = false
- end
- return mod
- end
- Get_Scythe_1()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement