Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- katone = Instance.new("Model",game.Workspace)
- katone.Name = "katone"
- part = Instance.new("Part",katone)
- part.FormFactor = Enum.FormFactor.Custom
- part.LeftSurface = Enum.SurfaceType.Weld
- part.TopSurface = Enum.SurfaceType.Weld
- part.Size = Vector3.new(4,0.20000000298023,1.6000001430511)
- part.FrontSurface = Enum.SurfaceType.Weld
- part.CFrame = CFrame.new(126.133644104,2.7654404640198,-87.202041625977) * CFrame.Angles(3.1413559913635, -0.26169067621231, -1.3261190652847)
- part.RightSurface = Enum.SurfaceType.Weld
- part.BackSurface = Enum.SurfaceType.Weld
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Weld
- mesh = Instance.new("BlockMesh",part)
- part = Instance.new("Part",katone)
- part.FormFactor = Enum.FormFactor.Custom
- part.LeftSurface = Enum.SurfaceType.Weld
- part.TopSurface = Enum.SurfaceType.Weld
- part.Size = Vector3.new(1.199999332428,0.20000000298023,2.6000003814697)
- part.FrontSurface = Enum.SurfaceType.Weld
- part.CFrame = CFrame.new(126.34934234619,1.407634139061,-85.085517883301) * CFrame.Angles(3.1413559913635, -0.26169061660767, -1.3261190652847)
- part.RightSurface = Enum.SurfaceType.Weld
- part.BackSurface = Enum.SurfaceType.Weld
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Weld
- mesh = Instance.new("BlockMesh",part)
- part = Instance.new("Part",katone)
- part.FormFactor = Enum.FormFactor.Custom
- part.LeftSurface = Enum.SurfaceType.Weld
- part.TopSurface = Enum.SurfaceType.Weld
- part.Size = Vector3.new(5.8000001907349,0.40000000596046,0.20000003278255)
- part.FrontSurface = Enum.SurfaceType.Weld
- part.CFrame = CFrame.new(126.49278259277,0.98860651254654,-85.12565612793) * CFrame.Angles(0.00064847461180761, -1.3090767860413, -3.1407284736633)
- part.RightSurface = Enum.SurfaceType.Weld
- part.BackSurface = Enum.SurfaceType.Weld
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Weld
- mesh = Instance.new("BlockMesh",part)
- part = Instance.new("Part",katone)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Weld
- part.Size = Vector3.new(0.60000002384186,1,0.60000002384186)
- part.CFrame = CFrame.new(124.94692230225,2.4883377552032,-84.711944580078) * CFrame.Angles(-0.00024624317302369, 0.2617202103138, 1.5710278749466)
- part.BrickColor = BrickColor.new("Black")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Weld
- mesh = Instance.new("CylinderMesh",part)
- mesh.Offset = Vector3.new(0,1,0)
- mesh.Scale = Vector3.new(1,4,0.85000002384186)
- notojoints = Instance.new("ManualWeld",part)
- notojoints.Part1 = Part
- notojoints.Name = "Part-to-Part Strong Joint"
- notojoints.C1 = CFrame.new(0.30001831054688,0.70004272460938,0.099994659423828) * CFrame.Angles(3.1415922641754, -2.8546492103487e-007, 3.141592502594)
- notojoints.Part0 = Part
- notojoints.C0 = CFrame.new(-0.30000001192093,-0.5,-0.30000001192093) * CFrame.Angles(-0, -1.5707963705063, 0)
- part = Instance.new("Part",katone)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Weld
- part.Size = Vector3.new(0.60000002384186,0.60000002384186,0.60000002384186)
- part.CFrame = CFrame.new(126.10606384277,2.4885392189026,-85.022430419922) * CFrame.Angles(-1.5709826946259, -0.00022361808805726, -1.3090761899948)
- part.BrickColor = BrickColor.new("Black")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Weld
- mesh = Instance.new("CylinderMesh",part)
- mesh.Offset = Vector3.new(0,1,0)
- mesh.Scale = Vector3.new(1,4,0.85000002384186)
- notojoints = Instance.new("ManualWeld",part)
- notojoints.Part1 = Part
- notojoints.Name = "Part-to-Part Strong Joint"
- notojoints.C1 = CFrame.new(-0.30000305175781,0.30001831054688,0.099998474121094) * CFrame.Angles(3.1415922641754, -2.825545379892e-007, -2.4725867575626e-008)
- notojoints.Part0 = Part
- notojoints.C0 = CFrame.new(0.30000001192093,-0.30000001192093,-0.30000001192093) * CFrame.Angles(-3.1415927410126, 0, -3.1415927410126)
- missile = Instance.new("Part",katone)
- missile.FormFactor = Enum.FormFactor.Custom
- missile.TopSurface = Enum.SurfaceType.Smooth
- missile.Size = Vector3.new(0.60000002384186,0.60000002384186,2)
- missile.Name = "Missile"
- missile.FrontSurface = Enum.SurfaceType.Weld
- missile.CFrame = CFrame.new(123.49800109863,2.4880859851837,-84.323829650879) * CFrame.Angles(-3.1409442424774, 1.3090767860413, -1.5716605186462)
- missile.RightSurface = Enum.SurfaceType.Weld
- missile.BackSurface = Enum.SurfaceType.Weld
- missile.BrickColor = BrickColor.new("Really black")
- missile.Friction = 0.30000001192093
- missile.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("SpecialMesh",missile)
- mesh.Scale = Vector3.new(0.80000001192093,0.80000001192093,1)
- mesh.MeshType = Enum.MeshType.Sphere
- part = Instance.new("Part",katone)
- part.FormFactor = Enum.FormFactor.Custom
- part.LeftSurface = Enum.SurfaceType.Weld
- part.Transparency = 1
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Size = Vector3.new(0.20000000298023,1.8000001907349,0.60000002384186)
- part.FrontSurface = Enum.SurfaceType.Weld
- part.CFrame = CFrame.new(126.00256347656,2.4884438514709,-85.408813476563) * CFrame.Angles(-1.5709826946259, -0.00022361808805726, 1.8325165510178)
- part.RightSurface = Enum.SurfaceType.Weld
- part.BrickColor = BrickColor.new("Earth green")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- part = Instance.new("Part",katone)
- part.FormFactor = Enum.FormFactor.Custom
- part.LeftSurface = Enum.SurfaceType.Weld
- part.Transparency = 1
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Size = Vector3.new(1,1.8000001907349,0.20000000298023)
- part.FrontSurface = Enum.SurfaceType.Weld
- part.CFrame = CFrame.new(126.10614776611,2.0885391235352,-85.022361755371) * CFrame.Angles(-1.5709826946259, -0.00022361808805726, 1.8325165510178)
- part.RightSurface = Enum.SurfaceType.Weld
- part.BrickColor = BrickColor.new("Earth green")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- connector2 = Instance.new("Part",katone)
- connector2.FormFactor = Enum.FormFactor.Custom
- connector2.Transparency = 1
- connector2.TopSurface = Enum.SurfaceType.Smooth
- connector2.Size = Vector3.new(0.60000002384186,0.60000002384186,0.80000001192093)
- connector2.Name = "Connector2"
- connector2.FrontSurface = Enum.SurfaceType.Weld
- connector2.CFrame = CFrame.new(126.20265960693,2.4885559082031,-85.048309326172) * CFrame.Angles(-3.1409442424774, 1.3090767860413, 3.1407284736633)
- connector2.BackSurface = Enum.SurfaceType.Weld
- connector2.BrickColor = BrickColor.new("Earth green")
- connector2.Friction = 0.30000001192093
- connector2.BottomSurface = Enum.SurfaceType.Weld
- weld = Instance.new("Weld",connector2)
- weld.C0 = CFrame.new(0,0,1.5) * CFrame.Angles(-0, 0, -0)
- weld = Instance.new("Weld",connector2)
- weld.Part1 = Wpart
- weld.Part0 = Connector2
- weld.C0 = CFrame.new(0,0,1.5) * CFrame.Angles(-0, 0, -0)
- part = Instance.new("Part",katone)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Weld
- part.Size = Vector3.new(2,0.80000001192093,1.9999997615814)
- part.CFrame = CFrame.new(125.73552703857,0.98783850669861,-88.339149475098) * CFrame.Angles(1.5706099271774, 0.00022362357412931, 2.8798725605011)
- part.BackSurface = Enum.SurfaceType.Weld
- part.BrickColor = BrickColor.new("Black")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Weld
- mesh = Instance.new("CylinderMesh",part)
- part = Instance.new("WedgePart",katone)
- part.FormFactor = Enum.FormFactor.Custom
- part.BottomSurface = Enum.SurfaceType.Weld
- part.Friction = 0.30000001192093
- part.Size = Vector3.new(5.7999992370605,0.79999935626984,0.20000000298023)
- part.Name = "Part"
- part.CFrame = CFrame.new(126.49223327637,1.59104347229,-85.125152587891) * CFrame.Angles(-3.1409676074982, 1.3090749979019, 3.1406481266022)
- mesh = Instance.new("SpecialMesh",part)
- mesh.MeshType = Enum.MeshType.Wedge
- notojoints = Instance.new("ManualWeld",part)
- notojoints.Part1 = Part
- notojoints.Name = "Part-to-Part Strong Joint"
- notojoints.C1 = CFrame.new(-0.10018920898438,-2.1998825073242,2.0000762939453) * CFrame.Angles(2.0324604511261, 1.5655714273453, -1.8572556972504)
- notojoints.Part0 = Part
- notojoints.C0 = CFrame.new(2.8999996185303,-0.39999967813492,-0.10000000149012) * CFrame.Angles(-2.8966138362885, 0, -3.1415927410126)
- notojoints = Instance.new("ManualWeld",part)
- notojoints.Part1 = Part
- notojoints.Name = "Part-to-Part Strong Joint"
- notojoints.C1 = CFrame.new(0.09991455078125,-2.2001876831055,-3.8000946044922) * CFrame.Angles(-1.5706030130386, -1.5673609972, 1.5715670585632)
- notojoints.Part0 = Part
- notojoints.C0 = CFrame.new(2.8999996185303,-0.39999967813492,-0.10000000149012) * CFrame.Angles(-2.8966138362885, 0, -3.1415927410126)
- connector = Instance.new("Part",katone)
- connector.FormFactor = Enum.FormFactor.Custom
- connector.CanCollide = false
- connector.LeftSurface = Enum.SurfaceType.Weld
- connector.TopSurface = Enum.SurfaceType.Weld
- connector.Size = Vector3.new(0.99999970197678,0.59999984502792,1)
- connector.Name = "Connector"
- connector.CFrame = CFrame.new(127.65163421631,2.2888078689575,-85.436386108398) * CFrame.Angles(-3.1409442424774, 1.3090767860413, 3.1407284736633)
- connector.BackSurface = Enum.SurfaceType.Weld
- connector.BrickColor = BrickColor.new("Black")
- connector.Friction = 0.30000001192093
- connector.BottomSurface = Enum.SurfaceType.Weld
- mesh = Instance.new("BlockMesh",connector)
- weld = Instance.new("Weld",connector)
- weld.Part1 = Swivel
- weld.Part0 = Connector
- weld.C0 = CFrame.new(0,-1,0) * CFrame.Angles(-0, 0, -0)
- part = Instance.new("Part",katone)
- part.FormFactor = Enum.FormFactor.Custom
- part.LeftSurface = Enum.SurfaceType.Weld
- part.TopSurface = Enum.SurfaceType.Weld
- part.Size = Vector3.new(1.5999999046326,0.80000001192093,1)
- part.FrontSurface = Enum.SurfaceType.Weld
- part.CFrame = CFrame.new(128.89215087891,0.98966002464294,-82.352020263672) * CFrame.Angles(0.00064843805739656, -1.3090757131577, -1.569932103157)
- part.RightSurface = Enum.SurfaceType.Weld
- part.BackSurface = Enum.SurfaceType.Weld
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Weld
- mesh = Instance.new("CylinderMesh",part)
- mesh.Offset = Vector3.new(0,0,1.5)
- mesh.Scale = Vector3.new(0.5,1.0199999809265,2)
- part = Instance.new("Part",katone)
- part.FormFactor = Enum.FormFactor.Custom
- part.LeftSurface = Enum.SurfaceType.Weld
- part.Transparency = 1
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Size = Vector3.new(1,1.8000001907349,0.20000000298023)
- part.FrontSurface = Enum.SurfaceType.Weld
- part.CFrame = CFrame.new(126.10597229004,2.8885390758514,-85.022506713867) * CFrame.Angles(-1.5709826946259, -0.00022361808805726, 1.8325165510178)
- part.RightSurface = Enum.SurfaceType.Weld
- part.BrickColor = BrickColor.new("Earth green")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- part = Instance.new("WedgePart",katone)
- part.FormFactor = Enum.FormFactor.Custom
- part.BottomSurface = Enum.SurfaceType.Weld
- part.Friction = 0.30000001192093
- part.Size = Vector3.new(0.20000000298023,2.7999997138977,0.80000001192093)
- part.BackSurface = Enum.SurfaceType.Weld
- part.Name = "Part"
- part.CFrame = CFrame.new(126.58388519287,3.3492193222046,-86.081924438477) * CFrame.Angles(3.1412723064423, -0.26169633865356, -2.8968095779419)
- mesh = Instance.new("SpecialMesh",part)
- mesh.MeshType = Enum.MeshType.Wedge
- wpart = Instance.new("Part",katone)
- wpart.FormFactor = Enum.FormFactor.Custom
- wpart.LeftSurface = Enum.SurfaceType.Weld
- wpart.TopSurface = Enum.SurfaceType.Weld
- wpart.Size = Vector3.new(1,0.99999976158142,1.0000002384186)
- wpart.Name = "Wpart"
- wpart.FrontSurface = Enum.SurfaceType.Weld
- wpart.CFrame = CFrame.new(127.65158081055,2.4888076782227,-85.436424255371) * CFrame.Angles(-3.1409442424774, 1.3090767860413, 3.1407284736633)
- wpart.RightSurface = Enum.SurfaceType.Weld
- wpart.BackSurface = Enum.SurfaceType.Weld
- wpart.BrickColor = BrickColor.new("Black")
- wpart.Friction = 0.30000001192093
- wpart.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",wpart)
- swivel = Instance.new("Part",katone)
- swivel.FormFactor = Enum.FormFactor.Custom
- swivel.TopSurface = Enum.SurfaceType.Smooth
- swivel.Size = Vector3.new(0.99999982118607,0.20000000298023,1.0000007152557)
- swivel.Name = "Swivel"
- swivel.CFrame = CFrame.new(127.65185546875,1.2888078689575,-85.43620300293) * CFrame.Angles(-3.1409442424774, 1.3090767860413, 3.1407284736633)
- swivel.BrickColor = BrickColor.new("Black")
- swivel.Friction = 0.30000001192093
- swivel.BottomSurface = Enum.SurfaceType.Weld
- part = Instance.new("Part",katone)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Weld
- part.Size = Vector3.new(2,0.80000001192093,1.9999997615814)
- part.CFrame = CFrame.new(127.44323730469,0.9894083738327,-81.963905334473) * CFrame.Angles(1.5706099271774, 0.00022362357412931, -0.26172009110451)
- part.BackSurface = Enum.SurfaceType.Weld
- part.BrickColor = BrickColor.new("Black")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Weld
- mesh = Instance.new("CylinderMesh",part)
- part = Instance.new("Part",katone)
- part.FormFactor = Enum.FormFactor.Custom
- part.LeftSurface = Enum.SurfaceType.Weld
- part.Transparency = 1
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Size = Vector3.new(0.20000000298023,1.8000001907349,0.60000002384186)
- part.FrontSurface = Enum.SurfaceType.Weld
- part.CFrame = CFrame.new(126.20955657959,2.4886341094971,-84.636054992676) * CFrame.Angles(-1.5709826946259, -0.00022361808805726, 1.8325165510178)
- part.RightSurface = Enum.SurfaceType.Weld
- part.BrickColor = BrickColor.new("Earth green")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- part = Instance.new("WedgePart",katone)
- part.FormFactor = Enum.FormFactor.Custom
- part.BottomSurface = Enum.SurfaceType.Weld
- part.Friction = 0.30000001192093
- part.Size = Vector3.new(0.40000000596046,4,1.2000000476837)
- part.BackSurface = Enum.SurfaceType.Weld
- part.Name = "Part"
- part.CFrame = CFrame.new(127.92249298096,0.99073576927185,-87.886993408203) * CFrame.Angles(-5.2093600970693e-005, 0.26140460371971, -1.5689537525177)
- mesh = Instance.new("SpecialMesh",part)
- mesh.MeshType = Enum.MeshType.Wedge
- part = Instance.new("Part",katone)
- part.FormFactor = Enum.FormFactor.Custom
- part.LeftSurface = Enum.SurfaceType.Weld
- part.TopSurface = Enum.SurfaceType.Weld
- part.Size = Vector3.new(0.80000001192093,0.20000000298023,1)
- part.FrontSurface = Enum.SurfaceType.Weld
- part.CFrame = CFrame.new(128.85035705566,2.6891896724701,-84.82585144043) * CFrame.Angles(-1.5709826946259, -0.00022361808805726, -1.3090761899948)
- part.RightSurface = Enum.SurfaceType.Weld
- part.BackSurface = Enum.SurfaceType.Weld
- part.BrickColor = BrickColor.new("Black")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Weld
- mesh = Instance.new("CylinderMesh",part)
- mesh.Offset = Vector3.new(0.10000000149012,-0.40000000596046,0)
- mesh.Scale = Vector3.new(2.2000000476837,3,2)
- part = Instance.new("WedgePart",katone)
- part.FormFactor = Enum.FormFactor.Custom
- part.BottomSurface = Enum.SurfaceType.Weld
- part.Friction = 0.30000001192093
- part.Size = Vector3.new(0.20000000298023,2.7999997138977,0.80000001192093)
- part.BackSurface = Enum.SurfaceType.Weld
- part.Name = "Part"
- part.CFrame = CFrame.new(127.04985046387,3.3499717712402,-84.343330383301) * CFrame.Angles(-0.00031479960307479, 0.26171016693115, -0.2447354644537)
- mesh = Instance.new("SpecialMesh",part)
- mesh.MeshType = Enum.MeshType.Wedge
- part = Instance.new("Part",katone)
- part.FormFactor = Enum.FormFactor.Custom
- part.LeftSurface = Enum.SurfaceType.Weld
- part.TopSurface = Enum.SurfaceType.Weld
- part.Size = Vector3.new(1.5999999046326,0.80000001192093,1)
- part.FrontSurface = Enum.SurfaceType.Weld
- part.CFrame = CFrame.new(127.18444824219,0.98809015750885,-88.727264404297) * CFrame.Angles(0.00064843805739656, -1.3090757131577, -1.569932103157)
- part.RightSurface = Enum.SurfaceType.Weld
- part.BackSurface = Enum.SurfaceType.Weld
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Weld
- mesh = Instance.new("CylinderMesh",part)
- mesh.Offset = Vector3.new(0,0,1.5)
- mesh.Scale = Vector3.new(0.5,1.0199999809265,2)
- part = Instance.new("Part",katone)
- part.FormFactor = Enum.FormFactor.Custom
- part.LeftSurface = Enum.SurfaceType.Weld
- part.TopSurface = Enum.SurfaceType.Weld
- part.Size = Vector3.new(0.40000003576279,1,1.7999999523163)
- part.FrontSurface = Enum.SurfaceType.Weld
- part.CFrame = CFrame.new(128.43124389648,2.4890203475952,-85.231163024902) * CFrame.Angles(3.1413464546204, -0.2617202103138, -0.00023150151537266)
- part.RightSurface = Enum.SurfaceType.Weld
- part.BackSurface = Enum.SurfaceType.Weld
- part.BrickColor = BrickColor.new("Black")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Weld
- mesh = Instance.new("BlockMesh",part)
- part = Instance.new("Part",katone)
- part.FormFactor = Enum.FormFactor.Custom
- part.LeftSurface = Enum.SurfaceType.Weld
- part.TopSurface = Enum.SurfaceType.Weld
- part.Size = Vector3.new(4,0.20000000298023,1.6000001430511)
- part.FrontSurface = Enum.SurfaceType.Weld
- part.CFrame = CFrame.new(127.22023773193,2.7663898468018,-83.145095825195) * CFrame.Angles(3.1413559913635, -0.26169061660767, -1.3261190652847)
- part.RightSurface = Enum.SurfaceType.Weld
- part.BackSurface = Enum.SurfaceType.Weld
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Weld
- mesh = Instance.new("BlockMesh",part)
- part = Instance.new("WedgePart",katone)
- part.FormFactor = Enum.FormFactor.Custom
- part.BottomSurface = Enum.SurfaceType.Weld
- part.Friction = 0.30000001192093
- part.Size = Vector3.new(0.40000003576279,4,1.2000000476837)
- part.BackSurface = Enum.SurfaceType.Weld
- part.Name = "Part"
- part.CFrame = CFrame.new(129.11212158203,0.99207246303558,-83.446235656738) * CFrame.Angles(3.1414279937744, -0.26180130243301, -1.5714423656464)
- mesh = Instance.new("SpecialMesh",part)
- mesh.MeshType = Enum.MeshType.Wedge
- part = Instance.new("Part",katone)
- part.FormFactor = Enum.FormFactor.Custom
- part.LeftSurface = Enum.SurfaceType.Weld
- part.TopSurface = Enum.SurfaceType.Weld
- part.Size = Vector3.new(4,0.40000000596046,3.4000012874603)
- part.FrontSurface = Enum.SurfaceType.Weld
- part.CFrame = CFrame.new(128.52127075195,0.98895889520645,-85.669013977051) * CFrame.Angles(3.1413464546204, -0.2617202103138, -0.00023150151537266)
- part.RightSurface = Enum.SurfaceType.Weld
- part.BackSurface = Enum.SurfaceType.Weld
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Weld
- mesh = Instance.new("BlockMesh",part)
- part = Instance.new("Part",katone)
- part.FormFactor = Enum.FormFactor.Custom
- part.LeftSurface = Enum.SurfaceType.Weld
- part.TopSurface = Enum.SurfaceType.Weld
- part.Size = Vector3.new(1.4000000953674,0.79999983310699,0.80000001192093)
- part.FrontSurface = Enum.SurfaceType.Weld
- part.CFrame = CFrame.new(129.17120361328,2.589052438736,-85.947021484375) * CFrame.Angles(3.1413464546204, -0.2617202103138, -0.00023150151537266)
- part.RightSurface = Enum.SurfaceType.Weld
- part.BackSurface = Enum.SurfaceType.Weld
- part.BrickColor = BrickColor.new("Black")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Weld
- mesh = Instance.new("BlockMesh",part)
- vehicleseat = Instance.new("VehicleSeat",katone)
- vehicleseat.Friction = 0.30000001192093
- vehicleseat.BottomSurface = Enum.SurfaceType.Smooth
- vehicleseat.TopSurface = Enum.SurfaceType.Smooth
- vehicleseat.CFrame = CFrame.new(130.93620300293,0.68937838077545,-86.315811157227) * CFrame.Angles(-3.1409442424774, 1.3090767860413, 3.1407284736633)
- vehicleseat.Size = Vector3.new(1,1,1)
- vehicleseat.FrontSurface = Enum.SurfaceType.Weld
- vehicleseat.HeadsUpDisplay = false
- swiv = Instance.new("Sound",vehicleseat)
- swiv.Pitch = 0.69999998807907
- swiv.Name = "Swiv"
- swiv.Volume = 0
- swiv.SoundId = "http://www.roblox.com/asset/?id=31245465"
- swiv.PlayOnRemove = true
- vehiclegui = Instance.new("ScreenGui",vehicleseat)
- vehiclegui.Name = "VehicleGui"
- frame = Instance.new("Frame",vehiclegui)
- frame.Size = UDim2.new(0.2, 0, 0.05, 0)
- frame.BorderColor3 = Color3.new(0, 0, 0)
- frame.Position = UDim2.new(0, 0, 0.8, 0)
- frame.BackgroundTransparency = 1
- frame.BackgroundColor3 = Color3.new(0.905882, 0.905882, 0.905882)
- he = Instance.new("TextButton",frame)
- he.FontSize = Enum.FontSize.Size14
- he.Position = UDim2.new(0.025, 0, -1, 0)
- he.Style = Enum.ButtonStyle.RobloxButtonDefault
- he.Size = UDim2.new(1, 0, 1, 0)
- he.BorderColor3 = Color3.new(0, 0, 0)
- he.Text = "2cm Kanone "
- he.Name = "HE"
- he.TextColor3 = Color3.new(1, 1, 1)
- he.BackgroundColor3 = Color3.new(0, 0, 1)
- vehicle = Instance.new("ObjectValue",vehiclegui)
- vehicle.Name = "Vehicle"
- part = Instance.new("WedgePart",katone)
- part.FormFactor = Enum.FormFactor.Custom
- part.BottomSurface = Enum.SurfaceType.Weld
- part.Friction = 0.30000001192093
- part.Size = Vector3.new(0.80000001192093,1.5999995470047,0.40000009536743)
- part.BackSurface = Enum.SurfaceType.Weld
- part.Name = "Part"
- part.CFrame = CFrame.new(131.56198120117,0.98962247371674,-85.137550354004) * CFrame.Angles(1.570121884346, 0.00033289095154032, -1.8325176239014)
- mesh = Instance.new("SpecialMesh",part)
- mesh.MeshType = Enum.MeshType.Wedge
- part = Instance.new("WedgePart",katone)
- part.FormFactor = Enum.FormFactor.Custom
- part.BottomSurface = Enum.SurfaceType.Weld
- part.Friction = 0.30000001192093
- part.Size = Vector3.new(0.80000001192093,1.5999995470047,0.40000009536743)
- part.BackSurface = Enum.SurfaceType.Weld
- part.Name = "Part"
- part.CFrame = CFrame.new(131.5604095459,0.58950924873352,-85.137535095215) * CFrame.Angles(-1.5711231231689, 0.00052198232151568, 1.8329999446869)
- mesh = Instance.new("SpecialMesh",part)
- mesh.MeshType = Enum.MeshType.Wedge
- part = Instance.new("WedgePart",katone)
- part.FormFactor = Enum.FormFactor.Custom
- part.BottomSurface = Enum.SurfaceType.Weld
- part.Friction = 0.30000001192093
- part.Size = Vector3.new(0.80000001192093,1.5999995470047,0.40000009536743)
- part.BackSurface = Enum.SurfaceType.Weld
- part.Name = "Part"
- part.CFrame = CFrame.new(130.88960266113,0.58803832530975,-87.64958190918) * CFrame.Angles(-1.5707893371582, -0.00071207509608939, 1.8325513601303)
- mesh = Instance.new("SpecialMesh",part)
- mesh.MeshType = Enum.MeshType.Wedge
- part = Instance.new("WedgePart",katone)
- part.FormFactor = Enum.FormFactor.Custom
- part.BottomSurface = Enum.SurfaceType.Weld
- part.Friction = 0.30000001192093
- part.Size = Vector3.new(0.80000001192093,1.5999995470047,0.40000009536743)
- part.BackSurface = Enum.SurfaceType.Weld
- part.Name = "Part"
- part.CFrame = CFrame.new(130.89065551758,0.98798847198486,-87.648376464844) * CFrame.Angles(1.5706815719604, 0.00018636857566889, -1.8325166702271)
- mesh = Instance.new("SpecialMesh",part)
- mesh.MeshType = Enum.MeshType.Wedge
- part = Instance.new("WedgePart",katone)
- part.FormFactor = Enum.FormFactor.Custom
- part.BottomSurface = Enum.SurfaceType.Weld
- part.Friction = 0.30000001192093
- part.Size = Vector3.new(0.80000001192093,1.5999995470047,0.40000009536743)
- part.BackSurface = Enum.SurfaceType.Weld
- part.Name = "Part"
- part.CFrame = CFrame.new(133.10597229004,0.19143664836884,-85.551467895508) * CFrame.Angles(-1.5711842775345, 0.0003112196282018, 1.8330093622208)
- mesh = Instance.new("SpecialMesh",part)
- mesh.MeshType = Enum.MeshType.Wedge
- part = Instance.new("WedgePart",katone)
- part.FormFactor = Enum.FormFactor.Custom
- part.BottomSurface = Enum.SurfaceType.Weld
- part.Friction = 0.30000001192093
- part.Size = Vector3.new(0.80000001192093,1.5999995470047,0.40000009536743)
- part.BackSurface = Enum.SurfaceType.Weld
- part.Name = "Part"
- part.CFrame = CFrame.new(133.10583496094,0.59048414230347,-85.552223205566) * CFrame.Angles(1.5706825256348, 0.00017567581380717, -1.8325244188309)
- mesh = Instance.new("SpecialMesh",part)
- mesh.MeshType = Enum.MeshType.Wedge
- effect = Instance.new("Part",katone)
- effect.FormFactor = Enum.FormFactor.Custom
- effect.CanCollide = false
- effect.Transparency = 1
- effect.TopSurface = Enum.SurfaceType.Weld
- effect.Size = Vector3.new(0.60000002384186,1,0.60000002384186)
- effect.Name = "Effect"
- effect.CFrame = CFrame.new(122.04907989502,2.4878342151642,-83.93571472168) * CFrame.Angles(-1.5709826946259, -0.00022361808805726, 1.8325165510178)
- effect.BrickColor = BrickColor.new("Bright red")
- effect.Friction = 0.30000001192093
- effect.BottomSurface = Enum.SurfaceType.Weld
- smoke = Instance.new("Smoke",effect)
- smoke.Enabled = false
- smoke.Color = Color3.new(0.109804, 0.109804, 0.109804)
- smoke.RiseVelocity = 5
- smoke.Size = 2
- fire = Instance.new("Sound",effect)
- fire.Pitch = 0.60000002384186
- fire.Name = "Fire"
- fire.Volume = 1
- fire.SoundId = "http://www.roblox.com/asset?id=2101148"
- reload = Instance.new("Sound",effect)
- reload.Name = "Reload"
- reload.Volume = 0
- reload.SoundId = "http://www.roblox.com/asset/?id=13510737"
- mesh = Instance.new("SpecialMesh",effect)
- mesh.Scale = Vector3.new(0.80000001192093,8,0.80000001192093)
- mesh.MeshType = Enum.MeshType.Sphere
- part = Instance.new("WedgePart",katone)
- part.FormFactor = Enum.FormFactor.Custom
- part.BottomSurface = Enum.SurfaceType.Weld
- part.Friction = 0.30000001192093
- part.Size = Vector3.new(0.80000001192093,1.5999995470047,0.40000009536743)
- part.BackSurface = Enum.SurfaceType.Weld
- part.Name = "Part"
- part.CFrame = CFrame.new(132.43566894531,0.18891152739525,-88.063995361328) * CFrame.Angles(-1.5707296133041, -0.00071050436235964, 1.8325487375259)
- mesh = Instance.new("SpecialMesh",part)
- mesh.MeshType = Enum.MeshType.Wedge
- part = Instance.new("WedgePart",katone)
- part.FormFactor = Enum.FormFactor.Custom
- part.BottomSurface = Enum.SurfaceType.Weld
- part.Friction = 0.30000001192093
- part.Size = Vector3.new(0.80000001192093,1.5999995470047,0.40000009536743)
- part.BackSurface = Enum.SurfaceType.Weld
- part.Name = "Part"
- part.CFrame = CFrame.new(132.43452453613,0.58995163440704,-88.063522338867) * CFrame.Angles(1.570684671402, 0.00017462484538555, -1.8325164318085)
- mesh = Instance.new("SpecialMesh",part)
- mesh.MeshType = Enum.MeshType.Wedge
- part = Instance.new("Part",katone)
- part.FormFactor = Enum.FormFactor.Custom
- part.TopSurface = Enum.SurfaceType.Weld
- part.Size = Vector3.new(3.3999998569489,0.40000000596046,1)
- part.CFrame = CFrame.new(134.02632141113,0.18921822309494,-87.143936157227) * CFrame.Angles(0.0006985398940742, -1.3090122938156, -3.1407516002655)
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- wer2 = Instance.new("ObjectValue",katone)
- wer2.Name = "WER2"
- wer2.Value = Weld
- wer = Instance.new("ObjectValue",katone)
- wer.Name = "WER"
- wer.Value = Weld
- local prev
- local parts = katone:GetChildren()
- for i = 1,#parts do
- if (parts[i].className == "Part") then
- if (prev ~= nil)then
- local weld = Instance.new("Weld")
- weld.Part0 = prev
- weld.Part1 = parts[i]
- weld.C0 = prev.CFrame:inverse()
- weld.C1 = parts[i].CFrame:inverse()
- weld.Parent = prev
- end
- prev = parts[i]
- end
- end
- vehiclegui = Instance.new("ScreenGui",katone.VehicleSeat)
- vehiclegui.Name = "VehicleGui"
- frame = Instance.new("Frame",vehiclegui)
- frame.Size = UDim2.new(0.2, 0, 0.05, 0)
- frame.BorderColor3 = Color3.new(0, 0, 0)
- frame.Position = UDim2.new(0, 0, 0.8, 0)
- frame.BackgroundTransparency = 1
- frame.BackgroundColor3 = Color3.new(0.905882, 0.905882, 0.905882)
- he = Instance.new("TextButton",frame)
- he.FontSize = Enum.FontSize.Size14
- he.Position = UDim2.new(0.025, 0, -1, 0)
- he.Style = Enum.ButtonStyle.RobloxButtonDefault
- he.Size = UDim2.new(1, 0, 1, 0)
- he.BorderColor3 = Color3.new(0, 0, 0)
- he.Text = "2cm Kanone "
- he.Name = "HE"
- he.TextColor3 = Color3.new(1, 1, 1)
- he.BackgroundColor3 = Color3.new(0, 0, 1)
- vehicle = Instance.new("ObjectValue",vehiclegui)
- vehicle.Name = "Vehicle"
- katone.VehicleSeat.ChildAdded:connect(function(w)
- print("ChildAdded")
- if w.className=="Weld" then
- print("IsAWeld")
- if w.Name=="SeatWeld" then
- print("IsASeatWeld")
- if w.Part1.Parent:findFirstChild("Humanoid")~=nil then
- print("IsAHumanoid")
- pl=game.Players:GetPlayerFromCharacter(w.Part1.Parent)
- if pl~=nil then
- print("IsAPlayer")
- if pl.PlayerGui:findFirstChild("VehicleGui")~=nil then
- print("found vehicle gui - deleting")
- pl.PlayerGui:findFirstChild("VehicleGui").Parent=nil
- print("deleted")
- else
- print("no gui found - adding")
- newgui=vehicleseat.VehicleGui:clone()
- newgui.Parent=pl.PlayerGui
- newgui.Vehicle.Value=vehicleseat.Parent
- print("added")
- end
- end
- end
- end
- end
- end)
- vehicleseat.ChildRemoved:connect(function(w)
- print("ChildRemoved")
- if w.className=="Weld" then
- print("IsAWeld")
- if w.Name=="SeatWeld" then
- print("IsASeatWeld")
- if w.Part1.Parent:findFirstChild("Humanoid")~=nil then
- print("IsAHumanoid")
- pl=game.Players:GetPlayerFromCharacter(w.Part1.Parent)
- if pl~=nil then
- print("IsAPlayer")
- if pl.PlayerGui:findFirstChild("VehicleGui")~=nil then
- print("found vehicle gui - deleting")
- pl.PlayerGui:findFirstChild("VehicleGui").Parent=nil
- print("deleted")
- else
- print("no gui found - wierd...")
- end
- end
- end
- end
- end
- end)
- angle = 0
- while true do
- wait()
- if vehicleseat.Throttle == 1 and angle < 20 then
- vehicleseat.Swiv:play()
- angle = angle + 1
- vehicleseat.Parent.WER2.Value.C0 = vehicleseat.Parent.WER2.Value.C0 * CFrame.fromEulerAnglesXYZ(-0.01,0,0)
- elseif vehicleseat.Throttle == -1 and angle > -15 then
- vehicleseat.Swiv:play()
- angle = angle - 1
- vehicleseat.Parent.WER2.Value.C0 = vehicleseat.Parent.WER2.Value.C0 * CFrame.fromEulerAnglesXYZ(0.01,0,0)
- end
- end
- ----hi---------
- repeat wait() until vehiclegui.Vehicle.Value~=nil
- db=false
- held=false
- v=vehiclegui.Vehicle
- f=frame
- missile=vehicleseat.vehiclegui.frame.HE
- function launchmissile()
- v.Value.Effect.Smoke.Enabled = true
- v.Value.Effect.Fire:Play()
- v.Value.Effect.Transparency = .5
- v.Value.WER2.Value.C0 = v.Value.WER2.Value.C0 - Vector3.new(0,0, .5)
- v1=v.Value.Missile:clone()
- v1.CFrame = v.Value.Missile.CFrame * CFrame.new(0, 0, -5)
- vel=Instance.new("BodyVelocity")
- vel.Parent=v1
- v1.Velocity=v1.CFrame.lookVector*500
- vel.velocity=v1.Velocity
- v1.CanCollide=true
- v1.Transparency= 0
- v1.Heat.Disabled=false
- v1.Parent=workspace
- wait(.05)
- v.Value.WER2.Value.C0 = v.Value.WER2.Value.C0 + Vector3.new(0,0, .1)
- v.Value.Effect.Transparency = .6
- wait(.05)
- v.Value.WER2.Value.C0 = v.Value.WER2.Value.C0 + Vector3.new(0,0, .1)
- v.Value.Effect.Transparency = .7
- wait(.05)
- v.Value.WER2.Value.C0 = v.Value.WER2.Value.C0 + Vector3.new(0,0, .1)
- v.Value.Effect.Transparency = .8
- wait(.05)
- v.Value.WER2.Value.C0 = v.Value.WER2.Value.C0 + Vector3.new(0,0, .1)
- v.Value.Effect.Transparency = .9
- wait(.05)
- v.Value.WER2.Value.C0 = v.Value.WER2.Value.C0 + Vector3.new(0,0, .1)
- v.Value.Effect.Transparency = 1
- v.Value.Effect.Smoke.Enabled = false
- wait(0)
- end
- function missileclick()
- print("click missile")
- if db==true then return end
- db=true
- missile.Text="Reloading"
- launchmissile()
- wait(0.01)
- launchmissile()
- wait(0.01)
- launchmissile()
- wait(0.01)
- launchmissile()
- wait(0.01)
- launchmissile()
- wait(0.01)
- launchmissile()
- v.Value.Effect.Reload:Play()
- wait(2)
- missile.Text="Fire HE"
- v.Value.Effect.Reload:Stop()
- db=false
- end
- function gunsdown()
- held=true
- while held==true do
- fireguns()
- wait()
- end
- end
- function gunsup()
- held=false
- print("up")
- end
- missile.MouseButton1Click:connect(missileclick)
- sabot.MouseButton1Click:connect(sabotclick)
- guns.MouseButton1Down:connect(gunsdown)
- guns.MouseButton1Up:connect(gunsup)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement