Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sterla = Instance.new("Tool",game.Workspace)
- sterla.GripPos = Vector3.new(1,-2,-0.10000000149012)
- sterla.Grip = CFrame.new(1,-2,-0.10000000149012) * CFrame.Angles(1.5759936571121, -0.12995918095112, 1.6045351028442)
- sterla.GripForward = Vector3.new(0.12959367036819,0.99155384302139,0.0051534478552639)
- sterla.Name = "sterla"
- sterla.GripRight = Vector3.new(-0.033447932451963,-0.00082287273835391,0.99944013357162)
- sterla.GripUp = Vector3.new(-0.99100297689438,0.12969349324703,-0.033058784902096)
- part = Instance.new("Part",sterla)
- part.FormFactor = Enum.FormFactor.Plate
- part.CanCollide = false
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Size = Vector3.new(1,0.40000000596046,1)
- part.CFrame = CFrame.new(8.8885822296143,1.1532900333405,-15.490003585815) * CFrame.Angles(3.0276160240173, -0.094406887888908, 1.5622065067291)
- part.BrickColor = BrickColor.new("Really black")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",part)
- mesh.Scale = Vector3.new(0.21600000560284,0.15600000321865,0.23999999463558)
- weld = Instance.new("Weld",part)
- weld.Part1 = Part
- weld.Part0 = Part
- weld.C1 = CFrame.new(-2.5670537948608,-15.66695690155,10.519409179688) * CFrame.Angles(1.4753459692001, -0.11316314339638, -1.5794092416763)
- weld.C0 = CFrame.new(2.8190128803253,10.311949729919,-14.352493286133) * CFrame.Angles(-3.04621052742, 0.11316272616386, 1.5621896982193)
- part = Instance.new("Part",sterla)
- part.FormFactor = Enum.FormFactor.Plate
- part.CanCollide = false
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Size = Vector3.new(1,0.40000000596046,1)
- part.CFrame = CFrame.new(8.9722204208374,0.75363999605179,-16.781913757324) * CFrame.Angles(-0.023102466017008, -1.4759329557419, 1.6612657308578)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("SpecialMesh",part)
- mesh.Scale = Vector3.new(0.096000000834465,0.038400001823902,0.096000000834465)
- mesh.MeshId = "http://www.roblox.com/Asset/?id=10207677"
- mesh.MeshType = Enum.MeshType.FileMesh
- weld = Instance.new("Weld",part)
- weld.Part1 = Part
- weld.Part0 = Part
- weld.C1 = CFrame.new(2.8429727554321,-14.260561943054,-10.447306632996) * CFrame.Angles(1.6662466526031, 0.11316314339638, 1.5621836185455)
- weld.C0 = CFrame.new(-2.5670537948608,-15.66695690155,10.519409179688) * CFrame.Angles(1.4753459692001, -0.11316314339638, -1.5794092416763)
- part = Instance.new("Part",sterla)
- part.FormFactor = Enum.FormFactor.Plate
- part.CanCollide = false
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Size = Vector3.new(1,0.80000001192093,1)
- part.CFrame = CFrame.new(9.0307512283325,1.1871784925461,-15.415201187134) * CFrame.Angles(3.1184885501862, 1.4759323596954, 1.4803285598755)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(0.40799999237061,0.85199993848801,0.23999999463558)
- weld = Instance.new("Weld",part)
- weld.Part1 = Part
- weld.Part0 = Part
- weld.C1 = CFrame.new(3.1069307327271,-15.719751358032,-10.543374061584) * CFrame.Angles(1.6662466526031, 0.11316506564617, 1.5621838569641)
- weld.C0 = CFrame.new(2.8429727554321,-14.260561943054,-10.447306632996) * CFrame.Angles(1.6662466526031, 0.11316314339638, 1.5621836185455)
- part = Instance.new("Part",sterla)
- part.FormFactor = Enum.FormFactor.Plate
- part.CanCollide = false
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Size = Vector3.new(1,0.40000000596046,1)
- part.CFrame = CFrame.new(8.9864778518677,1.2839779853821,-16.897365570068) * CFrame.Angles(3.1184840202332, 1.4759329557419, 1.4803311824799)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",part)
- mesh.Scale = Vector3.new(0.55199998617172,0.29999998211861,0.57599997520447)
- weld = Instance.new("Weld",part)
- weld.Part1 = Part
- weld.Part0 = Part
- weld.C1 = CFrame.new(3.1189274787903,-16.295724868774,-10.543435096741) * CFrame.Angles(1.6662466526031, 0.11316506564617, 1.5621838569641)
- weld.C0 = CFrame.new(3.1069307327271,-15.719751358032,-10.543374061584) * CFrame.Angles(1.6662466526031, 0.11316506564617, 1.5621838569641)
- part = Instance.new("Part",sterla)
- part.FormFactor = Enum.FormFactor.Plate
- part.CanCollide = false
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Size = Vector3.new(1,0.40000000596046,1)
- part.CFrame = CFrame.new(8.9321022033691,1.230682015419,-17.468410491943) * CFrame.Angles(3.1184840202332, 1.4759329557419, 1.4803311824799)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",part)
- mesh.Scale = Vector3.new(0.76800000667572,0.29999998211861,0.76800000667572)
- weld = Instance.new("Weld",part)
- weld.Part1 = Part
- weld.Part0 = Part
- weld.C1 = CFrame.new(2.9629034996033,-9.9934644699097,-10.528594970703) * CFrame.Angles(1.6662466526031, 0.11316578835249, 1.5621837377548)
- weld.C0 = CFrame.new(3.1189274787903,-16.295724868774,-10.543435096741) * CFrame.Angles(1.6662466526031, 0.11316506564617, 1.5621838569641)
- part = Instance.new("Part",sterla)
- part.FormFactor = Enum.FormFactor.Plate
- part.CanCollide = false
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Size = Vector3.new(1,0.40000000596046,1)
- part.CFrame = CFrame.new(9.5131797790527,1.7892689704895,-11.215942382813) * CFrame.Angles(3.1184847354889, 1.4759329557419, 1.4803297519684)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(0.26399999856949,0.6240000128746,0.3120000064373)
- weld = Instance.new("Weld",part)
- weld.Part1 = Handle
- weld.Part0 = Part
- weld.C1 = CFrame.new(3.118869304657,-16.617362976074,-10.543445587158) * CFrame.Angles(1.6662466526031, 0.11316084861755, 1.5621852874756)
- weld.C0 = CFrame.new(2.9629034996033,-9.9934644699097,-10.528594970703) * CFrame.Angles(1.6662466526031, 0.11316578835249, 1.5621837377548)
- handle = Instance.new("Part",sterla)
- handle.FormFactor = Enum.FormFactor.Plate
- handle.TopSurface = Enum.SurfaceType.Smooth
- handle.Size = Vector3.new(1,1.2000000476837,1)
- handle.Name = "Handle"
- handle.CFrame = CFrame.new(8.9017744064331,1.1942689418793,-17.786525726318) * CFrame.Angles(3.1184737682343, 1.4759329557419, 1.4803457260132)
- handle.BrickColor = BrickColor.new("Dark stone grey")
- handle.Friction = 0.30000001192093
- handle.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",handle)
- mesh.Scale = Vector3.new(0.81599998474121,0.42799997329712,0.86400002241135)
- fail = Instance.new("Sound",handle)
- fail.Name = "Fail"
- fail.Volume = 1
- fail.SoundId = "rbxasset://sounds/switch.wav"
- fail.PlayOnRemove = true
- recoil = Instance.new("BodyThrust",handle)
- recoil.Name = "recoil"
- recoil.force = Vector3.new(0,2,0)
- weld = Instance.new("Weld",handle)
- weld.C1 = CFrame.new(-0.011995315551758,1.2815856933594,-1.52587890625e-005) * CFrame.Angles(1.5707963705063, -4.8875840548135e-006, 1.5707944631577)
- weld.C0 = CFrame.new(0,0,0) * CFrame.Angles(1.5707964897156, -5.2005120778631e-006, 1.5707952976227)
- weld = Instance.new("Weld",handle)
- weld.C1 = CFrame.new(-0.011989593505859,4.7135772705078,-1.52587890625e-005) * CFrame.Angles(1.5707963705063, -1.803052100513e-006, 1.570795416832)
- weld.C0 = CFrame.new(0,0,0) * CFrame.Angles(1.5707964897156, -7.0483338276972e-006, 1.5707949399948)
- shot = Instance.new("Sound",handle)
- shot.Pitch = 7
- shot.Name = "Shot"
- shot.Volume = 1
- shot.SoundId = "rbxasset://sounds/Rocket shot.wav"
- shot.PlayOnRemove = true
- weld = Instance.new("Weld",handle)
- weld.Part1 = Part
- weld.Part0 = Handle
- weld.C1 = CFrame.new(2.6509759426117,10.407903671265,-12.691704750061) * CFrame.Angles(-3.04621052742, 0.11316236108541, 1.5621908903122)
- weld.C0 = CFrame.new(3.118869304657,-16.617362976074,-10.543445587158) * CFrame.Angles(1.6662466526031, 0.11316084861755, 1.5621852874756)
- part = Instance.new("Part",sterla)
- part.FormFactor = Enum.FormFactor.Plate
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Size = Vector3.new(1,0.40000000596046,1)
- part.CFrame = CFrame.new(9.1421022415161,1.1741590499878,-13.837442398071) * CFrame.Angles(3.0276165008545, -0.094406954944134, 1.562207698822)
- part.BrickColor = BrickColor.new("Really black")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",part)
- mesh.Scale = Vector3.new(0.21600000560284,0.15600000321865,0.23999999463558)
- weld = Instance.new("Weld",part)
- weld.Part1 = Part
- weld.Part0 = Part
- weld.C1 = CFrame.new(3.1068518161774,-9.7438011169434,-10.542981147766) * CFrame.Angles(1.6662466526031, 0.11316262185574, 1.5621848106384)
- weld.C0 = CFrame.new(2.6509759426117,10.407903671265,-12.691704750061) * CFrame.Angles(-3.04621052742, 0.11316236108541, 1.5621908903122)
- part = Instance.new("Part",sterla)
- part.FormFactor = Enum.FormFactor.Plate
- part.CanCollide = false
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Size = Vector3.new(1,0.40000000596046,1)
- part.CFrame = CFrame.new(9.5498237609863,1.9605530500412,-10.986616134644) * CFrame.Angles(3.1184766292572, 1.4759329557419, 1.4803410768509)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",part)
- mesh.Scale = Vector3.new(0.55199998617172,0.29999998211861,0.57599997520447)
- weld = Instance.new("Weld",part)
- weld.Part1 = Part
- weld.Part0 = Part
- weld.C1 = CFrame.new(3.1068949699402,-14.591723442078,-10.543342590332) * CFrame.Angles(1.6662491559982, 0.1131639033556, 1.5621845722198)
- weld.C0 = CFrame.new(3.1068518161774,-9.7438011169434,-10.542981147766) * CFrame.Angles(1.6662466526031, 0.11316262185574, 1.5621848106384)
- part = Instance.new("Part",sterla)
- part.FormFactor = Enum.FormFactor.Plate
- part.CanCollide = false
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Size = Vector3.new(1,0.40000000596046,1)
- part.CFrame = CFrame.new(9.0928201675415,1.4116740226746,-15.781669616699) * CFrame.Angles(3.1184756755829, 1.4759304523468, 1.480340719223)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",part)
- mesh.Scale = Vector3.new(0.55199998617172,0.29999998211861,0.57599997520447)
- weld = Instance.new("Weld",part)
- weld.Part1 = Part
- weld.Part0 = Part
- weld.C1 = CFrame.new(3.1069421768188,-11.904500007629,-10.54229927063) * CFrame.Angles(1.6661775112152, 0.11316189169884, 1.5621911287308)
- weld.C0 = CFrame.new(3.1068949699402,-14.591723442078,-10.543342590332) * CFrame.Angles(1.6662491559982, 0.1131639033556, 1.5621845722198)
- part = Instance.new("Part",sterla)
- part.FormFactor = Enum.FormFactor.Plate
- part.CanCollide = false
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Size = Vector3.new(1,8.4000005722046,1)
- part.CFrame = CFrame.new(9.3462142944336,1.7160322666168,-13.123024940491) * CFrame.Angles(3.1184771060944, 1.4760009050369, 1.4803419113159)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",part)
- mesh.Scale = Vector3.new(0.52799999713898,0.50628566741943,0.47999998927116)
- weld = Instance.new("Weld",part)
- weld.Part1 = Part
- weld.Part0 = Part
- weld.C1 = CFrame.new(3.1069898605347,-14.544447898865,-10.542278289795) * CFrame.Angles(1.6661782264709, 0.11316443234682, 1.5621918439865)
- weld.C0 = CFrame.new(3.1069421768188,-11.904500007629,-10.54229927063) * CFrame.Angles(1.6661775112152, 0.11316189169884, 1.5621911287308)
- part = Instance.new("Part",sterla)
- part.FormFactor = Enum.FormFactor.Plate
- part.CanCollide = false
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Size = Vector3.new(1,8.4000005722046,1)
- part.CFrame = CFrame.new(9.0973272323608,1.4171302318573,-15.734178543091) * CFrame.Angles(3.1184659004211, 1.4760009050369, 1.4803506135941)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",part)
- mesh.Scale = Vector3.new(0.52799999713898,0.50628566741943,0.47999998927116)
- weld = Instance.new("Weld",part)
- weld.Part1 = Part
- weld.Part0 = Part
- weld.C1 = CFrame.new(3.1069321632385,-15.33646774292,-10.542311668396) * CFrame.Angles(1.6661782264709, 0.11316212266684, 1.5621910095215)
- weld.C0 = CFrame.new(3.1069898605347,-14.544447898865,-10.542278289795) * CFrame.Angles(1.6661782264709, 0.11316443234682, 1.5621918439865)
- part = Instance.new("Part",sterla)
- part.FormFactor = Enum.FormFactor.Plate
- part.CanCollide = false
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Size = Vector3.new(1,0.40000000596046,1)
- part.CFrame = CFrame.new(9.0226984024048,1.3274430036545,-16.517549514771) * CFrame.Angles(3.1184775829315, 1.4760009050369, 1.4803411960602)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",part)
- mesh.Scale = Vector3.new(0.55199998617172,0.29999998211861,0.57599997520447)
- weld = Instance.new("Weld",part)
- weld.Part1 = Part
- weld.Part0 = Part
- weld.C1 = CFrame.new(3.1069006919861,-16.823760986328,-10.543445587158) * CFrame.Angles(1.6662466526031, 0.11316308379173, 1.5621846914291)
- weld.C0 = CFrame.new(3.1069321632385,-15.33646774292,-10.542311668396) * CFrame.Angles(1.6661782264709, 0.11316212266684, 1.5621910095215)
- part = Instance.new("Part",sterla)
- part.FormFactor = Enum.FormFactor.Plate
- part.CanCollide = false
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Size = Vector3.new(1,0.40000000596046,1)
- part.CFrame = CFrame.new(8.8824062347412,1.1589729785919,-17.989320755005) * CFrame.Angles(3.1184768676758, 1.4759329557419, 1.4803403615952)
- part.BrickColor = BrickColor.new("Really black")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",part)
- mesh.Scale = Vector3.new(0.55199998617172,0.29999998211861,0.57599997520447)
- weld = Instance.new("Weld",part)
- weld.Part1 = Part
- weld.Part0 = Part
- weld.C1 = CFrame.new(2.8189566135406,-14.981262207031,-10.518304824829) * CFrame.Angles(1.6661782264709, 0.11316212266684, 1.5621910095215)
- weld.C0 = CFrame.new(3.1069006919861,-16.823760986328,-10.543445587158) * CFrame.Angles(1.6662466526031, 0.11316308379173, 1.5621846914291)
- part = Instance.new("Part",sterla)
- part.FormFactor = Enum.FormFactor.Plate
- part.CanCollide = false
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Size = Vector3.new(1,0.80000001192093,1)
- part.CFrame = CFrame.new(9.0347452163696,1.0815893411636,-16.131427764893) * CFrame.Angles(3.1184775829315, 1.4760009050369, 1.4803411960602)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(0.55199998617172,0.85199993848801,0.23999999463558)
- weld = Instance.new("Weld",part)
- weld.Part1 = Part
- weld.Part0 = Part
- weld.C1 = CFrame.new(4.1362190246582,-14.198305130005,-10.519309997559) * CFrame.Angles(1.6683177947998, 0.23477448523045, 1.5502414703369)
- weld.C0 = CFrame.new(2.8189566135406,-14.981262207031,-10.518304824829) * CFrame.Angles(1.6661782264709, 0.11316212266684, 1.5621910095215)
- part = Instance.new("Part",sterla)
- part.FormFactor = Enum.FormFactor.Plate
- part.CanCollide = false
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Size = Vector3.new(1,0.40000000596046,1)
- part.CFrame = CFrame.new(9.0747404098511,0.68398100137711,-15.701505661011) * CFrame.Angles(3.1184768676758, 1.4759329557419, 1.3581621646881)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(1.055999994278,0.98399996757507,0.23999999463558)
- weld = Instance.new("Weld",part)
- weld.Part1 = Part
- weld.Part0 = Part
- weld.C1 = CFrame.new(2.5813858509064,-15.413291931152,-10.51829624176) * CFrame.Angles(1.6661782264709, 0.11316212266684, 1.5621910095215)
- weld.C0 = CFrame.new(4.1362190246582,-14.198305130005,-10.519309997559) * CFrame.Angles(1.6683177947998, 0.23477448523045, 1.5502414703369)
- part = Instance.new("Part",sterla)
- part.FormFactor = Enum.FormFactor.Plate
- part.CanCollide = false
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Size = Vector3.new(1,0.80000001192093,1)
- part.CFrame = CFrame.new(8.9960460662842,0.79663234949112,-16.531915664673) * CFrame.Angles(3.1184775829315, 1.4760009050369, 1.4803411960602)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(0.40799999237061,0.85199993848801,0.23999999463558)
- weld = Instance.new("Weld",part)
- weld.Part1 = Part
- weld.Part0 = Part
- weld.C1 = CFrame.new(2.5573661327362,-16.046173095703,-10.507410049438) * CFrame.Angles(1.6662466526031, 0.11316308379173, 1.5621846914291)
- weld.C0 = CFrame.new(2.5813858509064,-15.413291931152,-10.51829624176) * CFrame.Angles(1.6661782264709, 0.11316212266684, 1.5621910095215)
- part = Instance.new("Part",sterla)
- part.FormFactor = Enum.FormFactor.Plate
- part.CanCollide = false
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Size = Vector3.new(1,1.2000000476837,1)
- part.CFrame = CFrame.new(8.9245891571045,0.70109462738037,-17.154756546021) * CFrame.Angles(3.1184768676758, 1.4759329557419, 1.4803403615952)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(0.024000000208616,1.1439999341965,0.16799999773502)
- weld = Instance.new("Weld",part)
- weld.Part1 = Part
- weld.Part0 = Part
- weld.C1 = CFrame.new(2.5670003890991,-13.238898277283,-10.518322944641) * CFrame.Angles(1.6661782264709, 0.1131634414196, 1.5621908903122)
- weld.C0 = CFrame.new(2.5573661327362,-16.046173095703,-10.507410049438) * CFrame.Angles(1.6662466526031, 0.11316308379173, 1.5621846914291)
- part = Instance.new("Part",sterla)
- part.FormFactor = Enum.FormFactor.Plate
- part.CanCollide = false
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Size = Vector3.new(1,1.2000000476837,1)
- part.CFrame = CFrame.new(9.2011661529541,1.0285121202469,-14.379630088806) * CFrame.Angles(3.1184771060944, 1.4760009050369, 1.4803403615952)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(0.72000002861023,1.1119999885559,0.23999999463558)
- weld = Instance.new("Weld",part)
- weld.Part1 = Part
- weld.Part0 = Part
- weld.C1 = CFrame.new(2.50701212883,-16.703765869141,-10.507459640503) * CFrame.Angles(1.6662466526031, 0.11316404491663, 1.5621846914291)
- weld.C0 = CFrame.new(2.5670003890991,-13.238898277283,-10.518322944641) * CFrame.Angles(1.6661782264709, 0.1131634414196, 1.5621908903122)
- part = Instance.new("Part",sterla)
- part.FormFactor = Enum.FormFactor.Plate
- part.CanCollide = false
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Size = Vector3.new(1,0.40000000596046,1)
- part.CFrame = CFrame.new(8.8630342483521,0.57659202814102,-17.799488067627) * CFrame.Angles(3.1184766292572, 1.4759329557419, 1.4803396463394)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(0.36000001430511,0.14400000870228,0.16799999773502)
- weld = Instance.new("Weld",part)
- weld.Part1 = Part
- weld.Part0 = Part
- weld.C1 = CFrame.new(2.890971660614,-14.429301261902,-10.518301010132) * CFrame.Angles(1.6661782264709, 0.1131634414196, 1.5621908903122)
- weld.C0 = CFrame.new(2.50701212883,-16.703765869141,-10.507459640503) * CFrame.Angles(1.6662466526031, 0.11316404491663, 1.5621846914291)
- part = Instance.new("Part",sterla)
- part.FormFactor = Enum.FormFactor.Plate
- part.CanCollide = false
- part.TopSurface = Enum.SurfaceType.Smooth
- part.Size = Vector3.new(1,0.80000001192093,1)
- part.CFrame = CFrame.new(9.0861577987671,1.2156168222427,-15.59362411499) * CFrame.Angles(3.1184771060944, 1.4760009050369, 1.4803403615952)
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.30000001192093
- part.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part)
- mesh.Scale = Vector3.new(0.55199998617172,0.85199993848801,0.23999999463558)
- weld1=Instance.new"Weld"
- weld=Instance.new"Weld"
- local pl=game.Players.LocalPlayer
- sterla.Equipped:connect(function()
- --if (sterla.Parent.Torso["Left Shoulder"]:isA("Motor") and sterla.Parent.Torso["Right Shoulder"]:isA("Motor")) then
- sterla.Parent.Torso["Left Shoulder"].Part1=nil
- sterla.Parent.Torso["Right Shoulder"].Part1=nil
- --end
- weld.Parent=sterla.Parent.Torso
- weld.Name="RightShoulder"
- weld.Part0=sterla.Parent.Torso
- weld.Part1=sterla.Parent["Right Arm"]
- weld.C1=CFrame.new(-1,-0.1,0.5)*CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(-15),0)
- weld1.Parent=sterla.Parent.Torso
- weld1.Part0=sterla.Parent.Torso
- weld1.Part1=sterla.Parent["Left Arm"]
- weld1.Name="LeftShoulder"
- weld1.C1=CFrame.new(-0.6,1.1,0.4)*CFrame.fromEulerAnglesXYZ(-7.5,-0.2,4.5)
- end)
- sterla.Unequipped:connect(function()
- pl.Character.Torso["Right Shoulder"].Part1=pl.Character["Right Arm"]
- pl.Character.Torso["Left Shoulder"].Part1=pl.Character["Left Arm"]
- weld1.Part1=nil
- weld1.Name="Unused"
- weld.Name="Unused"
- weld.Part1=nil
- end)
- equip = Instance.new("BoolValue",game.Workspace.sterla)
- equip.Name = "Equip"
- mesh = Instance.new("SpecialMesh",equip)
- mesh.TextureId = "http://www.roblox.com/asset/?id=35494606"
- mesh.MeshType = Enum.MeshType.FileMesh
- local Tool = sterla;
- function stick(x, y)
- weld = Instance.new("Weld")
- weld.Part0 = x
- weld.Part1 = y
- local HitPos = x.Position
- local CJ = CFrame.new(HitPos)
- local C0 = x.CFrame:inverse() *CJ
- local C1 = y.CFrame:inverse() * CJ
- weld.C0 = C0
- weld.C1 = C1
- weld.Parent = x
- end
- enabled = true
- splat_id = "http://www.roblox.com/asset/?id=29350583"
- hole_id = "http://www.roblox.com/asset/?id=30217567"
- hitHum = false
- function animate(ani)
- wait(3)
- shots = 1
- end
- function relpos(x, y)
- local HitPos = x
- local CJ = CFrame.new(HitPos)
- local C0 = CFrame.new(-x) * CJ
- local C1 = y.CFrame:inverse() * CJ
- local ReturnCF = C0 * (C1:inverse())
- return ReturnCF:inverse().p
- end
- function texture(part,pos,surface,id,size)
- if (part) then
- --Enum.NormalId.Top
- local p = Instance.new("Part")
- p.formFactor = 0
- p.Size = Vector3.new(1,1,1)
- p.CFrame = part.CFrame
- p.Anchored = true
- p.Transparency = 1
- p.CanCollide = false
- p.Parent = part.Parent
- local m = Instance.new("BlockMesh")
- m.Parent = p
- m.Offset = relpos(pos,part)
- local d = Instance.new("Decal")
- d.Face = surface
- d.Texture = id
- d.Parent = p
- game:GetService("Debris"):AddItem(p,1200)
- if (surface == Enum.NormalId.Top or surface == Enum.NormalId.Bottom) then
- m.Scale = Vector3.new(size,0,size)
- end
- if (surface == Enum.NormalId.Left or surface == Enum.NormalId.Right) then
- m.Scale = Vector3.new(0,size,size)
- end
- if (surface == Enum.NormalId.Front or surface == Enum.NormalId.Back) then
- m.Scale = Vector3.new(size,size,0)
- end
- if (not part.Anchored) then
- p.Anchored = false
- local w = Instance.new("Weld")
- w.Part0 = part
- w.Part1 = p
- w.Parent = part
- end
- end
- end
- shots = 100
- maxshots = shots
- baseName = Tool.Name
- function onButton1Down(mouse)
- local targ = mouse.Target
- if (targ == nil) then return end
- if (not enabled) then return end
- enabled = false
- if (shots < 1) then
- enabled = true
- Tool.Handle.Fail:play()
- return
- end
- shots = shots - 0
- Tool.Name = baseName
- local shell = Instance.new("Part")
- shell.Name = "SHELL"
- shell.CFrame = sterla.Handle.CFrame
- shell.Parent = workspace
- shell.BrickColor = BrickColor.Yellow()
- shell.Reflectance = 0.5
- shell.Size = Vector3.new(1,1.2,2)
- shell.Velocity = Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
- local mesh = Instance.new("BlockMesh")
- mesh.Scale = Vector3.new(0.05, 0.05, 0.1)
- mesh.Parent = shell
- shell:breakJoints()
- game:GetService("Debris"):AddItem(shell,10)
- Tool.Handle.Shot:play()
- mouse.Icon = "rbxasset://textures\\GunWaitCursor.png"
- Tool.Parent.Torso["Right Shoulder"].CurrentAngle = Tool.Parent.Torso["Right Shoulder"].CurrentAngle + math.pi/3
- local rocket = Instance.new("Part")
- rocket.Anchored = true
- rocket.Size = Vector3.new(1,1,4)
- Instance.new("Fire").Parent = rocket
- Instance.new("Smoke").Parent = rocket
- rocket.Parent = Tool
- rocket.CFrame = Tool.Handle.CFrame
- while true do
- wait()
- rocket.CFrame = CFrame.new(rocket.Position,mouse.Hit.p)
- rocket.CFrame = rocket.CFrame * CFrame.new(0,0,-10)
- rocket.Velocity = rocket.CFrame.lookVector * 1800
- if ((rocket.Position - mouse.Hit.p).magnitude < 15) then
- local e = Instance.new("Explosion")
- e.Position = rocket.Position
- e.Parent = workspace
- e.BlastRadius = 30
- e.BlastPressure = 100000
- rocket.Parent = nil
- rocket = nil
- break
- end
- end
- local a = targ.Parent:children()
- local b = 0
- hitHum = false
- for b = 1, #a do
- if (a[b]:IsA("Humanoid")) then
- hitHum = true
- local c = Instance.new("ObjectValue")
- c.Name = "creator"
- c.Value = game.Players.LocalPlayer
- c.Parent = a[b]
- end
- end
- if (hitHum and targ.Parent ~= workspace) then
- local parent = targ.Parent.Parent
- targ.Parent.Parent = Tool.Parent
- local targ2 = mouse.Target
- local pos = mouse.Hit.p
- local surface = mouse.TargetSurface
- targ.Parent.Parent = parent
- texture(targ2,pos,surface,splat_id,2)
- texture(targ,mouse.Hit.p,mouse.TargetSurface,"http://www.roblox.com/asset/?id=29710350",5)
- else
- texture(targ,mouse.Hit.p,mouse.TargetSurface,"http://www.roblox.com/asset/?id=29710350",5)
- end
- animate("shot")
- enabled = true
- mouse.Icon = "rbxasset://textures\\GunCursor.png"
- end
- moved = false
- function onKey(key)
- key = tostring(key)
- key = key:lower()
- if (not enabled) then return end
- if (key == "r") then
- animate("reload")
- end
- end
- function onEquippedLocal(mouse)
- if mouse == nil then
- print("Mouse not found")
- return
- end
- mouse.Icon = "rbxasset://textures\\GunCursor.png"
- mouse.Button1Down:connect(function() onButton1Down(mouse) end)
- mouse.KeyDown:connect(onKey)
- Tool.Equip.Value = true
- moved = false
- end
- function onUnS()
- Tool.Equip.Value = false
- if (moved) then
- ls = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]
- rs = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]
- ls.C0 = ls.C0 * CFrame.Angles(0,0,math.pi/2)
- ls.C0 = ls.C0 * CFrame.Angles(0,0.5,0)
- rs.C0 = rs.C0 * CFrame.Angles(0,-0.5,0)
- Tool.GripForward = Vector3.new(0,0,-1)
- Tool.GripPos = Vector3.new(0,0,0)
- end
- end
- local prev
- local parts = sterla: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
- Tool.Equipped:connect(onEquippedLocal)
- Tool.Unequipped:connect(onUnS)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement