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"))
- Tool0 = Instance.new("Tool")
- Part1 = Instance.new("Part")
- Script2 = Instance.new("Script")
- Sound3 = Instance.new("Sound")
- BoolValue4 = Instance.new("BoolValue")
- Part5 = Instance.new("Part")
- Decal6 = Instance.new("Decal")
- SpecialMesh7 = Instance.new("SpecialMesh")
- Part8 = Instance.new("Part")
- SpecialMesh9 = Instance.new("SpecialMesh")
- Part10 = Instance.new("Part")
- SpecialMesh11 = Instance.new("SpecialMesh")
- Part12 = Instance.new("Part")
- Decal13 = Instance.new("Decal")
- SpecialMesh14 = Instance.new("SpecialMesh")
- Part15 = Instance.new("Part")
- Decal16 = Instance.new("Decal")
- SpecialMesh17 = Instance.new("SpecialMesh")
- Part18 = Instance.new("Part")
- SpecialMesh19 = Instance.new("SpecialMesh")
- Part20 = Instance.new("Part")
- Decal21 = Instance.new("Decal")
- SpecialMesh22 = Instance.new("SpecialMesh")
- Part23 = Instance.new("Part")
- Decal24 = Instance.new("Decal")
- SpecialMesh25 = Instance.new("SpecialMesh")
- Part26 = Instance.new("Part")
- Decal27 = Instance.new("Decal")
- SpecialMesh28 = Instance.new("SpecialMesh")
- Part29 = Instance.new("Part")
- SpecialMesh30 = Instance.new("SpecialMesh")
- Part31 = Instance.new("Part")
- SpecialMesh32 = Instance.new("SpecialMesh")
- Part33 = Instance.new("Part")
- Decal34 = Instance.new("Decal")
- SpecialMesh35 = Instance.new("SpecialMesh")
- Script36 = Instance.new("Script")
- Tool37 = Instance.new("Tool")
- Texture38 = Instance.new("Texture")
- Texture39 = Instance.new("Texture")
- Part40 = Instance.new("Part")
- Sound41 = Instance.new("Sound")
- Sound42 = Instance.new("Sound")
- PointLight43 = Instance.new("PointLight")
- Part44 = Instance.new("Part")
- SpecialMesh45 = Instance.new("SpecialMesh")
- Part46 = Instance.new("Part")
- SpecialMesh47 = Instance.new("SpecialMesh")
- Part48 = Instance.new("Part")
- Part49 = Instance.new("Part")
- SpecialMesh50 = Instance.new("SpecialMesh")
- Part51 = Instance.new("Part")
- SpecialMesh52 = Instance.new("SpecialMesh")
- Part53 = Instance.new("Part")
- SpecialMesh54 = Instance.new("SpecialMesh")
- Part55 = Instance.new("Part")
- Part56 = Instance.new("Part")
- SpecialMesh57 = Instance.new("SpecialMesh")
- Part58 = Instance.new("Part")
- SpecialMesh59 = Instance.new("SpecialMesh")
- Part60 = Instance.new("Part")
- Texture61 = Instance.new("Texture")
- SpecialMesh62 = Instance.new("SpecialMesh")
- Part63 = Instance.new("Part")
- SpecialMesh64 = Instance.new("SpecialMesh")
- Part65 = Instance.new("Part")
- SpecialMesh66 = Instance.new("SpecialMesh")
- Part67 = Instance.new("Part")
- SpecialMesh68 = Instance.new("SpecialMesh")
- Part69 = Instance.new("Part")
- SpecialMesh70 = Instance.new("SpecialMesh")
- Part71 = Instance.new("Part")
- SpecialMesh72 = Instance.new("SpecialMesh")
- Part73 = Instance.new("Part")
- SpecialMesh74 = Instance.new("SpecialMesh")
- Part75 = Instance.new("Part")
- SpecialMesh76 = Instance.new("SpecialMesh")
- Script77 = Instance.new("Script")
- LocalScript78 = Instance.new("LocalScript")
- LocalScript79 = Instance.new("LocalScript")
- Sound80 = Instance.new("Sound")
- Tool81 = Instance.new("Tool")
- Part82 = Instance.new("Part")
- Sound83 = Instance.new("Sound")
- Part84 = Instance.new("Part")
- CylinderMesh85 = Instance.new("CylinderMesh")
- Part86 = Instance.new("Part")
- BlockMesh87 = Instance.new("BlockMesh")
- Part88 = Instance.new("Part")
- CylinderMesh89 = Instance.new("CylinderMesh")
- Part90 = Instance.new("Part")
- CylinderMesh91 = Instance.new("CylinderMesh")
- Part92 = Instance.new("Part")
- CylinderMesh93 = Instance.new("CylinderMesh")
- Part94 = Instance.new("Part")
- CylinderMesh95 = Instance.new("CylinderMesh")
- Part96 = Instance.new("Part")
- SpecialMesh97 = Instance.new("SpecialMesh")
- Part98 = Instance.new("Part")
- CylinderMesh99 = Instance.new("CylinderMesh")
- Part100 = Instance.new("Part")
- Part101 = Instance.new("Part")
- CylinderMesh102 = Instance.new("CylinderMesh")
- Part103 = Instance.new("Part")
- BlockMesh104 = Instance.new("BlockMesh")
- Part105 = Instance.new("Part")
- CylinderMesh106 = Instance.new("CylinderMesh")
- Part107 = Instance.new("Part")
- CylinderMesh108 = Instance.new("CylinderMesh")
- Part109 = Instance.new("Part")
- BlockMesh110 = Instance.new("BlockMesh")
- Part111 = Instance.new("Part")
- CylinderMesh112 = Instance.new("CylinderMesh")
- Part113 = Instance.new("Part")
- CylinderMesh114 = Instance.new("CylinderMesh")
- WedgePart115 = Instance.new("WedgePart")
- Script116 = Instance.new("Script")
- Script117 = Instance.new("Script")
- Tool118 = Instance.new("Tool")
- Model119 = Instance.new("Model")
- StringValue120 = Instance.new("StringValue")
- StringValue121 = Instance.new("StringValue")
- StringValue122 = Instance.new("StringValue")
- StringValue123 = Instance.new("StringValue")
- StringValue124 = Instance.new("StringValue")
- StringValue125 = Instance.new("StringValue")
- StringValue126 = Instance.new("StringValue")
- Part127 = Instance.new("Part")
- BlockMesh128 = Instance.new("BlockMesh")
- Sound129 = Instance.new("Sound")
- BoolValue130 = Instance.new("BoolValue")
- Script131 = Instance.new("Script")
- Sound132 = Instance.new("Sound")
- Script133 = Instance.new("Script")
- BoolValue134 = Instance.new("BoolValue")
- Decal135 = Instance.new("Decal")
- Part136 = Instance.new("Part")
- CylinderMesh137 = Instance.new("CylinderMesh")
- LocalScript138 = Instance.new("LocalScript")
- BoolValue139 = Instance.new("BoolValue")
- LocalScript140 = Instance.new("LocalScript")
- ObjectValue141 = Instance.new("ObjectValue")
- LocalScript142 = Instance.new("LocalScript")
- LocalScript143 = Instance.new("LocalScript")
- Script144 = Instance.new("Script")
- Script145 = Instance.new("Script")
- Frame146 = Instance.new("Frame")
- TextLabel147 = Instance.new("TextLabel")
- TextLabel148 = Instance.new("TextLabel")
- TextLabel149 = Instance.new("TextLabel")
- TextLabel150 = Instance.new("TextLabel")
- TextLabel151 = Instance.new("TextLabel")
- TextLabel152 = Instance.new("TextLabel")
- TextLabel153 = Instance.new("TextLabel")
- TextLabel154 = Instance.new("TextLabel")
- ObjectValue155 = Instance.new("ObjectValue")
- LocalScript156 = Instance.new("LocalScript")
- Script157 = Instance.new("Script")
- Tool158 = Instance.new("Tool")
- Script159 = Instance.new("Script")
- Part160 = Instance.new("Part")
- Texture161 = Instance.new("Texture")
- BlockMesh162 = Instance.new("BlockMesh")
- Part163 = Instance.new("Part")
- Texture164 = Instance.new("Texture")
- BlockMesh165 = Instance.new("BlockMesh")
- Part166 = Instance.new("Part")
- BlockMesh167 = Instance.new("BlockMesh")
- Part168 = Instance.new("Part")
- BlockMesh169 = Instance.new("BlockMesh")
- Part170 = Instance.new("Part")
- Sound171 = Instance.new("Sound")
- PointLight172 = Instance.new("PointLight")
- Script173 = Instance.new("Script")
- Tool0.Name = "Tricorder"
- Tool0.Parent = mas
- Tool0.TextureId = "http://www.roblox.com/asset?id=234895077"
- Tool0.ToolTip = "Scan for stuff!"
- Part1.Name = "Handle"
- Part1.Parent = Tool0
- Part1.Material = Enum.Material.SmoothPlastic
- Part1.Transparency = 1
- Part1.Rotation = Vector3.new(-67.659996, -0.0199999996, 140.139999)
- Part1.FormFactor = Enum.FormFactor.Custom
- Part1.Size = Vector3.new(0.361938685, 0.361938655, 0.361938685)
- Part1.CFrame = CFrame.new(23.7026825, 3.27846193, -23.7760086, -0.767579079, -0.640945137, -0.000276200095, 0.243393242, -0.291877925, 0.924964488, -0.592938185, 0.709914029, 0.380045533)
- Part1.BottomSurface = Enum.SurfaceType.Smooth
- Part1.TopSurface = Enum.SurfaceType.Smooth
- Part1.Position = Vector3.new(23.7026825, 3.27846193, -23.7760086)
- Part1.Orientation = Vector3.new(-67.659996, -0.0399999991, 140.179993)
- Script2.Parent = Part1
- table.insert(cors,sandbox(Script2,function()
- function sound()
- if script.Parent.play.Value == false then
- script.Parent.Sound:play()
- script.Parent.play.Value = true
- else
- script.Parent.Sound:stop()
- script.Parent.play.Value = false
- end
- end
- script.Parent.Parent.Activated:connect(sound)
- end))
- Sound3.Parent = Part1
- Sound3.SoundId = "http://www.roblox.com/asset?id=143575463"
- Sound3.Looped = true
- BoolValue4.Name = "play"
- BoolValue4.Parent = Part1
- Part5.Parent = Tool0
- Part5.Material = Enum.Material.SmoothPlastic
- Part5.Rotation = Vector3.new(22.3199997, 50.1399994, -179.979996)
- Part5.FormFactor = Enum.FormFactor.Custom
- Part5.Size = Vector3.new(0.361938685, 0.361938655, 0.361938685)
- Part5.CFrame = CFrame.new(23.4465637, 2.97661591, -23.5678368, -0.640945077, 0.000263595313, 0.767579556, -0.291874737, -0.924962223, -0.243405491, 0.709915757, -0.380050927, 0.592933238)
- Part5.BottomSurface = Enum.SurfaceType.Smooth
- Part5.TopSurface = Enum.SurfaceType.Smooth
- Part5.Position = Vector3.new(23.4465637, 2.97661591, -23.5678368)
- Part5.Orientation = Vector3.new(14.0900002, 52.3099976, -162.48999)
- Decal6.Parent = Part5
- Decal6.Texture = "http://www.roblox.com/asset/?id=48579240"
- Decal6.Face = Enum.NormalId.Bottom
- SpecialMesh7.Parent = Part5
- SpecialMesh7.Scale = Vector3.new(0.384760767, 0.0226329863, 1.58430922)
- SpecialMesh7.MeshType = Enum.MeshType.Brick
- SpecialMesh7.Scale = Vector3.new(0.384760767, 0.0226329863, 1.58430922)
- Part8.Parent = Tool0
- Part8.Material = Enum.Material.SmoothPlastic
- Part8.Rotation = Vector3.new(22.3199997, -39.8699989, -180)
- Part8.FormFactor = Enum.FormFactor.Custom
- Part8.Size = Vector3.new(0.62403214, 0.62403208, 0.62403208)
- Part8.CFrame = CFrame.new(22.9873581, 2.71915507, -23.0989914, -0.767495692, 1.13113265e-05, -0.641045034, 0.243447304, -0.92507422, -0.291483164, -0.593023956, -0.379776984, 0.709985793)
- Part8.BottomSurface = Enum.SurfaceType.Smooth
- Part8.TopSurface = Enum.SurfaceType.Smooth
- Part8.Position = Vector3.new(22.9873581, 2.71915507, -23.0989914)
- Part8.Orientation = Vector3.new(16.9499989, -42.079998, 165.259995)
- SpecialMesh9.Parent = Part8
- SpecialMesh9.Scale = Vector3.new(1.05017054, 0.196906999, 0.196907014)
- SpecialMesh9.MeshType = Enum.MeshType.Brick
- SpecialMesh9.Scale = Vector3.new(1.05017054, 0.196906999, 0.196907014)
- Part10.Parent = Tool0
- Part10.Material = Enum.Material.SmoothPlastic
- Part10.BrickColor = BrickColor.new("Toothpaste")
- Part10.Transparency = 0.39999997615814
- Part10.Rotation = Vector3.new(22.3199997, 50.1399994, -14.8999996)
- Part10.FormFactor = Enum.FormFactor.Custom
- Part10.Size = Vector3.new(0.2099244, 0.209924385, 0.209924385)
- Part10.CFrame = CFrame.new(24.1532288, 3.43550396, -23.9068336, 0.619396448, 0.164808959, 0.767580092, 0.0438233763, 0.968931496, -0.243404716, -0.783846676, 0.184406281, 0.592935324)
- Part10.BottomSurface = Enum.SurfaceType.Smooth
- Part10.TopSurface = Enum.SurfaceType.Smooth
- Part10.Color = Color3.new(0, 1, 1)
- Part10.Position = Vector3.new(24.1532288, 3.43550396, -23.9068336)
- Part10.Orientation = Vector3.new(14.0900002, 52.3099976, 2.58999991)
- Part10.Color = Color3.new(0, 1, 1)
- SpecialMesh11.Parent = Part10
- SpecialMesh11.Scale = Vector3.new(0.195111975, 0.234134346, 0.195111975)
- SpecialMesh11.MeshType = Enum.MeshType.Brick
- SpecialMesh11.Scale = Vector3.new(0.195111975, 0.234134346, 0.195111975)
- Part12.Parent = Tool0
- Part12.Material = Enum.Material.SmoothPlastic
- Part12.Rotation = Vector3.new(59.4300003, -33.6699982, -157.25)
- Part12.FormFactor = Enum.FormFactor.Custom
- Part12.Size = Vector3.new(0.361938685, 0.361938655, 0.361938685)
- Part12.CFrame = CFrame.new(23.7587357, 3.1372509, -23.7029457, -0.767495632, 0.321876228, -0.554376841, 0.243447587, -0.653662026, -0.716555536, -0.593024135, -0.684916675, 0.42331636)
- Part12.BottomSurface = Enum.SurfaceType.Smooth
- Part12.TopSurface = Enum.SurfaceType.Smooth
- Part12.Position = Vector3.new(23.7587357, 3.1372509, -23.7029457)
- Part12.Orientation = Vector3.new(45.7700005, -52.6399994, 159.569992)
- Decal13.Parent = Part12
- Decal13.Texture = "http://www.roblox.com/asset/?id=48579240"
- Decal13.Face = Enum.NormalId.Bottom
- SpecialMesh14.Parent = Part12
- SpecialMesh14.Scale = Vector3.new(0.79215461, 0.0226329863, 0.79215461)
- SpecialMesh14.MeshType = Enum.MeshType.Brick
- SpecialMesh14.Scale = Vector3.new(0.79215461, 0.0226329863, 0.79215461)
- Part15.Parent = Tool0
- Part15.Material = Enum.Material.SmoothPlastic
- Part15.Rotation = Vector3.new(59.4300003, -33.6699982, -157.25)
- Part15.FormFactor = Enum.FormFactor.Custom
- Part15.Size = Vector3.new(0.2099244, 0.209924385, 0.209924385)
- Part15.CFrame = CFrame.new(23.7193756, 3.41314411, -23.9988022, -0.767495692, 0.321873963, -0.554377973, 0.243447468, -0.653665185, -0.716553032, -0.593024075, -0.684914827, 0.423318982)
- Part15.BottomSurface = Enum.SurfaceType.Smooth
- Part15.TopSurface = Enum.SurfaceType.Smooth
- Part15.Position = Vector3.new(23.7193756, 3.41314411, -23.9988022)
- Part15.Orientation = Vector3.new(45.7700005, -52.6299973, 159.569992)
- Decal16.Parent = Part15
- Decal16.Texture = "http://www.roblox.com/asset/?id=110707451"
- Decal16.Face = Enum.NormalId.Bottom
- SpecialMesh17.Parent = Part15
- SpecialMesh17.Scale = Vector3.new(1.28773904, 0.117067173, 0.507291138)
- SpecialMesh17.MeshType = Enum.MeshType.Brick
- SpecialMesh17.Scale = Vector3.new(1.28773904, 0.117067173, 0.507291138)
- Part18.Parent = Tool0
- Part18.Material = Enum.Material.SmoothPlastic
- Part18.BrickColor = BrickColor.new("Bright red")
- Part18.Rotation = Vector3.new(22.3199997, 50.1399994, 29.8799992)
- Part18.FormFactor = Enum.FormFactor.Custom
- Part18.Size = Vector3.new(0.2099244, 0.209924385, 0.209924385)
- Part18.CFrame = CFrame.new(23.5613098, 3.1788969, -23.9299278, 0.555724144, -0.319347411, 0.767580986, 0.71365279, 0.656847119, -0.243402153, -0.426449746, 0.683053732, 0.592934906)
- Part18.BottomSurface = Enum.SurfaceType.Smooth
- Part18.TopSurface = Enum.SurfaceType.Smooth
- Part18.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part18.Position = Vector3.new(23.5613098, 3.1788969, -23.9299278)
- Part18.Orientation = Vector3.new(14.0900002, 52.3099976, 47.3699989)
- Part18.Color = Color3.new(0.768628, 0.156863, 0.109804)
- SpecialMesh19.Parent = Part18
- SpecialMesh19.Scale = Vector3.new(0.117067188, 0.19511196, 0.117067188)
- SpecialMesh19.MeshType = Enum.MeshType.Brick
- SpecialMesh19.Scale = Vector3.new(0.117067188, 0.19511196, 0.117067188)
- Part20.Parent = Tool0
- Part20.Material = Enum.Material.SmoothPlastic
- Part20.Rotation = Vector3.new(22.3199997, -39.8699989, -180)
- Part20.FormFactor = Enum.FormFactor.Custom
- Part20.Size = Vector3.new(0.361938685, 0.361938655, 0.361938685)
- Part20.CFrame = CFrame.new(23.4371185, 2.84194207, -23.2360611, -0.767495692, 1.13113265e-05, -0.641045034, 0.243447304, -0.92507422, -0.291483164, -0.593023956, -0.379776984, 0.709985793)
- Part20.BottomSurface = Enum.SurfaceType.Smooth
- Part20.TopSurface = Enum.SurfaceType.Smooth
- Part20.Position = Vector3.new(23.4371185, 2.84194207, -23.2360611)
- Part20.Orientation = Vector3.new(16.9499989, -42.079998, 165.259995)
- Decal21.Parent = Part20
- Decal21.Texture = "http://www.roblox.com/asset/?id=48579240"
- Decal21.Face = Enum.NormalId.Bottom
- SpecialMesh22.Parent = Part20
- SpecialMesh22.Scale = Vector3.new(0.384760767, 0.0226329863, 1.76537323)
- SpecialMesh22.MeshType = Enum.MeshType.Brick
- SpecialMesh22.Scale = Vector3.new(0.384760767, 0.0226329863, 1.76537323)
- Part23.Parent = Tool0
- Part23.Material = Enum.Material.SmoothPlastic
- Part23.Rotation = Vector3.new(22.3199997, 50.1399994, 126.540001)
- Part23.FormFactor = Enum.FormFactor.Custom
- Part23.Size = Vector3.new(0.361938685, 0.361938655, 0.361938685)
- Part23.CFrame = CFrame.new(22.9828262, 2.83537006, -23.0332756, -0.381572664, -0.514989614, 0.767579436, 0.569753289, -0.784938514, -0.243404791, 0.727853656, 0.344450176, 0.592934012)
- Part23.BottomSurface = Enum.SurfaceType.Smooth
- Part23.TopSurface = Enum.SurfaceType.Smooth
- Part23.Position = Vector3.new(22.9828262, 2.83537006, -23.0332756)
- Part23.Orientation = Vector3.new(14.0900002, 52.3099976, 144.029999)
- Decal24.Parent = Part23
- Decal24.Texture = "http://www.roblox.com/asset/?id=11369857"
- Decal24.Face = Enum.NormalId.Bottom
- SpecialMesh25.Parent = Part23
- SpecialMesh25.Scale = Vector3.new(0.332704872, 0.0226329863, 1.58430922)
- SpecialMesh25.MeshType = Enum.MeshType.Brick
- SpecialMesh25.Scale = Vector3.new(0.332704872, 0.0226329863, 1.58430922)
- Part26.Parent = Tool0
- Part26.Material = Enum.Material.SmoothPlastic
- Part26.Rotation = Vector3.new(59.4300003, -33.6699982, -157.25)
- Part26.FormFactor = Enum.FormFactor.Custom
- Part26.Size = Vector3.new(0.2099244, 0.209924385, 0.209924385)
- Part26.CFrame = CFrame.new(23.9347534, 3.34762096, -23.8316269, -0.767495692, 0.321873963, -0.554377973, 0.243447468, -0.653665185, -0.716553032, -0.593024075, -0.684914827, 0.423318982)
- Part26.BottomSurface = Enum.SurfaceType.Smooth
- Part26.TopSurface = Enum.SurfaceType.Smooth
- Part26.Position = Vector3.new(23.9347534, 3.34762096, -23.8316269)
- Part26.Orientation = Vector3.new(45.7700005, -52.6299973, 159.569992)
- Decal27.Parent = Part26
- Decal27.Texture = "http://www.roblox.com/asset/?id=110707451"
- Decal27.Face = Enum.NormalId.Bottom
- SpecialMesh28.Parent = Part26
- SpecialMesh28.Scale = Vector3.new(1.28773904, 0.117067173, 0.507291138)
- SpecialMesh28.MeshType = Enum.MeshType.Brick
- SpecialMesh28.Scale = Vector3.new(1.28773904, 0.117067173, 0.507291138)
- Part29.Parent = Tool0
- Part29.Material = Enum.Material.SmoothPlastic
- Part29.BrickColor = BrickColor.new("Toothpaste")
- Part29.Transparency = 0.39999997615814
- Part29.Rotation = Vector3.new(22.3199997, 50.1399994, 29.8799992)
- Part29.FormFactor = Enum.FormFactor.Custom
- Part29.Size = Vector3.new(0.2099244, 0.209924385, 0.209924385)
- Part29.CFrame = CFrame.new(23.5410461, 3.17993689, -23.9038925, 0.555724144, -0.319347411, 0.767580986, 0.71365279, 0.656847119, -0.243402153, -0.426449746, 0.683053732, 0.592934906)
- Part29.BottomSurface = Enum.SurfaceType.Smooth
- Part29.TopSurface = Enum.SurfaceType.Smooth
- Part29.Color = Color3.new(0, 1, 1)
- Part29.Position = Vector3.new(23.5410461, 3.17993689, -23.9038925)
- Part29.Orientation = Vector3.new(14.0900002, 52.3099976, 47.3699989)
- Part29.Color = Color3.new(0, 1, 1)
- SpecialMesh30.Parent = Part29
- SpecialMesh30.Scale = Vector3.new(0.195111975, 0.234134346, 0.195111975)
- SpecialMesh30.MeshType = Enum.MeshType.Brick
- SpecialMesh30.Scale = Vector3.new(0.195111975, 0.234134346, 0.195111975)
- Part31.Parent = Tool0
- Part31.Material = Enum.Material.SmoothPlastic
- Part31.BrickColor = BrickColor.new("Bright red")
- Part31.Rotation = Vector3.new(22.3199997, 50.1399994, -14.8999996)
- Part31.FormFactor = Enum.FormFactor.Custom
- Part31.Size = Vector3.new(0.2099244, 0.209924385, 0.209924385)
- Part31.CFrame = CFrame.new(24.1532288, 3.42478895, -23.9112358, 0.619396448, 0.164808959, 0.767580092, 0.0438233763, 0.968931496, -0.243404716, -0.783846676, 0.184406281, 0.592935324)
- Part31.BottomSurface = Enum.SurfaceType.Smooth
- Part31.TopSurface = Enum.SurfaceType.Smooth
- Part31.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part31.Position = Vector3.new(24.1532288, 3.42478895, -23.9112358)
- Part31.Orientation = Vector3.new(14.0900002, 52.3099976, 2.58999991)
- Part31.Color = Color3.new(0.768628, 0.156863, 0.109804)
- SpecialMesh32.Parent = Part31
- SpecialMesh32.Scale = Vector3.new(0.117067188, 0.19511196, 0.117067188)
- SpecialMesh32.MeshType = Enum.MeshType.Brick
- SpecialMesh32.Scale = Vector3.new(0.117067188, 0.19511196, 0.117067188)
- Part33.Name = "display"
- Part33.Parent = Tool0
- Part33.Material = Enum.Material.SmoothPlastic
- Part33.BrickColor = BrickColor.new("Really black")
- Part33.Rotation = Vector3.new(22.3199997, -39.8699989, -180)
- Part33.FormFactor = Enum.FormFactor.Custom
- Part33.Size = Vector3.new(0.361938685, 0.361938655, 0.361938685)
- Part33.CFrame = CFrame.new(23.0976944, 2.88602591, -23.3704872, -0.767495692, 1.13650058e-05, -0.641045153, 0.243447304, -0.925074577, -0.291483283, -0.593023956, -0.379777342, 0.709985793)
- Part33.BottomSurface = Enum.SurfaceType.Smooth
- Part33.TopSurface = Enum.SurfaceType.Smooth
- Part33.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part33.Position = Vector3.new(23.0976944, 2.88602591, -23.3704872)
- Part33.Orientation = Vector3.new(16.9499989, -42.079998, 165.259995)
- Part33.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Decal34.Parent = Part33
- Decal34.Texture = "http://www.roblox.com/asset/?id=230007849"
- Decal34.Face = Enum.NormalId.Bottom
- SpecialMesh35.Parent = Part33
- SpecialMesh35.Scale = Vector3.new(1.01848447, 0.0226329863, 0.79215461)
- SpecialMesh35.MeshType = Enum.MeshType.Brick
- SpecialMesh35.Scale = Vector3.new(1.01848447, 0.0226329863, 0.79215461)
- Script36.Name = "Welding"
- Script36.Parent = Tool0
- table.insert(cors,sandbox(Script36,function()
- function Weld(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 Get(A)
- if A.className == "Part" or A.className == "UnionOperation" then
- Weld(script.Parent.Handle, A)
- A.Anchored = false
- else
- local C = A:GetChildren()
- for i=1, #C do
- Get(C[i])
- end
- end
- end
- function Finale()
- Get(script.Parent)
- end
- script.Parent.Equipped:connect(Finale)
- script.Parent.Unequipped:connect(Finale)
- Finale()
- end))
- Tool37.Name = "Phaser"
- Tool37.Parent = mas
- Tool37.TextureId = "http://www.roblox.com/asset?id=234894196"
- Tool37.ToolTip = "ZAP!"
- Texture38.Parent = mas
- Texture38.Texture = "http://www.roblox.com/asset/?id=234419562"
- Texture38.Face = Enum.NormalId.Bottom
- Texture38.StudsPerTileU = 1
- Texture38.StudsPerTileV = 1
- Texture39.Parent = mas
- Texture39.Texture = "http://www.roblox.com/asset/?id=234419562"
- Texture39.Face = Enum.NormalId.Bottom
- Texture39.StudsPerTileU = 1
- Texture39.StudsPerTileV = 1
- Part40.Name = "Handle"
- Part40.Parent = Tool37
- Part40.Transparency = 1
- Part40.Rotation = Vector3.new(-16.6499996, 37.7700005, 26.6299992)
- Part40.FormFactor = Enum.FormFactor.Custom
- Part40.Size = Vector3.new(0.78000021, 1.14000094, 2.2800014)
- Part40.CFrame = CFrame.new(23.7472916, 3.43801689, -23.8731194, 0.706609368, -0.354380488, 0.612467945, 0.272684276, 0.935076594, 0.226451933, -0.652957678, 0.00699480623, 0.757358432)
- Part40.BottomSurface = Enum.SurfaceType.Smooth
- Part40.TopSurface = Enum.SurfaceType.Smooth
- Part40.Position = Vector3.new(23.7472916, 3.43801689, -23.8731194)
- Part40.Orientation = Vector3.new(-13.0900002, 38.9599991, 16.2600002)
- Sound41.Name = "Fire"
- Sound41.Parent = Part40
- Sound41.SoundId = "http://www.roblox.com/asset?id=151568387"
- Sound42.Name = "Reload"
- Sound42.Parent = Part40
- PointLight43.Parent = Part40
- PointLight43.Color = Color3.new(1, 0.568627, 0.133333)
- PointLight43.Range = 6
- PointLight43.Color = Color3.new(1, 0.568627, 0.133333)
- Part44.Parent = Tool37
- Part44.Material = Enum.Material.SmoothPlastic
- Part44.Rotation = Vector3.new(22.4699993, 45.0399971, -179.860001)
- Part44.FormFactor = Enum.FormFactor.Custom
- Part44.Size = Vector3.new(0.291600019, 0.291599989, 0.291599989)
- Part44.CFrame = CFrame.new(23.4761124, 3.50957394, -24.0666618, -0.706611753, 0.00176329806, 0.707598805, -0.272695005, -0.923438311, -0.27000922, 0.652950466, -0.383743227, 0.652985811)
- Part44.BottomSurface = Enum.SurfaceType.Smooth
- Part44.TopSurface = Enum.SurfaceType.Smooth
- Part44.Position = Vector3.new(23.4761124, 3.50957394, -24.0666618)
- Part44.Orientation = Vector3.new(15.6599998, 47.2999992, -163.550003)
- SpecialMesh45.Parent = Part44
- SpecialMesh45.Scale = Vector3.new(0.255091608, 0.119042777, 0.61221993)
- SpecialMesh45.MeshType = Enum.MeshType.Brick
- SpecialMesh45.Scale = Vector3.new(0.255091608, 0.119042777, 0.61221993)
- Part46.Parent = Tool37
- Part46.Material = Enum.Material.SmoothPlastic
- Part46.Rotation = Vector3.new(-16.6499996, 37.7700005, -153.360001)
- Part46.FormFactor = Enum.FormFactor.Custom
- Part46.Size = Vector3.new(1, 1, 1)
- Part46.CFrame = CFrame.new(23.5970917, 3.3064909, -23.9226189, -0.706611753, 0.354387373, 0.612461209, -0.272695005, -0.935074031, 0.226450086, 0.652950466, -0.0070003178, 0.757364213)
- Part46.BottomSurface = Enum.SurfaceType.Smooth
- Part46.TopSurface = Enum.SurfaceType.Smooth
- Part46.Position = Vector3.new(23.5970917, 3.3064909, -23.9226189)
- Part46.Orientation = Vector3.new(-13.0900002, 38.9599991, -163.73999)
- SpecialMesh47.Parent = Part46
- SpecialMesh47.Scale = Vector3.new(0.247949094, 0.238031119, 0.138851523)
- SpecialMesh47.MeshType = Enum.MeshType.Brick
- SpecialMesh47.Scale = Vector3.new(0.247949094, 0.238031119, 0.138851523)
- Part48.Parent = Tool37
- Part48.Material = Enum.Material.SmoothPlastic
- Part48.Rotation = Vector3.new(22.4699993, 45.0399971, -179.860001)
- Part48.FormFactor = Enum.FormFactor.Custom
- Part48.Size = Vector3.new(0.247949094, 0.27274397, 0.371923685)
- Part48.CFrame = CFrame.new(23.4656677, 3.35853195, -24.0413933, -0.706611753, 0.00176329806, 0.707598805, -0.272695005, -0.923438311, -0.27000922, 0.652950466, -0.383743227, 0.652985811)
- Part48.BottomSurface = Enum.SurfaceType.Smooth
- Part48.TopSurface = Enum.SurfaceType.Smooth
- Part48.Position = Vector3.new(23.4656677, 3.35853195, -24.0413933)
- Part48.Orientation = Vector3.new(15.6599998, 47.2999992, -163.550003)
- Part49.Parent = Tool37
- Part49.Material = Enum.Material.SmoothPlastic
- Part49.BrickColor = BrickColor.new("Mid gray")
- Part49.Rotation = Vector3.new(-16.6499996, 37.7700005, -153.360001)
- Part49.FormFactor = Enum.FormFactor.Custom
- Part49.Size = Vector3.new(0.540000021, 0.539999962, 0.540000021)
- Part49.CFrame = CFrame.new(23.7121582, 3.40693307, -23.7555046, -0.706611753, 0.354387373, 0.612461209, -0.272695005, -0.935074031, 0.226450086, 0.652950466, -0.0070003178, 0.757364213)
- Part49.BottomSurface = Enum.SurfaceType.Smooth
- Part49.TopSurface = Enum.SurfaceType.Smooth
- Part49.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part49.Position = Vector3.new(23.7121582, 3.40693307, -23.7555046)
- Part49.Orientation = Vector3.new(-13.0900002, 38.9599991, -163.73999)
- Part49.Color = Color3.new(0.803922, 0.803922, 0.803922)
- SpecialMesh50.Parent = Part49
- SpecialMesh50.Scale = Vector3.new(0.229582503, 0.0183665995, 0.0734663904)
- SpecialMesh50.MeshType = Enum.MeshType.Brick
- SpecialMesh50.Scale = Vector3.new(0.229582503, 0.0183665995, 0.0734663904)
- Part51.Parent = Tool37
- Part51.Material = Enum.Material.SmoothPlastic
- Part51.BrickColor = BrickColor.new("Black")
- Part51.Rotation = Vector3.new(22.4699993, 45.0399971, -179.860001)
- Part51.FormFactor = Enum.FormFactor.Custom
- Part51.Size = Vector3.new(0.540000021, 0.539999962, 0.540000021)
- Part51.CFrame = CFrame.new(23.2127151, 3.46094894, -24.2737541, -0.706611753, 0.00176329806, 0.707598805, -0.272695005, -0.923438311, -0.27000922, 0.652950466, -0.383743227, 0.652985811)
- Part51.BottomSurface = Enum.SurfaceType.Smooth
- Part51.TopSurface = Enum.SurfaceType.Smooth
- Part51.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part51.Position = Vector3.new(23.2127151, 3.46094894, -24.2737541)
- Part51.Orientation = Vector3.new(15.6599998, 47.2999992, -163.550003)
- Part51.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh52.Parent = Part51
- SpecialMesh52.Scale = Vector3.new(0.238765806, 0.266315699, 0.165299401)
- SpecialMesh52.MeshType = Enum.MeshType.Brick
- SpecialMesh52.Scale = Vector3.new(0.238765806, 0.266315699, 0.165299401)
- Part53.Parent = Tool37
- Part53.Material = Enum.Material.SmoothPlastic
- Part53.BrickColor = BrickColor.new("Really black")
- Part53.Rotation = Vector3.new(22.4699993, 45.0399971, -179.860001)
- Part53.FormFactor = Enum.FormFactor.Custom
- Part53.Size = Vector3.new(0.540000021, 0.539999962, 0.540000021)
- Part53.CFrame = CFrame.new(23.5549622, 3.45906496, -23.9141655, -0.706611753, 0.00176329806, 0.707598805, -0.272695005, -0.923438311, -0.27000922, 0.652950466, -0.383743227, 0.652985811)
- Part53.BottomSurface = Enum.SurfaceType.Smooth
- Part53.TopSurface = Enum.SurfaceType.Smooth
- Part53.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part53.Position = Vector3.new(23.5549622, 3.45906496, -23.9141655)
- Part53.Orientation = Vector3.new(15.6599998, 47.2999992, -163.550003)
- Part53.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh54.Parent = Part53
- SpecialMesh54.Scale = Vector3.new(0.330598831, 0.0183665995, 0.137749478)
- SpecialMesh54.MeshType = Enum.MeshType.Brick
- SpecialMesh54.Scale = Vector3.new(0.330598831, 0.0183665995, 0.137749478)
- Part55.Parent = Tool37
- Part55.Material = Enum.Material.SmoothPlastic
- Part55.Rotation = Vector3.new(22.4699993, 45.0399971, -179.860001)
- Part55.FormFactor = Enum.FormFactor.Custom
- Part55.Size = Vector3.new(0.247949094, 0.223154172, 0.495898187)
- Part55.CFrame = CFrame.new(23.9153214, 3.25722504, -23.6020927, -0.706611753, 0.00176329806, 0.707598805, -0.272695005, -0.923438311, -0.27000922, 0.652950466, -0.383743227, 0.652985811)
- Part55.BottomSurface = Enum.SurfaceType.Smooth
- Part55.TopSurface = Enum.SurfaceType.Smooth
- Part55.Position = Vector3.new(23.9153214, 3.25722504, -23.6020927)
- Part55.Orientation = Vector3.new(15.6599998, 47.2999992, -163.550003)
- Part56.Parent = Tool37
- Part56.Material = Enum.Material.SmoothPlastic
- Part56.BrickColor = BrickColor.new("Black")
- Part56.Rotation = Vector3.new(22.4699993, 45.0399971, -179.860001)
- Part56.FormFactor = Enum.FormFactor.Custom
- Part56.Size = Vector3.new(0.540000021, 0.539999962, 0.540000021)
- Part56.CFrame = CFrame.new(23.1827469, 3.47551489, -24.2959099, -0.706611753, 0.00176329806, 0.707598805, -0.272695005, -0.923438311, -0.27000922, 0.652950466, -0.383743227, 0.652985811)
- Part56.BottomSurface = Enum.SurfaceType.Smooth
- Part56.TopSurface = Enum.SurfaceType.Smooth
- Part56.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part56.Position = Vector3.new(23.1827469, 3.47551489, -24.2959099)
- Part56.Orientation = Vector3.new(15.6599998, 47.2999992, -163.550003)
- Part56.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh57.Parent = Part56
- SpecialMesh57.Scale = Vector3.new(0.192849308, 0.192849278, 0.238765791)
- SpecialMesh57.MeshType = Enum.MeshType.Brick
- SpecialMesh57.Scale = Vector3.new(0.192849308, 0.192849278, 0.238765791)
- Part58.Parent = Tool37
- Part58.Material = Enum.Material.SmoothPlastic
- Part58.Rotation = Vector3.new(-16.6499996, 37.7700005, -153.360001)
- Part58.FormFactor = Enum.FormFactor.Custom
- Part58.Size = Vector3.new(1, 1, 1)
- Part58.CFrame = CFrame.new(23.7180252, 3.31459188, -23.7903862, -0.706611753, 0.354387373, 0.612461209, -0.272695005, -0.935074031, 0.226450086, 0.652950466, -0.0070003178, 0.757364213)
- Part58.BottomSurface = Enum.SurfaceType.Smooth
- Part58.TopSurface = Enum.SurfaceType.Smooth
- Part58.Position = Vector3.new(23.7180252, 3.31459188, -23.7903862)
- Part58.Orientation = Vector3.new(-13.0900002, 38.9599991, -163.73999)
- SpecialMesh59.Parent = Part58
- SpecialMesh59.Scale = Vector3.new(0.247949094, 0.168605372, 0.213236228)
- SpecialMesh59.MeshType = Enum.MeshType.Brick
- SpecialMesh59.Scale = Vector3.new(0.247949094, 0.168605372, 0.213236228)
- Part60.Parent = Tool37
- Part60.Material = Enum.Material.SmoothPlastic
- Part60.Transparency = 1
- Part60.Rotation = Vector3.new(112.709999, -0.049999997, 134.959991)
- Part60.FormFactor = Enum.FormFactor.Custom
- Part60.Size = Vector3.new(0.291600019, 0.291599989, 0.291599989)
- Part60.CFrame = CFrame.new(23.8308182, 3.26897907, -23.5024223, -0.706611753, -0.707600534, -0.000817267632, -0.272695005, 0.273375243, -0.922447383, 0.652950466, -0.651582241, -0.386122137)
- Part60.BottomSurface = Enum.SurfaceType.Smooth
- Part60.TopSurface = Enum.SurfaceType.Smooth
- Part60.Position = Vector3.new(23.8308182, 3.26897907, -23.5024223)
- Part60.Orientation = Vector3.new(67.2900009, -179.87999, -44.9300003)
- Texture61.Parent = Part60
- Texture61.Texture = "http://www.roblox.com/asset/?id=234419562"
- Texture61.Face = Enum.NormalId.Right
- Texture61.StudsPerTileU = 1
- Texture61.StudsPerTileV = 1
- SpecialMesh62.Parent = Part60
- SpecialMesh62.Scale = Vector3.new(0.0246588588, 1.36644101, 0.426853478)
- SpecialMesh62.MeshType = Enum.MeshType.Brick
- SpecialMesh62.Scale = Vector3.new(0.0246588588, 1.36644101, 0.426853478)
- Part63.Parent = Tool37
- Part63.Material = Enum.Material.SmoothPlastic
- Part63.Rotation = Vector3.new(22.4699993, 45.0399971, -179.860001)
- Part63.FormFactor = Enum.FormFactor.Custom
- Part63.Size = Vector3.new(0.291600019, 0.291599989, 0.291599989)
- Part63.CFrame = CFrame.new(23.3863297, 3.47478104, -23.9869804, -0.706611753, 0.00176329806, 0.707598805, -0.272695005, -0.923438311, -0.27000922, 0.652950466, -0.383743227, 0.652985811)
- Part63.BottomSurface = Enum.SurfaceType.Smooth
- Part63.TopSurface = Enum.SurfaceType.Smooth
- Part63.Position = Vector3.new(23.3863297, 3.47478104, -23.9869804)
- Part63.Orientation = Vector3.new(15.6599998, 47.2999992, -163.550003)
- SpecialMesh64.Parent = Part63
- SpecialMesh64.Scale = Vector3.new(0.255091608, 0.119042777, 0.61221993)
- SpecialMesh64.MeshType = Enum.MeshType.Brick
- SpecialMesh64.Scale = Vector3.new(0.255091608, 0.119042777, 0.61221993)
- Part65.Parent = Tool37
- Part65.Material = Enum.Material.SmoothPlastic
- Part65.BrickColor = BrickColor.new("Black")
- Part65.Rotation = Vector3.new(22.4699993, 45.0399971, -179.860001)
- Part65.FormFactor = Enum.FormFactor.Custom
- Part65.Size = Vector3.new(1, 1, 1)
- Part65.CFrame = CFrame.new(23.3975143, 3.38566494, -24.1061821, -0.706611753, 0.00176329806, 0.707598805, -0.272695005, -0.923438311, -0.27000922, 0.652950466, -0.383743227, 0.652985811)
- Part65.BottomSurface = Enum.SurfaceType.Smooth
- Part65.TopSurface = Enum.SurfaceType.Smooth
- Part65.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part65.Position = Vector3.new(23.3975143, 3.38566494, -24.1061821)
- Part65.Orientation = Vector3.new(15.6599998, 47.2999992, -163.550003)
- Part65.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh66.Parent = Part65
- SpecialMesh66.Scale = Vector3.new(0.198359296, 0.223154172, 0.510775149)
- SpecialMesh66.MeshType = Enum.MeshType.Brick
- SpecialMesh66.Scale = Vector3.new(0.198359296, 0.223154172, 0.510775149)
- Part67.Parent = Tool37
- Part67.Material = Enum.Material.SmoothPlastic
- Part67.BrickColor = BrickColor.new("Mid gray")
- Part67.Rotation = Vector3.new(-16.6499996, 37.7700005, -153.360001)
- Part67.FormFactor = Enum.FormFactor.Custom
- Part67.Size = Vector3.new(0.540000021, 0.539999962, 0.540000021)
- Part67.CFrame = CFrame.new(23.6885929, 3.3994379, -23.8624687, -0.706611753, 0.354387373, 0.612461209, -0.272695005, -0.935074031, 0.226450086, 0.652950466, -0.0070003178, 0.757364213)
- Part67.BottomSurface = Enum.SurfaceType.Smooth
- Part67.TopSurface = Enum.SurfaceType.Smooth
- Part67.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part67.Position = Vector3.new(23.6885929, 3.3994379, -23.8624687)
- Part67.Orientation = Vector3.new(-13.0900002, 38.9599991, -163.73999)
- Part67.Color = Color3.new(0.803922, 0.803922, 0.803922)
- SpecialMesh68.Parent = Part67
- SpecialMesh68.Scale = Vector3.new(0.091832988, 0.0183665995, 0.10101629)
- SpecialMesh68.MeshType = Enum.MeshType.Brick
- SpecialMesh68.Scale = Vector3.new(0.091832988, 0.0183665995, 0.10101629)
- Part69.Parent = Tool37
- Part69.Material = Enum.Material.SmoothPlastic
- Part69.BrickColor = BrickColor.new("Black")
- Part69.Rotation = Vector3.new(22.4699993, 45.0399971, -179.860001)
- Part69.FormFactor = Enum.FormFactor.Custom
- Part69.Size = Vector3.new(0.540000021, 0.539999962, 0.540000021)
- Part69.CFrame = CFrame.new(23.2299957, 3.44946194, -24.2594414, -0.706611753, 0.00176329806, 0.707598805, -0.272695005, -0.923438311, -0.27000922, 0.652950466, -0.383743227, 0.652985811)
- Part69.BottomSurface = Enum.SurfaceType.Smooth
- Part69.TopSurface = Enum.SurfaceType.Smooth
- Part69.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part69.Position = Vector3.new(23.2299957, 3.44946194, -24.2594414)
- Part69.Orientation = Vector3.new(15.6599998, 47.2999992, -163.550003)
- Part69.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh70.Parent = Part69
- SpecialMesh70.Scale = Vector3.new(0.257132411, 0.303048968, 0.165299401)
- SpecialMesh70.MeshType = Enum.MeshType.Brick
- SpecialMesh70.Scale = Vector3.new(0.257132411, 0.303048968, 0.165299401)
- Part71.Parent = Tool37
- Part71.Material = Enum.Material.SmoothPlastic
- Part71.BrickColor = BrickColor.new("Really black")
- Part71.Rotation = Vector3.new(22.4699993, 45.0399971, -179.860001)
- Part71.FormFactor = Enum.FormFactor.Custom
- Part71.Size = Vector3.new(0.291600019, 0.291599989, 0.291599989)
- Part71.CFrame = CFrame.new(23.2802353, 3.53763294, -24.1746979, -0.706611753, 0.00176329806, 0.707598805, -0.272695005, -0.923438311, -0.27000922, 0.652950466, -0.383743227, 0.652985811)
- Part71.BottomSurface = Enum.SurfaceType.Smooth
- Part71.TopSurface = Enum.SurfaceType.Smooth
- Part71.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part71.Position = Vector3.new(23.2802353, 3.53763294, -24.1746979)
- Part71.Orientation = Vector3.new(15.6599998, 47.2999992, -163.550003)
- Part71.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh72.Parent = Part71
- SpecialMesh72.Scale = Vector3.new(0.493177235, 0.0170061104, 0.459165007)
- SpecialMesh72.MeshType = Enum.MeshType.Brick
- SpecialMesh72.Scale = Vector3.new(0.493177235, 0.0170061104, 0.459165007)
- Part73.Parent = Tool37
- Part73.Material = Enum.Material.SmoothPlastic
- Part73.BrickColor = BrickColor.new("Mid gray")
- Part73.Rotation = Vector3.new(22.4699993, 45.0399971, -179.860001)
- Part73.FormFactor = Enum.FormFactor.Custom
- Part73.Size = Vector3.new(0.540000021, 0.539999962, 0.540000021)
- Part73.CFrame = CFrame.new(23.5556107, 3.45856094, -23.914257, -0.706611753, 0.00176329806, 0.707598805, -0.272695005, -0.923438311, -0.27000922, 0.652950466, -0.383743227, 0.652985811)
- Part73.BottomSurface = Enum.SurfaceType.Smooth
- Part73.TopSurface = Enum.SurfaceType.Smooth
- Part73.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part73.Position = Vector3.new(23.5556107, 3.45856094, -23.914257)
- Part73.Orientation = Vector3.new(15.6599998, 47.2999992, -163.550003)
- Part73.Color = Color3.new(0.803922, 0.803922, 0.803922)
- SpecialMesh74.Parent = Part73
- SpecialMesh74.Scale = Vector3.new(0.348965436, 0.0183665995, 0.156116083)
- SpecialMesh74.MeshType = Enum.MeshType.Brick
- SpecialMesh74.Scale = Vector3.new(0.348965436, 0.0183665995, 0.156116083)
- Part75.Parent = Tool37
- Part75.Material = Enum.Material.SmoothPlastic
- Part75.BrickColor = BrickColor.new("Mid gray")
- Part75.Rotation = Vector3.new(-16.6499996, 37.7700005, -153.360001)
- Part75.FormFactor = Enum.FormFactor.Custom
- Part75.Size = Vector3.new(0.540000021, 0.539999962, 0.540000021)
- Part75.CFrame = CFrame.new(23.6153336, 3.37160397, -23.7944145, -0.706611753, 0.354387373, 0.612461209, -0.272695005, -0.935074031, 0.226450086, 0.652950466, -0.0070003178, 0.757364213)
- Part75.BottomSurface = Enum.SurfaceType.Smooth
- Part75.TopSurface = Enum.SurfaceType.Smooth
- Part75.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part75.Position = Vector3.new(23.6153336, 3.37160397, -23.7944145)
- Part75.Orientation = Vector3.new(-13.0900002, 38.9599991, -163.73999)
- Part75.Color = Color3.new(0.803922, 0.803922, 0.803922)
- SpecialMesh76.Parent = Part75
- SpecialMesh76.Scale = Vector3.new(0.091832988, 0.0183665995, 0.10101629)
- SpecialMesh76.MeshType = Enum.MeshType.Brick
- SpecialMesh76.Scale = Vector3.new(0.091832988, 0.0183665995, 0.10101629)
- Script77.Name = "Welding"
- Script77.Parent = Tool37
- table.insert(cors,sandbox(Script77,function()
- function Weld(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 Get(A)
- if A.className == "Part" or A.className == "UnionOperation" then
- Weld(script.Parent.Handle, A)
- A.Anchored = false
- else
- local C = A:GetChildren()
- for i=1, #C do
- Get(C[i])
- end
- end
- end
- function Finale()
- Get(script.Parent)
- end
- script.Parent.Equipped:connect(Finale)
- script.Parent.Unequipped:connect(Finale)
- Finale()
- end))
- LocalScript78.Name = "MouseIcon"
- LocalScript78.Parent = Tool37
- table.insert(cors,sandbox(LocalScript78,function()
- local MOUSE_ICON = 'rbxasset://textures/GunCursor.png'
- local RELOADING_ICON = 'rbxasset://textures/GunWaitCursor.png'
- local Tool = script.Parent
- local Mouse = nil
- local function UpdateIcon()
- if Mouse then
- Mouse.Icon = Tool.Enabled and MOUSE_ICON or RELOADING_ICON
- end
- end
- local function OnEquipped(mouse)
- Mouse = mouse
- UpdateIcon()
- end
- local function OnChanged(property)
- if property == 'Enabled' then
- UpdateIcon()
- end
- end
- Tool.Equipped:connect(OnEquipped)
- Tool.Changed:connect(OnChanged)
- end))
- LocalScript79.Name = "ToolScript"
- LocalScript79.Parent = Tool37
- table.insert(cors,sandbox(LocalScript79,function()
- -----------------
- --| Constants |--
- -----------------
- local SHOT_SPEED = 100
- local SHOT_TIME = 1000
- local NOZZLE_OFFSET = Vector3.new(0, 0.4, -1.1)
- -----------------
- --| Variables |--
- -----------------
- local PlayersService = Game:GetService('Players')
- local DebrisService = Game:GetService('Debris')
- local Tool = script.Parent
- local Handle = Tool:WaitForChild('Handle')
- local FireSound = Handle:WaitForChild('Fire')
- local ReloadSound = Handle:WaitForChild('Reload')
- local HitFadeSound = script:WaitForChild('HitFade')
- local PointLight = Handle:WaitForChild('PointLight')
- local Character = nil
- local Humanoid = nil
- local Player = nil
- local BaseShot = nil
- -----------------
- --| Functions |--
- -----------------
- -- Returns a character ancestor and its Humanoid, or nil
- local function FindCharacterAncestor(subject)
- if subject and subject ~= Workspace then
- local humanoid = subject:FindFirstChild('Humanoid')
- if humanoid then
- return subject, humanoid
- else
- return FindCharacterAncestor(subject.Parent)
- end
- end
- return nil
- end
- -- Removes any old creator tags and applies new ones to the specified target
- local function ApplyTags(target)
- while target:FindFirstChild('creator') do
- target.creator:Destroy()
- end
- local creatorTag = Instance.new('ObjectValue')
- creatorTag.Value = Player
- creatorTag.Name = 'creator' --NOTE: Must be called 'creator' for website stats
- local iconTag = Instance.new('StringValue')
- iconTag.Value = Tool.TextureId
- iconTag.Name = 'icon'
- iconTag.Parent = creatorTag
- creatorTag.Parent = target
- DebrisService:AddItem(creatorTag, 4)
- end
- -- Returns all objects under instance with Transparency
- local function GetTransparentsRecursive(instance, partsTable)
- local partsTable = partsTable or {}
- for _, child in pairs(instance:GetChildren()) do
- if child:IsA('BasePart') or child:IsA('Decal') then
- table.insert(partsTable, child)
- end
- GetTransparentsRecursive(child, partsTable)
- end
- return partsTable
- end
- local function SelectionBoxify(instance)
- local selectionBox = Instance.new('SelectionBox')
- selectionBox.Adornee = instance
- selectionBox.Color = BrickColor.new('Deep orange')
- selectionBox.Parent = instance
- return selectionBox
- end
- local function Light(instance)
- local light = PointLight:Clone()
- light.Range = light.Range + 2
- light.Parent = instance
- end
- local function FadeOutObjects(objectsWithTransparency, fadeIncrement)
- repeat
- local lastObject = nil
- for _, object in pairs(objectsWithTransparency) do
- object.Transparency = object.Transparency + fadeIncrement
- lastObject = object
- end
- wait()
- until lastObject.Transparency >= 1 or not lastObject
- end
- local function Dematerialize(character, humanoid, firstPart)
- humanoid.WalkSpeed = 0
- local parts = {}
- for _, child in pairs(character:GetChildren()) do
- if child:IsA('BasePart') then
- child.Anchored = true
- table.insert(parts, child)
- elseif child:IsA('LocalScript') or child:IsA('Script') then
- child:Destroy()
- end
- end
- local selectionBoxes = {}
- local firstSelectionBox = SelectionBoxify(firstPart)
- Light(firstPart)
- wait(0.05)
- for _, part in pairs(parts) do
- if part ~= firstPart then
- table.insert(selectionBoxes, SelectionBoxify(part))
- Light(part)
- end
- end
- local objectsWithTransparency = GetTransparentsRecursive(character)
- FadeOutObjects(objectsWithTransparency, 0.1)
- wait(0.5)
- humanoid.Health = 0
- DebrisService:AddItem(character, 2)
- local fadeIncrement = 0.05
- Delay(0.2, function()
- FadeOutObjects({firstSelectionBox}, fadeIncrement)
- if character then
- character:Destroy()
- end
- end)
- FadeOutObjects(selectionBoxes, fadeIncrement)
- end
- local function OnTouched(shot, otherPart)
- local character, humanoid = FindCharacterAncestor(otherPart)
- if character and humanoid and character ~= Character then
- ApplyTags(humanoid)
- if shot then
- local hitFadeSound = shot:FindFirstChild(HitFadeSound.Name)
- if hitFadeSound then
- hitFadeSound.Parent = humanoid.Torso
- hitFadeSound:Play()
- end
- shot:Destroy()
- end
- Dematerialize(character, humanoid, otherPart)
- end
- end
- local function OnEquipped()
- Character = Tool.Parent
- Humanoid = Character:WaitForChild('Humanoid')
- Player = PlayersService:GetPlayerFromCharacter(Character)
- end
- local function OnActivated()
- if Tool.Enabled and Humanoid.Health > 0 then
- Tool.Enabled = false
- FireSound:Play()
- local handleCFrame = Handle.CFrame
- local firingPoint = handleCFrame.p + handleCFrame:vectorToWorldSpace(NOZZLE_OFFSET)
- local shotCFrame = CFrame.new(firingPoint, Humanoid.TargetPoint)
- local laserShotClone = BaseShot:Clone()
- laserShotClone.CFrame = shotCFrame + (shotCFrame.lookVector * (BaseShot.Size.Z / 2))
- local bodyVelocity = Instance.new('BodyVelocity')
- bodyVelocity.velocity = shotCFrame.lookVector * SHOT_SPEED
- bodyVelocity.Parent = laserShotClone
- laserShotClone.Touched:connect(function(otherPart)
- OnTouched(laserShotClone, otherPart)
- end)
- DebrisService:AddItem(laserShotClone, SHOT_TIME)
- laserShotClone.Parent = Tool
- wait(0) -- FireSound length
- ReloadSound:Play()
- wait(0) -- ReloadSound length
- Tool.Enabled = true
- end
- end
- local function OnUnequipped()
- end
- --------------------
- --| Script Logic |--
- --------------------
- BaseShot = Instance.new('Part')
- BaseShot.Name = 'Effect'
- BaseShot.FormFactor = Enum.FormFactor.Custom
- BaseShot.Size = Vector3.new(0.2, 0.2, 3)
- BaseShot.CanCollide = false
- BaseShot.BrickColor = BrickColor.new('Really red')
- SelectionBoxify(BaseShot)
- Light(BaseShot)
- HitFadeSound:Clone().Parent = BaseShot
- Tool.Equipped:connect(OnEquipped)
- Tool.Unequipped:connect(OnUnequipped)
- Tool.Activated:connect(OnActivated)
- end))
- Sound80.Name = "HitFade"
- Sound80.Parent = LocalScript79
- Sound80.SoundId = "http://www.roblox.com/asset?id=130113415"
- Tool81.Name = "Hypospray"
- Tool81.Parent = mas
- Tool81.TextureId = "http://www.roblox.com/asset?id=234893876"
- Tool81.GripPos = Vector3.new(0, 0, 0.5)
- Tool81.ToolTip = "Heal yourself!"
- Part82.Name = "Handle"
- Part82.Parent = Tool81
- Part82.Transparency = 1
- Part82.Rotation = Vector3.new(111.360001, -0.0199999996, -25)
- Part82.FormFactor = Enum.FormFactor.Custom
- Part82.Size = Vector3.new(0.580000222, 1.31000102, 0.600001454)
- Part82.CFrame = CFrame.new(23.2818375, 3.51479506, -23.5966187, 0.906289876, 0.422648519, -0.000319148996, 0.153670579, -0.330220997, -0.931307197, -0.393722028, 0.843988061, -0.364225835)
- Part82.BottomSurface = Enum.SurfaceType.Smooth
- Part82.TopSurface = Enum.SurfaceType.Smooth
- Part82.Position = Vector3.new(23.2818375, 3.51479506, -23.5966187)
- Part82.Orientation = Vector3.new(68.6399994, -179.949997, 155.039993)
- Sound83.Parent = Part82
- Sound83.SoundId = "http://www.roblox.com/asset?id=234540144"
- Part84.Parent = Tool81
- Part84.Material = Enum.Material.SmoothPlastic
- Part84.BrickColor = BrickColor.new("Mid gray")
- Part84.Reflectance = 0.5
- Part84.Rotation = Vector3.new(-69.6699982, -0.459999979, 25)
- Part84.Anchored = true
- Part84.CanCollide = false
- Part84.FormFactor = Enum.FormFactor.Custom
- Part84.Size = Vector3.new(0.250179321, 0.200000003, 0.227873072)
- Part84.CFrame = CFrame.new(23.4049549, 3.04845095, -23.4674301, 0.906293094, -0.422565639, -0.00803131424, 0.153661132, 0.311742038, 0.937656105, -0.393718749, -0.851028085, 0.347462565)
- Part84.BottomSurface = Enum.SurfaceType.Smooth
- Part84.TopSurface = Enum.SurfaceType.Smooth
- Part84.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part84.Position = Vector3.new(23.4049549, 3.04845095, -23.4674301)
- Part84.Orientation = Vector3.new(-69.659996, -1.31999993, 26.2399998)
- Part84.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh85.Parent = Part84
- CylinderMesh85.Scale = Vector3.new(1, 0.378493398, 1)
- CylinderMesh85.Scale = Vector3.new(1, 0.378493398, 1)
- Part86.Parent = Tool81
- Part86.Material = Enum.Material.SmoothPlastic
- Part86.BrickColor = BrickColor.new("Dark stone grey")
- Part86.Rotation = Vector3.new(-69.6699982, -0.459999979, 25)
- Part86.Anchored = true
- Part86.CanCollide = false
- Part86.FormFactor = Enum.FormFactor.Custom
- Part86.Size = Vector3.new(0.290208012, 0.461761862, 0.200000003)
- Part86.CFrame = CFrame.new(23.2200699, 3.25517607, -23.8144417, 0.906293094, -0.422565639, -0.00803131424, 0.153661132, 0.311742038, 0.937656105, -0.393718749, -0.851028085, 0.347462565)
- Part86.BottomSurface = Enum.SurfaceType.Smooth
- Part86.TopSurface = Enum.SurfaceType.Smooth
- Part86.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part86.Position = Vector3.new(23.2200699, 3.25517607, -23.8144417)
- Part86.Orientation = Vector3.new(-69.659996, -1.31999993, 26.2399998)
- Part86.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh87.Parent = Part86
- BlockMesh87.Scale = Vector3.new(1, 1, 0.546895444)
- BlockMesh87.Scale = Vector3.new(1, 1, 0.546895444)
- Part88.Parent = Tool81
- Part88.Material = Enum.Material.SmoothPlastic
- Part88.BrickColor = BrickColor.new("Really black")
- Part88.Reflectance = 0.5
- Part88.Rotation = Vector3.new(-69.6699982, -0.459999979, 25)
- Part88.Anchored = true
- Part88.CanCollide = false
- Part88.FormFactor = Enum.FormFactor.Custom
- Part88.Size = Vector3.new(0.250179321, 0.200000003, 0.227873072)
- Part88.CFrame = CFrame.new(23.3543015, 3.08736897, -23.5720825, 0.906293094, -0.422565639, -0.00803131424, 0.153661132, 0.311742038, 0.937656105, -0.393718749, -0.851028085, 0.347462565)
- Part88.BottomSurface = Enum.SurfaceType.Smooth
- Part88.TopSurface = Enum.SurfaceType.Smooth
- Part88.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part88.Position = Vector3.new(23.3543015, 3.08736897, -23.5720825)
- Part88.Orientation = Vector3.new(-69.659996, -1.31999993, 26.2399998)
- Part88.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- CylinderMesh89.Parent = Part88
- CylinderMesh89.Scale = Vector3.new(1, 0.0946233496, 1)
- CylinderMesh89.Scale = Vector3.new(1, 0.0946233496, 1)
- Part90.Parent = Tool81
- Part90.Material = Enum.Material.SmoothPlastic
- Part90.BrickColor = BrickColor.new("Really black")
- Part90.Reflectance = 0.5
- Part90.Rotation = Vector3.new(-69.6699982, -0.459999979, 25)
- Part90.Anchored = true
- Part90.CanCollide = false
- Part90.FormFactor = Enum.FormFactor.Custom
- Part90.Size = Vector3.new(0.250179321, 0.200000003, 0.227873072)
- Part90.CFrame = CFrame.new(23.3858566, 3.0628829, -23.5078506, 0.906293094, -0.422565639, -0.00803131424, 0.153661132, 0.311742038, 0.937656105, -0.393718749, -0.851028085, 0.347462565)
- Part90.BottomSurface = Enum.SurfaceType.Smooth
- Part90.TopSurface = Enum.SurfaceType.Smooth
- Part90.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part90.Position = Vector3.new(23.3858566, 3.0628829, -23.5078506)
- Part90.Orientation = Vector3.new(-69.659996, -1.31999993, 26.2399998)
- Part90.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- CylinderMesh91.Parent = Part90
- CylinderMesh91.Scale = Vector3.new(1, 0.0946233496, 1)
- CylinderMesh91.Scale = Vector3.new(1, 0.0946233496, 1)
- Part92.Parent = Tool81
- Part92.Material = Enum.Material.SmoothPlastic
- Part92.BrickColor = BrickColor.new("Bright yellow")
- Part92.Reflectance = 0.5
- Part92.Rotation = Vector3.new(-110.82, -17.3799992, 18.2600002)
- Part92.Anchored = true
- Part92.CanCollide = false
- Part92.FormFactor = Enum.FormFactor.Custom
- Part92.Size = Vector3.new(0.275197238, 0.200000003, 0.421565235)
- Part92.CFrame = CFrame.new(23.4813709, 3.03728104, -23.2980728, 0.906293094, -0.299072802, -0.29863289, 0.153661132, -0.425063848, 0.892021835, -0.393718749, -0.854324341, -0.339277536)
- Part92.BottomSurface = Enum.SurfaceType.Smooth
- Part92.TopSurface = Enum.SurfaceType.Smooth
- Part92.Color = Color3.new(0.960784, 0.803922, 0.188235)
- Part92.Position = Vector3.new(23.4813709, 3.03728104, -23.2980728)
- Part92.Orientation = Vector3.new(-63.1299973, -138.649994, 160.12999)
- Part92.Color = Color3.new(0.960784, 0.803922, 0.188235)
- CylinderMesh93.Parent = Part92
- CylinderMesh93.Scale = Vector3.new(1, 0.378493398, 1)
- CylinderMesh93.Scale = Vector3.new(1, 0.378493398, 1)
- Part94.Parent = Tool81
- Part94.Material = Enum.Material.SmoothPlastic
- Part94.BrickColor = BrickColor.new("Mid gray")
- Part94.Reflectance = 0.5
- Part94.Rotation = Vector3.new(-69.6699982, -0.459999979, 25)
- Part94.Anchored = true
- Part94.CanCollide = false
- Part94.FormFactor = Enum.FormFactor.Custom
- Part94.Size = Vector3.new(0.250179321, 0.200000003, 0.227873072)
- Part94.CFrame = CFrame.new(23.3695068, 3.07488394, -23.539856, 0.906293094, -0.422565639, -0.00803131424, 0.153661132, 0.311742038, 0.937656105, -0.393718749, -0.851028085, 0.347462565)
- Part94.BottomSurface = Enum.SurfaceType.Smooth
- Part94.TopSurface = Enum.SurfaceType.Smooth
- Part94.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part94.Position = Vector3.new(23.3695068, 3.07488394, -23.539856)
- Part94.Orientation = Vector3.new(-69.659996, -1.31999993, 26.2399998)
- Part94.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh95.Parent = Part94
- CylinderMesh95.Scale = Vector3.new(1, 0.283870012, 1)
- CylinderMesh95.Scale = Vector3.new(1, 0.283870012, 1)
- Part96.Parent = Tool81
- Part96.Material = Enum.Material.SmoothPlastic
- Part96.BrickColor = BrickColor.new("Bright yellow")
- Part96.Reflectance = 0.5
- Part96.Rotation = Vector3.new(-110.82, -17.3799992, 18.2600002)
- Part96.Anchored = true
- Part96.CanCollide = false
- Part96.FormFactor = Enum.FormFactor.Symmetric
- Part96.Shape = Enum.PartType.Ball
- Part96.Size = Vector3.new(1, 1, 1)
- Part96.CFrame = CFrame.new(23.4931717, 3.05800295, -23.2628174, 0.906293094, -0.299072802, -0.29863289, 0.153661132, -0.425063848, 0.892021835, -0.393718749, -0.854324341, -0.339277536)
- Part96.BottomSurface = Enum.SurfaceType.Smooth
- Part96.TopSurface = Enum.SurfaceType.Smooth
- Part96.Color = Color3.new(0.960784, 0.803922, 0.188235)
- Part96.Position = Vector3.new(23.4931717, 3.05800295, -23.2628174)
- Part96.Orientation = Vector3.new(-63.1299973, -138.649994, 160.12999)
- Part96.Color = Color3.new(0.960784, 0.803922, 0.188235)
- SpecialMesh97.Parent = Part96
- SpecialMesh97.Scale = Vector3.new(0.275197268, 0.208171338, 0.25066036)
- SpecialMesh97.MeshType = Enum.MeshType.Sphere
- SpecialMesh97.Scale = Vector3.new(0.275197268, 0.208171338, 0.25066036)
- Part98.Parent = Tool81
- Part98.Material = Enum.Material.SmoothPlastic
- Part98.BrickColor = BrickColor.new("Mid gray")
- Part98.Reflectance = 0.5
- Part98.Rotation = Vector3.new(-69.6699982, -0.459999979, 25)
- Part98.Anchored = true
- Part98.CanCollide = false
- Part98.FormFactor = Enum.FormFactor.Custom
- Part98.Size = Vector3.new(0.250179321, 0.200000003, 0.227873072)
- Part98.CFrame = CFrame.new(23.3337231, 3.10121202, -23.6121025, 0.906293094, -0.422565639, -0.00803131424, 0.153661132, 0.311742038, 0.937656105, -0.393718749, -0.851028085, 0.347462565)
- Part98.BottomSurface = Enum.SurfaceType.Smooth
- Part98.TopSurface = Enum.SurfaceType.Smooth
- Part98.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part98.Position = Vector3.new(23.3337231, 3.10121202, -23.6121025)
- Part98.Orientation = Vector3.new(-69.659996, -1.31999993, 26.2399998)
- Part98.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh99.Parent = Part98
- CylinderMesh99.Scale = Vector3.new(1, 0.378493398, 1)
- CylinderMesh99.Scale = Vector3.new(1, 0.378493398, 1)
- Part100.Parent = Tool81
- Part100.Material = Enum.Material.SmoothPlastic
- Part100.Rotation = Vector3.new(-69.6699982, -0.459999979, 25)
- Part100.Anchored = true
- Part100.FormFactor = Enum.FormFactor.Custom
- Part100.Size = Vector3.new(0.275197238, 0.567740083, 0.25066036)
- Part100.CFrame = CFrame.new(23.1979141, 3.20223188, -23.8876991, 0.906293094, -0.422565639, -0.00803131424, 0.153661132, 0.311742038, 0.937656105, -0.393718749, -0.851028085, 0.347462565)
- Part100.BottomSurface = Enum.SurfaceType.Smooth
- Part100.TopSurface = Enum.SurfaceType.Smooth
- Part100.Position = Vector3.new(23.1979141, 3.20223188, -23.8876991)
- Part100.Orientation = Vector3.new(-69.659996, -1.31999993, 26.2399998)
- Part101.Parent = Tool81
- Part101.Material = Enum.Material.SmoothPlastic
- Part101.BrickColor = BrickColor.new("Cyan")
- Part101.Transparency = 0.30000001192093
- Part101.Rotation = Vector3.new(-69.6699982, -0.459999979, 25)
- Part101.Anchored = true
- Part101.CanCollide = false
- Part101.FormFactor = Enum.FormFactor.Custom
- Part101.Size = Vector3.new(0.250179321, 0.200000003, 0.227873072)
- Part101.CFrame = CFrame.new(23.0537338, 3.30894995, -24.1767426, 0.906293094, -0.422565639, -0.00803131424, 0.153661132, 0.311742038, 0.937656105, -0.393718749, -0.851028085, 0.347462565)
- Part101.BottomSurface = Enum.SurfaceType.Smooth
- Part101.TopSurface = Enum.SurfaceType.Smooth
- Part101.Color = Color3.new(0.0156863, 0.686275, 0.92549)
- Part101.Position = Vector3.new(23.0537338, 3.30894995, -24.1767426)
- Part101.Orientation = Vector3.new(-69.659996, -1.31999993, 26.2399998)
- Part101.Color = Color3.new(0.0156863, 0.686275, 0.92549)
- CylinderMesh102.Parent = Part101
- CylinderMesh102.Scale = Vector3.new(1, 0.567740023, 1)
- CylinderMesh102.Scale = Vector3.new(1, 0.567740023, 1)
- Part103.Parent = Tool81
- Part103.Material = Enum.Material.SmoothPlastic
- Part103.BrickColor = BrickColor.new("Really black")
- Part103.Rotation = Vector3.new(-69.6699982, -0.459999979, 25)
- Part103.Anchored = true
- Part103.CanCollide = false
- Part103.FormFactor = Enum.FormFactor.Custom
- Part103.Size = Vector3.new(0.280200869, 0.200000003, 0.25521785)
- Part103.CFrame = CFrame.new(23.1014709, 3.27297807, -24.0807495, 0.906293094, -0.422565639, -0.00803131424, 0.153661132, 0.311742038, 0.937656105, -0.393718749, -0.851028085, 0.347462565)
- Part103.BottomSurface = Enum.SurfaceType.Smooth
- Part103.TopSurface = Enum.SurfaceType.Smooth
- Part103.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part103.Position = Vector3.new(23.1014709, 3.27297807, -24.0807495)
- Part103.Orientation = Vector3.new(-69.659996, -1.31999993, 26.2399998)
- Part103.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh104.Parent = Part103
- BlockMesh104.Scale = Vector3.new(1, 0.189246684, 1)
- BlockMesh104.Scale = Vector3.new(1, 0.189246684, 1)
- Part105.Parent = Tool81
- Part105.Material = Enum.Material.SmoothPlastic
- Part105.BrickColor = BrickColor.new("Mid gray")
- Part105.Reflectance = 0.5
- Part105.Rotation = Vector3.new(-69.6699982, -0.459999979, 25)
- Part105.Anchored = true
- Part105.CanCollide = false
- Part105.FormFactor = Enum.FormFactor.Custom
- Part105.Size = Vector3.new(0.250179321, 0.200000003, 0.227873072)
- Part105.CFrame = CFrame.new(23.0237732, 3.32993889, -24.2374191, 0.906293094, -0.422565639, -0.00803131424, 0.153661132, 0.311742038, 0.937656105, -0.393718749, -0.851028085, 0.347462565)
- Part105.BottomSurface = Enum.SurfaceType.Smooth
- Part105.TopSurface = Enum.SurfaceType.Smooth
- Part105.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part105.Position = Vector3.new(23.0237732, 3.32993889, -24.2374191)
- Part105.Orientation = Vector3.new(-69.659996, -1.31999993, 26.2399998)
- Part105.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh106.Parent = Part105
- CylinderMesh106.Scale = Vector3.new(1, 0.141935006, 1)
- CylinderMesh106.Scale = Vector3.new(1, 0.141935006, 1)
- Part107.Parent = Tool81
- Part107.Material = Enum.Material.SmoothPlastic
- Part107.BrickColor = BrickColor.new("Cyan")
- Part107.Transparency = 0.30000001192093
- Part107.Rotation = Vector3.new(-69.6699982, -0.459999979, 25)
- Part107.Anchored = true
- Part107.CanCollide = false
- Part107.FormFactor = Enum.FormFactor.Custom
- Part107.Size = Vector3.new(0.250179321, 0.200000003, 0.227873072)
- Part107.CFrame = CFrame.new(23.0121613, 3.33829594, -24.2586327, 0.906293094, -0.422565639, -0.00803131424, 0.153661132, 0.311742038, 0.937656105, -0.393718749, -0.851028085, 0.347462565)
- Part107.BottomSurface = Enum.SurfaceType.Smooth
- Part107.TopSurface = Enum.SurfaceType.Smooth
- Part107.Color = Color3.new(0.0156863, 0.686275, 0.92549)
- Part107.Position = Vector3.new(23.0121613, 3.33829594, -24.2586327)
- Part107.Orientation = Vector3.new(-69.659996, -1.31999993, 26.2399998)
- Part107.Color = Color3.new(0.0156863, 0.686275, 0.92549)
- CylinderMesh108.Parent = Part107
- CylinderMesh108.Scale = Vector3.new(1, 0.113548033, 1)
- CylinderMesh108.Scale = Vector3.new(1, 0.113548033, 1)
- Part109.Parent = Tool81
- Part109.Material = Enum.Material.SmoothPlastic
- Part109.BrickColor = BrickColor.new("Dark stone grey")
- Part109.Rotation = Vector3.new(-69.6699982, -0.459999979, 25)
- Part109.Anchored = true
- Part109.CanCollide = false
- Part109.FormFactor = Enum.FormFactor.Custom
- Part109.Size = Vector3.new(0.290208012, 0.461761862, 0.200000003)
- Part109.CFrame = CFrame.new(23.2210617, 3.11504889, -23.8669472, 0.906293094, -0.422565639, -0.00803131424, 0.153661132, 0.311742038, 0.937656105, -0.393718749, -0.851028085, 0.347462565)
- Part109.BottomSurface = Enum.SurfaceType.Smooth
- Part109.TopSurface = Enum.SurfaceType.Smooth
- Part109.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part109.Position = Vector3.new(23.2210617, 3.11504889, -23.8669472)
- Part109.Orientation = Vector3.new(-69.659996, -1.31999993, 26.2399998)
- Part109.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh110.Parent = Part109
- BlockMesh110.Scale = Vector3.new(1, 1, 0.546895444)
- BlockMesh110.Scale = Vector3.new(1, 1, 0.546895444)
- Part111.Parent = Tool81
- Part111.Material = Enum.Material.SmoothPlastic
- Part111.BrickColor = BrickColor.new("Cyan")
- Part111.Transparency = 0.30000001192093
- Part111.Rotation = Vector3.new(-69.6699982, -0.459999979, 25)
- Part111.Anchored = true
- Part111.CanCollide = false
- Part111.FormFactor = Enum.FormFactor.Custom
- Part111.Size = Vector3.new(0.250179321, 0.200000003, 0.227873072)
- Part111.CFrame = CFrame.new(22.9902115, 3.35501289, -24.3048248, 0.906293094, -0.422565639, -0.00803131424, 0.153661132, 0.311742038, 0.937656105, -0.393718749, -0.851028085, 0.347462565)
- Part111.BottomSurface = Enum.SurfaceType.Smooth
- Part111.TopSurface = Enum.SurfaceType.Smooth
- Part111.Color = Color3.new(0.0156863, 0.686275, 0.92549)
- Part111.Position = Vector3.new(22.9902115, 3.35501289, -24.3048248)
- Part111.Orientation = Vector3.new(-69.659996, -1.31999993, 26.2399998)
- Part111.Color = Color3.new(0.0156863, 0.686275, 0.92549)
- CylinderMesh112.Parent = Part111
- CylinderMesh112.Scale = Vector3.new(1, 0.141935006, 1)
- CylinderMesh112.Scale = Vector3.new(1, 0.141935006, 1)
- Part113.Parent = Tool81
- Part113.Material = Enum.Material.SmoothPlastic
- Part113.BrickColor = BrickColor.new("Mid gray")
- Part113.Reflectance = 0.5
- Part113.Rotation = Vector3.new(-69.6699982, -0.459999979, 25)
- Part113.Anchored = true
- Part113.CanCollide = false
- Part113.FormFactor = Enum.FormFactor.Custom
- Part113.Size = Vector3.new(0.250179321, 0.200000003, 0.227873072)
- Part113.CFrame = CFrame.new(23.0025101, 3.34529495, -24.2808685, 0.906293094, -0.422565639, -0.00803131424, 0.153661132, 0.311742038, 0.937656105, -0.393718749, -0.851028085, 0.347462565)
- Part113.BottomSurface = Enum.SurfaceType.Smooth
- Part113.TopSurface = Enum.SurfaceType.Smooth
- Part113.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part113.Position = Vector3.new(23.0025101, 3.34529495, -24.2808685)
- Part113.Orientation = Vector3.new(-69.659996, -1.31999993, 26.2399998)
- Part113.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh114.Parent = Part113
- CylinderMesh114.Scale = Vector3.new(1, 0.141935006, 1)
- CylinderMesh114.Scale = Vector3.new(1, 0.141935006, 1)
- WedgePart115.Parent = Tool81
- WedgePart115.Material = Enum.Material.SmoothPlastic
- WedgePart115.BrickColor = BrickColor.new("Dark stone grey")
- WedgePart115.Rotation = Vector3.new(110.329994, 0.459999979, -25)
- WedgePart115.FormFactor = Enum.FormFactor.Custom
- WedgePart115.Size = Vector3.new(0.325233132, 0.236558318, 0.296234995)
- WedgePart115.CFrame = CFrame.new(23.4712143, 3.01092196, -23.3308868, 0.906293094, 0.422565639, 0.00803131424, 0.153661132, -0.311742038, -0.937656105, -0.393718749, 0.851028085, -0.347462565)
- WedgePart115.Color = Color3.new(0.388235, 0.372549, 0.384314)
- WedgePart115.Position = Vector3.new(23.4712143, 3.01092196, -23.3308868)
- WedgePart115.Orientation = Vector3.new(69.659996, 178.679993, 153.759995)
- WedgePart115.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Script116.Name = "Welding"
- Script116.Parent = Tool81
- table.insert(cors,sandbox(Script116,function()
- function Weld(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 Get(A)
- if A.className == "Part" or A.className == "UnionOperation" or A.className == "WedgePart" then
- Weld(script.Parent.Handle, A)
- A.Anchored = false
- else
- local C = A:GetChildren()
- for i=1, #C do
- Get(C[i])
- end
- end
- end
- function Finale()
- Get(script.Parent)
- end
- script.Parent.Equipped:connect(Finale)
- script.Parent.Unequipped:connect(Finale)
- Finale()
- end))
- Script117.Name = "Heal"
- Script117.Parent = Tool81
- table.insert(cors,sandbox(Script117,function()
- local db = false
- function onHit()
- if db then return end
- local h = script.Parent.Parent:findFirstChild ("Humanoid")
- if (h ~= nil) then
- h.Health = h.Health + 100
- script.Parent.Handle.Sound:Play()
- db = true
- wait(2)
- db = false
- end
- end
- script.Parent.Activated:connect(onHit)
- end))
- Tool118.Name = "Commbadge"
- Tool118.Parent = mas
- Tool118.TextureId = "http://www.roblox.com/asset?id=231558077"
- Tool118.GripForward = Vector3.new(-0.89442724, -0, -0.44721362)
- Tool118.GripPos = Vector3.new(0.200000003, -0.100000001, -0.5)
- Tool118.GripRight = Vector3.new(0.44721356, 0, -0.894427121)
- Tool118.ToolTip = "Starfleet Standard Issue"
- Model119.Name = "OfficerRadioSystem"
- Model119.Parent = Tool118
- StringValue120.Name = "Line1"
- StringValue120.Parent = Model119
- StringValue121.Name = "Line2"
- StringValue121.Parent = Model119
- StringValue122.Name = "Line3"
- StringValue122.Parent = Model119
- StringValue123.Name = "Line4"
- StringValue123.Parent = Model119
- StringValue124.Name = "Line5"
- StringValue124.Parent = Model119
- StringValue125.Name = "Line6"
- StringValue125.Parent = Model119
- StringValue126.Name = "Line7"
- StringValue126.Parent = Model119
- Part127.Name = "Handle"
- Part127.Parent = Tool118
- Part127.BrickColor = BrickColor.new("Really black")
- Part127.Transparency = 1
- Part127.Rotation = Vector3.new(-90, 33.4199982, 90)
- Part127.Anchored = true
- Part127.CanCollide = false
- Part127.FormFactor = Enum.FormFactor.Custom
- Part127.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part127.CFrame = CFrame.new(23.5868378, 2.37112093, -23.857233, 9.83937866e-07, -0.834609032, 0.550840735, 1.81445989e-06, 0.550843239, 0.834604681, -0.999994993, 1.78586561e-07, 2.05636024e-06)
- Part127.BottomSurface = Enum.SurfaceType.Smooth
- Part127.TopSurface = Enum.SurfaceType.Smooth
- Part127.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part127.Position = Vector3.new(23.5868378, 2.37112093, -23.857233)
- Part127.Orientation = Vector3.new(-56.5699997, 90, 0)
- Part127.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh128.Parent = Part127
- Sound129.Name = "Alert"
- Sound129.Parent = Part127
- Sound129.Pitch = 0.69999998807907
- Sound129.SoundId = "http://www.roblox.com/asset/?id=151568394"
- Sound129.Volume = 0
- BoolValue130.Name = "Run"
- BoolValue130.Parent = Sound129
- Script131.Name = "SoundScript"
- Script131.Parent = Sound129
- table.insert(cors,sandbox(Script131,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))
- Sound132.Name = "EquipSound"
- Sound132.Parent = Part127
- Sound132.Pitch = 1.1499999761581
- Sound132.SoundId = "http://roblox.com/asset/?id=151568394"
- Sound132.Volume = 0
- Script133.Name = "SoundScript"
- Script133.Parent = Sound132
- table.insert(cors,sandbox(Script133,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))
- BoolValue134.Name = "Run"
- BoolValue134.Parent = Sound132
- Decal135.Parent = Part127
- Decal135.Texture = "http://www.roblox.com/asset/?id=231558077"
- Decal135.Face = Enum.NormalId.Back
- Part136.Name = "Light"
- Part136.Parent = Tool118
- Part136.BrickColor = BrickColor.new("Really red")
- Part136.Reflectance = 0.10000000149012
- Part136.Transparency = 1
- Part136.Rotation = Vector3.new(180, 0, -146.580002)
- Part136.Anchored = true
- Part136.CanCollide = false
- Part136.FormFactor = Enum.FormFactor.Custom
- Part136.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part136.CFrame = CFrame.new(23.5375137, 2.31632996, -23.8435745, -0.834608912, 0.550840735, -1.35397761e-06, 0.550843239, 0.834604383, -1.67735811e-06, 2.06387668e-07, -2.14576721e-06, -0.999994934)
- Part136.BottomSurface = Enum.SurfaceType.Smooth
- Part136.TopSurface = Enum.SurfaceType.Smooth
- Part136.Color = Color3.new(1, 0, 0)
- Part136.Position = Vector3.new(23.5375137, 2.31632996, -23.8435745)
- Part136.Orientation = Vector3.new(0, -180, 33.4300003)
- Part136.Color = Color3.new(1, 0, 0)
- CylinderMesh137.Parent = Part136
- CylinderMesh137.Offset = Vector3.new(0, -0.020833334, 0)
- CylinderMesh137.Scale = Vector3.new(0.50000006, 0.208333343, 0.50000006)
- CylinderMesh137.Scale = Vector3.new(0.50000006, 0.208333343, 0.50000006)
- LocalScript138.Name = "WeldScript"
- LocalScript138.Parent = Tool118
- table.insert(cors,sandbox(LocalScript138,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.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))
- BoolValue139.Name = "On"
- BoolValue139.Parent = Tool118
- LocalScript140.Name = "RadioScript"
- LocalScript140.Parent = Tool118
- table.insert(cors,sandbox(LocalScript140,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.Players:GetPlayerFromCharacter(Character) == nil then return end
- local Player = game.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.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.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))
- ObjectValue141.Name = "Tool"
- ObjectValue141.Parent = mas
- LocalScript142.Name = "RadioGUIScript[o]"
- LocalScript142.Parent = mas
- LocalScript142.Disabled = true
- table.insert(cors,sandbox(LocalScript142,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))
- LocalScript143.Name = "UpdateScript[o]"
- LocalScript143.Parent = mas
- LocalScript143.Disabled = true
- table.insert(cors,sandbox(LocalScript143,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))
- Script144.Name = "RadioGUIScript"
- Script144.Parent = mas
- Script144.Disabled = true
- table.insert(cors,sandbox(Script144,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))
- Script145.Name = "UpdateScript"
- Script145.Parent = mas
- Script145.Disabled = true
- table.insert(cors,sandbox(Script145,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))
- Frame146.Parent = mas
- Frame146.Size = UDim2.new(-0.389999986, 0, -0.25, 0)
- Frame146.Style = Enum.FrameStyle.RobloxRound
- Frame146.Position = UDim2.new(0.975000024, 0, 0.899999976, 0)
- Frame146.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame146.BorderColor3 = Color3.new(0, 0, 0)
- Frame146.BorderSizePixel = 0
- TextLabel147.Name = "Title"
- TextLabel147.Parent = Frame146
- TextLabel147.Transparency = 0.80000001192093
- TextLabel147.Size = UDim2.new(1, 0, 0.200000003, 0)
- TextLabel147.Text = "U.S.S Traverser Commbadge"
- TextLabel147.Active = true
- TextLabel147.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel147.BackgroundTransparency = 0.80000001192093
- TextLabel147.BorderColor3 = Color3.new(1, 1, 1)
- TextLabel147.Font = Enum.Font.ArialBold
- TextLabel147.FontSize = Enum.FontSize.Size24
- TextLabel147.TextColor3 = Color3.new(1, 1, 1)
- TextLabel147.TextScaled = true
- TextLabel147.TextTransparency = 0.20000000298023
- TextLabel147.TextWrapped = true
- TextLabel148.Name = "Line1"
- TextLabel148.Parent = Frame146
- TextLabel148.Transparency = 0.80000001192093
- TextLabel148.Size = UDim2.new(1, 0, 0.0900000036, 0)
- TextLabel148.Text = ""
- TextLabel148.Position = UDim2.new(0, 0, 0.25, 0)
- TextLabel148.BackgroundColor3 = Color3.new(0, 0, 0)
- TextLabel148.BackgroundTransparency = 0.80000001192093
- TextLabel148.BorderColor3 = Color3.new(1, 1, 1)
- TextLabel148.Font = Enum.Font.ArialBold
- TextLabel148.TextColor3 = Color3.new(1, 1, 1)
- TextLabel148.TextScaled = true
- TextLabel148.TextTransparency = 0.20000000298023
- TextLabel148.TextWrapped = true
- TextLabel148.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel149.Name = "Line2"
- TextLabel149.Parent = Frame146
- TextLabel149.Transparency = 0.80000001192093
- TextLabel149.Size = UDim2.new(1, 0, 0.0900000036, 0)
- TextLabel149.Text = ""
- TextLabel149.Position = UDim2.new(0, 0, 0.349999994, 0)
- TextLabel149.BackgroundColor3 = Color3.new(0, 0, 0)
- TextLabel149.BackgroundTransparency = 0.80000001192093
- TextLabel149.BorderColor3 = Color3.new(1, 1, 1)
- TextLabel149.Font = Enum.Font.ArialBold
- TextLabel149.TextColor3 = Color3.new(1, 1, 1)
- TextLabel149.TextScaled = true
- TextLabel149.TextTransparency = 0.20000000298023
- TextLabel149.TextWrapped = true
- TextLabel149.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel150.Name = "Line3"
- TextLabel150.Parent = Frame146
- TextLabel150.Transparency = 0.80000001192093
- TextLabel150.Size = UDim2.new(1, 0, 0.0900000036, 0)
- TextLabel150.Text = ""
- TextLabel150.Position = UDim2.new(0, 0, 0.449999988, 0)
- TextLabel150.BackgroundColor3 = Color3.new(0, 0, 0)
- TextLabel150.BackgroundTransparency = 0.80000001192093
- TextLabel150.BorderColor3 = Color3.new(1, 1, 1)
- TextLabel150.Font = Enum.Font.ArialBold
- TextLabel150.TextColor3 = Color3.new(1, 1, 1)
- TextLabel150.TextScaled = true
- TextLabel150.TextTransparency = 0.20000000298023
- TextLabel150.TextWrapped = true
- TextLabel150.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel151.Name = "Line4"
- TextLabel151.Parent = Frame146
- TextLabel151.Transparency = 0.80000001192093
- TextLabel151.Size = UDim2.new(1, 0, 0.0900000036, 0)
- TextLabel151.Text = ""
- TextLabel151.Position = UDim2.new(0, 0, 0.550000012, 0)
- TextLabel151.BackgroundColor3 = Color3.new(0, 0, 0)
- TextLabel151.BackgroundTransparency = 0.80000001192093
- TextLabel151.BorderColor3 = Color3.new(1, 1, 1)
- TextLabel151.Font = Enum.Font.ArialBold
- TextLabel151.TextColor3 = Color3.new(1, 1, 1)
- TextLabel151.TextScaled = true
- TextLabel151.TextTransparency = 0.20000000298023
- TextLabel151.TextWrapped = true
- TextLabel151.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel152.Name = "Line5"
- TextLabel152.Parent = Frame146
- TextLabel152.Transparency = 0.80000001192093
- TextLabel152.Size = UDim2.new(1, 0, 0.0900000036, 0)
- TextLabel152.Text = ""
- TextLabel152.Position = UDim2.new(0, 0, 0.649999976, 0)
- TextLabel152.BackgroundColor3 = Color3.new(0, 0, 0)
- TextLabel152.BackgroundTransparency = 0.80000001192093
- TextLabel152.BorderColor3 = Color3.new(1, 1, 1)
- TextLabel152.Font = Enum.Font.ArialBold
- TextLabel152.TextColor3 = Color3.new(1, 1, 1)
- TextLabel152.TextScaled = true
- TextLabel152.TextTransparency = 0.20000000298023
- TextLabel152.TextWrapped = true
- TextLabel152.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel153.Name = "Line6"
- TextLabel153.Parent = Frame146
- TextLabel153.Transparency = 0.80000001192093
- TextLabel153.Size = UDim2.new(1, 0, 0.0900000036, 0)
- TextLabel153.Text = ""
- TextLabel153.Position = UDim2.new(0, 0, 0.75, 0)
- TextLabel153.BackgroundColor3 = Color3.new(0, 0, 0)
- TextLabel153.BackgroundTransparency = 0.80000001192093
- TextLabel153.BorderColor3 = Color3.new(1, 1, 1)
- TextLabel153.Font = Enum.Font.ArialBold
- TextLabel153.TextColor3 = Color3.new(1, 1, 1)
- TextLabel153.TextScaled = true
- TextLabel153.TextTransparency = 0.20000000298023
- TextLabel153.TextWrapped = true
- TextLabel153.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel154.Name = "Line7"
- TextLabel154.Parent = Frame146
- TextLabel154.Transparency = 0.80000001192093
- TextLabel154.Size = UDim2.new(1, 0, 0.0900000036, 0)
- TextLabel154.Text = ""
- TextLabel154.Position = UDim2.new(0, 0, 0.850000024, 0)
- TextLabel154.BackgroundColor3 = Color3.new(0, 0, 0)
- TextLabel154.BackgroundTransparency = 0.80000001192093
- TextLabel154.BorderColor3 = Color3.new(1, 1, 1)
- TextLabel154.Font = Enum.Font.ArialBold
- TextLabel154.TextColor3 = Color3.new(1, 1, 1)
- TextLabel154.TextScaled = true
- TextLabel154.TextTransparency = 0.20000000298023
- TextLabel154.TextWrapped = true
- TextLabel154.TextXAlignment = Enum.TextXAlignment.Left
- ObjectValue155.Name = "Character"
- ObjectValue155.Parent = Tool118
- LocalScript156.Name = "Welding"
- LocalScript156.Parent = Tool118
- table.insert(cors,sandbox(LocalScript156,function()
- function Weld(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 Get(A)
- if A.className == "Part" then
- Weld(script.Parent.Handle, A)
- A.Anchored = false
- else
- local C = A:GetChildren()
- for i=1, #C do
- Get(C[i])
- end
- end
- end
- function Finale()
- Get(script.Parent)
- end
- script.Parent.Equipped:connect(Finale)
- script.Parent.Unequipped:connect(Finale)
- Finale()
- end))
- Script157.Name = "WeldArm"
- Script157.Parent = Tool118
- table.insert(cors,sandbox(Script157,function()
- Tool = script.Parent;
- local arms = nil
- local torso = nil
- local welds = {}
- function Equip(mouse)
- wait(0.01)
- arms = {Tool.Parent:FindFirstChild("Left Arm"), Tool.Parent:FindFirstChild("Right Arm")}
- torso = Tool.Parent:FindFirstChild("Torso")
- if arms ~= nil and torso ~= nil then
- local sh = {torso:FindFirstChild("Left Shoulder"), torso:FindFirstChild("Right Shoulder")}
- if sh ~= nil then
- local yes = true
- if yes then
- yes = false
- sh[1].Part1 = nil
- sh[2].Part1 = nil
- local weld1 = Instance.new("Weld")
- weld1.Part0 = torso
- weld1.Parent = torso
- weld1.Part1 = arms[1]
- weld1.C1 = CFrame.new(0.95, -0.4, -0.2) * CFrame.fromEulerAnglesXYZ(math.rad(5), 0.5, math.rad(-30))
- welds[1] = weld1
- local weld2 = Instance.new("Weld")
- weld2.Part0 = torso
- weld2.Parent = torso
- weld2.Part1 = arms[2]
- weld2.C1 = CFrame.new(-0.8, -0.2, 0.45) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-60), 0)
- welds[2] = weld2
- end
- else
- print("sh")
- end
- else
- print("arms")
- end
- end
- function Unequip(mouse)
- if arms ~= nil and torso ~= nil then
- local sh = {torso:FindFirstChild("Left Shoulder"), torso:FindFirstChild("Right Shoulder")}
- if sh ~= nil then
- local yes = true
- if yes then
- yes = false
- sh[1].Part1 = arms[1]
- sh[2].Part1 = arms[2]
- welds[1].Parent = nil
- welds[2].Parent = nil
- end
- else
- print("sh")
- end
- else
- print("arms")
- end
- end
- Tool.Equipped:connect(Equip)
- Tool.Unequipped:connect(Unequip)
- end))
- Tool158.Name = "EmergencyTransport"
- Tool158.Parent = mas
- Tool158.TextureId = "http://www.roblox.com/asset?id=234894588"
- Tool158.ToolTip = "One use"
- Script159.Name = "Welding"
- Script159.Parent = Tool158
- table.insert(cors,sandbox(Script159,function()
- function Weld(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 Get(A)
- if A.className == "Part" or A.className == "UnionOperation" or A.className == "WedgePart" then
- Weld(script.Parent.Handle, A)
- A.Anchored = false
- else
- local C = A:GetChildren()
- for i=1, #C do
- Get(C[i])
- end
- end
- end
- function Finale()
- Get(script.Parent)
- end
- script.Parent.Equipped:connect(Finale)
- script.Parent.Unequipped:connect(Finale)
- Finale()
- end))
- Part160.Parent = Tool158
- Part160.Material = Enum.Material.SmoothPlastic
- Part160.BrickColor = BrickColor.new("Pastel blue-green")
- Part160.Rotation = Vector3.new(179.080002, -51.8499985, -134.319992)
- Part160.CanCollide = false
- Part160.FormFactor = Enum.FormFactor.Custom
- Part160.Size = Vector3.new(0.25453198, 0.200000003, 0.286348403)
- Part160.CFrame = CFrame.new(23.3453293, 2.69810295, -23.6291237, -0.431545854, 0.441938639, -0.786425173, 0.72423166, 0.689472556, -0.00996089727, 0.537809074, -0.573847353, -0.617619514)
- Part160.BottomSurface = Enum.SurfaceType.Smooth
- Part160.TopSurface = Enum.SurfaceType.Smooth
- Part160.Color = Color3.new(0.623529, 0.952941, 0.913726)
- Part160.Position = Vector3.new(23.3453293, 2.69810295, -23.6291237)
- Part160.Orientation = Vector3.new(0.569999993, -128.139999, 46.4099998)
- Part160.Color = Color3.new(0.623529, 0.952941, 0.913726)
- Texture161.Parent = Part160
- Texture161.Texture = "http://www.roblox.com/asset/?id=234419562"
- Texture161.Face = Enum.NormalId.Top
- Texture161.StudsPerTileU = 100
- Texture161.StudsPerTileV = 100
- BlockMesh162.Parent = Part160
- BlockMesh162.Scale = Vector3.new(1, 0.0318164788, 1)
- BlockMesh162.Scale = Vector3.new(1, 0.0318164788, 1)
- Part163.Parent = Tool158
- Part163.Material = Enum.Material.SmoothPlastic
- Part163.BrickColor = BrickColor.new("Pastel blue-green")
- Part163.Rotation = Vector3.new(179.080002, -51.8499985, -134.319992)
- Part163.CanCollide = false
- Part163.FormFactor = Enum.FormFactor.Custom
- Part163.Size = Vector3.new(0.25453198, 0.200000003, 0.286348403)
- Part163.CFrame = CFrame.new(23.6906357, 2.70396805, -23.3595314, -0.431545854, 0.441938639, -0.786425173, 0.72423166, 0.689472556, -0.00996089727, 0.537809074, -0.573847353, -0.617619514)
- Part163.BottomSurface = Enum.SurfaceType.Smooth
- Part163.TopSurface = Enum.SurfaceType.Smooth
- Part163.Color = Color3.new(0.623529, 0.952941, 0.913726)
- Part163.Position = Vector3.new(23.6906357, 2.70396805, -23.3595314)
- Part163.Orientation = Vector3.new(0.569999993, -128.139999, 46.4099998)
- Part163.Color = Color3.new(0.623529, 0.952941, 0.913726)
- Texture164.Parent = Part163
- Texture164.Texture = "http://www.roblox.com/asset/?id=234419562"
- Texture164.Face = Enum.NormalId.Top
- Texture164.StudsPerTileU = 100
- Texture164.StudsPerTileV = 100
- BlockMesh165.Parent = Part163
- BlockMesh165.Scale = Vector3.new(1, 0.0318164788, 1)
- BlockMesh165.Scale = Vector3.new(1, 0.0318164788, 1)
- Part166.Parent = Tool158
- Part166.Material = Enum.Material.SmoothPlastic
- Part166.BrickColor = BrickColor.new("Really blue")
- Part166.Rotation = Vector3.new(179.080002, -51.8499985, -134.319992)
- Part166.CanCollide = false
- Part166.FormFactor = Enum.FormFactor.Custom
- Part166.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part166.CFrame = CFrame.new(23.5017471, 2.67463493, -23.4836617, -0.431545854, 0.441938639, -0.786425173, 0.72423166, 0.689472556, -0.00996089727, 0.537809074, -0.573847353, -0.617619514)
- Part166.BottomSurface = Enum.SurfaceType.Smooth
- Part166.TopSurface = Enum.SurfaceType.Smooth
- Part166.Color = Color3.new(0, 0, 1)
- Part166.Position = Vector3.new(23.5017471, 2.67463493, -23.4836617)
- Part166.Orientation = Vector3.new(0.569999993, -128.139999, 46.4099998)
- Part166.Color = Color3.new(0, 0, 1)
- BlockMesh167.Parent = Part166
- BlockMesh167.Scale = Vector3.new(0.190898985, 0.159082413, 0.159082413)
- BlockMesh167.Scale = Vector3.new(0.190898985, 0.159082413, 0.159082413)
- Part168.Parent = Tool158
- Part168.Material = Enum.Material.SmoothPlastic
- Part168.BrickColor = BrickColor.new("Dark stone grey")
- Part168.Rotation = Vector3.new(179.080002, -51.8499985, -134.319992)
- Part168.CanCollide = false
- Part168.FormFactor = Enum.FormFactor.Custom
- Part168.Size = Vector3.new(0.25453198, 0.200000003, 0.200000003)
- Part168.CFrame = CFrame.new(23.4921188, 2.66840696, -23.4712601, -0.431545854, 0.441938639, -0.786425173, 0.72423166, 0.689472556, -0.00996089727, 0.537809074, -0.573847353, -0.617619514)
- Part168.BottomSurface = Enum.SurfaceType.Smooth
- Part168.TopSurface = Enum.SurfaceType.Smooth
- Part168.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part168.Position = Vector3.new(23.4921188, 2.66840696, -23.4712601)
- Part168.Orientation = Vector3.new(0.569999993, -128.139999, 46.4099998)
- Part168.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh169.Parent = Part168
- BlockMesh169.Scale = Vector3.new(1, 0.254531831, 0.540880263)
- BlockMesh169.Scale = Vector3.new(1, 0.254531831, 0.540880263)
- Part170.Name = "Handle"
- Part170.Parent = Tool158
- Part170.Material = Enum.Material.SmoothPlastic
- Part170.Transparency = 1
- Part170.Rotation = Vector3.new(50.25, -26.2199993, 28.7699986)
- Part170.FormFactor = Enum.FormFactor.Custom
- Part170.Size = Vector3.new(0.580000222, 0.580000997, 0.200000003)
- Part170.CFrame = CFrame.new(23.4556885, 2.63605595, -23.3905716, 0.786333203, -0.431831568, -0.441816032, 0.0101025933, 0.724033415, -0.689690769, 0.617719948, 0.537863493, 0.573693931)
- Part170.BottomSurface = Enum.SurfaceType.Smooth
- Part170.TopSurface = Enum.SurfaceType.Smooth
- Part170.Position = Vector3.new(23.4556885, 2.63605595, -23.3905716)
- Part170.Orientation = Vector3.new(43.6100006, -37.5999985, 0.799999952)
- Sound171.Parent = Part170
- Sound171.SoundId = "http://www.roblox.com/asset?id=137064059"
- PointLight172.Parent = Part170
- PointLight172.Color = Color3.new(0, 1, 1)
- PointLight172.Range = 5
- PointLight172.Color = Color3.new(0, 1, 1)
- Script173.Parent = Tool158
- table.insert(cors,sandbox(Script173,function()
- function transport()
- script.Parent.Parent.Torso.CFrame = CFrame.new(math.random(-400,400),4.2,math.random(-400,400))
- script.Parent.Handle.Sound:play()
- wait(2.04)
- script.Parent:Destroy()
- end
- script.Parent.Activated:connect(transport)
- end))
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game:GetService("Players").LocalPlayer.Backpack
- 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