<roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.roblox.com/roblox.xsd" version="4">
	<External>null</External>
	<External>nil</External>
	<Item class="Workspace" referent="RBX0">
		<Properties>
			<token name="Controller">0</token>
			<bool name="ControllerFlagShown">true</bool>
			<Ref name="CurrentCamera">RBX1</Ref>
			<CoordinateFrame name="ModelInPrimary">
				<X>0</X>
				<Y>0</Y>
				<Z>0</Z>
				<R00>1</R00>
				<R01>0</R01>
				<R02>0</R02>
				<R10>0</R10>
				<R11>1</R11>
				<R12>0</R12>
				<R20>0</R20>
				<R21>0</R21>
				<R22>1</R22>
			</CoordinateFrame>
			<string name="Name">Workspace</string>
			<Ref name="PrimaryPart">RBX2</Ref>
			<bool name="archivable">true</bool>
		</Properties>
		<Item class="Camera" referent="RBX3">
			<Properties>
				<Ref name="CameraSubject">null</Ref>
				<token name="CameraType">0</token>
				<CoordinateFrame name="CoordinateFrame">
					<X>0</X>
					<Y>0</Y>
					<Z>0</Z>
					<R00>1</R00>
					<R01>0</R01>
					<R02>0</R02>
					<R10>0</R10>
					<R11>1</R11>
					<R12>0</R12>
					<R20>0</R20>
					<R21>0</R21>
					<R22>1</R22>
				</CoordinateFrame>
				<CoordinateFrame name="Focus">
					<X>0</X>
					<Y>0</Y>
					<Z>-5</Z>
					<R00>1</R00>
					<R01>0</R01>
					<R02>0</R02>
					<R10>0</R10>
					<R11>1</R11>
					<R12>0</R12>
					<R20>0</R20>
					<R21>0</R21>
					<R22>1</R22>
				</CoordinateFrame>
				<string name="Name">Camera</string>
				<bool name="archivable">true</bool>
			</Properties>
		</Item>
		<Item class="Part" referent="RBX2">
			<Properties>
				<bool name="Anchored">true</bool>
				<float name="BackParamA">-0.5</float>
				<float name="BackParamB">0.5</float>
				<token name="BackSurface">0</token>
				<token name="BackSurfaceInput">0</token>
				<float name="BottomParamA">-0.5</float>
				<float name="BottomParamB">0.5</float>
				<token name="BottomSurface">0</token>
				<token name="BottomSurfaceInput">0</token>
				<int name="BrickColor">28</int>
				<CoordinateFrame name="CFrame">
					<X>0</X>
					<Y>0.200000048</Y>
					<Z>0</Z>
					<R00>1</R00>
					<R01>0</R01>
					<R02>0</R02>
					<R10>0</R10>
					<R11>1</R11>
					<R12>0</R12>
					<R20>0</R20>
					<R21>0</R21>
					<R22>1</R22>
				</CoordinateFrame>
				<bool name="CanCollide">true</bool>
				<bool name="CastsShadows">false</bool>
				<token name="Controller">0</token>
				<bool name="ControllerFlagShown">true</bool>
				<bool name="Cullable">true</bool>
				<bool name="DraggingV1">false</bool>
				<float name="Elasticity">0.5</float>
				<token name="FormFactor">2</token>
				<float name="Friction">0.300000012</float>
				<float name="FrontParamA">-0.5</float>
				<float name="FrontParamB">0.5</float>
				<token name="FrontSurface">0</token>
				<token name="FrontSurfaceInput">0</token>
				<float name="LeftParamA">-0.5</float>
				<float name="LeftParamB">0.5</float>
				<token name="LeftSurface">0</token>
				<token name="LeftSurfaceInput">0</token>
				<bool name="Locked">true</bool>
				<string name="Name">Base</string>
				<float name="Reflectance">0</float>
				<float name="RightParamA">-0.5</float>
				<float name="RightParamB">0.5</float>
				<token name="RightSurface">0</token>
				<token name="RightSurfaceInput">0</token>
				<Vector3 name="RotVelocity">
					<X>0</X>
					<Y>0</Y>
					<Z>0</Z>
				</Vector3>
				<float name="TopParamA">-0.5</float>
				<float name="TopParamB">0.5</float>
				<token name="TopSurface">3</token>
				<token name="TopSurfaceInput">0</token>
				<float name="Transparency">0</float>
				<Vector3 name="Velocity">
					<X>0</X>
					<Y>0</Y>
					<Z>0</Z>
				</Vector3>
				<bool name="archivable">true</bool>
				<token name="shape">1</token>
				<Vector3 name="size">
					<X>512</X>
					<Y>0.400000006</Y>
					<Z>512</Z>
				</Vector3>
			</Properties>
		</Item>
		<Item class="Camera" referent="RBX1">
			<Properties>
				<Ref name="CameraSubject">RBX4</Ref>
				<token name="CameraType">4</token>
				<CoordinateFrame name="CoordinateFrame">
					<X>-34.3633194</X>
					<Y>12.0198889</Y>
					<Z>81.7258224</Z>
					<R00>0.999782979</R00>
					<R01>0.00912912376</R01>
					<R02>-0.018726645</R02>
					<R10>-1.39698386e-009</R10>
					<R11>0.898878634</R11>
					<R12>0.438197762</R12>
					<R20>0.0208333414</R20>
					<R21>-0.438102633</R21>
					<R22>0.898683488</R22>
				</CoordinateFrame>
				<CoordinateFrame name="Focus">
					<X>-34.0590096</X>
					<Y>4.8991313</Y>
					<Z>67.1221237</Z>
					<R00>-0.929465175</R00>
					<R01>-1.88021161e-011</R01>
					<R02>-0.368909866</R02>
					<R10>-2.105985e-011</R10>
					<R11>1</R11>
					<R12>2.09341637e-012</R12>
					<R20>0.368909866</R20>
					<R21>9.71494413e-012</R21>
					<R22>-0.929465175</R22>
				</CoordinateFrame>
				<string name="Name">Instance</string>
				<bool name="archivable">true</bool>
			</Properties>
		</Item>
		<Item class="Model" referent="RBX5">
			<Properties>
				<token name="Controller">0</token>
				<bool name="ControllerFlagShown">true</bool>
				<CoordinateFrame name="ModelInPrimary">
					<X>0</X>
					<Y>0</Y>
					<Z>0</Z>
					<R00>1</R00>
					<R01>0</R01>
					<R02>0</R02>
					<R10>0</R10>
					<R11>1</R11>
					<R12>0</R12>
					<R20>0</R20>
					<R21>0</R21>
					<R22>1</R22>
				</CoordinateFrame>
				<string name="Name">Thwomp</string>
				<Ref name="PrimaryPart">RBX6</Ref>
				<bool name="archivable">true</bool>
			</Properties>
			<Item class="Part" referent="RBX6">
				<Properties>
					<bool name="Anchored">false</bool>
					<float name="BackParamA">-0.5</float>
					<float name="BackParamB">0.5</float>
					<token name="BackSurface">0</token>
					<token name="BackSurfaceInput">0</token>
					<float name="BottomParamA">-0.5</float>
					<float name="BottomParamB">0.5</float>
					<token name="BottomSurface">0</token>
					<token name="BottomSurfaceInput">0</token>
					<int name="BrickColor">23</int>
					<CoordinateFrame name="CFrame">
						<X>-29.3966522</X>
						<Y>9.28138161</Y>
						<Z>31.995945</Z>
						<R00>0.00100237143</R00>
						<R01>-3.48089925e-005</R01>
						<R02>-0.999999523</R02>
						<R10>-8.67754206e-005</R10>
						<R11>1</R11>
						<R12>-3.48959948e-005</R12>
						<R20>0.999999523</R20>
						<R21>8.68103598e-005</R21>
						<R22>0.0010023684</R22>
					</CoordinateFrame>
					<bool name="CanCollide">true</bool>
					<bool name="CastsShadows">true</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">true</bool>
					<bool name="Cullable">true</bool>
					<bool name="DraggingV1">false</bool>
					<float name="Elasticity">0.5</float>
					<token name="FormFactor">0</token>
					<float name="Friction">0.300000012</float>
					<float name="FrontParamA">-0.5</float>
					<float name="FrontParamB">0.5</float>
					<token name="FrontSurface">0</token>
					<token name="FrontSurfaceInput">0</token>
					<float name="LeftParamA">-0.5</float>
					<float name="LeftParamB">0.5</float>
					<token name="LeftSurface">0</token>
					<token name="LeftSurfaceInput">0</token>
					<bool name="Locked">false</bool>
					<string name="Name">Doggy</string>
					<float name="Reflectance">0</float>
					<float name="RightParamA">-0.5</float>
					<float name="RightParamB">0.5</float>
					<token name="RightSurface">0</token>
					<token name="RightSurfaceInput">0</token>
					<Vector3 name="RotVelocity">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<float name="TopParamA">-0.5</float>
					<float name="TopParamB">0.5</float>
					<token name="TopSurface">0</token>
					<token name="TopSurfaceInput">0</token>
					<float name="Transparency">0</float>
					<Vector3 name="Velocity">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<bool name="archivable">true</bool>
					<token name="shape">1</token>
					<Vector3 name="size">
						<X>18</X>
						<Y>18</Y>
						<Z>18</Z>
					</Vector3>
				</Properties>
				<Item class="BodyVelocity" referent="RBX7">
					<Properties>
						<string name="Name">BodyVelocity</string>
						<float name="P">1250</float>
						<bool name="archivable">true</bool>
						<Vector3 name="maxForce">
							<X>1e+009</X>
							<Y>1e+009</Y>
							<Z>1e+009</Z>
						</Vector3>
						<Vector3 name="velocity">
							<X>0</X>
							<Y>0</Y>
							<Z>0</Z>
						</Vector3>
					</Properties>
				</Item>
				<Item class="Script" referent="RBX8">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">Script</string>
						<string name="Source">function onTouched(part)&#13;&#10;&#9;local h = part.Parent:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;if h~=nil then&#13;&#10;&#9;&#9;h.Health = h.Health -100&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;script.Parent.Touched:connect(onTouched)&#13;&#10;&#13;&#10;Doggy = script.Parent.Parent.Doggy&#13;&#10;Doggyvelocity = Doggy.BodyVelocity&#13;&#10;&#13;&#10;while true do&#13;&#10;Doggyvelocity.velocity = Vector3.new(0,7,0)&#13;&#10;wait(1)&#13;&#10;Doggyvelocity.velocity = Vector3.new(0,0,0)&#13;&#10;wait(3)&#13;&#10;Doggyvelocity.velocity = Vector3.new(0,-70,0)&#13;&#10;wait(.5)&#13;&#10;Doggyvelocity.velocity = Vector3.new(0,0,0)&#13;&#10;wait(3)&#13;&#10;end&#13;&#10;</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Decal" referent="RBX9">
					<Properties>
						<token name="Face">0</token>
						<string name="Name">face</string>
						<float name="Shiny">20</float>
						<float name="Specular">0</float>
						<Content name="Texture"><url>http://www.roblox.com/asset/?version=1&amp;id=1114425</url></Content>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
			</Item>
		</Item>
		<Item class="Script" referent="RBX10">
			<Properties>
				<bool name="Disabled">false</bool>
				<Content name="LinkedSource"><null></null></Content>
				<string name="Name">Script</string>
				<string name="Source">print(&quot;LinkedLeaderboard script version 5.00 loaded&quot;)&#13;&#10;&#13;&#10;stands = {}&#13;&#10;CTF_mode = false&#13;&#10;&#13;&#10;&#13;&#10;function onHumanoidDied(humanoid, player)&#13;&#10;&#9;local stats = player:findFirstChild(&quot;leaderstats&quot;)&#13;&#10;&#9;if stats ~= nil then&#13;&#10;&#9;&#9;local deaths = stats:findFirstChild(&quot;Wipeouts&quot;)&#13;&#10;&#9;&#9;deaths.Value = deaths.Value + 1&#13;&#10;&#13;&#10;&#9;&#9;-- do short dance to try and find the killer&#13;&#10;&#13;&#10;&#9;&#9;local killer = getKillerOfHumanoidIfStillInGame(humanoid)&#13;&#10;&#13;&#10;&#9;&#9;handleKillCount(humanoid, player)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onPlayerRespawn(property, player)&#13;&#10;&#9;-- need to connect to new humanoid&#13;&#10;&#9;&#13;&#10;&#9;if property == &quot;Character&quot; and player.Character ~= nil then&#13;&#10;&#9;&#9;local humanoid = player.Character.Humanoid&#13;&#10;&#9;&#9;&#9;local p = player&#13;&#10;&#9;&#9;&#9;local h = humanoid&#13;&#10;&#9;&#9;&#9;humanoid.Died:connect(function() onHumanoidDied(h, p) end )&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function getKillerOfHumanoidIfStillInGame(humanoid)&#13;&#10;&#9;-- returns the player object that killed this humanoid&#13;&#10;&#9;-- returns nil if the killer is no longer in the game&#13;&#10;&#13;&#10;&#9;-- check for kill tag on humanoid - may be more than one - todo: deal with this&#13;&#10;&#9;local tag = humanoid:findFirstChild(&quot;creator&quot;)&#13;&#10;&#13;&#10;&#9;-- find player with name on tag&#13;&#10;&#9;if tag ~= nil then&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;local killer = tag.Value&#13;&#10;&#9;&#9;if killer.Parent ~= nil then -- killer still in game&#13;&#10;&#9;&#9;&#9;return killer&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function handleKillCount(humanoid, player)&#13;&#10;&#9;local killer = getKillerOfHumanoidIfStillInGame(humanoid)&#13;&#10;&#9;if killer ~= nil then&#13;&#10;&#9;&#9;local stats = killer:findFirstChild(&quot;leaderstats&quot;)&#13;&#10;&#9;&#9;if stats ~= nil then&#13;&#10;&#9;&#9;&#9;local kills = stats:findFirstChild(&quot;KOs&quot;)&#13;&#10;&#9;&#9;&#9;if killer ~= player then&#13;&#10;&#9;&#9;&#9;&#9;kills.Value = kills.Value + 1&#13;&#10;&#9;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;kills.Value = kills.Value - 1&#13;&#10;&#9;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function findAllFlagStands(root)&#13;&#10;&#9;local c = root:children()&#13;&#10;&#9;for i=1,#c do&#13;&#10;&#9;&#9;if (c[i].className == &quot;Model&quot; or c[i].className == &quot;Part&quot;) then&#13;&#10;&#9;&#9;&#9;findAllFlagStands(c[i])&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if (c[i].className == &quot;FlagStand&quot;) then&#13;&#10;&#9;&#9;&#9;table.insert(stands, c[i])&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function hookUpListeners()&#13;&#10;&#9;for i=1,#stands do&#13;&#10;&#9;&#9;stands[i].FlagCaptured:connect(onCaptureScored)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onPlayerEntered(newPlayer)&#13;&#10;&#13;&#10;&#9;if CTF_mode == true then&#13;&#10;&#13;&#10;&#9;&#9;local stats = Instance.new(&quot;IntValue&quot;)&#13;&#10;&#9;&#9;stats.Name = &quot;leaderstats&quot;&#13;&#10;&#13;&#10;&#9;&#9;local captures = Instance.new(&quot;IntValue&quot;)&#13;&#10;&#9;&#9;captures.Name = &quot;Captures&quot;&#13;&#10;&#9;&#9;captures.Value = 0&#13;&#10;&#13;&#10;&#13;&#10;&#9;&#9;captures.Parent = stats&#13;&#10;&#13;&#10;&#9;&#9;-- VERY UGLY HACK&#13;&#10;&#9;&#9;-- Will this leak threads?&#13;&#10;&#9;&#9;-- Is the problem even what I think it is (player arrived before character)?&#13;&#10;&#9;&#9;while true do&#13;&#10;&#9;&#9;&#9;if newPlayer.Character ~= nil then break end&#13;&#10;&#9;&#9;&#9;wait(5)&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;stats.Parent = newPlayer&#13;&#10;&#13;&#10;&#9;else&#13;&#10;&#13;&#10;&#9;&#9;local stats = Instance.new(&quot;IntValue&quot;)&#13;&#10;&#9;&#9;stats.Name = &quot;leaderstats&quot;&#13;&#10;&#13;&#10;&#9;&#9;local deaths = Instance.new(&quot;IntValue&quot;)&#13;&#10;&#9;&#9;deaths.Name = &quot;Times Smushed&quot;&#13;&#10;&#9;&#9;deaths.Value = 0&#13;&#10;&#13;&#10;&#9;&#9;kills.Parent = stats&#13;&#10;&#9;&#9;deaths.Parent = stats&#13;&#10;&#13;&#10;&#9;&#9;-- VERY UGLY HACK&#13;&#10;&#9;&#9;-- Will this leak threads?&#13;&#10;&#9;&#9;-- Is the problem even what I think it is (player arrived before character)?&#13;&#10;&#9;&#9;while true do&#13;&#10;&#9;&#9;&#9;if newPlayer.Character ~= nil then break end&#13;&#10;&#9;&#9;&#9;wait(5)&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;local humanoid = newPlayer.Character.Humanoid&#13;&#10;&#13;&#10;&#9;&#9;humanoid.Died:connect(function() onHumanoidDied(humanoid, newPlayer) end )&#13;&#10;&#13;&#10;&#9;&#9;-- start to listen for new humanoid&#13;&#10;&#9;&#9;newPlayer.Changed:connect(function(property) onPlayerRespawn(property, newPlayer) end )&#13;&#10;&#13;&#10;&#13;&#10;&#9;&#9;stats.Parent = newPlayer&#13;&#10;&#13;&#10;&#9;end&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function onCaptureScored(player)&#13;&#10;&#13;&#10;&#9;&#9;local ls = player:findFirstChild(&quot;leaderstats&quot;)&#13;&#10;&#9;&#9;if ls == nil then return end&#13;&#10;&#9;&#9;local caps = ls:findFirstChild(&quot;Captures&quot;)&#13;&#10;&#9;&#9;if caps == nil then return end&#13;&#10;&#9;&#9;caps.Value = caps.Value + 1&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;findAllFlagStands(game.Workspace)&#13;&#10;hookUpListeners()&#13;&#10;if (#stands &gt; 0) then CTF_mode = true end&#13;&#10;game.Players.ChildAdded:connect(onPlayerEntered)&#13;&#10;</string>
				<bool name="archivable">true</bool>
			</Properties>
		</Item>
		<External>RBX4</External>
	</Item>
	<Item class="RunService" referent="RBX11">
		<Properties>
			<string name="Name">Run Service</string>
			<bool name="archivable">true</bool>
		</Properties>
	</Item>
	<External>RBX12</External>
	<External>RBX13</External>
	<Item class="Players" referent="RBX14">
		<Properties>
			<int name="MaxPlayers">8</int>
			<string name="Name">Players</string>
			<bool name="archivable">true</bool>
		</Properties>
	</Item>
	<Item class="StarterPack" referent="RBX15">
		<Properties>
			<string name="Name">StarterPack</string>
			<bool name="archivable">true</bool>
		</Properties>
	</Item>
	<Item class="SoundService" referent="RBX16">
		<Properties>
			<float name="DistanceFactor">10</float>
			<float name="DopplerScale">1</float>
			<string name="Name">SoundService</string>
			<float name="RolloffScale">1</float>
			<bool name="archivable">true</bool>
		</Properties>
		<External>RBX17</External>
		<External>RBX18</External>
		<External>RBX19</External>
		<External>RBX20</External>
		<External>RBX21</External>
		<External>RBX22</External>
		<External>RBX23</External>
		<External>RBX24</External>
		<External>RBX25</External>
		<External>RBX26</External>
		<External>RBX27</External>
		<External>RBX28</External>
		<External>RBX29</External>
		<External>RBX30</External>
	</Item>
	<Item class="Selection" referent="RBX31">
		<Properties>
			<string name="Name">Selection</string>
			<bool name="archivable">true</bool>
		</Properties>
	</Item>
	<Item class="Lighting" referent="RBX32">
		<Properties>
			<Color3 name="BottomAmbientV9">4286227320</Color3>
			<Color3 name="ClearColor">4278190080</Color3>
			<float name="GeographicLatitude">41.7332993</float>
			<string name="Name">Lighting</string>
			<Color3 name="SpotLightV9">4290094694</Color3>
			<string name="TimeOfDay">14:00:00</string>
			<Color3 name="TopAmbientV9">4293848566</Color3>
			<bool name="archivable">true</bool>
		</Properties>
	</Item>
	<Item class="ControllerService" referent="RBX33">
		<Properties>
			<string name="Name">Instance</string>
			<bool name="archivable">true</bool>
		</Properties>
	</Item>
	<Item class="Timer" referent="RBX34">
		<Properties>
			<string name="Name">Instance</string>
			<bool name="archivable">true</bool>
		</Properties>
	</Item>
	<External>RBX35</External>
	<External>RBX36</External>
</roblox>