SHOW:
|
|
- or go back to the newest paste.
1 | - | flag = Instance.new("Tool",game.Workspace.meunumbertwo) |
1 | + | flag = Instance.new("Tool",game.Workspace.RubikzCube) |
2 | flag.Name = "Flag" | |
3 | ||
4 | part = Instance.new("Part",flag) | |
5 | part.TopSurface = Enum.SurfaceType.Smooth | |
6 | part.Material = Enum.Material.Wood | |
7 | part.Size = Vector3.new(1,8.4000005722046,1) | |
8 | part.CFrame = CFrame.new(-1.977127790451,4.5722432136536,26.982511520386) * CFrame.Angles(2.4058070266619e-005, 0.18388628959656, -0.26177561283112) | |
9 | part.BrickColor = BrickColor.new("Reddish brown") | |
10 | part.Friction = 0.30000001192093 | |
11 | part.BottomSurface = Enum.SurfaceType.Smooth | |
12 | ||
13 | mesh = Instance.new("SpecialMesh",part) | |
14 | mesh.Scale = Vector3.new(1,1,0.30000001192093) | |
15 | ||
16 | part = Instance.new("Part",flag) | |
17 | part.FormFactor = Enum.FormFactor.Plate | |
18 | part.TopSurface = Enum.SurfaceType.Smooth | |
19 | part.Size = Vector3.new(1,0.80000001192093,1) | |
20 | part.CFrame = CFrame.new(-0.031611442565918,5.7095079421997,26.621927261353) * CFrame.Angles(8.2481397839729e-005, 0.18381264805794, -0.26193675398827) | |
21 | part.BrickColor = BrickColor.new("Black") | |
22 | part.Friction = 0.30000001192093 | |
23 | part.BottomSurface = Enum.SurfaceType.Smooth | |
24 | ||
25 | mesh = Instance.new("BlockMesh",part) | |
26 | mesh.Offset = Vector3.new(0,1,0) | |
27 | mesh.Scale = Vector3.new(3,3,0.20000000298023) | |
28 | ||
29 | part = Instance.new("Part",flag) | |
30 | part.FormFactor = Enum.FormFactor.Custom | |
31 | part.TopSurface = Enum.SurfaceType.Weld | |
32 | part.Reflectance = 0.30000001192093 | |
33 | part.Size = Vector3.new(1,1,1) | |
34 | part.CFrame = CFrame.new(-0.85821723937988,8.8249082565308,26.776245117188) * CFrame.Angles(-0.9714492559433, -1.2521303892136, -0.94710409641266) | |
35 | part.BackSurface = Enum.SurfaceType.Weld | |
36 | part.Friction = 0.30000001192093 | |
37 | part.BottomSurface = Enum.SurfaceType.Weld | |
38 | ||
39 | mesh = Instance.new("SpecialMesh",part) | |
40 | mesh.Scale = Vector3.new(0.20000000298023,0.80000001192093,0.20000000298023) | |
41 | mesh.MeshId = "http://www.roblox.com/asset/?id=1033714" | |
42 | mesh.VertexColor = Vector3.new(3.0000000280822e+015,2.999999954473e+031,3.0000000280822e+015) | |
43 | mesh.MeshType = Enum.MeshType.FileMesh | |
44 | ||
45 | handle = Instance.new("Part",flag) | |
46 | handle.CanCollide = false | |
47 | handle.Transparency = 1 | |
48 | handle.Size = Vector3.new(1,1.2000000476837,1) | |
49 | handle.Name = "Handle" | |
50 | handle.CFrame = CFrame.new(-2.1638040542603,1.9314757585526,27.017129898071) * CFrame.Angles(-1.6197603940964, 0.2572830915451, 1.761048913002) | |
51 | handle.BrickColor = BrickColor.new("Bright green") | |
52 | handle.Friction = 0.30000001192093 | |
53 | ||
54 | weld = Instance.new("Weld",handle) | |
55 | weld.Part1 = Handle | |
56 | weld.Part0 = Handle | |
57 | weld.C1 = CFrame.new(0,0,0) * CFrame.Angles(1.5707966089249, -1.5707963705063, 0) | |
58 | weld.C0 = CFrame.new(0,0,0) * CFrame.Angles(1.5707966089249, -1.5707963705063, 0) | |
59 | ||
60 | weld = Instance.new("Weld",handle) | |
61 | weld.Part1 = Handle | |
62 | weld.Part0 = Handle | |
63 | weld.C1 = CFrame.new(0,0,0) * CFrame.Angles(-1.1406116485596, -0.20152807235718, 3.1415927410126) | |
64 | weld.C0 = CFrame.new(0,0,0) * CFrame.Angles(-1.1406116485596, -0.20152807235718, 3.1415927410126) | |
65 | ||
66 | weld = Instance.new("Weld",handle) | |
67 | weld.Part1 = Handle | |
68 | weld.Part0 = Handle | |
69 | weld.C1 = CFrame.new(0,0,0) * CFrame.Angles(1.2217313051224, 1.1907023191452, -9.2768403636007e-015) | |
70 | weld.C0 = CFrame.new(0,0,0) * CFrame.Angles(1.2217313051224, 1.1907023191452, -9.2768403636007e-015) | |
71 | ||
72 | weld = Instance.new("Weld",handle) | |
73 | weld.Part1 = Handle | |
74 | weld.Part0 = Handle | |
75 | weld.C1 = CFrame.new(0,0,0) * CFrame.Angles(4.7038091111062e-007, 1.3173800706863, 1.9927442806772e-014) | |
76 | weld.C0 = CFrame.new(0,0,0) * CFrame.Angles(4.7038091111062e-007, 1.3173800706863, 1.9927442806772e-014) | |
77 | ||
78 | weld = Instance.new("Weld",handle) | |
79 | weld.Part1 = Handle | |
80 | weld.Part0 = Handle | |
81 | weld.C1 = CFrame.new(0,0,0) * CFrame.Angles(0.00079627445666119, 0.88015937805176, 6.1735417366513e-021) | |
82 | weld.C0 = CFrame.new(0,0,0) * CFrame.Angles(0.00079627445666119, 0.88015937805176, 6.1735417366513e-021) |