Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Converted with ttyyuu12345's model to script plugin v4
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- Model0 = Instance.new("Model")
- Part1 = Instance.new("Part")
- HopperBin2 = Instance.new("HopperBin")
- Script3 = Instance.new("Script")
- ObjectValue4 = Instance.new("ObjectValue")
- Script5 = Instance.new("Script")
- Script6 = Instance.new("Script")
- Model7 = Instance.new("Model")
- Part8 = Instance.new("Part")
- BlockMesh9 = Instance.new("BlockMesh")
- BodyGyro10 = Instance.new("BodyGyro")
- BodyPosition11 = Instance.new("BodyPosition")
- Part12 = Instance.new("Part")
- BlockMesh13 = Instance.new("BlockMesh")
- Weld14 = Instance.new("Weld")
- Part15 = Instance.new("Part")
- BlockMesh16 = Instance.new("BlockMesh")
- Weld17 = Instance.new("Weld")
- Part18 = Instance.new("Part")
- BlockMesh19 = Instance.new("BlockMesh")
- Weld20 = Instance.new("Weld")
- Model21 = Instance.new("Model")
- Part22 = Instance.new("Part")
- BlockMesh23 = Instance.new("BlockMesh")
- Weld24 = Instance.new("Weld")
- Part25 = Instance.new("Part")
- BlockMesh26 = Instance.new("BlockMesh")
- Weld27 = Instance.new("Weld")
- Part28 = Instance.new("Part")
- BlockMesh29 = Instance.new("BlockMesh")
- Weld30 = Instance.new("Weld")
- Part31 = Instance.new("Part")
- BlockMesh32 = Instance.new("BlockMesh")
- Weld33 = Instance.new("Weld")
- Part34 = Instance.new("Part")
- BlockMesh35 = Instance.new("BlockMesh")
- Weld36 = Instance.new("Weld")
- Part37 = Instance.new("Part")
- BlockMesh38 = Instance.new("BlockMesh")
- Weld39 = Instance.new("Weld")
- Script40 = Instance.new("Script")
- BoolValue41 = Instance.new("BoolValue")
- NumberValue42 = Instance.new("NumberValue")
- Vector3Value43 = Instance.new("Vector3Value")
- Script44 = Instance.new("Script")
- Script45 = Instance.new("Script")
- Script46 = Instance.new("Script")
- Script47 = Instance.new("Script")
- Script48 = Instance.new("Script")
- StringValue49 = Instance.new("StringValue")
- Script50 = Instance.new("Script")
- NumberValue51 = Instance.new("NumberValue")
- Part52 = Instance.new("Part")
- Model0.Name = "Administrative Satellite"
- Model0.Parent = mas
- Part1.Name = "Giver"
- Part1.Parent = Model0
- Part1.BrickColor = BrickColor.new("Really black")
- Part1.Rotation = Vector3.new(0, -90, 0)
- Part1.Anchored = true
- Part1.Size = Vector3.new(1, 1.20000005, 4)
- Part1.CFrame = CFrame.new(19, 3.00001097, -57.5, 0, 0, -1, 0, 1, -0, 1, 0, -0)
- Part1.BottomSurface = Enum.SurfaceType.Smooth
- Part1.TopSurface = Enum.SurfaceType.Smooth
- Part1.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part1.Position = Vector3.new(19, 3.00001097, -57.5)
- Part1.Orientation = Vector3.new(0, -90, 0)
- Part1.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- HopperBin2.Name = "Control Satellite"
- HopperBin2.Parent = Part1
- Script3.Parent = HopperBin2
- table.insert(cors,sandbox(Script3,function()
- function onMove(mouse)
- targ = mouse.Target
- hit = mouse.Hit
- if (targ == nil) then
- script.Parent.Parent.Parent.Message.Text = "No target position"
- return
- end
- if (script.Parent.SAT.Value == nil) then
- script.Parent.Parent.Parent.Message.Text = "No sattelite is being controlled"
- return
- end
- if (script.Parent.SAT.Value.Controlling.Value == "") then
- script.Parent.Parent.Parent.Message.Text = "Nobody is controlling the sattelite. Click to control."
- return
- end
- if (script.Parent.SAT.Value.Controlling.Value ~= "" and script.Parent.SAT.Value.Controlling.Value ~= script.Parent.Parent.Parent.Name) then
- script.Parent.Parent.Parent.Message.Text = script.Parent.SAT.Value.Controlling.Value .. " is already controlling the sattelite."
- return
- end
- if (script.Parent.SAT.Value.Recharge_time.Value ~= 0) then
- script.Parent.Parent.Parent.Message.Text = "Reloading (" .. script.Parent.SAT.Value.Recharge_time.Value .. ") Taking your control in " .. script.Parent.SAT.Value.TControl.Value .. " seconds."
- else
- script.Parent.Parent.Parent.Message.Text = "Ready ... Taking your control in " .. script.Parent.SAT.Value.TControl.Value .. " seconds."
- end
- script.Parent.SAT.Value.Position.Value = hit.p
- end
- function onButton1Down(mouse)
- if (script.Parent.SAT.Value == nil) then
- script.Parent.Parent.Parent.Message.Text = "No sattelite is being controlled"
- return
- end
- if (script.Parent.SAT.Value.Controlling.Value == "") then
- script.Parent.SAT.Value.Controlling.Value = script.Parent.Parent.Parent.Name
- return
- end
- if (script.Parent.SAT.Value.Controlling.Value ~= "" and script.Parent.SAT.Value.Controlling.Value ~= script.Parent.Parent.Parent.Name) then
- script.Parent.Parent.Parent.Message.Text = script.Parent.SAT.Value.Controlling.Value .. " is already controlling the sattelite."
- return
- end
- if (script.Parent.SAT.Value.Recharge_time.Value ~= 0) then
- script.Parent.Parent.Parent.Message.Text = "Reloading (" .. script.Parent.SAT.Value.Recharge_time.Value .. ")"
- else
- script.Parent.Parent.Parent.Message.Text = "Ready"
- script.Parent.SAT.Value.Fire.Value = true
- end
- end
- function onS(mouse)
- mouse.Button1Down:connect(function() onButton1Down(mouse) end)
- Instance.new("Hint").Parent = script.Parent.Parent.Parent
- mouse.Move:connect(function() onMove(mouse) end)
- end
- script.Parent.Selected:connect(onS)
- function onUnS(mouse)
- script.Parent.Parent.Parent.Message:Remove()
- end
- script.Parent.Parent.Parent.Character.Humanoid.Died:connect(onUnS)
- script.Parent.Deselected:connect(onUnS)
- end))
- ObjectValue4.Name = "SAT"
- ObjectValue4.Parent = HopperBin2
- ObjectValue4.Value = Model7
- Script5.Name = "Select"
- Script5.Parent = Part1
- table.insert(cors,sandbox(Script5,function()
- script.Parent["Control sattelite"].SAT.Value = script.Parent.Parent.Sattelite
- end))
- Script6.Parent = Part1
- table.insert(cors,sandbox(Script6,function()
- function collide(hit)
- a = hit.Parent.Name
- b = game.Players:children()
- for c = 1, #b do
- if (b[c].Name == a and b[c].Backpack:findFirstChild("Control Satellite") == nil) then
- d = script.Parent["Control Satellite"]:clone()
- e = d:clone()
- e.Parent = b[c].Backpack
- end
- end
- end
- script.Parent.Touched:connect(collide)
- end))
- Model7.Name = "Satellite"
- Model7.Parent = Model0
- Part8.Name = "Part1"
- Part8.Parent = Model7
- Part8.BrickColor = BrickColor.new("Really black")
- Part8.Rotation = Vector3.new(-135.009995, 0, -180)
- Part8.RotVelocity = Vector3.new(0.000143375102, -8.25583811e-06, 9.02566683e-07)
- Part8.Velocity = Vector3.new(2.51575875e-06, 0.0170512218, -0.0172119159)
- Part8.CanCollide = false
- Part8.Size = Vector3.new(1, 1.20000005, 4)
- Part8.CFrame = CFrame.new(19, 9.077878, -54.9978638, -0.999999821, 1.07091682e-06, -8.60602825e-07, 1.48881057e-07, 0.707193077, 0.707020402, 1.3657725e-06, 0.707020462, -0.707192957)
- Part8.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part8.Position = Vector3.new(19, 9.077878, -54.9978638)
- Part8.Orientation = Vector3.new(-44.9899979, -180, 0)
- Part8.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh9.Parent = Part8
- BlockMesh9.Scale = Vector3.new(8, 0.5, 0.200000003)
- BlockMesh9.Scale = Vector3.new(8, 0.5, 0.200000003)
- BodyGyro10.Parent = Part8
- BodyGyro10.CFrame = CFrame.new(-1.56223493e-07, 49.9891243, -49.9989243, -1, 2.20916463e-09, -2.20959784e-09, 9.79514194e-18, 0.707176089, 0.707037449, 3.12453707e-09, 0.707037449, -0.707176089)
- BodyGyro10.maxTorque = Vector3.new(900000000, 900000000, 900000000)
- BodyGyro10.MaxTorque = Vector3.new(900000000, 900000000, 900000000)
- BodyPosition11.Parent = Part8
- BodyPosition11.position = Vector3.new(0, 45, -148)
- BodyPosition11.Position = Vector3.new(0, 45, -148)
- Part12.Name = "Part2"
- Part12.Parent = Model7
- Part12.BrickColor = BrickColor.new("Really black")
- Part12.Rotation = Vector3.new(-135.009995, 0, -180)
- Part12.RotVelocity = Vector3.new(0.000143375102, -8.25583811e-06, 9.02566683e-07)
- Part12.Velocity = Vector3.new(2.51575875e-06, 0.0170512218, -0.0172119159)
- Part12.CanCollide = false
- Part12.Size = Vector3.new(1, 1.20000005, 4)
- Part12.CFrame = CFrame.new(19, 9.077878, -54.9978638, -0.999999702, 1.07091682e-06, -8.60602654e-07, 1.48881057e-07, 0.707193077, 0.707020342, 1.36577239e-06, 0.707020462, -0.707192898)
- Part12.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part12.Position = Vector3.new(19, 9.077878, -54.9978638)
- Part12.Orientation = Vector3.new(-44.9899979, -180, 0)
- Part12.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh13.Parent = Part12
- BlockMesh13.Scale = Vector3.new(4, 3, 1)
- BlockMesh13.Scale = Vector3.new(4, 3, 1)
- Weld14.Parent = Part12
- Weld14.C0 = CFrame.new(-1.10502624e-13, -9.14326392e-11, 2.65840436e-06, -0.99999994, 4.20365165e-09, 4.32008989e-07, 3.08411984e-07, 0.707193077, 0.707020462, -3.02541707e-07, 0.707020462, -0.707193017)
- Weld14.C1 = CFrame.new(-1.10502624e-13, -9.14326392e-11, 2.65840436e-06, -0.99999994, 4.20365165e-09, 4.32008989e-07, 3.08411984e-07, 0.707193077, 0.707020462, -3.02541707e-07, 0.707020462, -0.707193017)
- Weld14.Part0 = Part12
- Weld14.Part1 = Part8
- Part15.Name = "Part3"
- Part15.Parent = Model7
- Part15.BrickColor = BrickColor.new("Bright blue")
- Part15.Reflectance = 0.5
- Part15.Rotation = Vector3.new(-135.009995, 0, -180)
- Part15.RotVelocity = Vector3.new(0.000143375102, -8.25583811e-06, 9.02566683e-07)
- Part15.Velocity = Vector3.new(2.51575875e-06, 0.0170512218, -0.0172119159)
- Part15.CanCollide = false
- Part15.Size = Vector3.new(1, 1.20000005, 4)
- Part15.CFrame = CFrame.new(19, 9.077878, -54.9978638, -0.999999702, 1.07091682e-06, -8.60602654e-07, 1.48881057e-07, 0.707193077, 0.707020342, 1.36577239e-06, 0.707020462, -0.707192898)
- Part15.Color = Color3.new(0.0509804, 0.411765, 0.67451)
- Part15.Position = Vector3.new(19, 9.077878, -54.9978638)
- Part15.Orientation = Vector3.new(-44.9899979, -180, 0)
- Part15.Color = Color3.new(0.0509804, 0.411765, 0.67451)
- BlockMesh16.Parent = Part15
- BlockMesh16.Offset = Vector3.new(-8, 0, 0)
- BlockMesh16.Scale = Vector3.new(8, 4, 0.100000001)
- BlockMesh16.Scale = Vector3.new(8, 4, 0.100000001)
- Weld17.Parent = Part15
- Weld17.C0 = CFrame.new(-1.10502624e-13, -9.14326392e-11, 2.65840436e-06, -0.99999994, 4.20365165e-09, 4.32008989e-07, 3.08411984e-07, 0.707193077, 0.707020462, -3.02541707e-07, 0.707020462, -0.707193017)
- Weld17.C1 = CFrame.new(-1.10502624e-13, -9.14326392e-11, 2.65840436e-06, -0.99999994, 4.20365165e-09, 4.32008989e-07, 3.08411984e-07, 0.707193077, 0.707020462, -3.02541707e-07, 0.707020462, -0.707193017)
- Weld17.Part0 = Part15
- Weld17.Part1 = Part8
- Part18.Name = "Part4"
- Part18.Parent = Model7
- Part18.BrickColor = BrickColor.new("Bright blue")
- Part18.Reflectance = 0.5
- Part18.Rotation = Vector3.new(-135.009995, 0, -180)
- Part18.RotVelocity = Vector3.new(0.000143375102, -8.25583811e-06, 9.02566683e-07)
- Part18.Velocity = Vector3.new(2.51575875e-06, 0.0170512218, -0.0172119159)
- Part18.CanCollide = false
- Part18.Size = Vector3.new(1, 1.20000005, 4)
- Part18.CFrame = CFrame.new(19, 9.077878, -54.9978638, -0.999999702, 1.07091682e-06, -8.60602654e-07, 1.48881057e-07, 0.707193077, 0.707020342, 1.36577239e-06, 0.707020462, -0.707192898)
- Part18.Color = Color3.new(0.0509804, 0.411765, 0.67451)
- Part18.Position = Vector3.new(19, 9.077878, -54.9978638)
- Part18.Orientation = Vector3.new(-44.9899979, -180, 0)
- Part18.Color = Color3.new(0.0509804, 0.411765, 0.67451)
- BlockMesh19.Parent = Part18
- BlockMesh19.Offset = Vector3.new(8, 0, 0)
- BlockMesh19.Scale = Vector3.new(8, 4, 0.100000001)
- BlockMesh19.Scale = Vector3.new(8, 4, 0.100000001)
- Weld20.Parent = Part18
- Weld20.C0 = CFrame.new(-1.10502624e-13, -9.14326392e-11, 2.65840436e-06, -0.99999994, 4.20365165e-09, 4.32008989e-07, 3.08411984e-07, 0.707193077, 0.707020462, -3.02541707e-07, 0.707020462, -0.707193017)
- Weld20.C1 = CFrame.new(-1.10502624e-13, -9.14326392e-11, 2.65840436e-06, -0.99999994, 4.20365165e-09, 4.32008989e-07, 3.08411984e-07, 0.707193077, 0.707020462, -3.02541707e-07, 0.707020462, -0.707193017)
- Weld20.Part0 = Part18
- Weld20.Part1 = Part8
- Model21.Name = "Laser"
- Model21.Parent = Model7
- Part22.Name = "Part3"
- Part22.Parent = Model21
- Part22.BrickColor = BrickColor.new("Really black")
- Part22.Rotation = Vector3.new(-135.009995, 0, -180)
- Part22.RotVelocity = Vector3.new(0.000143375102, -8.25583811e-06, 9.02566683e-07)
- Part22.Velocity = Vector3.new(2.51575875e-06, 0.0170512218, -0.0172119159)
- Part22.CanCollide = false
- Part22.Size = Vector3.new(1, 1.20000005, 4)
- Part22.CFrame = CFrame.new(19, 9.077878, -54.9978638, -0.999999702, 1.07091682e-06, -8.60602654e-07, 1.48881057e-07, 0.707193077, 0.707020342, 1.36577239e-06, 0.707020462, -0.707192898)
- Part22.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part22.Position = Vector3.new(19, 9.077878, -54.9978638)
- Part22.Orientation = Vector3.new(-44.9899979, -180, 0)
- Part22.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh23.Parent = Part22
- BlockMesh23.Offset = Vector3.new(0, 0, -4)
- BlockMesh23.Scale = Vector3.new(1.10000002, 1.10000002, 0.100000001)
- BlockMesh23.Scale = Vector3.new(1.10000002, 1.10000002, 0.100000001)
- Weld24.Parent = Part22
- Weld24.C0 = CFrame.new(-1.10502624e-13, -9.14326392e-11, 2.65840436e-06, -0.99999994, 4.20365165e-09, 4.32008989e-07, 3.08411984e-07, 0.707193077, 0.707020462, -3.02541707e-07, 0.707020462, -0.707193017)
- Weld24.C1 = CFrame.new(-1.10502624e-13, -9.14326392e-11, 2.65840436e-06, -0.99999994, 4.20365165e-09, 4.32008989e-07, 3.08411984e-07, 0.707193077, 0.707020462, -3.02541707e-07, 0.707020462, -0.707193017)
- Weld24.Part0 = Part22
- Weld24.Part1 = Part8
- Part25.Name = "Part1"
- Part25.Parent = Model21
- Part25.BrickColor = BrickColor.new("Bright blue")
- Part25.Transparency = 0.5
- Part25.Rotation = Vector3.new(-135.009995, 0, -180)
- Part25.RotVelocity = Vector3.new(0.000143375102, -8.25583811e-06, 9.02566683e-07)
- Part25.Velocity = Vector3.new(2.51575875e-06, 0.0170512218, -0.0172119159)
- Part25.CanCollide = false
- Part25.Size = Vector3.new(1, 1.20000005, 4)
- Part25.CFrame = CFrame.new(19, 9.077878, -54.9978638, -0.999999702, 1.07091682e-06, -8.60602654e-07, 1.48881057e-07, 0.707193077, 0.707020342, 1.36577239e-06, 0.707020462, -0.707192898)
- Part25.Color = Color3.new(0.0509804, 0.411765, 0.67451)
- Part25.Position = Vector3.new(19, 9.077878, -54.9978638)
- Part25.Orientation = Vector3.new(-44.9899979, -180, 0)
- Part25.Color = Color3.new(0.0509804, 0.411765, 0.67451)
- BlockMesh26.Parent = Part25
- BlockMesh26.Offset = Vector3.new(0, 0, -2)
- Weld27.Parent = Part25
- Weld27.C0 = CFrame.new(-1.10502624e-13, -9.14326392e-11, 2.65840436e-06, -0.99999994, 4.20365165e-09, 4.32008989e-07, 3.08411984e-07, 0.707193077, 0.707020462, -3.02541707e-07, 0.707020462, -0.707193017)
- Weld27.C1 = CFrame.new(-1.10502624e-13, -9.14326392e-11, 2.65840436e-06, -0.99999994, 4.20365165e-09, 4.32008989e-07, 3.08411984e-07, 0.707193077, 0.707020462, -3.02541707e-07, 0.707020462, -0.707193017)
- Weld27.Part0 = Part25
- Weld27.Part1 = Part8
- Part28.Name = "Part2"
- Part28.Parent = Model21
- Part28.Transparency = 0.20000000298023
- Part28.Rotation = Vector3.new(-135.009995, 0, -180)
- Part28.RotVelocity = Vector3.new(0.000143375102, -8.25583811e-06, 9.02566683e-07)
- Part28.Velocity = Vector3.new(2.51575875e-06, 0.0170512218, -0.0172119159)
- Part28.CanCollide = false
- Part28.Size = Vector3.new(1, 1.20000005, 4)
- Part28.CFrame = CFrame.new(19, 9.077878, -54.9978638, -0.999999702, 1.07091682e-06, -8.60602654e-07, 1.48881057e-07, 0.707193077, 0.707020342, 1.36577239e-06, 0.707020462, -0.707192898)
- Part28.Position = Vector3.new(19, 9.077878, -54.9978638)
- Part28.Orientation = Vector3.new(-44.9899979, -180, 0)
- BlockMesh29.Parent = Part28
- BlockMesh29.Offset = Vector3.new(0, 0, -2)
- BlockMesh29.Scale = Vector3.new(0.5, 0.5, 1)
- BlockMesh29.Scale = Vector3.new(0.5, 0.5, 1)
- Weld30.Parent = Part28
- Weld30.C0 = CFrame.new(-1.10502624e-13, -9.14326392e-11, 2.65840436e-06, -0.99999994, 4.20365165e-09, 4.32008989e-07, 3.08411984e-07, 0.707193077, 0.707020462, -3.02541707e-07, 0.707020462, -0.707193017)
- Weld30.C1 = CFrame.new(-1.10502624e-13, -9.14326392e-11, 2.65840436e-06, -0.99999994, 4.20365165e-09, 4.32008989e-07, 3.08411984e-07, 0.707193077, 0.707020462, -3.02541707e-07, 0.707020462, -0.707193017)
- Weld30.Part0 = Part28
- Weld30.Part1 = Part8
- Part31.Name = "Part4"
- Part31.Parent = Model21
- Part31.BrickColor = BrickColor.new("Really black")
- Part31.Rotation = Vector3.new(-135.009995, 0, -180)
- Part31.RotVelocity = Vector3.new(0.000143375102, -8.25583811e-06, 9.02566683e-07)
- Part31.Velocity = Vector3.new(2.51575875e-06, 0.0170512218, -0.0172119159)
- Part31.CanCollide = false
- Part31.Size = Vector3.new(1, 1.20000005, 4)
- Part31.CFrame = CFrame.new(19, 9.077878, -54.9978638, -0.999999702, 1.07091682e-06, -8.60602654e-07, 1.48881057e-07, 0.707193077, 0.707020342, 1.36577239e-06, 0.707020462, -0.707192898)
- Part31.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part31.Position = Vector3.new(19, 9.077878, -54.9978638)
- Part31.Orientation = Vector3.new(-44.9899979, -180, 0)
- Part31.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh32.Parent = Part31
- BlockMesh32.Offset = Vector3.new(1, 0, -2)
- BlockMesh32.Scale = Vector3.new(0.100000001, 0.100000001, 1)
- BlockMesh32.Scale = Vector3.new(0.100000001, 0.100000001, 1)
- Weld33.Parent = Part31
- Weld33.C0 = CFrame.new(-1.10502624e-13, -9.14326392e-11, 2.65840436e-06, -0.99999994, 4.20365165e-09, 4.32008989e-07, 3.08411984e-07, 0.707193077, 0.707020462, -3.02541707e-07, 0.707020462, -0.707193017)
- Weld33.C1 = CFrame.new(-1.10502624e-13, -9.14326392e-11, 2.65840436e-06, -0.99999994, 4.20365165e-09, 4.32008989e-07, 3.08411984e-07, 0.707193077, 0.707020462, -3.02541707e-07, 0.707020462, -0.707193017)
- Weld33.Part0 = Part31
- Weld33.Part1 = Part8
- Part34.Name = "Part5"
- Part34.Parent = Model21
- Part34.BrickColor = BrickColor.new("Really black")
- Part34.Rotation = Vector3.new(-135.009995, 0, -180)
- Part34.RotVelocity = Vector3.new(0.000143375102, -8.25583811e-06, 9.02566683e-07)
- Part34.Velocity = Vector3.new(2.51575875e-06, 0.0170512218, -0.0172119159)
- Part34.CanCollide = false
- Part34.Size = Vector3.new(1, 1.20000005, 4)
- Part34.CFrame = CFrame.new(19, 9.077878, -54.9978638, -0.999999702, 1.07091682e-06, -8.60602654e-07, 1.48881057e-07, 0.707193077, 0.707020342, 1.36577239e-06, 0.707020462, -0.707192898)
- Part34.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part34.Position = Vector3.new(19, 9.077878, -54.9978638)
- Part34.Orientation = Vector3.new(-44.9899979, -180, 0)
- Part34.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh35.Parent = Part34
- BlockMesh35.Offset = Vector3.new(0.5, 0, -4)
- BlockMesh35.Scale = Vector3.new(1, 0.100000001, 0.0500000007)
- BlockMesh35.Scale = Vector3.new(1, 0.100000001, 0.0500000007)
- Weld36.Parent = Part34
- Weld36.C0 = CFrame.new(-1.10502624e-13, -9.14326392e-11, 2.65840436e-06, -0.99999994, 4.20365165e-09, 4.32008989e-07, 3.08411984e-07, 0.707193077, 0.707020462, -3.02541707e-07, 0.707020462, -0.707193017)
- Weld36.C1 = CFrame.new(-1.10502624e-13, -9.14326392e-11, 2.65840436e-06, -0.99999994, 4.20365165e-09, 4.32008989e-07, 3.08411984e-07, 0.707193077, 0.707020462, -3.02541707e-07, 0.707020462, -0.707193017)
- Weld36.Part0 = Part34
- Weld36.Part1 = Part8
- Part37.Name = "Part6"
- Part37.Parent = Model21
- Part37.BrickColor = BrickColor.new("Really black")
- Part37.Rotation = Vector3.new(-135.009995, 0, -180)
- Part37.RotVelocity = Vector3.new(0.000143375102, -8.25583811e-06, 9.02566683e-07)
- Part37.Velocity = Vector3.new(2.51575875e-06, 0.0170512218, -0.0172119159)
- Part37.CanCollide = false
- Part37.Size = Vector3.new(1, 1.20000005, 4)
- Part37.CFrame = CFrame.new(19, 9.077878, -54.9978638, -0.99999994, 1.07091682e-06, -8.60602995e-07, 1.48881057e-07, 0.707193077, 0.707020462, 1.36577262e-06, 0.707020462, -0.707193017)
- Part37.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part37.Position = Vector3.new(19, 9.077878, -54.9978638)
- Part37.Orientation = Vector3.new(-44.9899979, -180, 0)
- Part37.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh38.Parent = Part37
- BlockMesh38.Offset = Vector3.new(0, 0, -5)
- BlockMesh38.Scale = Vector3.new(0.200000003, 0.200000003, 0.5)
- BlockMesh38.Scale = Vector3.new(0.200000003, 0.200000003, 0.5)
- Weld39.Parent = Part37
- Weld39.C0 = CFrame.new(-1.10502624e-13, -9.14326392e-11, 2.65840436e-06, -0.99999994, 4.20365165e-09, 4.32008989e-07, 3.08411984e-07, 0.707193077, 0.707020462, -3.02541707e-07, 0.707020462, -0.707193017)
- Weld39.C1 = CFrame.new(-1.10502624e-13, -9.14326392e-11, 2.65840436e-06, -0.99999994, 4.20365165e-09, 4.32008989e-07, 3.08411984e-07, 0.707193077, 0.707020462, -3.02541707e-07, 0.707020462, -0.707193017)
- Weld39.Part0 = Part37
- Weld39.Part1 = Part8
- Script40.Name = "Weld"
- Script40.Parent = Model7
- table.insert(cors,sandbox(Script40,function()
- 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
- a = script.Parent:children()
- for b = 1, #a do
- if (a[b].className == "Part" and a[b].Name ~= "Part1") then
- a[b].CFrame = script.Parent.Part1.CFrame
- stick(a[b], script.Parent.Part1)
- end
- end
- a = script.Parent.Laser:children()
- for b = 1, #a do
- if (a[b].className == "Part") then
- a[b].CFrame = script.Parent.Part1.CFrame
- stick(a[b], script.Parent.Part1)
- end
- end
- end))
- BoolValue41.Name = "Fire"
- BoolValue41.Parent = Model7
- NumberValue42.Name = "Recharge_time"
- NumberValue42.Parent = Model7
- Vector3Value43.Name = "Position"
- Vector3Value43.Parent = Model7
- Script44.Name = "LaserFireAnimation"
- Script44.Parent = Model7
- table.insert(cors,sandbox(Script44,function()
- laser = script.Parent.Laser
- while true do
- if (script.Parent.Fire.Value) then
- for a = 1, 4 do
- laser.Part1.Mesh.Offset = laser.Part1.Mesh.Offset + Vector3.new(0,0,0.5)
- laser.Part2.Mesh.Offset = laser.Part2.Mesh.Offset + Vector3.new(0,0,0.5)
- laser.Part3.Mesh.Offset = laser.Part3.Mesh.Offset + Vector3.new(0,0,0.5)
- laser.Part4.Mesh.Offset = laser.Part4.Mesh.Offset + Vector3.new(0,0,0.5)
- laser.Part5.Mesh.Offset = laser.Part5.Mesh.Offset + Vector3.new(0,0,0.5)
- laser.Part6.Mesh.Offset = laser.Part6.Mesh.Offset + Vector3.new(0,0,0.5)
- wait()
- end
- for a = 1, 4 do
- laser.Part1.Mesh.Offset = laser.Part1.Mesh.Offset - Vector3.new(0,0,0.5)
- laser.Part2.Mesh.Offset = laser.Part2.Mesh.Offset - Vector3.new(0,0,0.5)
- laser.Part3.Mesh.Offset = laser.Part3.Mesh.Offset - Vector3.new(0,0,0.5)
- laser.Part4.Mesh.Offset = laser.Part4.Mesh.Offset - Vector3.new(0,0,0.5)
- laser.Part5.Mesh.Offset = laser.Part5.Mesh.Offset - Vector3.new(0,0,0.5)
- laser.Part6.Mesh.Offset = laser.Part6.Mesh.Offset - Vector3.new(0,0,0.5)
- wait()
- end
- script.Parent.Fire.Value = false
- end
- wait()
- end
- end))
- Script45.Name = "Aim"
- Script45.Parent = Model7
- table.insert(cors,sandbox(Script45,function()
- wait()
- P = Instance.new("Part")
- P.Parent = game
- while true do
- Hit = script.Parent.Part1.CFrame
- P.Name = "AIMANCE"
- local Place0 = CFrame.new(script.Parent.Position.Value)
- P.formFactor = 0
- P.Size = Vector3.new(1,1,(Place0.p - Hit.p).magnitude)
- P.CFrame = CFrame.new((Place0.p + Hit.p)/2,Place0.p)
- P.BrickColor = BrickColor.Yellow()
- P.Anchored = true
- P.CanCollide = false
- r = script.Parent.Part1.BodyGyro
- r.cframe = P.CFrame
- wait()
- P:remove()
- wait()
- end
- end))
- Script46.Name = "Move"
- Script46.Parent = Model7
- table.insert(cors,sandbox(Script46,function()
- BodyPos = script.Parent.Part1.BodyPosition
- while true do
- a = script.Parent.Position.Value.x - script.Parent.Part1.Position.x
- if (a > 10) then
- BodyPos.position = BodyPos.position + Vector3.new(1,0,0)
- end
- if (a < -10) then
- BodyPos.position = BodyPos.position - Vector3.new(1,0,0)
- end
- a = script.Parent.Position.Value.z - script.Parent.Part1.Position.z
- if (a > 10) then
- BodyPos.position = BodyPos.position + Vector3.new(0,0,1)
- end
- if (a < -10) then
- BodyPos.position = BodyPos.position - Vector3.new(0,0,1)
- end
- wait()
- end
- end))
- Script47.Name = "Fire_Script"
- Script47.Parent = Model7
- table.insert(cors,sandbox(Script47,function()
- while true do
- if (script.Parent.Fire.Value) then
- script.Parent.Controlling.Value = ""
- script.Parent.Recharge_time.Value = 5
- Hit = script.Parent.Part1.CFrame
- local P = Instance.new("Part")
- P.Name = "Laser"
- local Place0 = CFrame.new(script.Parent.Position.Value)
- P.formFactor = 0
- P.Size = Vector3.new(1,1,(Place0.p - Hit.p).magnitude)
- P.CFrame = CFrame.new((Place0.p + Hit.p)/2,Place0.p)
- P.Parent = game.Workspace
- P.BrickColor = BrickColor.Blue()
- P.Anchored = true
- P.CanCollide = false
- M = Instance.new("BlockMesh")
- M.Scale = Vector3.new(0.2,0.2,1)
- M.Parent = P
- E = Instance.new("Explosion")
- E.Position = script.Parent.Position.Value
- E.Parent = game.Workspace
- for a = 1, 10 do
- P.Transparency = a/10
- wait()
- end
- P:remove()
- end
- wait()
- end
- end))
- Script48.Name = "Charge"
- Script48.Parent = Model7
- table.insert(cors,sandbox(Script48,function()
- while true do
- if (script.Parent.Recharge_time.Value > 0) then
- script.Parent.Recharge_time.Value = script.Parent.Recharge_time.Value - 1
- end
- wait(1)
- end
- end))
- StringValue49.Name = "Controlling"
- StringValue49.Parent = Model7
- Script50.Name = "TakeControl"
- Script50.Parent = Model7
- table.insert(cors,sandbox(Script50,function()
- b = 20
- while true do
- if (script.Parent.Controlling ~= "") then
- a = script.Parent.Controlling.Value
- b = b - 1
- if (script.Parent.Controlling.Value == a and b == 0) then
- script.Parent.Controlling.Value = ""
- b = 20
- end
- script.Parent.TControl.Value = b
- wait(1)
- end
- if (script.Parent.Controlling.Value == "") then
- b = 20
- script.Parent.TControl.Value = b
- end
- wait()
- end
- end))
- NumberValue51.Name = "TControl"
- NumberValue51.Parent = Model7
- NumberValue51.Value = 20
- Part52.Name = "GiverHolder"
- Part52.Parent = Model0
- Part52.BrickColor = BrickColor.new("Really black")
- Part52.Rotation = Vector3.new(180, 0, -180)
- Part52.Anchored = true
- Part52.Size = Vector3.new(4, 4.80000019, 4)
- Part52.CFrame = CFrame.new(19, 2.40001297, -55, -1, 0, -0, -0, 1, -0, -0, 0, -1)
- Part52.BottomSurface = Enum.SurfaceType.Smooth
- Part52.TopSurface = Enum.SurfaceType.Smooth
- Part52.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part52.Position = Vector3.new(19, 2.40001297, -55)
- Part52.Orientation = Vector3.new(0, -180, 0)
- Part52.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = workspace
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement