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")
- Snap2 = Instance.new("Snap")
- Part3 = Instance.new("Part")
- Snap4 = Instance.new("Snap")
- Part5 = Instance.new("Part")
- Tool6 = Instance.new("Tool")
- Model7 = Instance.new("Model")
- StringValue8 = Instance.new("StringValue")
- StringValue9 = Instance.new("StringValue")
- StringValue10 = Instance.new("StringValue")
- StringValue11 = Instance.new("StringValue")
- StringValue12 = Instance.new("StringValue")
- StringValue13 = Instance.new("StringValue")
- StringValue14 = Instance.new("StringValue")
- Part15 = Instance.new("Part")
- BlockMesh16 = Instance.new("BlockMesh")
- Part17 = Instance.new("Part")
- CylinderMesh18 = Instance.new("CylinderMesh")
- Part19 = Instance.new("Part")
- BlockMesh20 = Instance.new("BlockMesh")
- Part21 = Instance.new("Part")
- BlockMesh22 = Instance.new("BlockMesh")
- Sound23 = Instance.new("Sound")
- Script24 = Instance.new("Script")
- BoolValue25 = Instance.new("BoolValue")
- Sound26 = Instance.new("Sound")
- BoolValue27 = Instance.new("BoolValue")
- Script28 = Instance.new("Script")
- Part29 = Instance.new("Part")
- CylinderMesh30 = Instance.new("CylinderMesh")
- LocalScript31 = Instance.new("LocalScript")
- BoolValue32 = Instance.new("BoolValue")
- LocalScript33 = Instance.new("LocalScript")
- GuiMain34 = Instance.new("GuiMain")
- Frame35 = Instance.new("Frame")
- TextLabel36 = Instance.new("TextLabel")
- TextLabel37 = Instance.new("TextLabel")
- TextLabel38 = Instance.new("TextLabel")
- TextLabel39 = Instance.new("TextLabel")
- TextLabel40 = Instance.new("TextLabel")
- TextLabel41 = Instance.new("TextLabel")
- TextLabel42 = Instance.new("TextLabel")
- TextLabel43 = Instance.new("TextLabel")
- ObjectValue44 = Instance.new("ObjectValue")
- LocalScript45 = Instance.new("LocalScript")
- LocalScript46 = Instance.new("LocalScript")
- Script47 = Instance.new("Script")
- Script48 = Instance.new("Script")
- ObjectValue49 = Instance.new("ObjectValue")
- Script50 = Instance.new("Script")
- Part51 = Instance.new("Part")
- Snap52 = Instance.new("Snap")
- Part53 = Instance.new("Part")
- Snap54 = Instance.new("Snap")
- Part55 = Instance.new("Part")
- Snap56 = Instance.new("Snap")
- Snap57 = Instance.new("Snap")
- Snap58 = Instance.new("Snap")
- Snap59 = Instance.new("Snap")
- Model0.Parent = mas
- Model0.PrimaryPart = Part55
- Part1.Name = "Smooth Block Model"
- Part1.Parent = Model0
- Part1.CFrame = CFrame.new(-9.13996601, 3.00014806, 61.2799759, -1.04807905e-05, 1.26416526e-05, 0.999999702, -2.30949372e-05, 1.00000513, -1.26419845e-05, -1.00000489, -2.30949372e-05, -1.04805531e-05)
- Part1.Orientation = Vector3.new(0, 90, 0)
- Part1.Position = Vector3.new(-9.13996601, 3.00014806, 61.2799759)
- Part1.Rotation = Vector3.new(129.660004, 89.9599991, -129.660004)
- Part1.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part1.Transparency = 0.30000001192093
- Part1.Size = Vector3.new(3, 6, 1)
- Part1.Anchored = true
- Part1.BrickColor = BrickColor.new("Black")
- Part1.brickColor = BrickColor.new("Black")
- Snap2.Parent = Part1
- Snap2.C0 = CFrame.new(0, -3, 0, 1, 0, 0, -0, -0, -1, 0, 1, 0)
- Snap2.C1 = CFrame.new(-9.14000416, 10.0001326, 61.2800446, -1.04807905e-05, 0.999999702, -1.26416526e-05, -2.30949372e-05, -1.26419845e-05, -1.00000513, -1.00000489, -1.04805531e-05, 2.30949372e-05)
- Snap2.Part0 = Part1
- Snap2.Part1 = nil
- Snap2.part1 = nil
- Part3.Name = "Smooth Block Model"
- Part3.Parent = Model0
- Part3.CFrame = CFrame.new(-8.13999176, 3.00006104, 59.2799492, -1, 0, 0, -0, 1.00000525, 1.86264515e-08, 0, 1.86264515e-08, -1.00000525)
- Part3.Orientation = Vector3.new(0, 180, 0)
- Part3.Position = Vector3.new(-8.13999176, 3.00006104, 59.2799492)
- Part3.Rotation = Vector3.new(-180, 0, -180)
- Part3.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part3.Transparency = 0.30000001192093
- Part3.Size = Vector3.new(3, 6, 1)
- Part3.Anchored = true
- Part3.BrickColor = BrickColor.new("Black")
- Part3.brickColor = BrickColor.new("Black")
- Snap4.Parent = Part3
- Snap4.C0 = CFrame.new(0, -3, 0, 1, 0, 0, -0, -0, -1, 0, 1, 0)
- Snap4.C1 = CFrame.new(-8.13999176, 10.0000458, 59.2799492, -1, 0, 0, 0, 1.86264515e-08, -1.00000525, 0, -1.00000525, -1.86264515e-08)
- Snap4.Part0 = Part3
- Snap4.Part1 = nil
- Snap4.part1 = nil
- Part5.Name = "PUT THE WEAPON IN THIS BRICK"
- Part5.Parent = Model0
- Part5.CFrame = CFrame.new(-10.1402264, 2.70526695, 61.2819405, 0.999999046, -3.05180438e-05, -2.3259763e-09, 3.05181748e-05, 1.00000525, 0.000152569264, -2.32751063e-09, -0.000152569264, 1.00000429)
- Part5.Orientation = Vector3.new(-0.00999999978, 0, 0)
- Part5.Position = Vector3.new(-10.1402264, 2.70526695, 61.2819405)
- Part5.Rotation = Vector3.new(-0.00999999978, 0, 0)
- Part5.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part5.Size = Vector3.new(1, 1.20000005, 5)
- Part5.Anchored = true
- Part5.BrickColor = BrickColor.new("White")
- Part5.TopSurface = Enum.SurfaceType.Smooth
- Part5.brickColor = BrickColor.new("White")
- Tool6.Name = "Radio"
- Tool6.Parent = Part5
- Tool6.CanBeDropped = false
- Tool6.Grip = CFrame.new(0, -0.200000003, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Tool6.GripForward = Vector3.new(1, -0, -0)
- Tool6.GripPos = Vector3.new(0, -0.200000003, 0)
- Tool6.GripRight = Vector3.new(0, 0, 1)
- Tool6.ToolTip = "Note: To talk, click once. If the light is green - it's on. If it's red - it's off. "
- Model7.Name = "OfficerRadioSystem"
- Model7.Parent = Tool6
- StringValue8.Name = "Line1"
- StringValue8.Parent = Model7
- StringValue9.Name = "Line2"
- StringValue9.Parent = Model7
- StringValue10.Name = "Line3"
- StringValue10.Parent = Model7
- StringValue11.Name = "Line4"
- StringValue11.Parent = Model7
- StringValue12.Name = "Line5"
- StringValue12.Parent = Model7
- StringValue13.Name = "Line6"
- StringValue13.Parent = Model7
- StringValue14.Name = "Line7"
- StringValue14.Parent = Model7
- Part15.Parent = Tool6
- Part15.CFrame = CFrame.new(-7.79983997, 4.60569477, 61.4399681, -0.04736498, -0.00813900214, 0.998844564, 0, 0.99996686, 0.00814814679, -0.998877645, 0.000385936815, -0.0473634154)
- Part15.Orientation = Vector3.new(-0.469999999, 92.7099991, 0)
- Part15.Position = Vector3.new(-7.79983997, 4.60569477, 61.4399681)
- Part15.Rotation = Vector3.new(-170.240005, 87.25, 170.25)
- Part15.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part15.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part15.Anchored = true
- Part15.BottomSurface = Enum.SurfaceType.Smooth
- Part15.BrickColor = BrickColor.new("Really black")
- Part15.CanCollide = false
- Part15.TopSurface = Enum.SurfaceType.Smooth
- Part15.brickColor = BrickColor.new("Really black")
- Part15.FormFactor = Enum.FormFactor.Custom
- Part15.formFactor = Enum.FormFactor.Custom
- BlockMesh16.Parent = Part15
- BlockMesh16.Offset = Vector3.new(0, -0.020833334, 0)
- BlockMesh16.Scale = Vector3.new(0.833333373, 0.208333343, 0.833333373)
- Part17.Parent = Tool6
- Part17.CFrame = CFrame.new(-7.80068398, 4.70906305, 61.4400063, -0.04736498, -0.00813900214, 0.998844564, 0, 0.99996686, 0.00814814679, -0.998877645, 0.000385936815, -0.0473634154)
- Part17.Orientation = Vector3.new(-0.469999999, 92.7099991, 0)
- Part17.Position = Vector3.new(-7.80068398, 4.70906305, 61.4400063)
- Part17.Rotation = Vector3.new(-170.240005, 87.25, 170.25)
- Part17.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part17.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part17.Anchored = true
- Part17.BottomSurface = Enum.SurfaceType.Smooth
- Part17.BrickColor = BrickColor.new("Really black")
- Part17.CanCollide = false
- Part17.TopSurface = Enum.SurfaceType.Smooth
- Part17.brickColor = BrickColor.new("Really black")
- Part17.FormFactor = Enum.FormFactor.Custom
- Part17.formFactor = Enum.FormFactor.Custom
- CylinderMesh18.Parent = Part17
- CylinderMesh18.Offset = Vector3.new(0, 0.416666657, 0)
- CylinderMesh18.Scale = Vector3.new(0.0833333358, 8.33333397, 0.0833333358)
- Part19.Parent = Tool6
- Part19.CFrame = CFrame.new(-7.8068428, 4.37647104, 61.2528267, 0.00813499931, -0.0473649912, 0.998844504, -0.99996686, 1.25148097e-06, 0.00814419892, -0.000386999949, -0.998877645, -0.0473634116)
- Part19.Orientation = Vector3.new(-0.469999999, 92.7099991, -90)
- Part19.Position = Vector3.new(-7.8068428, 4.37647104, 61.2528267)
- Part19.Rotation = Vector3.new(-170.240005, 87.25, 80.25)
- Part19.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part19.Size = Vector3.new(0.25, 0.200000003, 0.200000003)
- Part19.Anchored = true
- Part19.BottomSurface = Enum.SurfaceType.Smooth
- Part19.BrickColor = BrickColor.new("Dark stone grey")
- Part19.CanCollide = false
- Part19.TopSurface = Enum.SurfaceType.Smooth
- Part19.brickColor = BrickColor.new("Dark stone grey")
- Part19.FormFactor = Enum.FormFactor.Custom
- Part19.formFactor = Enum.FormFactor.Custom
- BlockMesh20.Parent = Part19
- BlockMesh20.Offset = Vector3.new(0, -0.020833334, 0)
- BlockMesh20.Scale = Vector3.new(1, 0.208333343, 0.833333373)
- Part21.Name = "Handle"
- Part21.Parent = Tool6
- Part21.CFrame = CFrame.new(-7.78771496, 4.08392191, 61.6064453, -0.04736498, -0.00813900214, 0.998844564, 0, 0.99996686, 0.00814814679, -0.998877645, 0.000385936815, -0.0473634154)
- Part21.Orientation = Vector3.new(-0.469999999, 92.7099991, 0)
- Part21.Position = Vector3.new(-7.78771496, 4.08392191, 61.6064453)
- Part21.Rotation = Vector3.new(-170.240005, 87.25, 170.25)
- Part21.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part21.Size = Vector3.new(0.666666687, 1, 0.333333343)
- Part21.Anchored = true
- Part21.BottomSurface = Enum.SurfaceType.Smooth
- Part21.BrickColor = BrickColor.new("Really black")
- Part21.CanCollide = false
- Part21.TopSurface = Enum.SurfaceType.Smooth
- Part21.brickColor = BrickColor.new("Really black")
- Part21.FormFactor = Enum.FormFactor.Custom
- Part21.formFactor = Enum.FormFactor.Custom
- BlockMesh22.Parent = Part21
- Sound23.Name = "EquipSound"
- Sound23.Parent = Part21
- Sound23.EmitterSize = 0
- Sound23.MinDistance = 0
- Sound23.Pitch = 1.1499999761581
- Sound23.PlaybackSpeed = 1.1499999761581
- Sound23.SoundId = "http://roblox.com/asset/?id=10209636"
- Sound23.Volume = 0
- Script24.Name = "SoundScript"
- Script24.Parent = Sound23
- table.insert(cors,sandbox(Script24,function()
- --ToolSoundScript V1.2
- --Mark901
- wait(0.5)
- local Sound = script.Parent --Defines Sound
- local Bool = Sound.Run --BoolValue activated by outside script to request sound
- function Play()
- wait()
- if Bool.Value == true then
- Sound:Play() --Plays the sound
- wait()
- Bool.Value = false
- end
- end
- Bool.Changed:connect(Play)
- end))
- BoolValue25.Name = "Run"
- BoolValue25.Parent = Sound23
- Sound26.Name = "Alert"
- Sound26.Parent = Part21
- Sound26.EmitterSize = 0
- Sound26.MinDistance = 0
- Sound26.Pitch = 0.69999998807907
- Sound26.PlaybackSpeed = 0.69999998807907
- Sound26.SoundId = "http://www.roblox.com/asset/?id=28518380"
- Sound26.Volume = 0
- BoolValue27.Name = "Run"
- BoolValue27.Parent = Sound26
- Script28.Name = "SoundScript"
- Script28.Parent = Sound26
- table.insert(cors,sandbox(Script28,function()
- --ToolSoundScript V1.2
- --Mark901
- wait(0.5)
- local Sound = script.Parent --Defines Sound
- local Bool = Sound.Run --BoolValue activated by outside script to request sound
- function Play()
- wait()
- if Bool.Value == true then
- Sound:Play() --Plays the sound
- wait()
- Bool.Value = false
- end
- end
- Bool.Changed:connect(Play)
- end))
- Part29.Name = "Light"
- Part29.Parent = Tool6
- Part29.CFrame = CFrame.new(-7.78402996, 4.60569477, 61.7734566, 0.04736498, -0.00813900214, -0.998844564, 0, 0.99996686, -0.00814814679, 0.998877645, 0.000385936815, 0.0473634154)
- Part29.Orientation = Vector3.new(0.469999999, -87.2900009, 0)
- Part29.Position = Vector3.new(-7.78402996, 4.60569477, 61.7734566)
- Part29.Rotation = Vector3.new(9.76000023, -87.25, 9.75)
- Part29.Color = Color3.new(1, 0, 0)
- Part29.Transparency = 0.40000000596046
- Part29.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part29.Anchored = true
- Part29.BottomSurface = Enum.SurfaceType.Smooth
- Part29.BrickColor = BrickColor.new("Really red")
- Part29.CanCollide = false
- Part29.Reflectance = 0.10000000149012
- Part29.TopSurface = Enum.SurfaceType.Smooth
- Part29.brickColor = BrickColor.new("Really red")
- Part29.FormFactor = Enum.FormFactor.Custom
- Part29.formFactor = Enum.FormFactor.Custom
- CylinderMesh30.Parent = Part29
- CylinderMesh30.Offset = Vector3.new(0, -0.020833334, 0)
- CylinderMesh30.Scale = Vector3.new(0.50000006, 0.208333343, 0.50000006)
- LocalScript31.Name = "WeldScript"
- LocalScript31.Parent = Tool6
- table.insert(cors,sandbox(LocalScript31,function()
- local Tool = script.Parent
- wait(0.2)
- function CreateWeld(x,y)
- local W = Instance.new("Weld")
- W.Part0 = x
- W.Part1 = y
- local CJ = CFrame.new(x.Position)
- local C0 = x.CFrame:inverse()*CJ
- local C1 = y.CFrame:inverse()*CJ
- W.C0 = C0
- W.C1 = C1
- W.Parent = x
- end
- function Weld(A)
- if A.className == "Part" then
- CreateWeld(Tool.Handle, A)
- A.Anchored = false
- else
- local C = A:GetChildren()
- for i=1, #C do
- Weld(C[i])
- end
- end
- end
- function Anchor(D)
- if D.className == "Part" then
- D.Anchored = true
- else
- local E = D:GetChildren()
- for i=1, #E do
- Anchor(E[i])
- end
- end
- end
- function Equipped()
- Weld(Tool)
- end
- function Unequipped()
- wait()
- if script:IsDescendantOf(game:GetService("Players")) == true then
- Anchor(Tool)
- wait()
- local B = Tool.Handle:GetChildren()
- for i = 1, #B do
- if B[i].className == "Weld" then
- B[i]:Remove()
- end
- end
- wait()
- Weld(Tool)
- end
- end
- Tool.Equipped:connect(Equipped)
- Tool.Unequipped:connect(Unequipped)
- --Equipped()
- Weld(Tool)
- end))
- BoolValue32.Name = "On"
- BoolValue32.Parent = Tool6
- LocalScript33.Name = "RadioScript"
- LocalScript33.Parent = Tool6
- table.insert(cors,sandbox(LocalScript33,function()
- wait(0.2)
- local Tool = script.Parent
- local ToolPart = Tool:GetChildren()
- local Handle = Tool.Handle
- local OriginGUI = script.OfficerRadio:Clone()
- wait()
- script.OfficerRadio:Remove()
- if game.Workspace:findFirstChild("OfficerRadioSystem") == nil then
- Tool.OfficerRadioSystem:Clone().Parent = game.Workspace
- end
- wait()
- Tool.OfficerRadioSystem:Remove()
- function Equip(mouse)
- local Character = Tool.Parent
- if Character:findFirstChild("Humanoid") == nil then return end
- if Character.Humanoid.Health < 0.01 then return end
- if game:GetService("Players"):GetPlayerFromCharacter(Character) == nil then return end
- local Player = game:GetService("Players"):GetPlayerFromCharacter(Character)
- Tool.Character.Value = Character
- mouse.Button1Down:connect(Toggle)
- mouse.KeyDown:connect(onKeyDown)
- Handle.Alert.Volume = 0
- Handle.Alert:Stop()
- Handle.EquipSound:Stop()
- Handle.EquipSound.Volume = 1
- Handle.EquipSound.Run.Value = true
- if Player.PlayerGui:findFirstChild(OriginGUI.Name) == nil then
- GUI = OriginGUI:Clone()
- GUI.Tool.Value = Tool
- GUI.RadioGUIScript.Disabled = false
- GUI.UpdateScript.Disabled = false
- GUI.Parent = Player.PlayerGui
- end
- end
- function Unequip(mouse)
- local Character = Tool.Character.Value
- if Character:findFirstChild("Humanoid") == nil then return end
- if Tool:IsDescendantOf(game.Workspace) == true then
- Tool.Character.Value = nil
- end
- Handle.Alert.Volume = 0
- Handle.Alert:Stop()
- Handle.EquipSound.Volume = 0
- Handle.EquipSound:Stop()
- Tool.On.Value = false
- Tool.Light.BrickColor = BrickColor.new("Really red")
- SetCollide()
- end
- function Toggle()
- if Tool.On.Value == false then
- Tool.On.Value = true
- Tool.Light.BrickColor = BrickColor.new("Lime green")
- elseif Tool.On.Value == true then
- Tool.On.Value = false
- Tool.Light.BrickColor = BrickColor.new("Really red")
- end
- Handle.Alert.Volume = 0.4
- Handle.Alert.Run.Value = true
- end
- --[[
- function onKeyDown(key)
- local Character = Tool.Parent
- if Character:findFirstChild("Humanoid") == nil then return end
- if game:GetService("Players"):GetPlayerFromCharacter(Character) == nil then return end
- local Humanoid = Character.Humanoid
- if Humanoid.Health < 0.01 then return end
- if key == "" then
- end
- end
- ]]
- function SetCollide()
- if Tool:IsDescendantOf(game.Workspace) == true then
- Tool.On.Value = false
- Tool.Light.BrickColor = BrickColor.new("Really red")
- for i = 1, #ToolPart do
- if ToolPart[i].className == "Part" then
- if ToolPart[i]:findFirstChild("Collide") ~= nil then
- if ToolPart[i]["Collide"].Value == false then
- ToolPart[i].CanCollide = false
- end
- else
- ToolPart[i].CanCollide = true
- end
- end
- end
- end
- if Tool:IsDescendantOf(game:GetService("Players")) == true then
- for i = 1, #ToolPart do
- if ToolPart[i].className == "Part" then
- ToolPart[i].CanCollide = false
- end
- end
- end
- end
- Tool.Equipped:connect(Equip)
- Tool.Unequipped:connect(Unequip)
- end))
- GuiMain34.Name = "OfficerRadio"
- GuiMain34.Parent = LocalScript33
- GuiMain34.DisplayOrder = 2147483647
- Frame35.Parent = GuiMain34
- Frame35.Position = UDim2.new(0.344399989, 0, 0.189989999, 0)
- Frame35.Size = UDim2.new(-0.349999994, 0, -0.25, 0)
- Frame35.BackgroundColor = BrickColor.new("Really black")
- Frame35.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame35.BorderColor = BrickColor.new("Really black")
- Frame35.BorderColor3 = Color3.new(0, 0, 0)
- Frame35.BorderSizePixel = 0
- Frame35.Style = Enum.FrameStyle.DropShadow
- TextLabel36.Name = "Title"
- TextLabel36.Parent = Frame35
- TextLabel36.Size = UDim2.new(1, 0, 0.200000003, 0)
- TextLabel36.Active = true
- TextLabel36.BackgroundColor = BrickColor.new("Institutional white")
- TextLabel36.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel36.BackgroundTransparency = 0.80000001192093
- TextLabel36.BorderColor = BrickColor.new("Institutional white")
- TextLabel36.BorderColor3 = Color3.new(1, 1, 1)
- TextLabel36.Font = Enum.Font.ArialBold
- TextLabel36.FontSize = Enum.FontSize.Size24
- TextLabel36.Text = "TRCPD Radio Network"
- TextLabel36.TextColor = BrickColor.new("Institutional white")
- TextLabel36.TextColor3 = Color3.new(1, 1, 1)
- TextLabel36.TextScaled = true
- TextLabel36.TextSize = 24
- TextLabel36.TextTransparency = 0.20000000298023
- TextLabel36.TextWrap = true
- TextLabel36.TextWrapped = true
- TextLabel37.Name = "Line1"
- TextLabel37.Parent = Frame35
- TextLabel37.Position = UDim2.new(0, 0, 0.25, 0)
- TextLabel37.Size = UDim2.new(1, 0, 0.0799999982, 0)
- TextLabel37.BackgroundColor = BrickColor.new("Really black")
- TextLabel37.BackgroundColor3 = Color3.new(0, 0, 0)
- TextLabel37.BackgroundTransparency = 0.80000001192093
- TextLabel37.BorderColor = BrickColor.new("Institutional white")
- TextLabel37.BorderColor3 = Color3.new(1, 1, 1)
- TextLabel37.Font = Enum.Font.ArialBold
- TextLabel37.Text = ""
- TextLabel37.TextColor = BrickColor.new("Institutional white")
- TextLabel37.TextColor3 = Color3.new(1, 1, 1)
- TextLabel37.TextScaled = true
- TextLabel37.TextTransparency = 0.20000000298023
- TextLabel37.TextWrap = true
- TextLabel37.TextWrapped = true
- TextLabel37.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel38.Name = "Line2"
- TextLabel38.Parent = Frame35
- TextLabel38.Position = UDim2.new(0, 0, 0.349999994, 0)
- TextLabel38.Size = UDim2.new(1, 0, 0.0799999982, 0)
- TextLabel38.BackgroundColor = BrickColor.new("Really black")
- TextLabel38.BackgroundColor3 = Color3.new(0, 0, 0)
- TextLabel38.BackgroundTransparency = 0.80000001192093
- TextLabel38.BorderColor = BrickColor.new("Institutional white")
- TextLabel38.BorderColor3 = Color3.new(1, 1, 1)
- TextLabel38.Font = Enum.Font.ArialBold
- TextLabel38.Text = ""
- TextLabel38.TextColor = BrickColor.new("Institutional white")
- TextLabel38.TextColor3 = Color3.new(1, 1, 1)
- TextLabel38.TextScaled = true
- TextLabel38.TextTransparency = 0.20000000298023
- TextLabel38.TextWrap = true
- TextLabel38.TextWrapped = true
- TextLabel38.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel39.Name = "Line3"
- TextLabel39.Parent = Frame35
- TextLabel39.Position = UDim2.new(0, 0, 0.449999988, 0)
- TextLabel39.Size = UDim2.new(1, 0, 0.0799999982, 0)
- TextLabel39.BackgroundColor = BrickColor.new("Really black")
- TextLabel39.BackgroundColor3 = Color3.new(0, 0, 0)
- TextLabel39.BackgroundTransparency = 0.80000001192093
- TextLabel39.BorderColor = BrickColor.new("Institutional white")
- TextLabel39.BorderColor3 = Color3.new(1, 1, 1)
- TextLabel39.Font = Enum.Font.ArialBold
- TextLabel39.Text = ""
- TextLabel39.TextColor = BrickColor.new("Institutional white")
- TextLabel39.TextColor3 = Color3.new(1, 1, 1)
- TextLabel39.TextScaled = true
- TextLabel39.TextTransparency = 0.20000000298023
- TextLabel39.TextWrap = true
- TextLabel39.TextWrapped = true
- TextLabel39.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel40.Name = "Line4"
- TextLabel40.Parent = Frame35
- TextLabel40.Position = UDim2.new(0, 0, 0.550000012, 0)
- TextLabel40.Size = UDim2.new(1, 0, 0.0799999982, 0)
- TextLabel40.BackgroundColor = BrickColor.new("Really black")
- TextLabel40.BackgroundColor3 = Color3.new(0, 0, 0)
- TextLabel40.BackgroundTransparency = 0.80000001192093
- TextLabel40.BorderColor = BrickColor.new("Institutional white")
- TextLabel40.BorderColor3 = Color3.new(1, 1, 1)
- TextLabel40.Font = Enum.Font.ArialBold
- TextLabel40.Text = ""
- TextLabel40.TextColor = BrickColor.new("Institutional white")
- TextLabel40.TextColor3 = Color3.new(1, 1, 1)
- TextLabel40.TextScaled = true
- TextLabel40.TextTransparency = 0.20000000298023
- TextLabel40.TextWrap = true
- TextLabel40.TextWrapped = true
- TextLabel40.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel41.Name = "Line5"
- TextLabel41.Parent = Frame35
- TextLabel41.Position = UDim2.new(0, 0, 0.649999976, 0)
- TextLabel41.Size = UDim2.new(1, 0, 0.0799999982, 0)
- TextLabel41.BackgroundColor = BrickColor.new("Really black")
- TextLabel41.BackgroundColor3 = Color3.new(0, 0, 0)
- TextLabel41.BackgroundTransparency = 0.80000001192093
- TextLabel41.BorderColor = BrickColor.new("Institutional white")
- TextLabel41.BorderColor3 = Color3.new(1, 1, 1)
- TextLabel41.Font = Enum.Font.ArialBold
- TextLabel41.Text = ""
- TextLabel41.TextColor = BrickColor.new("Institutional white")
- TextLabel41.TextColor3 = Color3.new(1, 1, 1)
- TextLabel41.TextScaled = true
- TextLabel41.TextTransparency = 0.20000000298023
- TextLabel41.TextWrap = true
- TextLabel41.TextWrapped = true
- TextLabel41.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel42.Name = "Line6"
- TextLabel42.Parent = Frame35
- TextLabel42.Position = UDim2.new(0, 0, 0.75, 0)
- TextLabel42.Size = UDim2.new(1, 0, 0.0799999982, 0)
- TextLabel42.BackgroundColor = BrickColor.new("Really black")
- TextLabel42.BackgroundColor3 = Color3.new(0, 0, 0)
- TextLabel42.BackgroundTransparency = 0.80000001192093
- TextLabel42.BorderColor = BrickColor.new("Institutional white")
- TextLabel42.BorderColor3 = Color3.new(1, 1, 1)
- TextLabel42.Font = Enum.Font.ArialBold
- TextLabel42.Text = ""
- TextLabel42.TextColor = BrickColor.new("Institutional white")
- TextLabel42.TextColor3 = Color3.new(1, 1, 1)
- TextLabel42.TextScaled = true
- TextLabel42.TextTransparency = 0.20000000298023
- TextLabel42.TextWrap = true
- TextLabel42.TextWrapped = true
- TextLabel42.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel43.Name = "Line7"
- TextLabel43.Parent = Frame35
- TextLabel43.Position = UDim2.new(0, 0, 0.850000024, 0)
- TextLabel43.Size = UDim2.new(1, 0, 0.0799999982, 0)
- TextLabel43.BackgroundColor = BrickColor.new("Really black")
- TextLabel43.BackgroundColor3 = Color3.new(0, 0, 0)
- TextLabel43.BackgroundTransparency = 0.80000001192093
- TextLabel43.BorderColor = BrickColor.new("Institutional white")
- TextLabel43.BorderColor3 = Color3.new(1, 1, 1)
- TextLabel43.Font = Enum.Font.ArialBold
- TextLabel43.Text = ""
- TextLabel43.TextColor = BrickColor.new("Institutional white")
- TextLabel43.TextColor3 = Color3.new(1, 1, 1)
- TextLabel43.TextScaled = true
- TextLabel43.TextTransparency = 0.20000000298023
- TextLabel43.TextWrap = true
- TextLabel43.TextWrapped = true
- TextLabel43.TextXAlignment = Enum.TextXAlignment.Left
- ObjectValue44.Name = "Tool"
- ObjectValue44.Parent = GuiMain34
- LocalScript45.Name = "RadioGUIScript[o]"
- LocalScript45.Parent = GuiMain34
- table.insert(cors,sandbox(LocalScript45,function()
- --Mark901
- wait(1)
- local MainGUI = script.Parent
- local GUI = MainGUI.Frame
- local Tool = MainGUI.Tool
- local Channel = game.Workspace["OfficerRadioSystem"]
- function Transmit(MSG, Targ)
- if Tool.Value.On.Value == false then return end
- Channel.Line1.Value = Channel.Line2.Value
- Channel.Line2.Value = Channel.Line3.Value
- Channel.Line3.Value = Channel.Line4.Value
- Channel.Line4.Value = Channel.Line5.Value
- Channel.Line5.Value = Channel.Line6.Value
- Channel.Line6.Value = Channel.Line7.Value
- Channel.Line7.Value = Tool.Value.Parent.Name ..": ".. MSG
- end
- MainGUI.Parent.Parent.Chatted:connect(Transmit)
- end))
- LocalScript45.Disabled = true
- LocalScript46.Name = "UpdateScript[o]"
- LocalScript46.Parent = GuiMain34
- table.insert(cors,sandbox(LocalScript46,function()
- --Mark901
- wait(1)
- local MainGUI = script.Parent
- local GUI = MainGUI.Frame
- local Tool = MainGUI.Tool
- local Channel = game.Workspace["OfficerRadioSystem"]
- function Update()
- GUI.Line1.Text = Channel.Line1.Value
- GUI.Line2.Text = Channel.Line2.Value
- GUI.Line3.Text = Channel.Line3.Value
- GUI.Line4.Text = Channel.Line4.Value
- GUI.Line5.Text = Channel.Line5.Value
- GUI.Line6.Text = Channel.Line6.Value
- GUI.Line7.Text = Channel.Line7.Value
- Tool.Value.Handle.Alert.Volume = 0.4
- Tool.Value.Handle.Alert.Run.Value = true
- end
- Channel.Line7.Changed:connect(Update)
- wait(0.2)
- Update()
- end))
- LocalScript46.Disabled = true
- Script47.Name = "RadioGUIScript"
- Script47.Parent = GuiMain34
- table.insert(cors,sandbox(Script47,function()
- --Mark901
- wait(1)
- local MainGUI = script.Parent
- local GUI = MainGUI.Frame
- local Tool = MainGUI.Tool
- local Channel = game.Workspace["OfficerRadioSystem"]
- function Transmit(MSG, Targ)
- if Tool.Value.On.Value == false then return end
- Channel.Line1.Value = Channel.Line2.Value
- Channel.Line2.Value = Channel.Line3.Value
- Channel.Line3.Value = Channel.Line4.Value
- Channel.Line4.Value = Channel.Line5.Value
- Channel.Line5.Value = Channel.Line6.Value
- Channel.Line6.Value = Channel.Line7.Value
- Channel.Line7.Value = " ".. Tool.Value.Parent.Name ..": ".. MSG
- end
- MainGUI.Parent.Parent.Chatted:connect(Transmit)
- end))
- Script47.Disabled = true
- Script48.Name = "UpdateScript"
- Script48.Parent = GuiMain34
- table.insert(cors,sandbox(Script48,function()
- --Mark901
- wait(1)
- local MainGUI = script.Parent
- local GUI = MainGUI.Frame
- local Tool = MainGUI.Tool
- local Channel = game.Workspace["OfficerRadioSystem"]
- function Update()
- GUI.Line1.Text = Channel.Line1.Value
- GUI.Line2.Text = Channel.Line2.Value
- GUI.Line3.Text = Channel.Line3.Value
- GUI.Line4.Text = Channel.Line4.Value
- GUI.Line5.Text = Channel.Line5.Value
- GUI.Line6.Text = Channel.Line6.Value
- GUI.Line7.Text = Channel.Line7.Value
- Tool.Value.Handle.Alert.Volume = 0.4
- Tool.Value.Handle.Alert.Run.Value = true
- end
- Channel.Line7.Changed:connect(Update)
- wait(0.2)
- Update()
- end))
- Script48.Disabled = true
- ObjectValue49.Name = "Character"
- ObjectValue49.Parent = Tool6
- Script50.Name = "PUT THIS IN THE WEAPON"
- Script50.Parent = Tool6
- table.insert(cors,sandbox(Script50,function()
- local debounce = false
- function getPlayer(humanoid)
- local players = game.Players:children()
- for i = 1, #players do
- if players[i].Character.Humanoid == humanoid then return players[i] end
- end
- return nil
- end
- function onTouch(part)
- local human = part.Parent:findFirstChild("Humanoid")
- if (human ~= nil) and debounce == false then
- debounce = true
- local player = getPlayer(human)
- if (player == nil) then return end
- script.Parent:clone().Parent = player.Backpack
- wait(2)
- debounce = false
- end
- end
- script.Parent.Parent.Touched:connect(onTouch)
- end))
- Part51.Name = "Smooth Block Model"
- Part51.Parent = Model0
- Part51.CFrame = CFrame.new(-6.13997078, 3.00011396, 61.2799492, -1.04807905e-05, 1.26416526e-05, 0.999999702, -2.30949372e-05, 1.00000513, -1.26419845e-05, -1.00000489, -2.30949372e-05, -1.04805531e-05)
- Part51.Orientation = Vector3.new(0, 90, 0)
- Part51.Position = Vector3.new(-6.13997078, 3.00011396, 61.2799492)
- Part51.Rotation = Vector3.new(129.660004, 89.9599991, -129.660004)
- Part51.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part51.Transparency = 0.30000001192093
- Part51.Size = Vector3.new(5, 6, 1)
- Part51.Anchored = true
- Part51.BrickColor = BrickColor.new("Black")
- Part51.brickColor = BrickColor.new("Black")
- Snap52.Parent = Part51
- Snap52.C0 = CFrame.new(0, -3, 0, 1, 0, 0, -0, -0, -1, 0, 1, 0)
- Snap52.C1 = CFrame.new(-6.14000893, 10.0000992, 61.2800179, -1.04807905e-05, 0.999999702, -1.26416526e-05, -2.30949372e-05, -1.26419845e-05, -1.00000513, -1.00000489, -1.04805531e-05, 2.30949372e-05)
- Snap52.Part0 = Part51
- Snap52.Part1 = nil
- Snap52.part1 = nil
- Part53.Name = "Smooth Block Model"
- Part53.Parent = Model0
- Part53.CFrame = CFrame.new(-8.13999176, 3.00006104, 63.2799759, -1, 0, 0, -0, 1.00000525, 1.86264515e-08, 0, 1.86264515e-08, -1.00000525)
- Part53.Orientation = Vector3.new(0, 180, 0)
- Part53.Position = Vector3.new(-8.13999176, 3.00006104, 63.2799759)
- Part53.Rotation = Vector3.new(-180, 0, -180)
- Part53.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part53.Transparency = 0.30000001192093
- Part53.Size = Vector3.new(3, 6, 1)
- Part53.Anchored = true
- Part53.BrickColor = BrickColor.new("Black")
- Part53.brickColor = BrickColor.new("Black")
- Snap54.Parent = Part53
- Snap54.C0 = CFrame.new(0, -3, 0, 1, 0, 0, -0, -0, -1, 0, 1, 0)
- Snap54.C1 = CFrame.new(-8.13999176, 10.0000458, 63.2799759, -1, 0, 0, 0, 1.86264515e-08, -1.00000525, 0, -1.00000525, -1.86264515e-08)
- Snap54.Part0 = Part53
- Snap54.Part1 = nil
- Snap54.part1 = nil
- Part55.Name = "Smooth Block Model"
- Part55.Parent = Model0
- Part55.CFrame = CFrame.new(-7.639925, 6.60009193, 61.279892, -1.04807905e-05, 1.26416526e-05, 0.999999702, -2.30949372e-05, 1.00000513, -1.26419845e-05, -1.00000489, -2.30949372e-05, -1.04805531e-05)
- Part55.Orientation = Vector3.new(0, 90, 0)
- Part55.Position = Vector3.new(-7.639925, 6.60009193, 61.279892)
- Part55.Rotation = Vector3.new(129.660004, 89.9599991, -129.660004)
- Part55.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part55.Transparency = 0.30000001192093
- Part55.Size = Vector3.new(5, 1.20000005, 4)
- Part55.Anchored = true
- Part55.BrickColor = BrickColor.new("Black")
- Part55.TopSurface = Enum.SurfaceType.Smooth
- Part55.brickColor = BrickColor.new("Black")
- Snap56.Parent = Part55
- Snap56.C0 = CFrame.new(0, -0.600000024, 0, 1, 0, 0, -0, -0, -1, 0, 1, 0)
- Snap56.C1 = CFrame.new(-0.500068426, 3.00008821, 2.00008106, 1.04806841e-05, -1, 1.26418136e-05, -2.31134509e-05, -1.26420555e-05, -1, 1, 1.0480393e-05, -2.31135837e-05)
- Snap56.Part0 = Part55
- Snap56.Part1 = Part53
- Snap56.part1 = Part53
- Snap57.Parent = Part55
- Snap57.C0 = CFrame.new(0, -0.600000024, 0, 1, 0, 0, -0, -0, -1, 0, 1, 0)
- Snap57.C1 = CFrame.new(-8.58306885e-06, 3.00001383, 1.49999905, 1, -1.08228822e-10, -1.38241835e-10, -1.38241849e-10, -1.58130051e-10, -1, 1.08228815e-10, 1, -1.58130051e-10)
- Snap57.Part0 = Part55
- Snap57.Part1 = Part1
- Snap57.part1 = Part1
- Snap58.Parent = Part55
- Snap58.C0 = CFrame.new(0, -0.600000024, 0, 1, 0, 0, -0, -0, -1, 0, 1, 0)
- Snap58.C1 = CFrame.new(-0.500068426, 3.00008821, -1.99995995, 1.04806841e-05, -1, 1.26418136e-05, -2.31134509e-05, -1.26420555e-05, -1, 1, 1.0480393e-05, -2.31135837e-05)
- Snap58.Part0 = Part55
- Snap58.Part1 = Part3
- Snap58.part1 = Part3
- Snap59.Parent = Part55
- Snap59.C0 = CFrame.new(0, -0.600000024, 0, 1, 0, 0, -0, -0, -1, 0, 1, 0)
- Snap59.C1 = CFrame.new(-8.58306885e-06, 3.00000668, -1.49999857, 1, -1.08228822e-10, -1.38241835e-10, -1.38241849e-10, -1.58130051e-10, -1, 1.08228815e-10, 1, -1.58130051e-10)
- Snap59.Part0 = Part55
- Snap59.Part1 = Part51
- Snap59.part1 = Part51
- 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