<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>
				<token name="Controller">0</token>
				<bool name="ControllerFlagShown">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">tray</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">5</token>
				<CoordinateFrame name="CoordinateFrame">
					<X>-10.9790096</X>
					<Y>16.7235889</Y>
					<Z>42.0963135</Z>
					<R00>-0.833572686</R00>
					<R01>0.401958078</R01>
					<R02>-0.378928483</R02>
					<R10>2.98023224e-008</R10>
					<R11>0.685954809</R11>
					<R12>0.727644205</R12>
					<R20>0.552410245</R20>
					<R21>0.606544137</R21>
					<R22>-0.571793258</R22>
				</CoordinateFrame>
				<CoordinateFrame name="Focus">
					<X>-4.82139683</X>
					<Y>4.89932013</Y>
					<Z>51.3878632</Z>
					<R00>0.116630912</R00>
					<R01>6.82005286e-010</R01>
					<R02>-0.993175328</R02>
					<R10>-4.86463447e-009</R10>
					<R11>1</R11>
					<R12>1.15426474e-010</R12>
					<R20>0.993175328</R20>
					<R21>4.81797269e-009</R21>
					<R22>0.116630912</R22>
				</CoordinateFrame>
				<string name="Name">Instance</string>
				<bool name="archivable">true</bool>
			</Properties>
		</Item>
		<Item class="Model" referent="RBX5">
			<Properties>
				<token name="Controller">7</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">Figure</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">4</token>
					<token name="BottomSurfaceInput">0</token>
					<int name="BrickColor">24</int>
					<CoordinateFrame name="CFrame">
						<X>NAN</X>
						<Y>NAN</Y>
						<Z>NAN</Z>
						<R00>NAN</R00>
						<R01>NAN</R01>
						<R02>NAN</R02>
						<R10>NAN</R10>
						<R11>NAN</R11>
						<R12>NAN</R12>
						<R20>NAN</R20>
						<R21>NAN</R21>
						<R22>NAN</R22>
					</CoordinateFrame>
					<bool name="CanCollide">true</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">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">Head</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>2</X>
						<Y>1</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
				<Item class="SpecialMesh" referent="RBX7">
					<Properties>
						<Content name="MeshId"><null></null></Content>
						<token name="MeshType">0</token>
						<string name="Name">Mesh</string>
						<Vector3 name="Scale">
							<X>1.25</X>
							<Y>1.25</Y>
							<Z>1.25</Z>
						</Vector3>
						<Content name="TextureId"><null></null></Content>
						<Vector3 name="VertexColor">
							<X>1</X>
							<Y>1</Y>
							<Z>1</Z>
						</Vector3>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Decal" referent="RBX8">
					<Properties>
						<token name="Face">5</token>
						<string name="Name">face</string>
						<float name="Shiny">20</float>
						<float name="Specular">0</float>
						<Content name="Texture"><binary>iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAAK3RFWHRDcmVhdGlvbiBUaW1l
AFR1ZSA0IE9jdCAyMDA1IDExOjExOjQ4IC0wODAwk+5fZwAAAAd0SU1FB9UMAhUYB+dMbtcA
AAAJcEhZcwAAHsEAAB7BAcNpVFMAAAAEZ0FNQQAAsY8L/GEFAAAE7klEQVR42u3cV4gdVRzH
8b8tUaPR2GJ3DXYx2MGGEVER9MWGBV9E8El8URDBXlERfPHFF0EEO4oiKoqYJ8WGDQULEWvs
NVHXZP39+N9hr9e5d7O7kz23fD/wA80umZNzzpw5M3PORAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAMPCWKa8qPyjPK8cqG5Uu1KjaQDlOuVP5UPlOeUm5WlnS+nlTtlVuUH5S/lHW
KOPK18ptyvalK2MULY1seDfERCtrlT+VJ5SxBo91bmRjr+04ljvCSuUWZV7pChkliyLP+Iku
+Uu5vMHjvRD/bfz2uBN8qhxWulJGyXnRvfGrvNbg8b7vcRx3jF+VC0tXynRsWLoAszTW0O+s
q4mGfqdvDHoH+CZ6V7h/trLB470ek2d853GqY71fulJGyc6R192667L/bLVyTYPHO1P5POon
gV9F3nlsUrpSRs0Jygfx/07g//c9+pIGj7W1cqXyS2Sjt98BuKMtKl0Zo2qZ8mbk/fnvyrfK
y8qC9XS8I5VHlDeU+yJn/gP5IKjJhySlbaEcrixUVkRei9eULhQAAAAAAAAAAABGh1++9dVb
w74qzBBzw+8WuXbhqMhFIz9GLi3HkPOyu2OUp5XfIheReAHL+aULNigOUu5RHlIuVrYqXaBp
2ld5O/Jsr1YteZ3CJ6ULNggWR670ceVVFedVOCeVLtg68OX1iMhdSp3L1ao1hJjCzZE7fDor
8F3lFGXj0gXswo1/kfJWTHbe9nix6o2lCzkIbo3sAHW7cL5QLlM2K13IDh617orJ631n5/W/
525l19IFHQQ7KM9EnjF1u3H8509GLgrdtGA5PcvfTjkncsh3ueqGfS8pvzbYRDotB0ROAr0t
y5VYNxp8rFzX+t35c1w+rzw+Ubk/crl43R4Fl/G9yMsC+wZmwJXsfYBe6dttX543gn6k3K7s
P0flOlC5N3KHUvssvz1/K48qBweNPyseZveOrHCPBt12A7khPMO+Sdkvmt8b4BFmTLkickiv
NojUnfVfKtcrm5euvGGypXKBsjzyrO+2W9cN4LuFOyJvGxc2cGx/i+Aq5ZUpju1O+JxyWpSd
mwwtjwbe8vVg9N6u7fjDEf6GwGPK0TGzzTBjkV8g8VxjddTP7qt49u+7l8UzPNacV+Sgctn9
yZazlLMjnxhuE/XvN6qz0lvHPBnzTN0PmD6L7ByrIq/V/j1/4cNDtu9A9ol8jHuysld0v+X0
aOPtaN49/IDybOSEsO8NcgeouMH2UI6P3L3rly3dHhdXlwbfi/tljBvNncBntidyPqt95u4Z
2eC7RG74nN+qq7r6cufx5ehh5cXI+QcveQpw4/jhyiWRDfJHTH15qOIGG2+l+vhT+8/r/g53
Ip/xlyq7B29W+4bPVg/dbhhvD/dZXvf8YCZxZ3DH8uTSXwtbGnP/3KFRw3AJ6MZnpIdyf8Pv
dOUQZcfoPZzXqS4bHh38GtfXdz999FxiVel/5GwNcwdo51sxTxJPVc6InDN4QjevRx1UD3E8
q39HeTzy1m5FDNE1flQ6QDvP8A+NnDR6CN8p8hmBHxj57aLP6p8j7w58p/BU5Nk+Xrrg68Mo
doB27gy+lVzQ+m9fNjy58+fe3AmqN3oAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AABA8/4FruSQaL7NHwYAAAAASUVORK5CYII=</binary></Content>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
			</Item>
			<Item class="Part" referent="RBX9">
				<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">4</token>
					<token name="BottomSurfaceInput">0</token>
					<int name="BrickColor">194</int>
					<CoordinateFrame name="CFrame">
						<X>NAN</X>
						<Y>NAN</Y>
						<Z>NAN</Z>
						<R00>NAN</R00>
						<R01>NAN</R01>
						<R02>NAN</R02>
						<R10>NAN</R10>
						<R11>NAN</R11>
						<R12>NAN</R12>
						<R20>NAN</R20>
						<R21>NAN</R21>
						<R22>NAN</R22>
					</CoordinateFrame>
					<bool name="CanCollide">true</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">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</float>
					<float name="LeftParamB">0</float>
					<token name="LeftSurface">2</token>
					<token name="LeftSurfaceInput">0</token>
					<bool name="Locked">false</bool>
					<string name="Name">Torso</string>
					<float name="Reflectance">0</float>
					<float name="RightParamA">0</float>
					<float name="RightParamB">0</float>
					<token name="RightSurface">2</token>
					<token name="RightSurfaceInput">0</token>
					<Vector3 name="RotVelocity">
						<X>NAN</X>
						<Y>NAN</Y>
						<Z>NAN</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>NAN</X>
						<Y>NAN</Y>
						<Z>NAN</Z>
					</Vector3>
					<bool name="archivable">true</bool>
					<token name="shape">1</token>
					<Vector3 name="size">
						<X>2</X>
						<Y>2</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
				<Item class="Decal" referent="RBX10">
					<Properties>
						<token name="Face">5</token>
						<string name="Name">roblox</string>
						<float name="Shiny">20</float>
						<float name="Specular">0</float>
						<Content name="Texture"><binary>iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAAK3RFWHRDcmVhdGlvbiBUaW1l
AFR1ZSA0IE9jdCAyMDA1IDEyOjA4OjU2IC0wODAwjyq8YAAAAAd0SU1FB9UKBBMOFj/CLTwA
AAAJcEhZcwAAHsIAAB7CAW7QdT4AAAAEZ0FNQQAAsY8L/GEFAAAYfklEQVR42u3dCXxU1b0H
8N+dfTKTZLKRPWxhE0UUQVllrSDu2LovrQjPSi2tW6346mtdWhG1reKG9VVFrX70U1d8FhG0
LCqoqICyJkACJCRkkpnMPvedc2cymSSzhKWl4O/7+QwzmTn33nPv3HPO/5x75gIQERERERER
ERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERER
EREREREREREREREREREREREREREREREREREdX5SDSbxzzs9U75NPAIHA0c53WrqBA1Ewfz6y
zjkHYbcbe267Fa0LHz/a2Tpqsh955OeFc+f+Kf69qkmTWvwffGBPtkz/gzw/6NijO9oZIKKj
p1s1vOv11wy1F81wiZdm+bcqF9QdwbojHO763uGsP259+unTzwu9996TCIWKoYjdVY5Qo6aq
kUfnt8X6lc7bSJL2sPazm8dMFenachPfom85+eRl6vr1E7osG5dXRgDHv259wVUjRy7zr16t
nSwhmw2GVavgGDTwyORAnGsH7PZYt8LTpxLlb/4dof79Dn2nGhvh/tlN8L36avtmdHrkOJug
mE1HJNvh5ma4z78AwZUrY+8Fsx3Ir9vbpQJQfT64LpqB4D/+0f5eaSnsr70G4ylDu1YY3eCe
dxf8oovTVlgbX1iMvj+6uGu6d96Ff8YMrcLIeeRhR8HcXzj3PbPoTOd1Mz+Uh0oufUCk6Ttl
UiRf7lY05eVp6VkBHP+69QVvjjT68OsNaK6uwaDSHkc0Ew1z5iD82GPw6I3Y9MEqnHXmaYe9
zrDfj/3iRFZcLi3zX//qbky6/zcplwlC7d7Ko7yr18AzapT2utVkgXf5P9F35KkJ06p796Gp
pEQrsHV2B/QbNqB/RTHCB7PBTpqvuRah556DV7yu/exrnHXaiWgQ+9B5L7yzZsPz9NMwDh26
unjhYxN3jjvzAIJBi/zsk+kzMO3NV6BviwB8XtRbMwCDwdc/ELAc9hdB/9EMB5P4yx7lOCs3
K2WaLd9uSb8iGWUaDKis7AWdbP127dLeDouT0KA7Mo2O6vHEoooWgxl5E8YnTysK5e7t1Wht
9aZdb2HvctjtGdprpaGhfb9LemFEn4qky/nlPkZb66qhwzEp13HY+2gZMwZuUQEYxeutr76G
iacMEn2ert0A46xZ8Ih0wW3b+u+64MIXRHdILoJmWxb6z/1Z5DuIav7VHVo+zcOG3YE1a47I
d0H/udJWAP5f/1qpuu8+7fU+ezbyrBY4U6RvbDiQfqviBFONcaG4CKc14kTUHaEKQJzkUKL9
5ICIXDJ690qZvKXJiRanK+1qc8uKY68Vb3uF0ZjlQKYo1KEky4VbWmKvncWlcGRY0XqYu2jo
2VN71ovHgY3fIpwkgNGfNky26FBbWvJgNs9oq4j8JjMKR57eoQvi/+AD7dnx+/uXYfwE0PEt
bQVg3LEj9rr6hJPTrnDAmNO7teGarBzsr61BD5sV/u82axmx+UX4ef0svDtvHsr69TnknTIH
fMhf8PtYBOC2Z6LckZk0fbjpAApPG4qSbqz740efwbQbfxxZrqYm9r6+rAyZRiOaknQjdFVV
7ce0uARGraKLpA2Liuq7NZ/DWVefdLtBoxknjTsd2Zm22Htq3b7Y66nvvIpVX92JkaeeCFeC
PJhuvQX+u/8H2L9f+zskCn3dG+9ikK09yvc++ijUr7+GeerU/80eP2H9IX8BdMxI3wW4//5c
vPSSdkqZ+/RKm7y7MwR8op/psJgjmWjYH3t/wqZ10F9xYdKWtLvi+9bN9iwUZNmTJxYFL9xp
mUS8oiLJOXFw+zailaPWfhaVpDyY4Wg3R6YJZ2drrXbb9jy/vBlFf/wjytNsf/FlszHzhYUi
yo+02IGq6thn2WoI7/3Xz3HGP5dAMRm7VAG2O++MVABRn//0l5g6Zljsb7W+Hi033QTFbt9X
seipn6CsAnT8S1sBOHdW95fPsmfZo8+ht8od5ObCeeNNMLX1V/3+9s9EK6obNgy6nJxDW3dr
K4Lr1kF1tYfz4bw82M0muJMsEmhsTLlKJT8fuquugkNEJsW5cfmKFmpZmNWKcvhSrCO0ZWvs
taOsqOP2lyyJPKfbtz21CIloQa/Ta38G6ztGDBd9tgzLVqzBpCnjukYBhvaveuuAkzDuwXs7
9P0bhgyRXbNQ3pIlw5WyioMbDaVjVtoKINjQoI36yVPFkJGRspVU1TTnjSjUSu/eMJw0BAWD
BnT5OKzXIzRhIjJkn9VmwyHx+bTtBN56SxsHkEImc+plvIkH/1SrFRCVnlFWSCcPgc5o7Jhf
OdCISCCvs6TbRiStPH56U6dLkaFuxjudLmGq7o5VmvyOmtd/jdDE0QkHAyG2GxTdIsOoke2j
/oL/q6+gimOg5OR8Y9DrD3dogo4haSsAT+0ebaRJtjm2wh6HftlKnHBK30oYZ16HjJnX48QE
J2jQbIHvnvtQMvzUQ9hAO/+WzXC+/74WDWjrzUoz4u5MMqwpWn710stg/cVc6G0ZXfN7IDLg
KSsAU07qbeiaImnl8bNmd7qSEh8BpVqH7DrEHTe1UwQgv8zaF15C4MbroFjNXboBiljef6AJ
GbfeAqupvTJzLX4RaGqC4fLLX8kaNaoB9L2RdhpaeN06rTSGRPvSq29ZyjA30ey0cE4ulMsv
R+6XXyL/s0+RPXs2jPrEm/3kqutx8mEWfsnUrz9MM2fGdtBdVJwyfTBuMC2mb19kbN6MvHm/
Tlj41WAQ4d2RQUAZumcWF4rn5BFQKFpYZVsvK4sOMYcr/dUHyS72Qx8/aSjaBYl3wfqVeP31
JUjUgcpYsABbH1qIfgP7xt7zbd2K0IPzoRQWbum1ePH9h33w6ZiSNgIIbdqkTflrFSder4Kc
1BGAKBQakVZ/6qmitZ+JjGuugV6G0km0VShySdcpw7t8LrfnbPWJvm+CMFl0OUTICkdG1/kq
pgwrZLsqi6RFFM5U+VbiRuiDontive02WC+9BHqDvmt+RbjetKsG9scehbJ7V3QfFGQXFyGV
cHPkMqCsLGQEEIqrLDqH8onI9lonIpIOEkQucj+V229Hw3lToM+0ddhv01VX4sz4tOKYNo84
XXvR89lnRymKwr7/90zaCiC8bZvWWXfr9CjIzITsySaLAmSr6DOaYHz2L7COHYuQwwG3uWvf
2O8PoXHPXug+W4vARysgT2tV0SFTKxiiHxuX1vPGG9j758eh+BJvtcWWCfMDD6D/kI5TkwP7
6rRnuT5fSUmX9XbId02t9vm+W+9A5ZwbANFCh+R4RPRzryhF3poatK5YCeXdt2H77BP46+ti
yzebMpBls2kVTqJgXg2IaCHaXXAZTDCJiCIQn7at4kzDXFLcYf2hJMdk+N4dWPL6e5hyzYyk
MYncvuemn4tKpAnm6dNvNo4enXoklI5LaSsAUagjPwCSrboI3WWhSHZSqdF0KC6BrrRUK0Rq
gjRyHYFgCDoR+gbarn1r69fH0rQJudwIigKq8yUeqPPbs0UJ7xp8q/EDawZjl/V2INOK7Ydy
87Tr+eFOk5HCYsmQyG+wpQW6vXtFy787Nqinfa7TRQfVUkxiinaPZEXX/kOqg5v0pDMaurWc
NRSEWxw3NUVa+Vm4rk7Ll65Xr3olO/twZiXTMSp9BdDUpHUnm+wOmEUFIK/YJ4sAFNGSLT9x
BG6YOAEdJgSLs62lsQm+L7+E+533YF2xAgUb18MYV4iCegOMZaXapbq2YWhdQwOMV16BVFek
y8TjnWeew4Dh8ztcRtPX79dO/YD411FRoc1eTDa8bd63D1WOHii4/Ap4Rdn0xH0WWrYcLffc
D8fqj5Hn9SRcfn+mA4WOLBFhqGLZBAVufwMM0TDfabKi3GLV0rUF8AZ5dcGXcnQF++1ZKB92
ElrEcm0lVe/3JyzeTqMZFaOHi/woKX/doAZCWtdCDQTSTUGg41T6iUDRlqtaVADy92LNqc4o
VysOiMIgk/ji0qnbqgDRp85b9ymS9ZSDovU3ZWdqy7UVBaXFhQyk5xL971a140SezJrd2t9e
owVZ+XnwqMkrLpNo0bO8bqzduAPnlBehKf7DkWfA8ueHEFy7DoYPlgLLl3cZfGvJykam1QKX
qiTchr66GobocWzMykHPDKs4jqo2diB5P/0MxuqqlPvoG3IK8spLtf1oY0tw9UDGUBseWojB
QwbB2+m7qq+qQV5FMXRtEcgLz8PoeBPeRYt+q86du0B55JHu9UXouNHtHwPtKSjRCpQ7RfTp
21mDUV+uxkfba1DcuxQH2tJW9gLWrETL6jUwPf887M8/1+Xau8dogkMUpGaxTNuQmEGE/ekq
AHnGmop6aMuEo9tTRbhuFa2uPM09JhPshflaXhJ1ImT/3FZfjx4eFyovuwDLpkxF89nTUXLG
CJQM6IWgKNgYPFh7NF9ztYhyQlA3bUL25ZfB/M032jq8ubkI2SxoURJXMsq3m9E2TOkX++k3
6CEnJjuV6Bcw5KTII434+EPx+WEVx7Dz9ZTlk89Fn+uvhEe790HHzwpGn44Pn3sFIyaNinxm
y4D1+lnQPb7QtKu6+l7xzu3dPR/o+NDtu1G0ZjsQUCOFKJDgIdsi/Z4aODxu+BcuxM5tuyAn
38bSi1bH16sX3BddiAN3zkPzVVcj2Kf9cpQWAVgM2npi6+3G4Jjs6YfsmV2WU1oj1YjXZIHR
bNIii4T59ooi6/FoUYtDVAI9v1qHylcWI+uRh7DrpddQu3Y9XPVNCIZUrbLx6RQEigrhmzKl
Pe+OHG1WnSfJNpSW9uHHHJcTu/Y3a6F3jogCbDj4h1U8DMuWaV2ueG5rBvQXX6iNvSTKh7HZ
ifCS9+APhWLvNZ57LlTx3QQ++WSsesMNvEPU90y3IwCfaJ1lYZMFzZjgc1mArPX7kOX3oHbx
YuyffgEqK8tR25Zehp3lZdrDe8YoGEUobZGDadu3acuH9AZYRQUgT8q201rpxgw5VfZzRQUQ
iGvt1FA49ks9v9msVQCtceuNF/YHYhNxsnytcHy3AUHxaDbbsLHZC/2UEAxZuTDmZGtpZEWm
LyiAf8xY4OGHI3kXx0bOz/eriQcarXGX+RytLdjc5MZpIr+OaLfkYK+9yaPiXb26y/HxWkQF
MG0qVBFhJNpXk9sF9aOPEFTVWHDgmzwZefKKR23tCHEcZAXAwcDvkZQVQKC29uMdJSXaCXpg
8DC4xFnTmuJszRF9XXliDdpbjfpzpuCNu+7BxbfPwdrOCeVMuPPPQ8O558Dx1CKU/3Q2fKKv
XmC1olGsv21wzOFsRjp+oxlKjgPOuHxZ5E9vo4NqXpsNVrsdstfuT5D3jLq9HS7DybNflgKH
z42zX3oafvFoyshCVc++sL3+GgoG9NYqtZDbq12+1CYalZRpy8rpPMEE28jati32uszrwtbL
foQn5/038vr1OaRb7thEAR71+65zdj5a+Cwqy4o6HIs2mdE7F12wdgVeXLoKJ04dF6l4DAY0
iIgs/+7f6Hds3/5X8c4Vh5AlOkalrACaP/98jHyWLXhWSb7oAqjwpZi16t24BcVPPTXHP3/+
rIItW4ZMnfcLLNr4HWY8MR/bdXp4lc6bU7D34hmoEBVAY6YDlXoFTn9QhOt6qKJkBPelv7dA
q8UKS74IyeNKd0i2uNHfJXjyCmAy69HiS1xzmVLcvyAcPUD5rSJk37oJm51uZImugE80vDnR
gUCtABeWal0dd4IaJqQXlcT29p9UyxTjN38B/9UXad2eQ/rS1DB0nWZdvj/japReOA3eQNtW
Oho8fXps+5k3zYX3609F5iPb/+7Ou5B77z0Ifvjhpf5ly24wTZyYvual40LKCsC/Y7v2LE/y
zNJCuDziJPclbrPkBafsT1ehYMF9b5kqKp7e9eCDj2Lp0uuvfP4xvL9hA0qefwZ5PXtip79j
N9Ma/UFNi2iljWEVjV7Rfw1FtrF3xGgUnDEGmQ37Em7TKULzDdfeCFtRGdxx1/hyozffkGtp
zOuhNcvu1sT5tlbVxl439x+EQHFpwnRVpT1R1LsCDa2RcQ11527tfW1qb1EPNPvlNhJ0ocVb
u2fNQVAWtm5O+OmOvBVLY6/r8ovg/cMCeDw6Ue913E+dDRg6YSz0ze2zBs/b+gUe+OuHGH7J
5Fj6LQ8/gQFzrtNtu/mW18SfU7qVCTrmpawAWlet1p5lo+8or0SrX4E78aVw5Jh9sDTUw9S3
crdS2S+sqursnZde9oXvby8vnPb5h9g0YRxWPfUWzp58ElY741q+2kioLmf0ycarydV+ArsN
ufjo9Y8Td5JlCy+TKl2H9827I3Pr5cfuknKERLlLlG+LUbSi22q1MP7j6Rej8KXF+M6V/Kah
e7X5yqLbYFVh3ROpOGTu/dnF2kWNZMfGPe48VInHkTRx/EBYN3+nvX7rsTdQbM2XV2G7sC9+
DlmrV3Z4T8YOw3/7UzRP2wCdIbK/Oy77CfrNnQ39F59Pdi1dmm2fPNmZLg907OOoL9H3WMoK
ILxqlfYsxwC+rtYj3xKCKRC5hB//KFdUeJoio+mKomidU/nDkp5/e/lx67XXjhZttX9g3W6c
f8loPPHAIkzKCsWW9Ud/iOMJ6lHdqmJchgq9P279nq7b0x6iK+L1Kgk/t3zRfjNLd51L++FN
b33HNOaAiiIRPdhXvq9FCtUnDEO+YoysL9lDLJchuhMOEQnY1n+hrV+2nwcOuJBjVJEXTpJX
z5F/NAzThmfwpylXYvyEYfJmvl22G2j2Yuwts2PjIearr44dl8m1W7Hu2Rdjad1NwIonX9Q+
2ztr1vKjfWLSv0fKQei224HLf54Z/gPYnn0TZxaaYYnrOMibgKxpDGLUDwYjZ/uWhPeSr71r
Xqlr/oMbxZmWJefCP3PWJTjl4fmoN5fA+MQ9mPTAf8NpsWH+rx7HxB9fiQEZ6NKXTUde2vrW
FUZIFMxpPxoJXbS/vSsrDy//5hlcevV5sBna17nFrSK46EGMvvt2bQ+XDhwGy4uvYnDv3ikv
y21yqci/fSYGvPiX2HvvDR2DugUv4AdDK2A6Ujc1TcEjdi1/YA+YRZfrngtuQL97/4jpFQbE
b3qNCOBHjB0A+/b2Sdm9a2qMO3r1qkMgoE3v/ia3BKv/71voojcoyXS68MNx+doX2PebDSX6
Ewfv+ZfvDB1VKc/WLb/7naredVfs7/0mC/ZkF3ZIk6EG0bOpDoZgZCZ+sv9MYv+rr9oa77jj
E2zdqt1Uz2U0o8bRA/3374YSbaF8onLYbc9BqyXF/ftSqPA0Iae1RbvJJrKzYz+X9ej0Yr25
8Joj8woNohdc1uqE3d0cy6x8bjBaRJ4Kk67fKJYrd9ZrNy+NJ3PfIvrS1Y6iI/c/D6VgFjFN
//rIIKRO5HxDThGCho5jF33dDbC2uuK/DL/4bszON98Yue+881dGdxk7xbF2ZuZpCU5o2gN9
IHKZRzds2KrKdetG/8t3ho6qlGerr6FBrR4tzoFvv9X+ljcFCen0nVagwhCWn0DVnXDC6sqN
GxOeNKrPp2wdPLjUfNpp13pffvl3sp8QFOsyRpaNpJHviUpARgmHwqCGoBOViWnWLBTdfDN2
T5uG8Pbt2qBXqMN6Ve1SmhI3ISbZ/nXaC21Ov65TjKC25V1b9t/xn+mIfYy7P4I/wXblsYjf
P/s555xd8vbbS9TlH5qrbrn174G1a6dCO94KwtHLgcZwMJY+8/bb5hX/4YF7/w07Q0dRyqsA
Rnljzrjf88sf9+rDKS5lWa1J/2cNxWyWZWT3rh/+ULvllCyKpk43+ZAnn1EUTKiHNxlN53DA
2LMnlGhoK7el68Z60+5fsn2LPkzhw72X8aHpznZNY8fW4u23oYyf4KsaPz52vcCg/V+AXfdZ
n5ub/i4lRERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERE
RERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERE
RERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERE
RERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERE
RERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERE
RERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERE
REREREREREREREREREREREREREREREREREREREREREREREREREREREREx6v/B5qI37vMmLq3
AAAAAElFTkSuQmCC</binary></Content>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
			</Item>
			<Item class="Part" referent="RBX11">
				<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">4</token>
					<token name="BottomSurfaceInput">0</token>
					<int name="BrickColor">24</int>
					<CoordinateFrame name="CFrame">
						<X>NAN</X>
						<Y>NAN</Y>
						<Z>NAN</Z>
						<R00>NAN</R00>
						<R01>NAN</R01>
						<R02>NAN</R02>
						<R10>NAN</R10>
						<R11>NAN</R11>
						<R12>NAN</R12>
						<R20>NAN</R20>
						<R21>NAN</R21>
						<R22>NAN</R22>
					</CoordinateFrame>
					<bool name="CanCollide">true</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">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">Left Arm</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>1</X>
						<Y>2</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
			</Item>
			<Item class="Part" referent="RBX12">
				<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">4</token>
					<token name="BottomSurfaceInput">0</token>
					<int name="BrickColor">24</int>
					<CoordinateFrame name="CFrame">
						<X>NAN</X>
						<Y>NAN</Y>
						<Z>NAN</Z>
						<R00>NAN</R00>
						<R01>NAN</R01>
						<R02>NAN</R02>
						<R10>NAN</R10>
						<R11>NAN</R11>
						<R12>NAN</R12>
						<R20>NAN</R20>
						<R21>NAN</R21>
						<R22>NAN</R22>
					</CoordinateFrame>
					<bool name="CanCollide">true</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">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">Right Arm</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>1</X>
						<Y>2</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
			</Item>
			<Item class="Part" referent="RBX13">
				<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">119</int>
					<CoordinateFrame name="CFrame">
						<X>NAN</X>
						<Y>NAN</Y>
						<Z>NAN</Z>
						<R00>NAN</R00>
						<R01>NAN</R01>
						<R02>NAN</R02>
						<R10>NAN</R10>
						<R11>NAN</R11>
						<R12>NAN</R12>
						<R20>NAN</R20>
						<R21>NAN</R21>
						<R22>NAN</R22>
					</CoordinateFrame>
					<bool name="CanCollide">false</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">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">Left Leg</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>1</X>
						<Y>2</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
			</Item>
			<Item class="Part" referent="RBX14">
				<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">119</int>
					<CoordinateFrame name="CFrame">
						<X>NAN</X>
						<Y>NAN</Y>
						<Z>NAN</Z>
						<R00>NAN</R00>
						<R01>NAN</R01>
						<R02>NAN</R02>
						<R10>NAN</R10>
						<R11>NAN</R11>
						<R12>NAN</R12>
						<R20>NAN</R20>
						<R21>NAN</R21>
						<R22>NAN</R22>
					</CoordinateFrame>
					<bool name="CanCollide">false</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">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">Right Leg</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>1</X>
						<Y>2</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
			</Item>
			<Item class="Humanoid" referent="RBX15">
				<Properties>
					<float name="Health">100</float>
					<bool name="Jump">false</bool>
					<float name="MaxHealth">100</float>
					<string name="Name">Humanoid</string>
					<bool name="Sit">false</bool>
					<Vector3 name="TargetPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<Vector3 name="WalkDirection">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<float name="WalkRotationalVelocity">0</float>
					<Ref name="WalkToPart">RBX9</Ref>
					<Vector3 name="WalkToPoint">
						<X>NAN</X>
						<Y>NAN</Y>
						<Z>NAN</Z>
					</Vector3>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX16">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Animate</string>
					<string name="Source">-- Now with exciting TeamColors HACK!&#13;&#10;&#13;&#10;function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;----------------------------- ANIMATION&#13;&#10;&#13;&#10;-- declarations&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Torso = waitForChild(Figure, &quot;Torso&quot;)&#13;&#10;local RightShoulder = waitForChild(Torso, &quot;Right Shoulder&quot;)&#13;&#10;local LeftShoulder = waitForChild(Torso, &quot;Left Shoulder&quot;)&#13;&#10;local RightHip = waitForChild(Torso, &quot;Right Hip&quot;)&#13;&#10;local LeftHip = waitForChild(Torso, &quot;Left Hip&quot;)&#13;&#10;local Neck = waitForChild(Torso, &quot;Neck&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;local pose = &quot;Standing&quot;&#13;&#10;&#13;&#10;local toolAnim = &quot;None&quot;&#13;&#10;local toolAnimTime = 0&#13;&#10;&#13;&#10;local isSeated = false&#13;&#10;&#13;&#10;-- functions&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if isSeated then return end&#13;&#10;&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;pose = &quot;Running&quot;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;pose = &quot;Standing&quot;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;pose = &quot;Dead&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onJumping()&#13;&#10;&#9;isSeated = false&#13;&#10;&#9;pose = &quot;Jumping&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onClimbing()&#13;&#10;&#9;pose = &quot;Climbing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onGettingUp()&#13;&#10;&#9;pose = &quot;GettingUp&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFreeFall()&#13;&#10;&#9;pose = &quot;FreeFall&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFallingDown()&#13;&#10;&#9;pose = &quot;FallingDown&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onSeated()&#13;&#10;&#9;isSeated = true&#13;&#10;&#9;pose = &quot;Seated&quot;&#13;&#10;&#9;print(&quot;Seated&quot;)&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function moveJump()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFreeFall()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 1&#13;&#10;&#9;LeftShoulder.DesiredAngle = -1&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function moveClimb()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveSit()&#13;&#10;&#9;print(&quot;Move Sit&quot;)&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;RightShoulder.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;RightHip.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftHip.DesiredAngle = -3.14 /2&#13;&#10;end&#13;&#10;&#13;&#10;function getTool()&#13;&#10;&#9;&#13;&#10;&#9;kidTable = Figure:children()&#13;&#10;&#9;if (kidTable ~= nil) then&#13;&#10;&#9;&#9;numKids = #kidTable&#13;&#10;&#9;&#9;for i=1,numKids do&#13;&#10;&#9;&#9;&#9;if (kidTable[i].className == &quot;Tool&quot;) then return kidTable[i] end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;c = tool:children()&#13;&#10;&#9;for i=1,#c do&#13;&#10;&#9;&#9;if (c[i].Name == &quot;toolanim&quot; and c[i].className == &quot;StringValue&quot;) then&#13;&#10;&#9;&#9;&#9;return c[i]&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function animateTool()&#13;&#10;&#9;&#13;&#10;&#9;if (toolAnim == &quot;None&quot;) then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 1.57&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Slash&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Lunge&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 1.0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 1.0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function move(time)&#13;&#10;&#9;local amplitude&#13;&#10;&#9;local frequency&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Jumping&quot;) then&#13;&#10;&#9;&#9;moveJump()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;FreeFall&quot;) then&#13;&#10;&#9;&#9;moveFreeFall()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Climbing&quot;) then&#13;&#10;&#9;&#9;moveClimb()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Seated&quot;) then&#13;&#10;&#9;&#9;moveSit()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;if (pose == &quot;Running&quot;) then&#13;&#10;&#9;&#9;amplitude = 1&#13;&#10;&#9;&#9;frequency = 9&#13;&#10;&#9;else&#13;&#10;&#9;&#9;amplitude = 0.1&#13;&#10;&#9;&#9;frequency = 1&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;desiredAngle = amplitude * math.sin(time*frequency)&#13;&#10;&#13;&#10;&#9;RightShoulder.DesiredAngle = -desiredAngle&#13;&#10;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;RightHip.DesiredAngle = desiredAngle&#13;&#10;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#13;&#10;&#13;&#10;&#9;local tool = getTool()&#13;&#10;&#13;&#10;&#9;if tool ~= nil then&#13;&#10;&#9;&#13;&#10;&#9;&#9;animStringValueObject = getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;&#9;if animStringValueObject ~= nil then&#13;&#10;&#9;&#9;&#9;toolAnim = animStringValueObject.Value&#13;&#10;&#9;&#9;&#9;-- message recieved, delete StringValue&#13;&#10;&#9;&#9;&#9;animStringValueObject.Parent = nil&#13;&#10;&#9;&#9;&#9;toolAnimTime = time + .3&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if time &gt; toolAnimTime then&#13;&#10;&#9;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;animateTool()&#13;&#10;&#13;&#10;&#9;&#9;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;-- connect events&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(onJumping)&#13;&#10;Humanoid.Climbing:connect(onClimbing)&#13;&#10;Humanoid.GettingUp:connect(onGettingUp)&#13;&#10;Humanoid.FreeFalling:connect(onFreeFall)&#13;&#10;Humanoid.FallingDown:connect(onFallingDown)&#13;&#10;Humanoid.Seated:connect(onSeated)&#13;&#10;&#13;&#10;-- main program&#13;&#10;&#13;&#10;local nextTime = 0&#13;&#10;local runService = game:service(&quot;RunService&quot;);&#13;&#10;&#13;&#10;while Figure.Parent~=nil do&#13;&#10;&#9;time = runService.Stepped:wait()&#13;&#10;&#9;if time &gt; nextTime then&#13;&#10;&#9;&#9;move(time)&#13;&#10;&#9;&#9;nextTime = time + 0.1&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX17">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">RandomlyWalk</string>
					<string name="Source">bin = script.Parent&#13;&#10;h = bin.Humanoid&#13;&#10;Torso = bin.Torso&#13;&#10;base = game.Workspace.Base&#13;&#10;&#13;&#10;while true do&#13;&#10;wait(3)&#13;&#10;h:MoveTo(Vector3.new(math.random(-245,240), 100, math.random(-240,240)), workspace.Base)&#13;&#10;wait(10)&#13;&#10;h:MoveTo(Vector3.new(Torso.Position.x, Torso.Position.y, Torso.Position.z), Torso)&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Model" referent="RBX18">
			<Properties>
				<token name="Controller">7</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">Figure</string>
				<Ref name="PrimaryPart">RBX19</Ref>
				<bool name="archivable">true</bool>
			</Properties>
			<Item class="Part" referent="RBX19">
				<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">4</token>
					<token name="BottomSurfaceInput">0</token>
					<int name="BrickColor">24</int>
					<CoordinateFrame name="CFrame">
						<X>NAN</X>
						<Y>NAN</Y>
						<Z>NAN</Z>
						<R00>NAN</R00>
						<R01>NAN</R01>
						<R02>NAN</R02>
						<R10>NAN</R10>
						<R11>NAN</R11>
						<R12>NAN</R12>
						<R20>NAN</R20>
						<R21>NAN</R21>
						<R22>NAN</R22>
					</CoordinateFrame>
					<bool name="CanCollide">true</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">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">Head</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>2</X>
						<Y>1</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
				<Item class="SpecialMesh" referent="RBX20">
					<Properties>
						<Content name="MeshId"><null></null></Content>
						<token name="MeshType">0</token>
						<string name="Name">Mesh</string>
						<Vector3 name="Scale">
							<X>1.25</X>
							<Y>1.25</Y>
							<Z>1.25</Z>
						</Vector3>
						<Content name="TextureId"><null></null></Content>
						<Vector3 name="VertexColor">
							<X>1</X>
							<Y>1</Y>
							<Z>1</Z>
						</Vector3>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Decal" referent="RBX21">
					<Properties>
						<token name="Face">5</token>
						<string name="Name">face</string>
						<float name="Shiny">20</float>
						<float name="Specular">0</float>
						<Content name="Texture"><hash>b0c3fd281c77535b29d7d191d47d580e</hash></Content>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
			</Item>
			<Item class="Part" referent="RBX22">
				<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">4</token>
					<token name="BottomSurfaceInput">0</token>
					<int name="BrickColor">194</int>
					<CoordinateFrame name="CFrame">
						<X>NAN</X>
						<Y>NAN</Y>
						<Z>NAN</Z>
						<R00>NAN</R00>
						<R01>NAN</R01>
						<R02>NAN</R02>
						<R10>NAN</R10>
						<R11>NAN</R11>
						<R12>NAN</R12>
						<R20>NAN</R20>
						<R21>NAN</R21>
						<R22>NAN</R22>
					</CoordinateFrame>
					<bool name="CanCollide">true</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">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</float>
					<float name="LeftParamB">0</float>
					<token name="LeftSurface">2</token>
					<token name="LeftSurfaceInput">0</token>
					<bool name="Locked">false</bool>
					<string name="Name">Torso</string>
					<float name="Reflectance">0</float>
					<float name="RightParamA">0</float>
					<float name="RightParamB">0</float>
					<token name="RightSurface">2</token>
					<token name="RightSurfaceInput">0</token>
					<Vector3 name="RotVelocity">
						<X>NAN</X>
						<Y>NAN</Y>
						<Z>NAN</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>NAN</X>
						<Y>NAN</Y>
						<Z>NAN</Z>
					</Vector3>
					<bool name="archivable">true</bool>
					<token name="shape">1</token>
					<Vector3 name="size">
						<X>2</X>
						<Y>2</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
				<Item class="Decal" referent="RBX23">
					<Properties>
						<token name="Face">5</token>
						<string name="Name">roblox</string>
						<float name="Shiny">20</float>
						<float name="Specular">0</float>
						<Content name="Texture"><hash>a7b5654da45eafbc96499a90f764de83</hash></Content>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
			</Item>
			<Item class="Part" referent="RBX24">
				<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">4</token>
					<token name="BottomSurfaceInput">0</token>
					<int name="BrickColor">24</int>
					<CoordinateFrame name="CFrame">
						<X>NAN</X>
						<Y>NAN</Y>
						<Z>NAN</Z>
						<R00>NAN</R00>
						<R01>NAN</R01>
						<R02>NAN</R02>
						<R10>NAN</R10>
						<R11>NAN</R11>
						<R12>NAN</R12>
						<R20>NAN</R20>
						<R21>NAN</R21>
						<R22>NAN</R22>
					</CoordinateFrame>
					<bool name="CanCollide">true</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">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">Left Arm</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>1</X>
						<Y>2</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
			</Item>
			<Item class="Part" referent="RBX25">
				<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">4</token>
					<token name="BottomSurfaceInput">0</token>
					<int name="BrickColor">24</int>
					<CoordinateFrame name="CFrame">
						<X>NAN</X>
						<Y>NAN</Y>
						<Z>NAN</Z>
						<R00>NAN</R00>
						<R01>NAN</R01>
						<R02>NAN</R02>
						<R10>NAN</R10>
						<R11>NAN</R11>
						<R12>NAN</R12>
						<R20>NAN</R20>
						<R21>NAN</R21>
						<R22>NAN</R22>
					</CoordinateFrame>
					<bool name="CanCollide">true</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">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">Right Arm</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>1</X>
						<Y>2</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
			</Item>
			<Item class="Part" referent="RBX26">
				<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">119</int>
					<CoordinateFrame name="CFrame">
						<X>NAN</X>
						<Y>NAN</Y>
						<Z>NAN</Z>
						<R00>NAN</R00>
						<R01>NAN</R01>
						<R02>NAN</R02>
						<R10>NAN</R10>
						<R11>NAN</R11>
						<R12>NAN</R12>
						<R20>NAN</R20>
						<R21>NAN</R21>
						<R22>NAN</R22>
					</CoordinateFrame>
					<bool name="CanCollide">false</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">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">Left Leg</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>1</X>
						<Y>2</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
			</Item>
			<Item class="Part" referent="RBX27">
				<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">119</int>
					<CoordinateFrame name="CFrame">
						<X>NAN</X>
						<Y>NAN</Y>
						<Z>NAN</Z>
						<R00>NAN</R00>
						<R01>NAN</R01>
						<R02>NAN</R02>
						<R10>NAN</R10>
						<R11>NAN</R11>
						<R12>NAN</R12>
						<R20>NAN</R20>
						<R21>NAN</R21>
						<R22>NAN</R22>
					</CoordinateFrame>
					<bool name="CanCollide">false</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">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">Right Leg</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>1</X>
						<Y>2</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
			</Item>
			<Item class="Humanoid" referent="RBX28">
				<Properties>
					<float name="Health">100</float>
					<bool name="Jump">false</bool>
					<float name="MaxHealth">100</float>
					<string name="Name">Humanoid</string>
					<bool name="Sit">false</bool>
					<Vector3 name="TargetPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<Vector3 name="WalkDirection">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<float name="WalkRotationalVelocity">0</float>
					<Ref name="WalkToPart">RBX22</Ref>
					<Vector3 name="WalkToPoint">
						<X>NAN</X>
						<Y>NAN</Y>
						<Z>NAN</Z>
					</Vector3>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX29">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Animate</string>
					<string name="Source">-- Now with exciting TeamColors HACK!&#13;&#10;&#13;&#10;function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;----------------------------- ANIMATION&#13;&#10;&#13;&#10;-- declarations&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Torso = waitForChild(Figure, &quot;Torso&quot;)&#13;&#10;local RightShoulder = waitForChild(Torso, &quot;Right Shoulder&quot;)&#13;&#10;local LeftShoulder = waitForChild(Torso, &quot;Left Shoulder&quot;)&#13;&#10;local RightHip = waitForChild(Torso, &quot;Right Hip&quot;)&#13;&#10;local LeftHip = waitForChild(Torso, &quot;Left Hip&quot;)&#13;&#10;local Neck = waitForChild(Torso, &quot;Neck&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;local pose = &quot;Standing&quot;&#13;&#10;&#13;&#10;local toolAnim = &quot;None&quot;&#13;&#10;local toolAnimTime = 0&#13;&#10;&#13;&#10;local isSeated = false&#13;&#10;&#13;&#10;-- functions&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if isSeated then return end&#13;&#10;&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;pose = &quot;Running&quot;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;pose = &quot;Standing&quot;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;pose = &quot;Dead&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onJumping()&#13;&#10;&#9;isSeated = false&#13;&#10;&#9;pose = &quot;Jumping&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onClimbing()&#13;&#10;&#9;pose = &quot;Climbing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onGettingUp()&#13;&#10;&#9;pose = &quot;GettingUp&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFreeFall()&#13;&#10;&#9;pose = &quot;FreeFall&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFallingDown()&#13;&#10;&#9;pose = &quot;FallingDown&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onSeated()&#13;&#10;&#9;isSeated = true&#13;&#10;&#9;pose = &quot;Seated&quot;&#13;&#10;&#9;print(&quot;Seated&quot;)&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function moveJump()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFreeFall()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 1&#13;&#10;&#9;LeftShoulder.DesiredAngle = -1&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function moveClimb()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveSit()&#13;&#10;&#9;print(&quot;Move Sit&quot;)&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;RightShoulder.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;RightHip.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftHip.DesiredAngle = -3.14 /2&#13;&#10;end&#13;&#10;&#13;&#10;function getTool()&#13;&#10;&#9;&#13;&#10;&#9;kidTable = Figure:children()&#13;&#10;&#9;if (kidTable ~= nil) then&#13;&#10;&#9;&#9;numKids = #kidTable&#13;&#10;&#9;&#9;for i=1,numKids do&#13;&#10;&#9;&#9;&#9;if (kidTable[i].className == &quot;Tool&quot;) then return kidTable[i] end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;c = tool:children()&#13;&#10;&#9;for i=1,#c do&#13;&#10;&#9;&#9;if (c[i].Name == &quot;toolanim&quot; and c[i].className == &quot;StringValue&quot;) then&#13;&#10;&#9;&#9;&#9;return c[i]&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function animateTool()&#13;&#10;&#9;&#13;&#10;&#9;if (toolAnim == &quot;None&quot;) then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 1.57&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Slash&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Lunge&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 1.0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 1.0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function move(time)&#13;&#10;&#9;local amplitude&#13;&#10;&#9;local frequency&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Jumping&quot;) then&#13;&#10;&#9;&#9;moveJump()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;FreeFall&quot;) then&#13;&#10;&#9;&#9;moveFreeFall()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Climbing&quot;) then&#13;&#10;&#9;&#9;moveClimb()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Seated&quot;) then&#13;&#10;&#9;&#9;moveSit()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;if (pose == &quot;Running&quot;) then&#13;&#10;&#9;&#9;amplitude = 1&#13;&#10;&#9;&#9;frequency = 9&#13;&#10;&#9;else&#13;&#10;&#9;&#9;amplitude = 0.1&#13;&#10;&#9;&#9;frequency = 1&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;desiredAngle = amplitude * math.sin(time*frequency)&#13;&#10;&#13;&#10;&#9;RightShoulder.DesiredAngle = -desiredAngle&#13;&#10;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;RightHip.DesiredAngle = desiredAngle&#13;&#10;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#13;&#10;&#13;&#10;&#9;local tool = getTool()&#13;&#10;&#13;&#10;&#9;if tool ~= nil then&#13;&#10;&#9;&#13;&#10;&#9;&#9;animStringValueObject = getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;&#9;if animStringValueObject ~= nil then&#13;&#10;&#9;&#9;&#9;toolAnim = animStringValueObject.Value&#13;&#10;&#9;&#9;&#9;-- message recieved, delete StringValue&#13;&#10;&#9;&#9;&#9;animStringValueObject.Parent = nil&#13;&#10;&#9;&#9;&#9;toolAnimTime = time + .3&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if time &gt; toolAnimTime then&#13;&#10;&#9;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;animateTool()&#13;&#10;&#13;&#10;&#9;&#9;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;-- connect events&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(onJumping)&#13;&#10;Humanoid.Climbing:connect(onClimbing)&#13;&#10;Humanoid.GettingUp:connect(onGettingUp)&#13;&#10;Humanoid.FreeFalling:connect(onFreeFall)&#13;&#10;Humanoid.FallingDown:connect(onFallingDown)&#13;&#10;Humanoid.Seated:connect(onSeated)&#13;&#10;&#13;&#10;-- main program&#13;&#10;&#13;&#10;local nextTime = 0&#13;&#10;local runService = game:service(&quot;RunService&quot;);&#13;&#10;&#13;&#10;while Figure.Parent~=nil do&#13;&#10;&#9;time = runService.Stepped:wait()&#13;&#10;&#9;if time &gt; nextTime then&#13;&#10;&#9;&#9;move(time)&#13;&#10;&#9;&#9;nextTime = time + 0.1&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX30">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">RandomlyWalk</string>
					<string name="Source">bin = script.Parent&#13;&#10;h = bin.Humanoid&#13;&#10;Torso = bin.Torso&#13;&#10;base = game.Workspace.Base&#13;&#10;&#13;&#10;while true do&#13;&#10;wait(3)&#13;&#10;h:MoveTo(Vector3.new(math.random(-240,240), 100, math.random(-240,240)), workspace.Base)&#13;&#10;wait(10)&#13;&#10;h:MoveTo(Vector3.new(Torso.Position.x, Torso.Position.y, Torso.Position.z), Torso)&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Model" referent="RBX31">
			<Properties>
				<token name="Controller">7</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">Figure</string>
				<Ref name="PrimaryPart">RBX32</Ref>
				<bool name="archivable">true</bool>
			</Properties>
			<Item class="Part" referent="RBX32">
				<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">4</token>
					<token name="BottomSurfaceInput">0</token>
					<int name="BrickColor">24</int>
					<CoordinateFrame name="CFrame">
						<X>NAN</X>
						<Y>NAN</Y>
						<Z>NAN</Z>
						<R00>NAN</R00>
						<R01>NAN</R01>
						<R02>NAN</R02>
						<R10>NAN</R10>
						<R11>NAN</R11>
						<R12>NAN</R12>
						<R20>NAN</R20>
						<R21>NAN</R21>
						<R22>NAN</R22>
					</CoordinateFrame>
					<bool name="CanCollide">true</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">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">Head</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>2</X>
						<Y>1</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
				<Item class="SpecialMesh" referent="RBX33">
					<Properties>
						<Content name="MeshId"><null></null></Content>
						<token name="MeshType">0</token>
						<string name="Name">Mesh</string>
						<Vector3 name="Scale">
							<X>1.25</X>
							<Y>1.25</Y>
							<Z>1.25</Z>
						</Vector3>
						<Content name="TextureId"><null></null></Content>
						<Vector3 name="VertexColor">
							<X>1</X>
							<Y>1</Y>
							<Z>1</Z>
						</Vector3>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Decal" referent="RBX34">
					<Properties>
						<token name="Face">5</token>
						<string name="Name">face</string>
						<float name="Shiny">20</float>
						<float name="Specular">0</float>
						<Content name="Texture"><hash>b0c3fd281c77535b29d7d191d47d580e</hash></Content>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
			</Item>
			<Item class="Part" referent="RBX35">
				<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">4</token>
					<token name="BottomSurfaceInput">0</token>
					<int name="BrickColor">194</int>
					<CoordinateFrame name="CFrame">
						<X>NAN</X>
						<Y>NAN</Y>
						<Z>NAN</Z>
						<R00>NAN</R00>
						<R01>NAN</R01>
						<R02>NAN</R02>
						<R10>NAN</R10>
						<R11>NAN</R11>
						<R12>NAN</R12>
						<R20>NAN</R20>
						<R21>NAN</R21>
						<R22>NAN</R22>
					</CoordinateFrame>
					<bool name="CanCollide">true</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">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</float>
					<float name="LeftParamB">0</float>
					<token name="LeftSurface">2</token>
					<token name="LeftSurfaceInput">0</token>
					<bool name="Locked">false</bool>
					<string name="Name">Torso</string>
					<float name="Reflectance">0</float>
					<float name="RightParamA">0</float>
					<float name="RightParamB">0</float>
					<token name="RightSurface">2</token>
					<token name="RightSurfaceInput">0</token>
					<Vector3 name="RotVelocity">
						<X>NAN</X>
						<Y>NAN</Y>
						<Z>NAN</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>NAN</X>
						<Y>NAN</Y>
						<Z>NAN</Z>
					</Vector3>
					<bool name="archivable">true</bool>
					<token name="shape">1</token>
					<Vector3 name="size">
						<X>2</X>
						<Y>2</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
				<Item class="Decal" referent="RBX36">
					<Properties>
						<token name="Face">5</token>
						<string name="Name">roblox</string>
						<float name="Shiny">20</float>
						<float name="Specular">0</float>
						<Content name="Texture"><hash>a7b5654da45eafbc96499a90f764de83</hash></Content>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
			</Item>
			<Item class="Part" referent="RBX37">
				<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">4</token>
					<token name="BottomSurfaceInput">0</token>
					<int name="BrickColor">24</int>
					<CoordinateFrame name="CFrame">
						<X>NAN</X>
						<Y>NAN</Y>
						<Z>NAN</Z>
						<R00>NAN</R00>
						<R01>NAN</R01>
						<R02>NAN</R02>
						<R10>NAN</R10>
						<R11>NAN</R11>
						<R12>NAN</R12>
						<R20>NAN</R20>
						<R21>NAN</R21>
						<R22>NAN</R22>
					</CoordinateFrame>
					<bool name="CanCollide">true</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">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">Left Arm</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>1</X>
						<Y>2</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
			</Item>
			<Item class="Part" referent="RBX38">
				<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">4</token>
					<token name="BottomSurfaceInput">0</token>
					<int name="BrickColor">24</int>
					<CoordinateFrame name="CFrame">
						<X>NAN</X>
						<Y>NAN</Y>
						<Z>NAN</Z>
						<R00>NAN</R00>
						<R01>NAN</R01>
						<R02>NAN</R02>
						<R10>NAN</R10>
						<R11>NAN</R11>
						<R12>NAN</R12>
						<R20>NAN</R20>
						<R21>NAN</R21>
						<R22>NAN</R22>
					</CoordinateFrame>
					<bool name="CanCollide">true</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">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">Right Arm</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>1</X>
						<Y>2</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
			</Item>
			<Item class="Part" referent="RBX39">
				<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">119</int>
					<CoordinateFrame name="CFrame">
						<X>NAN</X>
						<Y>NAN</Y>
						<Z>NAN</Z>
						<R00>NAN</R00>
						<R01>NAN</R01>
						<R02>NAN</R02>
						<R10>NAN</R10>
						<R11>NAN</R11>
						<R12>NAN</R12>
						<R20>NAN</R20>
						<R21>NAN</R21>
						<R22>NAN</R22>
					</CoordinateFrame>
					<bool name="CanCollide">false</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">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">Left Leg</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>1</X>
						<Y>2</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
			</Item>
			<Item class="Part" referent="RBX40">
				<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">119</int>
					<CoordinateFrame name="CFrame">
						<X>NAN</X>
						<Y>NAN</Y>
						<Z>NAN</Z>
						<R00>NAN</R00>
						<R01>NAN</R01>
						<R02>NAN</R02>
						<R10>NAN</R10>
						<R11>NAN</R11>
						<R12>NAN</R12>
						<R20>NAN</R20>
						<R21>NAN</R21>
						<R22>NAN</R22>
					</CoordinateFrame>
					<bool name="CanCollide">false</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">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">Right Leg</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>1</X>
						<Y>2</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
			</Item>
			<Item class="Humanoid" referent="RBX41">
				<Properties>
					<float name="Health">100</float>
					<bool name="Jump">false</bool>
					<float name="MaxHealth">100</float>
					<string name="Name">Humanoid</string>
					<bool name="Sit">false</bool>
					<Vector3 name="TargetPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<Vector3 name="WalkDirection">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<float name="WalkRotationalVelocity">0</float>
					<Ref name="WalkToPart">RBX35</Ref>
					<Vector3 name="WalkToPoint">
						<X>NAN</X>
						<Y>NAN</Y>
						<Z>NAN</Z>
					</Vector3>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX42">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Animate</string>
					<string name="Source">-- Now with exciting TeamColors HACK!&#13;&#10;&#13;&#10;function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;----------------------------- ANIMATION&#13;&#10;&#13;&#10;-- declarations&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Torso = waitForChild(Figure, &quot;Torso&quot;)&#13;&#10;local RightShoulder = waitForChild(Torso, &quot;Right Shoulder&quot;)&#13;&#10;local LeftShoulder = waitForChild(Torso, &quot;Left Shoulder&quot;)&#13;&#10;local RightHip = waitForChild(Torso, &quot;Right Hip&quot;)&#13;&#10;local LeftHip = waitForChild(Torso, &quot;Left Hip&quot;)&#13;&#10;local Neck = waitForChild(Torso, &quot;Neck&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;local pose = &quot;Standing&quot;&#13;&#10;&#13;&#10;local toolAnim = &quot;None&quot;&#13;&#10;local toolAnimTime = 0&#13;&#10;&#13;&#10;local isSeated = false&#13;&#10;&#13;&#10;-- functions&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if isSeated then return end&#13;&#10;&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;pose = &quot;Running&quot;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;pose = &quot;Standing&quot;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;pose = &quot;Dead&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onJumping()&#13;&#10;&#9;isSeated = false&#13;&#10;&#9;pose = &quot;Jumping&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onClimbing()&#13;&#10;&#9;pose = &quot;Climbing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onGettingUp()&#13;&#10;&#9;pose = &quot;GettingUp&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFreeFall()&#13;&#10;&#9;pose = &quot;FreeFall&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFallingDown()&#13;&#10;&#9;pose = &quot;FallingDown&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onSeated()&#13;&#10;&#9;isSeated = true&#13;&#10;&#9;pose = &quot;Seated&quot;&#13;&#10;&#9;print(&quot;Seated&quot;)&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function moveJump()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFreeFall()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 1&#13;&#10;&#9;LeftShoulder.DesiredAngle = -1&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function moveClimb()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveSit()&#13;&#10;&#9;print(&quot;Move Sit&quot;)&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;RightShoulder.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;RightHip.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftHip.DesiredAngle = -3.14 /2&#13;&#10;end&#13;&#10;&#13;&#10;function getTool()&#13;&#10;&#9;&#13;&#10;&#9;kidTable = Figure:children()&#13;&#10;&#9;if (kidTable ~= nil) then&#13;&#10;&#9;&#9;numKids = #kidTable&#13;&#10;&#9;&#9;for i=1,numKids do&#13;&#10;&#9;&#9;&#9;if (kidTable[i].className == &quot;Tool&quot;) then return kidTable[i] end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;c = tool:children()&#13;&#10;&#9;for i=1,#c do&#13;&#10;&#9;&#9;if (c[i].Name == &quot;toolanim&quot; and c[i].className == &quot;StringValue&quot;) then&#13;&#10;&#9;&#9;&#9;return c[i]&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function animateTool()&#13;&#10;&#9;&#13;&#10;&#9;if (toolAnim == &quot;None&quot;) then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 1.57&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Slash&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Lunge&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 1.0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 1.0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function move(time)&#13;&#10;&#9;local amplitude&#13;&#10;&#9;local frequency&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Jumping&quot;) then&#13;&#10;&#9;&#9;moveJump()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;FreeFall&quot;) then&#13;&#10;&#9;&#9;moveFreeFall()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Climbing&quot;) then&#13;&#10;&#9;&#9;moveClimb()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Seated&quot;) then&#13;&#10;&#9;&#9;moveSit()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;if (pose == &quot;Running&quot;) then&#13;&#10;&#9;&#9;amplitude = 1&#13;&#10;&#9;&#9;frequency = 9&#13;&#10;&#9;else&#13;&#10;&#9;&#9;amplitude = 0.1&#13;&#10;&#9;&#9;frequency = 1&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;desiredAngle = amplitude * math.sin(time*frequency)&#13;&#10;&#13;&#10;&#9;RightShoulder.DesiredAngle = -desiredAngle&#13;&#10;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;RightHip.DesiredAngle = desiredAngle&#13;&#10;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#13;&#10;&#13;&#10;&#9;local tool = getTool()&#13;&#10;&#13;&#10;&#9;if tool ~= nil then&#13;&#10;&#9;&#13;&#10;&#9;&#9;animStringValueObject = getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;&#9;if animStringValueObject ~= nil then&#13;&#10;&#9;&#9;&#9;toolAnim = animStringValueObject.Value&#13;&#10;&#9;&#9;&#9;-- message recieved, delete StringValue&#13;&#10;&#9;&#9;&#9;animStringValueObject.Parent = nil&#13;&#10;&#9;&#9;&#9;toolAnimTime = time + .3&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if time &gt; toolAnimTime then&#13;&#10;&#9;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;animateTool()&#13;&#10;&#13;&#10;&#9;&#9;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;-- connect events&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(onJumping)&#13;&#10;Humanoid.Climbing:connect(onClimbing)&#13;&#10;Humanoid.GettingUp:connect(onGettingUp)&#13;&#10;Humanoid.FreeFalling:connect(onFreeFall)&#13;&#10;Humanoid.FallingDown:connect(onFallingDown)&#13;&#10;Humanoid.Seated:connect(onSeated)&#13;&#10;&#13;&#10;-- main program&#13;&#10;&#13;&#10;local nextTime = 0&#13;&#10;local runService = game:service(&quot;RunService&quot;);&#13;&#10;&#13;&#10;while Figure.Parent~=nil do&#13;&#10;&#9;time = runService.Stepped:wait()&#13;&#10;&#9;if time &gt; nextTime then&#13;&#10;&#9;&#9;move(time)&#13;&#10;&#9;&#9;nextTime = time + 0.1&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX43">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">RandomlyWalk</string>
					<string name="Source">bin = script.Parent&#13;&#10;h = bin.Humanoid&#13;&#10;Torso = bin.Torso&#13;&#10;base = game.Workspace.Base&#13;&#10;&#13;&#10;while true do&#13;&#10;wait(3)&#13;&#10;h:MoveTo(Vector3.new(math.random(-240,240), 100, math.random(-240,240)), workspace.Base)&#13;&#10;wait(10)&#13;&#10;h:MoveTo(Vector3.new(Torso.Position.x, Torso.Position.y, Torso.Position.z), Torso)&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Script" referent="RBX44">
			<Properties>
				<bool name="Disabled">false</bool>
				<Content name="LinkedSource"><null></null></Content>
				<string name="Name">DoorScript2</string>
				<string name="Source">print(&quot;Omg a team door! Goodbye spawnkilling!&quot;) -- {made by:yourit12 modeled by:NintendoZACHERY}&#13;&#10;&#13;&#10;Door = script.Parent &#13;&#10;------------------------------------&#13;&#10;modelname=&quot;Admins&quot; -- Put the EXACT name of the team here&#13;&#10;------------------------------------&#13;&#10; &#13;&#10;function onTouched(hit) &#13;&#10;        print(&quot;Door Hit&quot;) &#13;&#10;        local human = hit.Parent:FindFirstChild(&quot;Humanoid&quot;) &#13;&#10;        if (human ~= nil ) then&#13;&#10;                if game.Players:playerFromCharacter(hit.Parent).TeamColor==game.Teams:findFirstChild(modelname).TeamColor then&#13;&#10;                        Door.CanCollide = false &#13;&#10;                        Door.Transparency = 0.5&#13;&#10;                        wait(1) &#13;&#10;                        Door.CanCollide = true &#13;&#10;                        Door.Transparency = 0 &#13;&#10;                        print(&quot;Human touched door&quot;) &#13;&#10;                else&#13;&#10;                        human.Health = 0&#13;&#10;                end&#13;&#10; &#13;&#10;        end &#13;&#10;end &#13;&#10; &#13;&#10;connection = Door.Touched:connect(onTouched)</string>
				<bool name="archivable">true</bool>
			</Properties>
		</Item>
		<Item class="Model" referent="RBX45">
			<Properties>
				<token name="Controller">7</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">Figure</string>
				<Ref name="PrimaryPart">RBX46</Ref>
				<bool name="archivable">true</bool>
			</Properties>
			<Item class="Part" referent="RBX46">
				<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">4</token>
					<token name="BottomSurfaceInput">0</token>
					<int name="BrickColor">24</int>
					<CoordinateFrame name="CFrame">
						<X>NAN</X>
						<Y>NAN</Y>
						<Z>NAN</Z>
						<R00>NAN</R00>
						<R01>NAN</R01>
						<R02>NAN</R02>
						<R10>NAN</R10>
						<R11>NAN</R11>
						<R12>NAN</R12>
						<R20>NAN</R20>
						<R21>NAN</R21>
						<R22>NAN</R22>
					</CoordinateFrame>
					<bool name="CanCollide">true</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">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">Head</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>2</X>
						<Y>1</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
				<Item class="SpecialMesh" referent="RBX47">
					<Properties>
						<Content name="MeshId"><null></null></Content>
						<token name="MeshType">0</token>
						<string name="Name">Mesh</string>
						<Vector3 name="Scale">
							<X>1.25</X>
							<Y>1.25</Y>
							<Z>1.25</Z>
						</Vector3>
						<Content name="TextureId"><null></null></Content>
						<Vector3 name="VertexColor">
							<X>1</X>
							<Y>1</Y>
							<Z>1</Z>
						</Vector3>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Decal" referent="RBX48">
					<Properties>
						<token name="Face">5</token>
						<string name="Name">face</string>
						<float name="Shiny">20</float>
						<float name="Specular">0</float>
						<Content name="Texture"><hash>b0c3fd281c77535b29d7d191d47d580e</hash></Content>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
			</Item>
			<Item class="Part" referent="RBX49">
				<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">4</token>
					<token name="BottomSurfaceInput">0</token>
					<int name="BrickColor">194</int>
					<CoordinateFrame name="CFrame">
						<X>NAN</X>
						<Y>NAN</Y>
						<Z>NAN</Z>
						<R00>NAN</R00>
						<R01>NAN</R01>
						<R02>NAN</R02>
						<R10>NAN</R10>
						<R11>NAN</R11>
						<R12>NAN</R12>
						<R20>NAN</R20>
						<R21>NAN</R21>
						<R22>NAN</R22>
					</CoordinateFrame>
					<bool name="CanCollide">true</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">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</float>
					<float name="LeftParamB">0</float>
					<token name="LeftSurface">2</token>
					<token name="LeftSurfaceInput">0</token>
					<bool name="Locked">false</bool>
					<string name="Name">Torso</string>
					<float name="Reflectance">0</float>
					<float name="RightParamA">0</float>
					<float name="RightParamB">0</float>
					<token name="RightSurface">2</token>
					<token name="RightSurfaceInput">0</token>
					<Vector3 name="RotVelocity">
						<X>NAN</X>
						<Y>NAN</Y>
						<Z>NAN</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>NAN</X>
						<Y>NAN</Y>
						<Z>NAN</Z>
					</Vector3>
					<bool name="archivable">true</bool>
					<token name="shape">1</token>
					<Vector3 name="size">
						<X>2</X>
						<Y>2</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
				<Item class="Decal" referent="RBX50">
					<Properties>
						<token name="Face">5</token>
						<string name="Name">roblox</string>
						<float name="Shiny">20</float>
						<float name="Specular">0</float>
						<Content name="Texture"><hash>a7b5654da45eafbc96499a90f764de83</hash></Content>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
			</Item>
			<Item class="Part" referent="RBX51">
				<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">4</token>
					<token name="BottomSurfaceInput">0</token>
					<int name="BrickColor">24</int>
					<CoordinateFrame name="CFrame">
						<X>NAN</X>
						<Y>NAN</Y>
						<Z>NAN</Z>
						<R00>NAN</R00>
						<R01>NAN</R01>
						<R02>NAN</R02>
						<R10>NAN</R10>
						<R11>NAN</R11>
						<R12>NAN</R12>
						<R20>NAN</R20>
						<R21>NAN</R21>
						<R22>NAN</R22>
					</CoordinateFrame>
					<bool name="CanCollide">true</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">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">Left Arm</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>1</X>
						<Y>2</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
			</Item>
			<Item class="Part" referent="RBX52">
				<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">4</token>
					<token name="BottomSurfaceInput">0</token>
					<int name="BrickColor">24</int>
					<CoordinateFrame name="CFrame">
						<X>NAN</X>
						<Y>NAN</Y>
						<Z>NAN</Z>
						<R00>NAN</R00>
						<R01>NAN</R01>
						<R02>NAN</R02>
						<R10>NAN</R10>
						<R11>NAN</R11>
						<R12>NAN</R12>
						<R20>NAN</R20>
						<R21>NAN</R21>
						<R22>NAN</R22>
					</CoordinateFrame>
					<bool name="CanCollide">true</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">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">Right Arm</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>1</X>
						<Y>2</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
			</Item>
			<Item class="Part" referent="RBX53">
				<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">119</int>
					<CoordinateFrame name="CFrame">
						<X>NAN</X>
						<Y>NAN</Y>
						<Z>NAN</Z>
						<R00>NAN</R00>
						<R01>NAN</R01>
						<R02>NAN</R02>
						<R10>NAN</R10>
						<R11>NAN</R11>
						<R12>NAN</R12>
						<R20>NAN</R20>
						<R21>NAN</R21>
						<R22>NAN</R22>
					</CoordinateFrame>
					<bool name="CanCollide">false</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">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">Left Leg</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>1</X>
						<Y>2</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
			</Item>
			<Item class="Part" referent="RBX54">
				<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">119</int>
					<CoordinateFrame name="CFrame">
						<X>NAN</X>
						<Y>NAN</Y>
						<Z>NAN</Z>
						<R00>NAN</R00>
						<R01>NAN</R01>
						<R02>NAN</R02>
						<R10>NAN</R10>
						<R11>NAN</R11>
						<R12>NAN</R12>
						<R20>NAN</R20>
						<R21>NAN</R21>
						<R22>NAN</R22>
					</CoordinateFrame>
					<bool name="CanCollide">false</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">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">Right Leg</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>1</X>
						<Y>2</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
			</Item>
			<Item class="Humanoid" referent="RBX55">
				<Properties>
					<float name="Health">100</float>
					<bool name="Jump">false</bool>
					<float name="MaxHealth">100</float>
					<string name="Name">Humanoid</string>
					<bool name="Sit">false</bool>
					<Vector3 name="TargetPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<Vector3 name="WalkDirection">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<float name="WalkRotationalVelocity">0</float>
					<Ref name="WalkToPart">RBX49</Ref>
					<Vector3 name="WalkToPoint">
						<X>NAN</X>
						<Y>NAN</Y>
						<Z>NAN</Z>
					</Vector3>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX56">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Animate</string>
					<string name="Source">-- Now with exciting TeamColors HACK!&#13;&#10;&#13;&#10;function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;----------------------------- ANIMATION&#13;&#10;&#13;&#10;-- declarations&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Torso = waitForChild(Figure, &quot;Torso&quot;)&#13;&#10;local RightShoulder = waitForChild(Torso, &quot;Right Shoulder&quot;)&#13;&#10;local LeftShoulder = waitForChild(Torso, &quot;Left Shoulder&quot;)&#13;&#10;local RightHip = waitForChild(Torso, &quot;Right Hip&quot;)&#13;&#10;local LeftHip = waitForChild(Torso, &quot;Left Hip&quot;)&#13;&#10;local Neck = waitForChild(Torso, &quot;Neck&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;local pose = &quot;Standing&quot;&#13;&#10;&#13;&#10;local toolAnim = &quot;None&quot;&#13;&#10;local toolAnimTime = 0&#13;&#10;&#13;&#10;local isSeated = false&#13;&#10;&#13;&#10;-- functions&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if isSeated then return end&#13;&#10;&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;pose = &quot;Running&quot;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;pose = &quot;Standing&quot;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;pose = &quot;Dead&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onJumping()&#13;&#10;&#9;isSeated = false&#13;&#10;&#9;pose = &quot;Jumping&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onClimbing()&#13;&#10;&#9;pose = &quot;Climbing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onGettingUp()&#13;&#10;&#9;pose = &quot;GettingUp&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFreeFall()&#13;&#10;&#9;pose = &quot;FreeFall&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFallingDown()&#13;&#10;&#9;pose = &quot;FallingDown&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onSeated()&#13;&#10;&#9;isSeated = true&#13;&#10;&#9;pose = &quot;Seated&quot;&#13;&#10;&#9;print(&quot;Seated&quot;)&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function moveJump()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFreeFall()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 1&#13;&#10;&#9;LeftShoulder.DesiredAngle = -1&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function moveClimb()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveSit()&#13;&#10;&#9;print(&quot;Move Sit&quot;)&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;RightShoulder.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;RightHip.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftHip.DesiredAngle = -3.14 /2&#13;&#10;end&#13;&#10;&#13;&#10;function getTool()&#13;&#10;&#9;&#13;&#10;&#9;kidTable = Figure:children()&#13;&#10;&#9;if (kidTable ~= nil) then&#13;&#10;&#9;&#9;numKids = #kidTable&#13;&#10;&#9;&#9;for i=1,numKids do&#13;&#10;&#9;&#9;&#9;if (kidTable[i].className == &quot;Tool&quot;) then return kidTable[i] end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;c = tool:children()&#13;&#10;&#9;for i=1,#c do&#13;&#10;&#9;&#9;if (c[i].Name == &quot;toolanim&quot; and c[i].className == &quot;StringValue&quot;) then&#13;&#10;&#9;&#9;&#9;return c[i]&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function animateTool()&#13;&#10;&#9;&#13;&#10;&#9;if (toolAnim == &quot;None&quot;) then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 1.57&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Slash&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Lunge&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 1.0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 1.0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function move(time)&#13;&#10;&#9;local amplitude&#13;&#10;&#9;local frequency&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Jumping&quot;) then&#13;&#10;&#9;&#9;moveJump()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;FreeFall&quot;) then&#13;&#10;&#9;&#9;moveFreeFall()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Climbing&quot;) then&#13;&#10;&#9;&#9;moveClimb()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Seated&quot;) then&#13;&#10;&#9;&#9;moveSit()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;if (pose == &quot;Running&quot;) then&#13;&#10;&#9;&#9;amplitude = 1&#13;&#10;&#9;&#9;frequency = 9&#13;&#10;&#9;else&#13;&#10;&#9;&#9;amplitude = 0.1&#13;&#10;&#9;&#9;frequency = 1&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;desiredAngle = amplitude * math.sin(time*frequency)&#13;&#10;&#13;&#10;&#9;RightShoulder.DesiredAngle = -desiredAngle&#13;&#10;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;RightHip.DesiredAngle = desiredAngle&#13;&#10;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#13;&#10;&#13;&#10;&#9;local tool = getTool()&#13;&#10;&#13;&#10;&#9;if tool ~= nil then&#13;&#10;&#9;&#13;&#10;&#9;&#9;animStringValueObject = getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;&#9;if animStringValueObject ~= nil then&#13;&#10;&#9;&#9;&#9;toolAnim = animStringValueObject.Value&#13;&#10;&#9;&#9;&#9;-- message recieved, delete StringValue&#13;&#10;&#9;&#9;&#9;animStringValueObject.Parent = nil&#13;&#10;&#9;&#9;&#9;toolAnimTime = time + .3&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if time &gt; toolAnimTime then&#13;&#10;&#9;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;animateTool()&#13;&#10;&#13;&#10;&#9;&#9;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;-- connect events&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(onJumping)&#13;&#10;Humanoid.Climbing:connect(onClimbing)&#13;&#10;Humanoid.GettingUp:connect(onGettingUp)&#13;&#10;Humanoid.FreeFalling:connect(onFreeFall)&#13;&#10;Humanoid.FallingDown:connect(onFallingDown)&#13;&#10;Humanoid.Seated:connect(onSeated)&#13;&#10;&#13;&#10;-- main program&#13;&#10;&#13;&#10;local nextTime = 0&#13;&#10;local runService = game:service(&quot;RunService&quot;);&#13;&#10;&#13;&#10;while Figure.Parent~=nil do&#13;&#10;&#9;time = runService.Stepped:wait()&#13;&#10;&#9;if time &gt; nextTime then&#13;&#10;&#9;&#9;move(time)&#13;&#10;&#9;&#9;nextTime = time + 0.1&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX57">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">RandomlyWalk</string>
					<string name="Source">bin = script.Parent&#13;&#10;h = bin.Humanoid&#13;&#10;Torso = bin.Torso&#13;&#10;base = game.Workspace.Base&#13;&#10;&#13;&#10;while true do&#13;&#10;wait(3)&#13;&#10;h:MoveTo(Vector3.new(math.random(-240,240), 100, math.random(-240,240)), workspace.Base)&#13;&#10;wait(10)&#13;&#10;h:MoveTo(Vector3.new(Torso.Position.x, Torso.Position.y, Torso.Position.z), Torso)&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Script" referent="RBX58">
			<Properties>
				<bool name="Disabled">false</bool>
				<Content name="LinkedSource"><null></null></Content>
				<string name="Name">DoorScript2</string>
				<string name="Source">print(&quot;Omg a team door! Goodbye spawnkilling!&quot;) -- {made by:yourit12 modeled by:NintendoZACHERY}&#13;&#10;&#13;&#10;Door = script.Parent &#13;&#10;------------------------------------&#13;&#10;modelname=&quot;Admins&quot; -- Put the EXACT name of the team here&#13;&#10;------------------------------------&#13;&#10; &#13;&#10;function onTouched(hit) &#13;&#10;        print(&quot;Door Hit&quot;) &#13;&#10;        local human = hit.Parent:FindFirstChild(&quot;Humanoid&quot;) &#13;&#10;        if (human ~= nil ) then&#13;&#10;                if game.Players:playerFromCharacter(hit.Parent).TeamColor==game.Teams:findFirstChild(modelname).TeamColor then&#13;&#10;                        Door.CanCollide = false &#13;&#10;                        Door.Transparency = 0.5&#13;&#10;                        wait(1) &#13;&#10;                        Door.CanCollide = true &#13;&#10;                        Door.Transparency = 0 &#13;&#10;                        print(&quot;Human touched door&quot;) &#13;&#10;                else&#13;&#10;                        human.Health = 0&#13;&#10;                end&#13;&#10; &#13;&#10;        end &#13;&#10;end &#13;&#10; &#13;&#10;connection = Door.Touched:connect(onTouched)</string>
				<bool name="archivable">true</bool>
			</Properties>
		</Item>
		<Item class="Script" referent="RBX59">
			<Properties>
				<bool name="Disabled">false</bool>
				<Content name="LinkedSource"><null></null></Content>
				<string name="Name">DoorScript2</string>
				<string name="Source">print(&quot;Omg a team door! Goodbye spawnkilling!&quot;) -- {made by:yourit12 modeled by:NintendoZACHERY}&#13;&#10;&#13;&#10;Door = script.Parent &#13;&#10;------------------------------------&#13;&#10;modelname=&quot;Admins&quot; -- Put the EXACT name of the team here&#13;&#10;------------------------------------&#13;&#10; &#13;&#10;function onTouched(hit) &#13;&#10;        print(&quot;Door Hit&quot;) &#13;&#10;        local human = hit.Parent:FindFirstChild(&quot;Humanoid&quot;) &#13;&#10;        if (human ~= nil ) then&#13;&#10;                if game.Players:playerFromCharacter(hit.Parent).TeamColor==game.Teams:findFirstChild(modelname).TeamColor then&#13;&#10;                        Door.CanCollide = false &#13;&#10;                        Door.Transparency = 0.5&#13;&#10;                        wait(1) &#13;&#10;                        Door.CanCollide = true &#13;&#10;                        Door.Transparency = 0 &#13;&#10;                        print(&quot;Human touched door&quot;) &#13;&#10;                else&#13;&#10;                        human.Health = 0&#13;&#10;                end&#13;&#10; &#13;&#10;        end &#13;&#10;end &#13;&#10; &#13;&#10;connection = Door.Touched:connect(onTouched)</string>
				<bool name="archivable">true</bool>
			</Properties>
		</Item>
		<Item class="Part" referent="RBX60">
			<Properties>
				<bool name="Anchored">false</bool>
				<float name="BackParamA">-0.5</float>
				<float name="BackParamB">0.5</float>
				<token name="BackSurface">2</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">194</int>
				<CoordinateFrame name="CFrame">
					<X>-4.83071184</X>
					<Y>117.567368</Y>
					<Z>-91.2883377</Z>
					<R00>0.50173825</R00>
					<R01>-4.62241491e-021</R01>
					<R02>-0.8650195</R02>
					<R10>2.37983558e-021</R10>
					<R11>1</R11>
					<R12>-3.96333291e-021</R12>
					<R20>0.8650195</R20>
					<R21>-7.00487027e-023</R21>
					<R22>0.50173825</R22>
				</CoordinateFrame>
				<bool name="CanCollide">true</bool>
				<token name="Controller">0</token>
				<bool name="ControllerFlagShown">true</bool>
				<bool name="DraggingV1">false</bool>
				<float name="Elasticity">0.5</float>
				<token name="FormFactor">2</token>
				<float name="Friction">2</float>
				<float name="FrontParamA">-0.5</float>
				<float name="FrontParamB">0.5</float>
				<token name="FrontSurface">2</token>
				<token name="FrontSurfaceInput">0</token>
				<float name="LeftParamA">-0.5</float>
				<float name="LeftParamB">0.5</float>
				<token name="LeftSurface">2</token>
				<token name="LeftSurfaceInput">0</token>
				<bool name="Locked">false</bool>
				<string name="Name">Engine</string>
				<float name="Reflectance">0.200000003</float>
				<float name="RightParamA">-0.5</float>
				<float name="RightParamB">0.5</float>
				<token name="RightSurface">2</token>
				<token name="RightSurfaceInput">0</token>
				<Vector3 name="RotVelocity">
					<X>-5.46190428e-022</X>
					<Y>1.42925501e-021</Y>
					<Z>-5.9593274e-022</Z>
				</Vector3>
				<float name="TopParamA">-0.5</float>
				<float name="TopParamB">0.5</float>
				<token name="TopSurface">2</token>
				<token name="TopSurfaceInput">0</token>
				<float name="Transparency">1</float>
				<Vector3 name="Velocity">
					<X>2.40570489e-018</X>
					<Y>-0.00225291098</Y>
					<Z>-6.39424159e-019</Z>
				</Vector3>
				<bool name="archivable">true</bool>
				<token name="shape">1</token>
				<Vector3 name="size">
					<X>8</X>
					<Y>0.800000012</Y>
					<Z>12</Z>
				</Vector3>
			</Properties>
			<Item class="BodyForce" referent="RBX61">
				<Properties>
					<string name="Name">HoverForce</string>
					<bool name="archivable">true</bool>
					<Vector3 name="force">
						<X>0</X>
						<Y>15142.1357</Y>
						<Z>0</Z>
					</Vector3>
				</Properties>
			</Item>
			<Item class="BodyThrust" referent="RBX62">
				<Properties>
					<string name="Name">LeftThrust</string>
					<bool name="archivable">true</bool>
					<Vector3 name="force">
						<X>-2.39334157e-015</X>
						<Y>2.25291109</Y>
						<Z>6.32253026e-016</Z>
					</Vector3>
					<Vector3 name="location">
						<X>-4</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
				</Properties>
			</Item>
			<Item class="BodyThrust" referent="RBX63">
				<Properties>
					<string name="Name">RightThrust</string>
					<bool name="archivable">true</bool>
					<Vector3 name="force">
						<X>-2.41806815e-015</X>
						<Y>2.25291109</Y>
						<Z>6.46595306e-016</Z>
					</Vector3>
					<Vector3 name="location">
						<X>4</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
				</Properties>
			</Item>
			<Item class="NumberValue" referent="RBX64">
				<Properties>
					<string name="Name">TopSpeed</string>
					<double name="Value">24</double>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="NumberValue" referent="RBX65">
				<Properties>
					<string name="Name">TurnSpeed</string>
					<double name="Value">2</double>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="BodyGyro" referent="RBX66">
				<Properties>
					<float name="D">500</float>
					<string name="Name">Stabilizer</string>
					<float name="P">3000</float>
					<bool name="archivable">true</bool>
					<CoordinateFrame name="cframe">
						<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>
					<Vector3 name="maxTorque">
						<X>400000</X>
						<Y>0</Y>
						<Z>400000</Z>
					</Vector3>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX67">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">EngineScript</string>
					<string name="Source">engine = script.Parent&#13;&#10;r = game:service(&quot;RunService&quot;)&#13;&#10;print(&quot;Loading hovercraft script...&quot;)&#13;&#10;&#13;&#10;wait(0.01)&#13;&#10;&#13;&#10;function mass(thing)&#13;&#10;&#9;if thing.className == &quot;Part&quot; then&#13;&#10;&#9;&#9;return thing:getMass()&#13;&#10;&#9;end&#13;&#10;&#9;if thing.className == &quot;Model&quot; then&#13;&#10;&#9;&#9;local child = thing:children()&#13;&#10;&#9;&#9;local massTotal = 0&#13;&#10;&#9;&#9;for x = 1, #child do&#13;&#10;&#9;&#9;&#9;massTotal = massTotal + mass(child[x])&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;return massTotal&#13;&#10;&#9;end&#13;&#10;&#9;return 0&#13;&#10;end&#13;&#10;&#13;&#10;function Destroy()&#13;&#10;&#9;engine.Stabilizer:remove()&#13;&#10;&#9;engine.LeftThrust:remove()&#13;&#10;&#9;engine.RightThrust:remove()&#13;&#10;&#9;engine.HoverForce:remove()&#13;&#10;end&#13;&#10;&#13;&#10;hovercraftMass = mass(script.Parent.Parent)&#13;&#10;print(&quot;Hovercraft mass calculated to be &quot; .. hovercraftMass .. &quot; units.&quot;)&#13;&#10;print(&quot;Hovercraft script succesfully loaded.&quot;)&#13;&#10;&#13;&#10;connection = script.ChildAdded:connect(onAdded)&#13;&#10;&#13;&#10;while true do&#13;&#10;&#9;if (engine.Parent:findFirstChild(&quot;EngineRequirement&quot;) == nil) then&#13;&#10;&#9;&#9;Destroy()&#13;&#10;&#9;end&#13;&#10;&#9;&#13;&#10;&#9;r.Stepped:wait()&#13;&#10;&#13;&#10;&#9;local dir = engine.CFrame.lookVector&#13;&#10;&#9;--dir = Vector3.new(dir.x, 0, dir.z)&#13;&#10;&#13;&#10;&#9;local speedForce = ((dir.unit * script.Speed.Value) - engine.Velocity) * 1000&#13;&#10;&#9;local dirForce = (dir.unit * (script.Turn.Value / 4 - engine.RotVelocity.y)) * 10000&#13;&#10;&#13;&#10;&#9;engine.LeftThrust.force = speedForce - dirForce&#13;&#10;&#9;engine.RightThrust.force = speedForce + dirForce&#13;&#10;&#13;&#10;&#9;local myHoverHeight = script.HoverHeight.Value + 196.5 * hovercraftMass / script.HoverForce.Value&#13;&#10;&#9;local hover = myHoverHeight - engine.Position.y --script.HoverHeight.Value - engine.Position.y&#13;&#10;&#9;if hover &lt; 0 then&#13;&#10;&#9;&#9;hover = 0&#13;&#10;&#9;end&#13;&#10;&#9;hover = hover * script.HoverForce.Value&#13;&#10;&#9;if hover &gt; script.HoverMaxForce.Value then&#13;&#10;&#9;&#9;hover = script.HoverMaxForce.Value&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;engine.HoverForce.force = Vector3.new(0, hover, 0)&#13;&#10;end</string>
					<bool name="archivable">true</bool>
				</Properties>
				<Item class="NumberValue" referent="RBX68">
					<Properties>
						<string name="Name">Speed</string>
						<double name="Value">0</double>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="NumberValue" referent="RBX69">
					<Properties>
						<string name="Name">HoverHeight</string>
						<double name="Value">118</double>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="NumberValue" referent="RBX70">
					<Properties>
						<string name="Name">HoverForce</string>
						<double name="Value">35000</double>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="NumberValue" referent="RBX71">
					<Properties>
						<string name="Name">Turn</string>
						<double name="Value">0</double>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="NumberValue" referent="RBX72">
					<Properties>
						<string name="Name">HoverMaxForce</string>
						<double name="Value">6000000</double>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
			</Item>
		</Item>
		<Item class="Part" referent="RBX73">
			<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">104</int>
				<CoordinateFrame name="CFrame">
					<X>-4.83071184</X>
					<Y>118.167366</Y>
					<Z>-91.2883377</Z>
					<R00>0.8650195</R00>
					<R01>-4.62241491e-021</R01>
					<R02>0.50173825</R02>
					<R10>3.96333291e-021</R10>
					<R11>1</R11>
					<R12>2.37983558e-021</R12>
					<R20>-0.50173825</R20>
					<R21>-7.00487027e-023</R21>
					<R22>0.8650195</R22>
				</CoordinateFrame>
				<bool name="CanCollide">false</bool>
				<token name="Controller">0</token>
				<bool name="ControllerFlagShown">true</bool>
				<bool name="DraggingV1">false</bool>
				<float name="Elasticity">0.5</float>
				<token name="FormFactor">2</token>
				<float name="Friction">0</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">EngineRequirement</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>-5.46190428e-022</X>
					<Y>1.42925501e-021</Y>
					<Z>-5.9593274e-022</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">1</float>
				<Vector3 name="Velocity">
					<X>2.40606243e-018</X>
					<Y>-0.00225291098</Y>
					<Z>-6.39751877e-019</Z>
				</Vector3>
				<bool name="archivable">true</bool>
				<token name="shape">1</token>
				<Vector3 name="size">
					<X>1</X>
					<Y>0.400000006</Y>
					<Z>1</Z>
				</Vector3>
			</Properties>
			<Item class="Script" referent="RBX74">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">KillScript</string>
					<string name="Source">engine = script.Parent.Parent.Engine&#13;&#10;&#13;&#10;function isOnHoverSled(object)&#13;&#10;&#9;local relPos = engine.CFrame:pointToObjectSpace(object.Position)&#13;&#10;&#13;&#10;&#9;if (relPos.x * 2 &lt;= engine.Size.x + 1) and (relPos.z * 2 &lt;= engine.Size.z + 1) and (relPos.x * 2 &gt;= -engine.Size.x - 1) and (relPos.z * 2 &gt;= -engine.Size.z - 1) and (relPos.y * 2 &gt; engine.Size.y) and (relPos.y &lt; 6) then&#13;&#10;&#9;&#9;return true&#13;&#10;&#9;else&#13;&#10;&#9;&#9;return false&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;while true do&#13;&#10;&#9;wait(0.3)&#13;&#10;&#9;if not isOnHoverSled(script.Parent) then&#13;&#10;&#9;&#9;script.Parent:remove()&#13;&#10;&#9;end&#13;&#10;end</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Part" referent="RBX75">
			<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">4</token>
				<token name="BottomSurfaceInput">0</token>
				<int name="BrickColor">23</int>
				<CoordinateFrame name="CFrame">
					<X>6.5</X>
					<Y>4.60000038</Y>
					<Z>43</Z>
					<R00>0</R00>
					<R01>0</R01>
					<R02>-1</R02>
					<R10>0</R10>
					<R11>1</R11>
					<R12>-0</R12>
					<R20>1</R20>
					<R21>0</R21>
					<R22>-0</R22>
				</CoordinateFrame>
				<bool name="CanCollide">true</bool>
				<token name="Controller">0</token>
				<bool name="ControllerFlagShown">true</bool>
				<bool name="DraggingV1">false</bool>
				<float name="Elasticity">0.5</float>
				<token name="FormFactor">1</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">TeamDoor</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>8</X>
					<Y>8.40000057</Y>
					<Z>1</Z>
				</Vector3>
			</Properties>
			<Item class="Script" referent="RBX76">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">DoorScript2</string>
					<string name="Source">print(&quot;Omg a team door! Goodbye spawnkilling!&quot;) -- {made by:yourit12 modeled by:NintendoZACHERY}&#13;&#10;&#13;&#10;Door = script.Parent &#13;&#10;------------------------------------&#13;&#10;modelname=&quot;Admins&quot; -- Put the EXACT name of the team here&#13;&#10;------------------------------------&#13;&#10; &#13;&#10;function onTouched(hit) &#13;&#10;        print(&quot;Door Hit&quot;) &#13;&#10;        local human = hit.Parent:FindFirstChild(&quot;Humanoid&quot;) &#13;&#10;        if (human ~= nil ) then&#13;&#10;                if game.Players:playerFromCharacter(hit.Parent).TeamColor==game.Teams:findFirstChild(modelname).TeamColor then&#13;&#10;                        Door.CanCollide = false &#13;&#10;                        Door.Transparency = 0.5&#13;&#10;                        wait(1) &#13;&#10;                        Door.CanCollide = true &#13;&#10;                        Door.Transparency = 0 &#13;&#10;                        print(&quot;Human touched door&quot;) &#13;&#10;                else&#13;&#10;                        human.Health = 0&#13;&#10;                end&#13;&#10; &#13;&#10;        end &#13;&#10;end &#13;&#10; &#13;&#10;connection = Door.Touched:connect(onTouched)</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Part" referent="RBX77">
			<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">4</token>
				<token name="BottomSurfaceInput">0</token>
				<int name="BrickColor">26</int>
				<CoordinateFrame name="CFrame">
					<X>-43.5</X>
					<Y>1</Y>
					<Z>59.5</Z>
					<R00>-1</R00>
					<R01>9.46974704e-015</R01>
					<R02>-4.29818637e-012</R02>
					<R10>-9.46974704e-015</R10>
					<R11>1</R11>
					<R12>4.123972e-012</R12>
					<R20>-4.29818637e-012</R20>
					<R21>-4.123972e-012</R21>
					<R22>-1</R22>
				</CoordinateFrame>
				<bool name="CanCollide">true</bool>
				<token name="Controller">0</token>
				<bool name="ControllerFlagShown">true</bool>
				<bool name="DraggingV1">false</bool>
				<float name="Elasticity">0.5</float>
				<token name="FormFactor">1</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">Dissappering Box</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>1</X>
					<Y>1.20000005</Y>
					<Z>1</Z>
				</Vector3>
			</Properties>
			<Item class="Script" referent="RBX78">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Script</string>
					<string name="Source">&#13;&#10;function onTouched(hit)&#13;&#10;&#9;local human = hit.Parent:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;if (human ~= nil) then&#13;&#10;&#9;&#9;human.Health = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if (script.Parent ~= nil) and (script.Parent.className == &quot;Part&quot;) then --Work if in a block&#13;&#10;&#9;connection = script.Parent.Touched:connect(onTouched)&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX79">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Script</string>
					<string name="Source">function onTouched(hit)&#13;&#10;if hit.Name ~= { &quot;tray&quot;, &quot;Left Leg&quot;, &quot;Right Leg&quot; } then hit:remove() end&#13;&#10;end&#13;&#10;&#13;&#10;connection = script.Parent.Touched:connect(onTouched)&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Model" referent="RBX80">
			<Properties>
				<token name="Controller">7</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">Warrior</string>
				<Ref name="PrimaryPart">null</Ref>
				<bool name="archivable">true</bool>
			</Properties>
			<Item class="Humanoid" referent="RBX81">
				<Properties>
					<float name="Health">0</float>
					<bool name="Jump">false</bool>
					<float name="MaxHealth">100</float>
					<string name="Name">Humanoid</string>
					<bool name="Sit">false</bool>
					<Vector3 name="TargetPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<Vector3 name="WalkDirection">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<float name="WalkRotationalVelocity">0</float>
					<Ref name="WalkToPart">null</Ref>
					<Vector3 name="WalkToPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX82">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Health</string>
					<string name="Source">function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;-- declarations&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;Humanoid.Health=500&#13;&#10;-- regeneration&#13;&#10;while true do&#13;&#10;&#9;local s = wait(4)&#13;&#10;&#9;local health = Humanoid.Health&#13;&#10;&#9;if health &gt; 0 and health &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;health = health + 0.08 * s * Humanoid.MaxHealth&#13;&#10;&#9;&#9;if health * 1.05 &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;&#9;Humanoid.Health = health&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;Humanoid.Health = Humanoid.MaxHealth&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="BodyColors" referent="RBX83">
				<Properties>
					<int name="HeadColor">24</int>
					<int name="LeftArmColor">28</int>
					<int name="LeftLegColor">28</int>
					<string name="Name">Body Colors</string>
					<int name="RightArmColor">28</int>
					<int name="RightLegColor">28</int>
					<int name="TorsoColor">28</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="IntValue" referent="RBX84">
				<Properties>
					<string name="Name">Value</string>
					<int name="Value">0</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX85">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Robot</string>
					<string name="Source">------------------&#13;&#10;--SPAWNING--&#13;&#10;------------------&#13;&#10;&#13;&#10;miked=script.Parent&#13;&#10;&#13;&#10;itlh=miked.Torso:findFirstChild(&quot;Left Hip&quot;)&#13;&#10;itlh.Part0=miked.Torso&#13;&#10;itlh.Part1=miked:findFirstChild(&quot;Left Leg&quot;)&#13;&#10;itlh.C0=CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;&#13;&#10;itrh=miked.Torso:findFirstChild(&quot;Right Hip&quot;)&#13;&#10;itrh.Part0=miked.Torso&#13;&#10;itrh.Part1=miked:findFirstChild(&quot;Right Leg&quot;)&#13;&#10;itrh.C0=CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;&#13;&#10;itls=miked.Torso:findFirstChild(&quot;Left Shoulder&quot;)&#13;&#10;itls.Part1=miked.Torso&#13;&#10;itls.C0=CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;itls.Part0=miked:findFirstChild(&quot;Left Arm&quot;)&#13;&#10;&#13;&#10;itrs=miked.Torso:findFirstChild(&quot;Right Shoulder&quot;)&#13;&#10;itrs.Part1=miked.Torso&#13;&#10;itrs.C0=CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;itrs.Part0=miked:findFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;miked.Head:makeJoints()&#13;&#10;------------------&#13;&#10;------------------&#13;&#10;&#13;&#10;&#13;&#10;function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Torso = waitForChild(Figure, &quot;Torso&quot;)&#13;&#10;local RightShoulder = waitForChild(Torso, &quot;Right Shoulder&quot;)&#13;&#10;local LeftShoulder = waitForChild(Torso, &quot;Left Shoulder&quot;)&#13;&#10;local RightHip = waitForChild(Torso, &quot;Right Hip&quot;)&#13;&#10;local LeftHip = waitForChild(Torso, &quot;Left Hip&quot;)&#13;&#10;local Neck = waitForChild(Torso, &quot;Neck&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;local pose = &quot;Standing&quot;&#13;&#10;&#13;&#10;local toolAnim = &quot;None&quot;&#13;&#10;local toolAnimTime = 0&#13;&#10;&#13;&#10;local isSeated = false&#13;&#10;&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if isSeated then return end&#13;&#10;&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;pose = &quot;Running&quot;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;pose = &quot;Standing&quot;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;pose = &quot;Dead&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onJumping()&#13;&#10;&#9;isSeated = false&#13;&#10;&#9;pose = &quot;Jumping&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onClimbing()&#13;&#10;&#9;pose = &quot;Climbing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onGettingUp()&#13;&#10;&#9;pose = &quot;GettingUp&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFreeFall()&#13;&#10;&#9;pose = &quot;FreeFall&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onDancing()&#13;&#10;&#9;pose = &quot;Dancing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFallingDown()&#13;&#10;&#9;pose = &quot;FallingDown&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onSeated()&#13;&#10;&#9;isSeated = true&#13;&#10;&#9;pose = &quot;Seated&quot;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function moveJump()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFreeFall()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1&#13;&#10;&#9;LeftShoulder.DesiredAngle = -1&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFloat()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = -1.57&#13;&#10;end&#13;&#10;&#13;&#10;function moveBoogy()&#13;&#10;while pose==&quot;Boogy&quot; do&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 1.57&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;function moveZombie()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function movePunch()&#13;&#10;&#9;script.Parent.Torso.Anchored=true&#13;&#10;&#9;RightShoulder.MaxVelocity = 60&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;script.Parent.Torso.Anchored=false&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveKick()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveFly()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function moveClimb()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveSit()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;RightHip.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftHip.DesiredAngle = -3.14 /2&#13;&#10;end&#13;&#10;&#13;&#10;function getTool()&#13;&#10;&#9;&#13;&#10;&#9;kidTable = Figure:children()&#13;&#10;&#9;if (kidTable ~= nil) then&#13;&#10;&#9;&#9;numKids = #kidTable&#13;&#10;&#9;&#9;for i=1,numKids do&#13;&#10;&#9;&#9;&#9;if (kidTable[i].className == &quot;Tool&quot;) then return kidTable[i] end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;c = tool:children()&#13;&#10;&#9;for i=1,#c do&#13;&#10;&#9;&#9;if (c[i].Name == &quot;toolanim&quot; and c[i].className == &quot;StringValue&quot;) then&#13;&#10;&#9;&#9;&#9;return c[i]&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function animateTool()&#13;&#10;&#9;&#13;&#10;&#9;if (toolAnim == &quot;None&quot;) then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Slash&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Lunge&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 1.0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 1.0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function move(time)&#13;&#10;&#9;local amplitude&#13;&#10;&#9;local frequency&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Jumping&quot;) then&#13;&#10;&#9;&#9;moveJump()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Zombie&quot;) then&#13;&#10;&#9;&#9;moveZombie()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Boogy&quot;) then&#13;&#10;&#9;&#9;moveBoogy()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Float&quot;) then&#13;&#10;&#9;&#9;moveFloat()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Punch&quot;) then&#13;&#10;&#9;&#9;movePunch()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Kick&quot;) then&#13;&#10;&#9;&#9;moveKick()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Fly&quot;) then&#13;&#10;&#9;&#9;moveFly()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;FreeFall&quot;) then&#13;&#10;&#9;&#9;moveFreeFall()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Climbing&quot;) then&#13;&#10;&#9;&#9;moveClimb()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Seated&quot;) then&#13;&#10;&#9;&#9;moveSit()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;amplitude = 0.1&#13;&#10;&#9;&#9;frequency = 1&#13;&#10;&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;if (pose == &quot;Running&quot;) then&#13;&#10;&#9;&#9;amplitude = 1&#13;&#10;&#9;&#9;frequency = 9&#13;&#10;&#9;elseif (pose == &quot;Dancing&quot;) then&#13;&#10;&#9;&#9;amplitude = 2&#13;&#10;&#9;&#9;frequency = 16&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#13;&#10;&#9;desiredAngle = amplitude * math.sin(time*frequency)&#13;&#10;&#9;if pose~=&quot;Dancing&quot; then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;else&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;end&#13;&#10;&#9;&#9;&#13;&#10;&#13;&#10;&#13;&#10;&#9;local tool = getTool()&#13;&#10;&#13;&#10;&#9;if tool ~= nil then&#13;&#10;&#9;&#13;&#10;&#9;&#9;animStringValueObject = getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;&#9;if animStringValueObject ~= nil then&#13;&#10;&#9;&#9;&#9;toolAnim = animStringValueObject.Value&#13;&#10;&#9;&#9;&#9;-- message recieved, delete StringValue&#13;&#10;&#9;&#9;&#9;animStringValueObject.Parent = nil&#13;&#10;&#9;&#9;&#9;toolAnimTime = time + .3&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if time &gt; toolAnimTime then&#13;&#10;&#9;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;animateTool()&#13;&#10;&#13;&#10;&#9;&#9;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;-- connect events&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;function unequip()&#13;&#10;&#9;local items=script.Parent:children()&#13;&#10;&#9;for i=1, #items do&#13;&#10;&#9;&#9;if items[i].className==&quot;Tool&quot; then items[i]:remove() end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onChatted(msg, recipient) &#13;&#10;&#9;msg = string.lower(msg)&#13;&#10;&#13;&#10;&#9;if string.match(msg, string.lower(script.Parent.Name))~=nil or string.match(msg, &quot;everyone&quot;) then&#13;&#10;&#9;&#9;if string.match(msg, &quot;equip&quot;) then &#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;Hub&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;if string.match(msg, &quot;rocket&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Rocket:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;slingshot&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Slingshot:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;sword&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Sword:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;pbg&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.PBG:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;superball&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Superball:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;trowel&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Trowel:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;bomb&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Bomb:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;unequip&quot;) then unequip() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;run&quot;) then onRunning(1) end&#13;&#10;&#9;&#9;if string.match(msg, &quot;climb&quot;) then onClimbing() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;jump&quot;) then onJumping() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;zombie&quot;) then pose=&quot;Zombie&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;disco&quot;) then pose=&quot;Boogy&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;float&quot;) then pose=&quot;Float&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;punch&quot;) then pose=&quot;Punch&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kick&quot;) then pose=&quot;Kick&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;fly&quot;) then pose=&quot;Fly&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;heal&quot;) then script.Parent.Humanoid.Health=script.Parent.Humanoid.MaxHealth end&#13;&#10;&#9;&#9;if string.match(msg, &quot;defend&quot;) then defence() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;stop&quot;) then pose=&quot;Standing&quot;; proxkill=false; following=false; stopmoving() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;go home&quot;) then following=false; gohome() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;follow&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;followany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;follow(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kill&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;attackany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;attack(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if game.Players.NumPlayers&gt;1 then&#13;&#10;&#9;x=game.Players:children()&#13;&#10;&#9;&#13;&#10;&#9;for i=1, #x do&#13;&#10;&#9;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function onPlayerEntered(Player) &#13;&#10;&#9;while Player.Name==nil do&#13;&#10;&#9;&#9;wait(2)&#13;&#10;&#9;end&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;end&#13;&#10;&#9;else&#13;&#10;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;game.Players.ChildAdded:connect(onPlayerEntered) &#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;dist=20&#13;&#10;&#13;&#10;function followany()&#13;&#10;following=true&#13;&#10;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 6 do&#13;&#10;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then stopmoving() else&#9;wait(0.5) end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function gohome()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(Vector3.new(0,0,0), game.Workspace.Bases.Base)&#13;&#10;end&#13;&#10;function stopmoving()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(script.Parent.Torso.Position, script.Parent.Torso)&#13;&#10;end&#13;&#10;&#13;&#10;function follow(name)&#13;&#10;&#9;following=true&#13;&#10;&#13;&#10;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;if p==nil then return end&#13;&#10;&#9;while following==true do&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attack(name)&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#9;&#9;following=true&#13;&#10;&#9;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;&#9;if p==nil then return end&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#9;local l=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((l.x-q.x)^2)+((l.y-q.y)^2)+((l.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;if (q.y-l.y)&gt;3 and (q.y-l.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attackany()&#13;&#10;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#13;&#10;&#9;following=true&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;slash()&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;if target.Parent==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then &#13;&#10;&#9;&#9;&#9;&#9;&#9;stopmoving() &#13;&#10;&#9;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=target.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if (q.y-p.y)&gt;3 and (q.y-p.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function patrol()&#13;&#10;&#9;if points==nil then&#13;&#10;&#9;&#9;points=0&#13;&#10;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp1&quot;)~=nil then&#13;&#10;&#9;&#9;pp1=game.Workspace:findFirstChild(&quot;pp1&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp2&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;pp2=game.Workspace:findFirstChild(&quot;pp2&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp3&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;pp3=game.Workspace:findFirstChild(&quot;pp3&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp4&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;pp4=game.Workspace:findFirstChild(&quot;pp4&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp5&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;pp5=game.Workspace:findFirstChild(&quot;pp5&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp6&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp6=game.Workspace:findFirstChild(&quot;pp6&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp7&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp7=game.Workspace:findFirstChild(&quot;pp7&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp8&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp8=game.Workspace:findFirstChild(&quot;pp8&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp9&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp9=game.Workspace:findFirstChild(&quot;pp9&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if points&lt;1 then return end&#13;&#10;&#9;patrolling=true&#13;&#10;&#9;local time=2&#13;&#10;&#9;if points==1 then return end&#13;&#10;&#9;if points&gt;1 then&#13;&#10;&#9;&#9;while patrolling==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp1.Position, pp1)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp2.Position, pp2)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;if points&gt;2 then&#13;&#10;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp3.Position, pp3)&#13;&#10;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;if points&gt;3 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp4.Position, pp4)&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;if points&gt;4 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp5.Position, pp5)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;5 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp6.Position, pp6)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;6 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp7.Position, pp7)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp8.Position, pp8)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp9.Position, pp9)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function goto(pos,part)&#13;&#10;while true do&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function slash()&#13;&#10;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;wait(.3)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -2.14&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;&#9;wait(.2)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function defence()&#13;&#10;&#9;proxkill=true&#13;&#10;&#9;while proxkill==true do&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local p=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if p~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local p=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;dist and d&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local ex=Instance.new(&quot;Explosion&quot;)&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Position=p&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Parent=game.Workspace&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#9;&#9;&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;wait(1)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(onJumping)&#13;&#10;Humanoid.Climbing:connect(onClimbing)&#13;&#10;Humanoid.GettingUp:connect(onGettingUp)&#13;&#10;Humanoid.FreeFalling:connect(onFreeFall)&#13;&#10;Humanoid.FallingDown:connect(onFallingDown)&#13;&#10;Humanoid.Seated:connect(onSeated)&#13;&#10;&#13;&#10;&#13;&#10;--[[&#13;&#10;&#13;&#10;function newSound(id)&#13;&#10;&#9;local sound = Instance.new(&quot;Sound&quot;)&#13;&#10;&#9;sound.SoundId = id&#13;&#10;&#9;sound.Parent = script.Parent.Head&#13;&#10;&#9;return sound&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;local sDied = newSound(&quot;rbxasset://sounds/uuhhh.wav&quot;)&#13;&#10;local sFallingDown = newSound(&quot;rbxasset://sounds/splat.wav&quot;)&#13;&#10;local sFreeFalling = newSound(&quot;rbxasset://sounds/swoosh.wav&quot;)&#13;&#10;local sGettingUp = newSound(&quot;rbxasset://sounds/hit.wav&quot;)&#13;&#10;local sJumping = newSound(&quot;rbxasset://sounds/button.wav&quot;)&#13;&#10;local sRunning = newSound(&quot;rbxasset://sounds/bfsl-minifigfoots1.mp3&quot;)&#13;&#10;sRunning.Looped = true&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;sDied:play()&#13;&#10;end&#13;&#10;&#13;&#10;function onState(state, sound)&#13;&#10;&#9;if state then&#13;&#10;&#9;&#9;sound:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sound:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;sRunning:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sRunning:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(function(state) onState(state, sJumping) end)&#13;&#10;Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end)&#13;&#10;Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end)&#13;&#10;Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end)&#13;&#10;--]]&#13;&#10;&#13;&#10;local nextTime = 0&#13;&#10;local runService = game:service(&quot;RunService&quot;);&#13;&#10;&#13;&#10;while Figure.Parent~=nil do&#13;&#10;&#9;time = runService.Stepped:wait()&#13;&#10;&#9;if time &gt; nextTime then&#13;&#10;&#9;&#9;move(time)&#13;&#10;&#9;&#9;nextTime = time + 0.1&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX86">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Follow</string>
					<string name="Source">local larm = script.Parent:FindFirstChild(&quot;Left Arm&quot;)&#13;&#10;local rarm = script.Parent:FindFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;function findNearestTorso(pos)&#13;&#10;&#9;local list = game.Workspace:children()&#13;&#10;&#9;local torso = nil&#13;&#10;&#9;local dist = 25&#13;&#10;&#9;local temp = nil&#13;&#10;&#9;local human = nil&#13;&#10;&#9;local temp2 = nil&#13;&#10;&#9;for x = 1, #list do&#13;&#10;&#9;&#9;temp2 = list[x]&#13;&#10;&#9;&#9;if (temp2.className == &quot;Model&quot;) and (temp2 ~= script.Parent) then&#13;&#10;&#9;&#9;&#9;temp = temp2:findFirstChild(&quot;Torso&quot;)&#13;&#10;&#9;&#9;&#9;human = temp2:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;&#9;&#9;if (temp ~= nil) and (human ~= nil) and (human.Health &gt; 0) then&#13;&#10;&#9;&#9;&#9;&#9;if (temp.Position - pos).magnitude &lt; dist then&#13;&#10;&#9;&#9;&#9;&#9;&#9;torso = temp&#13;&#10;&#9;&#9;&#9;&#9;&#9;dist = (temp.Position - pos).magnitude&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return torso&#13;&#10;end&#13;&#10;&#13;&#10;while true do&#13;&#10;&#9;wait(0.1)&#13;&#10;&#9;local target = findNearestTorso(script.Parent.Torso.Position)&#13;&#10;&#9;if target ~= nil then&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#9;end&#13;&#10;end</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Model" referent="RBX87">
			<Properties>
				<token name="Controller">7</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">Warrior</string>
				<Ref name="PrimaryPart">null</Ref>
				<bool name="archivable">true</bool>
			</Properties>
			<Item class="Humanoid" referent="RBX88">
				<Properties>
					<float name="Health">0</float>
					<bool name="Jump">false</bool>
					<float name="MaxHealth">100</float>
					<string name="Name">Humanoid</string>
					<bool name="Sit">false</bool>
					<Vector3 name="TargetPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<Vector3 name="WalkDirection">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<float name="WalkRotationalVelocity">0</float>
					<Ref name="WalkToPart">null</Ref>
					<Vector3 name="WalkToPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX89">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Health</string>
					<string name="Source">function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;-- declarations&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;Humanoid.Health=500&#13;&#10;-- regeneration&#13;&#10;while true do&#13;&#10;&#9;local s = wait(4)&#13;&#10;&#9;local health = Humanoid.Health&#13;&#10;&#9;if health &gt; 0 and health &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;health = health + 0.08 * s * Humanoid.MaxHealth&#13;&#10;&#9;&#9;if health * 1.05 &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;&#9;Humanoid.Health = health&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;Humanoid.Health = Humanoid.MaxHealth&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="BodyColors" referent="RBX90">
				<Properties>
					<int name="HeadColor">24</int>
					<int name="LeftArmColor">28</int>
					<int name="LeftLegColor">28</int>
					<string name="Name">Body Colors</string>
					<int name="RightArmColor">28</int>
					<int name="RightLegColor">28</int>
					<int name="TorsoColor">28</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="IntValue" referent="RBX91">
				<Properties>
					<string name="Name">Value</string>
					<int name="Value">0</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX92">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Robot</string>
					<string name="Source">------------------&#13;&#10;--SPAWNING--&#13;&#10;------------------&#13;&#10;&#13;&#10;miked=script.Parent&#13;&#10;&#13;&#10;itlh=miked.Torso:findFirstChild(&quot;Left Hip&quot;)&#13;&#10;itlh.Part0=miked.Torso&#13;&#10;itlh.Part1=miked:findFirstChild(&quot;Left Leg&quot;)&#13;&#10;itlh.C0=CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;&#13;&#10;itrh=miked.Torso:findFirstChild(&quot;Right Hip&quot;)&#13;&#10;itrh.Part0=miked.Torso&#13;&#10;itrh.Part1=miked:findFirstChild(&quot;Right Leg&quot;)&#13;&#10;itrh.C0=CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;&#13;&#10;itls=miked.Torso:findFirstChild(&quot;Left Shoulder&quot;)&#13;&#10;itls.Part1=miked.Torso&#13;&#10;itls.C0=CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;itls.Part0=miked:findFirstChild(&quot;Left Arm&quot;)&#13;&#10;&#13;&#10;itrs=miked.Torso:findFirstChild(&quot;Right Shoulder&quot;)&#13;&#10;itrs.Part1=miked.Torso&#13;&#10;itrs.C0=CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;itrs.Part0=miked:findFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;miked.Head:makeJoints()&#13;&#10;------------------&#13;&#10;------------------&#13;&#10;&#13;&#10;&#13;&#10;function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Torso = waitForChild(Figure, &quot;Torso&quot;)&#13;&#10;local RightShoulder = waitForChild(Torso, &quot;Right Shoulder&quot;)&#13;&#10;local LeftShoulder = waitForChild(Torso, &quot;Left Shoulder&quot;)&#13;&#10;local RightHip = waitForChild(Torso, &quot;Right Hip&quot;)&#13;&#10;local LeftHip = waitForChild(Torso, &quot;Left Hip&quot;)&#13;&#10;local Neck = waitForChild(Torso, &quot;Neck&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;local pose = &quot;Standing&quot;&#13;&#10;&#13;&#10;local toolAnim = &quot;None&quot;&#13;&#10;local toolAnimTime = 0&#13;&#10;&#13;&#10;local isSeated = false&#13;&#10;&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if isSeated then return end&#13;&#10;&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;pose = &quot;Running&quot;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;pose = &quot;Standing&quot;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;pose = &quot;Dead&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onJumping()&#13;&#10;&#9;isSeated = false&#13;&#10;&#9;pose = &quot;Jumping&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onClimbing()&#13;&#10;&#9;pose = &quot;Climbing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onGettingUp()&#13;&#10;&#9;pose = &quot;GettingUp&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFreeFall()&#13;&#10;&#9;pose = &quot;FreeFall&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onDancing()&#13;&#10;&#9;pose = &quot;Dancing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFallingDown()&#13;&#10;&#9;pose = &quot;FallingDown&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onSeated()&#13;&#10;&#9;isSeated = true&#13;&#10;&#9;pose = &quot;Seated&quot;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function moveJump()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFreeFall()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1&#13;&#10;&#9;LeftShoulder.DesiredAngle = -1&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFloat()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = -1.57&#13;&#10;end&#13;&#10;&#13;&#10;function moveBoogy()&#13;&#10;while pose==&quot;Boogy&quot; do&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 1.57&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;function moveZombie()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function movePunch()&#13;&#10;&#9;script.Parent.Torso.Anchored=true&#13;&#10;&#9;RightShoulder.MaxVelocity = 60&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;script.Parent.Torso.Anchored=false&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveKick()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveFly()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function moveClimb()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveSit()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;RightHip.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftHip.DesiredAngle = -3.14 /2&#13;&#10;end&#13;&#10;&#13;&#10;function getTool()&#13;&#10;&#9;&#13;&#10;&#9;kidTable = Figure:children()&#13;&#10;&#9;if (kidTable ~= nil) then&#13;&#10;&#9;&#9;numKids = #kidTable&#13;&#10;&#9;&#9;for i=1,numKids do&#13;&#10;&#9;&#9;&#9;if (kidTable[i].className == &quot;Tool&quot;) then return kidTable[i] end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;c = tool:children()&#13;&#10;&#9;for i=1,#c do&#13;&#10;&#9;&#9;if (c[i].Name == &quot;toolanim&quot; and c[i].className == &quot;StringValue&quot;) then&#13;&#10;&#9;&#9;&#9;return c[i]&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function animateTool()&#13;&#10;&#9;&#13;&#10;&#9;if (toolAnim == &quot;None&quot;) then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Slash&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Lunge&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 1.0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 1.0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function move(time)&#13;&#10;&#9;local amplitude&#13;&#10;&#9;local frequency&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Jumping&quot;) then&#13;&#10;&#9;&#9;moveJump()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Zombie&quot;) then&#13;&#10;&#9;&#9;moveZombie()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Boogy&quot;) then&#13;&#10;&#9;&#9;moveBoogy()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Float&quot;) then&#13;&#10;&#9;&#9;moveFloat()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Punch&quot;) then&#13;&#10;&#9;&#9;movePunch()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Kick&quot;) then&#13;&#10;&#9;&#9;moveKick()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Fly&quot;) then&#13;&#10;&#9;&#9;moveFly()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;FreeFall&quot;) then&#13;&#10;&#9;&#9;moveFreeFall()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Climbing&quot;) then&#13;&#10;&#9;&#9;moveClimb()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Seated&quot;) then&#13;&#10;&#9;&#9;moveSit()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;amplitude = 0.1&#13;&#10;&#9;&#9;frequency = 1&#13;&#10;&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;if (pose == &quot;Running&quot;) then&#13;&#10;&#9;&#9;amplitude = 1&#13;&#10;&#9;&#9;frequency = 9&#13;&#10;&#9;elseif (pose == &quot;Dancing&quot;) then&#13;&#10;&#9;&#9;amplitude = 2&#13;&#10;&#9;&#9;frequency = 16&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#13;&#10;&#9;desiredAngle = amplitude * math.sin(time*frequency)&#13;&#10;&#9;if pose~=&quot;Dancing&quot; then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;else&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;end&#13;&#10;&#9;&#9;&#13;&#10;&#13;&#10;&#13;&#10;&#9;local tool = getTool()&#13;&#10;&#13;&#10;&#9;if tool ~= nil then&#13;&#10;&#9;&#13;&#10;&#9;&#9;animStringValueObject = getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;&#9;if animStringValueObject ~= nil then&#13;&#10;&#9;&#9;&#9;toolAnim = animStringValueObject.Value&#13;&#10;&#9;&#9;&#9;-- message recieved, delete StringValue&#13;&#10;&#9;&#9;&#9;animStringValueObject.Parent = nil&#13;&#10;&#9;&#9;&#9;toolAnimTime = time + .3&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if time &gt; toolAnimTime then&#13;&#10;&#9;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;animateTool()&#13;&#10;&#13;&#10;&#9;&#9;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;-- connect events&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;function unequip()&#13;&#10;&#9;local items=script.Parent:children()&#13;&#10;&#9;for i=1, #items do&#13;&#10;&#9;&#9;if items[i].className==&quot;Tool&quot; then items[i]:remove() end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onChatted(msg, recipient) &#13;&#10;&#9;msg = string.lower(msg)&#13;&#10;&#13;&#10;&#9;if string.match(msg, string.lower(script.Parent.Name))~=nil or string.match(msg, &quot;everyone&quot;) then&#13;&#10;&#9;&#9;if string.match(msg, &quot;equip&quot;) then &#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;Hub&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;if string.match(msg, &quot;rocket&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Rocket:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;slingshot&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Slingshot:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;sword&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Sword:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;pbg&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.PBG:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;superball&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Superball:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;trowel&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Trowel:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;bomb&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Bomb:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;unequip&quot;) then unequip() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;run&quot;) then onRunning(1) end&#13;&#10;&#9;&#9;if string.match(msg, &quot;climb&quot;) then onClimbing() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;jump&quot;) then onJumping() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;zombie&quot;) then pose=&quot;Zombie&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;disco&quot;) then pose=&quot;Boogy&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;float&quot;) then pose=&quot;Float&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;punch&quot;) then pose=&quot;Punch&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kick&quot;) then pose=&quot;Kick&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;fly&quot;) then pose=&quot;Fly&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;heal&quot;) then script.Parent.Humanoid.Health=script.Parent.Humanoid.MaxHealth end&#13;&#10;&#9;&#9;if string.match(msg, &quot;defend&quot;) then defence() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;stop&quot;) then pose=&quot;Standing&quot;; proxkill=false; following=false; stopmoving() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;go home&quot;) then following=false; gohome() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;follow&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;followany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;follow(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kill&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;attackany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;attack(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if game.Players.NumPlayers&gt;1 then&#13;&#10;&#9;x=game.Players:children()&#13;&#10;&#9;&#13;&#10;&#9;for i=1, #x do&#13;&#10;&#9;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function onPlayerEntered(Player) &#13;&#10;&#9;while Player.Name==nil do&#13;&#10;&#9;&#9;wait(2)&#13;&#10;&#9;end&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;end&#13;&#10;&#9;else&#13;&#10;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;game.Players.ChildAdded:connect(onPlayerEntered) &#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;dist=20&#13;&#10;&#13;&#10;function followany()&#13;&#10;following=true&#13;&#10;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 6 do&#13;&#10;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then stopmoving() else&#9;wait(0.5) end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function gohome()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(Vector3.new(0,0,0), game.Workspace.Bases.Base)&#13;&#10;end&#13;&#10;function stopmoving()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(script.Parent.Torso.Position, script.Parent.Torso)&#13;&#10;end&#13;&#10;&#13;&#10;function follow(name)&#13;&#10;&#9;following=true&#13;&#10;&#13;&#10;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;if p==nil then return end&#13;&#10;&#9;while following==true do&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attack(name)&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#9;&#9;following=true&#13;&#10;&#9;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;&#9;if p==nil then return end&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#9;local l=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((l.x-q.x)^2)+((l.y-q.y)^2)+((l.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;if (q.y-l.y)&gt;3 and (q.y-l.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attackany()&#13;&#10;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#13;&#10;&#9;following=true&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;slash()&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;if target.Parent==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then &#13;&#10;&#9;&#9;&#9;&#9;&#9;stopmoving() &#13;&#10;&#9;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=target.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if (q.y-p.y)&gt;3 and (q.y-p.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function patrol()&#13;&#10;&#9;if points==nil then&#13;&#10;&#9;&#9;points=0&#13;&#10;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp1&quot;)~=nil then&#13;&#10;&#9;&#9;pp1=game.Workspace:findFirstChild(&quot;pp1&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp2&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;pp2=game.Workspace:findFirstChild(&quot;pp2&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp3&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;pp3=game.Workspace:findFirstChild(&quot;pp3&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp4&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;pp4=game.Workspace:findFirstChild(&quot;pp4&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp5&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;pp5=game.Workspace:findFirstChild(&quot;pp5&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp6&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp6=game.Workspace:findFirstChild(&quot;pp6&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp7&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp7=game.Workspace:findFirstChild(&quot;pp7&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp8&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp8=game.Workspace:findFirstChild(&quot;pp8&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp9&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp9=game.Workspace:findFirstChild(&quot;pp9&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if points&lt;1 then return end&#13;&#10;&#9;patrolling=true&#13;&#10;&#9;local time=2&#13;&#10;&#9;if points==1 then return end&#13;&#10;&#9;if points&gt;1 then&#13;&#10;&#9;&#9;while patrolling==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp1.Position, pp1)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp2.Position, pp2)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;if points&gt;2 then&#13;&#10;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp3.Position, pp3)&#13;&#10;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;if points&gt;3 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp4.Position, pp4)&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;if points&gt;4 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp5.Position, pp5)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;5 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp6.Position, pp6)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;6 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp7.Position, pp7)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp8.Position, pp8)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp9.Position, pp9)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function goto(pos,part)&#13;&#10;while true do&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function slash()&#13;&#10;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;wait(.3)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -2.14&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;&#9;wait(.2)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function defence()&#13;&#10;&#9;proxkill=true&#13;&#10;&#9;while proxkill==true do&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local p=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if p~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local p=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;dist and d&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local ex=Instance.new(&quot;Explosion&quot;)&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Position=p&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Parent=game.Workspace&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#9;&#9;&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;wait(1)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(onJumping)&#13;&#10;Humanoid.Climbing:connect(onClimbing)&#13;&#10;Humanoid.GettingUp:connect(onGettingUp)&#13;&#10;Humanoid.FreeFalling:connect(onFreeFall)&#13;&#10;Humanoid.FallingDown:connect(onFallingDown)&#13;&#10;Humanoid.Seated:connect(onSeated)&#13;&#10;&#13;&#10;&#13;&#10;--[[&#13;&#10;&#13;&#10;function newSound(id)&#13;&#10;&#9;local sound = Instance.new(&quot;Sound&quot;)&#13;&#10;&#9;sound.SoundId = id&#13;&#10;&#9;sound.Parent = script.Parent.Head&#13;&#10;&#9;return sound&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;local sDied = newSound(&quot;rbxasset://sounds/uuhhh.wav&quot;)&#13;&#10;local sFallingDown = newSound(&quot;rbxasset://sounds/splat.wav&quot;)&#13;&#10;local sFreeFalling = newSound(&quot;rbxasset://sounds/swoosh.wav&quot;)&#13;&#10;local sGettingUp = newSound(&quot;rbxasset://sounds/hit.wav&quot;)&#13;&#10;local sJumping = newSound(&quot;rbxasset://sounds/button.wav&quot;)&#13;&#10;local sRunning = newSound(&quot;rbxasset://sounds/bfsl-minifigfoots1.mp3&quot;)&#13;&#10;sRunning.Looped = true&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;sDied:play()&#13;&#10;end&#13;&#10;&#13;&#10;function onState(state, sound)&#13;&#10;&#9;if state then&#13;&#10;&#9;&#9;sound:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sound:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;sRunning:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sRunning:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(function(state) onState(state, sJumping) end)&#13;&#10;Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end)&#13;&#10;Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end)&#13;&#10;Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end)&#13;&#10;--]]&#13;&#10;&#13;&#10;local nextTime = 0&#13;&#10;local runService = game:service(&quot;RunService&quot;);&#13;&#10;&#13;&#10;while Figure.Parent~=nil do&#13;&#10;&#9;time = runService.Stepped:wait()&#13;&#10;&#9;if time &gt; nextTime then&#13;&#10;&#9;&#9;move(time)&#13;&#10;&#9;&#9;nextTime = time + 0.1&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX93">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Follow</string>
					<string name="Source">local larm = script.Parent:FindFirstChild(&quot;Left Arm&quot;)&#13;&#10;local rarm = script.Parent:FindFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;function findNearestTorso(pos)&#13;&#10;&#9;local list = game.Workspace:children()&#13;&#10;&#9;local torso = nil&#13;&#10;&#9;local dist = 25&#13;&#10;&#9;local temp = nil&#13;&#10;&#9;local human = nil&#13;&#10;&#9;local temp2 = nil&#13;&#10;&#9;for x = 1, #list do&#13;&#10;&#9;&#9;temp2 = list[x]&#13;&#10;&#9;&#9;if (temp2.className == &quot;Model&quot;) and (temp2 ~= script.Parent) then&#13;&#10;&#9;&#9;&#9;temp = temp2:findFirstChild(&quot;Torso&quot;)&#13;&#10;&#9;&#9;&#9;human = temp2:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;&#9;&#9;if (temp ~= nil) and (human ~= nil) and (human.Health &gt; 0) then&#13;&#10;&#9;&#9;&#9;&#9;if (temp.Position - pos).magnitude &lt; dist then&#13;&#10;&#9;&#9;&#9;&#9;&#9;torso = temp&#13;&#10;&#9;&#9;&#9;&#9;&#9;dist = (temp.Position - pos).magnitude&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return torso&#13;&#10;end&#13;&#10;&#13;&#10;while true do&#13;&#10;&#9;wait(0.1)&#13;&#10;&#9;local target = findNearestTorso(script.Parent.Torso.Position)&#13;&#10;&#9;if target ~= nil then&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#9;end&#13;&#10;end</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Model" referent="RBX94">
			<Properties>
				<token name="Controller">7</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">Warrior</string>
				<Ref name="PrimaryPart">null</Ref>
				<bool name="archivable">true</bool>
			</Properties>
			<Item class="Humanoid" referent="RBX95">
				<Properties>
					<float name="Health">0</float>
					<bool name="Jump">false</bool>
					<float name="MaxHealth">100</float>
					<string name="Name">Humanoid</string>
					<bool name="Sit">false</bool>
					<Vector3 name="TargetPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<Vector3 name="WalkDirection">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<float name="WalkRotationalVelocity">0</float>
					<Ref name="WalkToPart">null</Ref>
					<Vector3 name="WalkToPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX96">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Health</string>
					<string name="Source">function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;-- declarations&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;Humanoid.Health=500&#13;&#10;-- regeneration&#13;&#10;while true do&#13;&#10;&#9;local s = wait(4)&#13;&#10;&#9;local health = Humanoid.Health&#13;&#10;&#9;if health &gt; 0 and health &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;health = health + 0.08 * s * Humanoid.MaxHealth&#13;&#10;&#9;&#9;if health * 1.05 &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;&#9;Humanoid.Health = health&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;Humanoid.Health = Humanoid.MaxHealth&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="BodyColors" referent="RBX97">
				<Properties>
					<int name="HeadColor">24</int>
					<int name="LeftArmColor">28</int>
					<int name="LeftLegColor">28</int>
					<string name="Name">Body Colors</string>
					<int name="RightArmColor">28</int>
					<int name="RightLegColor">28</int>
					<int name="TorsoColor">28</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="IntValue" referent="RBX98">
				<Properties>
					<string name="Name">Value</string>
					<int name="Value">0</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX99">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Robot</string>
					<string name="Source">------------------&#13;&#10;--SPAWNING--&#13;&#10;------------------&#13;&#10;&#13;&#10;miked=script.Parent&#13;&#10;&#13;&#10;itlh=miked.Torso:findFirstChild(&quot;Left Hip&quot;)&#13;&#10;itlh.Part0=miked.Torso&#13;&#10;itlh.Part1=miked:findFirstChild(&quot;Left Leg&quot;)&#13;&#10;itlh.C0=CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;&#13;&#10;itrh=miked.Torso:findFirstChild(&quot;Right Hip&quot;)&#13;&#10;itrh.Part0=miked.Torso&#13;&#10;itrh.Part1=miked:findFirstChild(&quot;Right Leg&quot;)&#13;&#10;itrh.C0=CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;&#13;&#10;itls=miked.Torso:findFirstChild(&quot;Left Shoulder&quot;)&#13;&#10;itls.Part1=miked.Torso&#13;&#10;itls.C0=CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;itls.Part0=miked:findFirstChild(&quot;Left Arm&quot;)&#13;&#10;&#13;&#10;itrs=miked.Torso:findFirstChild(&quot;Right Shoulder&quot;)&#13;&#10;itrs.Part1=miked.Torso&#13;&#10;itrs.C0=CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;itrs.Part0=miked:findFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;miked.Head:makeJoints()&#13;&#10;------------------&#13;&#10;------------------&#13;&#10;&#13;&#10;&#13;&#10;function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Torso = waitForChild(Figure, &quot;Torso&quot;)&#13;&#10;local RightShoulder = waitForChild(Torso, &quot;Right Shoulder&quot;)&#13;&#10;local LeftShoulder = waitForChild(Torso, &quot;Left Shoulder&quot;)&#13;&#10;local RightHip = waitForChild(Torso, &quot;Right Hip&quot;)&#13;&#10;local LeftHip = waitForChild(Torso, &quot;Left Hip&quot;)&#13;&#10;local Neck = waitForChild(Torso, &quot;Neck&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;local pose = &quot;Standing&quot;&#13;&#10;&#13;&#10;local toolAnim = &quot;None&quot;&#13;&#10;local toolAnimTime = 0&#13;&#10;&#13;&#10;local isSeated = false&#13;&#10;&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if isSeated then return end&#13;&#10;&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;pose = &quot;Running&quot;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;pose = &quot;Standing&quot;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;pose = &quot;Dead&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onJumping()&#13;&#10;&#9;isSeated = false&#13;&#10;&#9;pose = &quot;Jumping&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onClimbing()&#13;&#10;&#9;pose = &quot;Climbing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onGettingUp()&#13;&#10;&#9;pose = &quot;GettingUp&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFreeFall()&#13;&#10;&#9;pose = &quot;FreeFall&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onDancing()&#13;&#10;&#9;pose = &quot;Dancing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFallingDown()&#13;&#10;&#9;pose = &quot;FallingDown&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onSeated()&#13;&#10;&#9;isSeated = true&#13;&#10;&#9;pose = &quot;Seated&quot;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function moveJump()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFreeFall()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1&#13;&#10;&#9;LeftShoulder.DesiredAngle = -1&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFloat()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = -1.57&#13;&#10;end&#13;&#10;&#13;&#10;function moveBoogy()&#13;&#10;while pose==&quot;Boogy&quot; do&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 1.57&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;function moveZombie()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function movePunch()&#13;&#10;&#9;script.Parent.Torso.Anchored=true&#13;&#10;&#9;RightShoulder.MaxVelocity = 60&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;script.Parent.Torso.Anchored=false&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveKick()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveFly()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function moveClimb()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveSit()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;RightHip.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftHip.DesiredAngle = -3.14 /2&#13;&#10;end&#13;&#10;&#13;&#10;function getTool()&#13;&#10;&#9;&#13;&#10;&#9;kidTable = Figure:children()&#13;&#10;&#9;if (kidTable ~= nil) then&#13;&#10;&#9;&#9;numKids = #kidTable&#13;&#10;&#9;&#9;for i=1,numKids do&#13;&#10;&#9;&#9;&#9;if (kidTable[i].className == &quot;Tool&quot;) then return kidTable[i] end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;c = tool:children()&#13;&#10;&#9;for i=1,#c do&#13;&#10;&#9;&#9;if (c[i].Name == &quot;toolanim&quot; and c[i].className == &quot;StringValue&quot;) then&#13;&#10;&#9;&#9;&#9;return c[i]&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function animateTool()&#13;&#10;&#9;&#13;&#10;&#9;if (toolAnim == &quot;None&quot;) then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Slash&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Lunge&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 1.0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 1.0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function move(time)&#13;&#10;&#9;local amplitude&#13;&#10;&#9;local frequency&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Jumping&quot;) then&#13;&#10;&#9;&#9;moveJump()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Zombie&quot;) then&#13;&#10;&#9;&#9;moveZombie()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Boogy&quot;) then&#13;&#10;&#9;&#9;moveBoogy()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Float&quot;) then&#13;&#10;&#9;&#9;moveFloat()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Punch&quot;) then&#13;&#10;&#9;&#9;movePunch()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Kick&quot;) then&#13;&#10;&#9;&#9;moveKick()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Fly&quot;) then&#13;&#10;&#9;&#9;moveFly()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;FreeFall&quot;) then&#13;&#10;&#9;&#9;moveFreeFall()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Climbing&quot;) then&#13;&#10;&#9;&#9;moveClimb()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Seated&quot;) then&#13;&#10;&#9;&#9;moveSit()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;amplitude = 0.1&#13;&#10;&#9;&#9;frequency = 1&#13;&#10;&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;if (pose == &quot;Running&quot;) then&#13;&#10;&#9;&#9;amplitude = 1&#13;&#10;&#9;&#9;frequency = 9&#13;&#10;&#9;elseif (pose == &quot;Dancing&quot;) then&#13;&#10;&#9;&#9;amplitude = 2&#13;&#10;&#9;&#9;frequency = 16&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#13;&#10;&#9;desiredAngle = amplitude * math.sin(time*frequency)&#13;&#10;&#9;if pose~=&quot;Dancing&quot; then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;else&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;end&#13;&#10;&#9;&#9;&#13;&#10;&#13;&#10;&#13;&#10;&#9;local tool = getTool()&#13;&#10;&#13;&#10;&#9;if tool ~= nil then&#13;&#10;&#9;&#13;&#10;&#9;&#9;animStringValueObject = getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;&#9;if animStringValueObject ~= nil then&#13;&#10;&#9;&#9;&#9;toolAnim = animStringValueObject.Value&#13;&#10;&#9;&#9;&#9;-- message recieved, delete StringValue&#13;&#10;&#9;&#9;&#9;animStringValueObject.Parent = nil&#13;&#10;&#9;&#9;&#9;toolAnimTime = time + .3&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if time &gt; toolAnimTime then&#13;&#10;&#9;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;animateTool()&#13;&#10;&#13;&#10;&#9;&#9;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;-- connect events&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;function unequip()&#13;&#10;&#9;local items=script.Parent:children()&#13;&#10;&#9;for i=1, #items do&#13;&#10;&#9;&#9;if items[i].className==&quot;Tool&quot; then items[i]:remove() end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onChatted(msg, recipient) &#13;&#10;&#9;msg = string.lower(msg)&#13;&#10;&#13;&#10;&#9;if string.match(msg, string.lower(script.Parent.Name))~=nil or string.match(msg, &quot;everyone&quot;) then&#13;&#10;&#9;&#9;if string.match(msg, &quot;equip&quot;) then &#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;Hub&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;if string.match(msg, &quot;rocket&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Rocket:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;slingshot&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Slingshot:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;sword&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Sword:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;pbg&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.PBG:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;superball&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Superball:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;trowel&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Trowel:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;bomb&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Bomb:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;unequip&quot;) then unequip() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;run&quot;) then onRunning(1) end&#13;&#10;&#9;&#9;if string.match(msg, &quot;climb&quot;) then onClimbing() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;jump&quot;) then onJumping() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;zombie&quot;) then pose=&quot;Zombie&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;disco&quot;) then pose=&quot;Boogy&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;float&quot;) then pose=&quot;Float&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;punch&quot;) then pose=&quot;Punch&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kick&quot;) then pose=&quot;Kick&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;fly&quot;) then pose=&quot;Fly&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;heal&quot;) then script.Parent.Humanoid.Health=script.Parent.Humanoid.MaxHealth end&#13;&#10;&#9;&#9;if string.match(msg, &quot;defend&quot;) then defence() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;stop&quot;) then pose=&quot;Standing&quot;; proxkill=false; following=false; stopmoving() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;go home&quot;) then following=false; gohome() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;follow&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;followany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;follow(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kill&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;attackany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;attack(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if game.Players.NumPlayers&gt;1 then&#13;&#10;&#9;x=game.Players:children()&#13;&#10;&#9;&#13;&#10;&#9;for i=1, #x do&#13;&#10;&#9;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function onPlayerEntered(Player) &#13;&#10;&#9;while Player.Name==nil do&#13;&#10;&#9;&#9;wait(2)&#13;&#10;&#9;end&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;end&#13;&#10;&#9;else&#13;&#10;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;game.Players.ChildAdded:connect(onPlayerEntered) &#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;dist=20&#13;&#10;&#13;&#10;function followany()&#13;&#10;following=true&#13;&#10;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 6 do&#13;&#10;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then stopmoving() else&#9;wait(0.5) end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function gohome()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(Vector3.new(0,0,0), game.Workspace.Bases.Base)&#13;&#10;end&#13;&#10;function stopmoving()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(script.Parent.Torso.Position, script.Parent.Torso)&#13;&#10;end&#13;&#10;&#13;&#10;function follow(name)&#13;&#10;&#9;following=true&#13;&#10;&#13;&#10;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;if p==nil then return end&#13;&#10;&#9;while following==true do&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attack(name)&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#9;&#9;following=true&#13;&#10;&#9;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;&#9;if p==nil then return end&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#9;local l=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((l.x-q.x)^2)+((l.y-q.y)^2)+((l.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;if (q.y-l.y)&gt;3 and (q.y-l.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attackany()&#13;&#10;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#13;&#10;&#9;following=true&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;slash()&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;if target.Parent==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then &#13;&#10;&#9;&#9;&#9;&#9;&#9;stopmoving() &#13;&#10;&#9;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=target.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if (q.y-p.y)&gt;3 and (q.y-p.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function patrol()&#13;&#10;&#9;if points==nil then&#13;&#10;&#9;&#9;points=0&#13;&#10;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp1&quot;)~=nil then&#13;&#10;&#9;&#9;pp1=game.Workspace:findFirstChild(&quot;pp1&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp2&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;pp2=game.Workspace:findFirstChild(&quot;pp2&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp3&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;pp3=game.Workspace:findFirstChild(&quot;pp3&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp4&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;pp4=game.Workspace:findFirstChild(&quot;pp4&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp5&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;pp5=game.Workspace:findFirstChild(&quot;pp5&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp6&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp6=game.Workspace:findFirstChild(&quot;pp6&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp7&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp7=game.Workspace:findFirstChild(&quot;pp7&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp8&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp8=game.Workspace:findFirstChild(&quot;pp8&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp9&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp9=game.Workspace:findFirstChild(&quot;pp9&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if points&lt;1 then return end&#13;&#10;&#9;patrolling=true&#13;&#10;&#9;local time=2&#13;&#10;&#9;if points==1 then return end&#13;&#10;&#9;if points&gt;1 then&#13;&#10;&#9;&#9;while patrolling==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp1.Position, pp1)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp2.Position, pp2)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;if points&gt;2 then&#13;&#10;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp3.Position, pp3)&#13;&#10;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;if points&gt;3 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp4.Position, pp4)&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;if points&gt;4 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp5.Position, pp5)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;5 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp6.Position, pp6)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;6 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp7.Position, pp7)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp8.Position, pp8)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp9.Position, pp9)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function goto(pos,part)&#13;&#10;while true do&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function slash()&#13;&#10;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;wait(.3)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -2.14&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;&#9;wait(.2)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function defence()&#13;&#10;&#9;proxkill=true&#13;&#10;&#9;while proxkill==true do&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local p=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if p~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local p=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;dist and d&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local ex=Instance.new(&quot;Explosion&quot;)&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Position=p&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Parent=game.Workspace&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#9;&#9;&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;wait(1)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(onJumping)&#13;&#10;Humanoid.Climbing:connect(onClimbing)&#13;&#10;Humanoid.GettingUp:connect(onGettingUp)&#13;&#10;Humanoid.FreeFalling:connect(onFreeFall)&#13;&#10;Humanoid.FallingDown:connect(onFallingDown)&#13;&#10;Humanoid.Seated:connect(onSeated)&#13;&#10;&#13;&#10;&#13;&#10;--[[&#13;&#10;&#13;&#10;function newSound(id)&#13;&#10;&#9;local sound = Instance.new(&quot;Sound&quot;)&#13;&#10;&#9;sound.SoundId = id&#13;&#10;&#9;sound.Parent = script.Parent.Head&#13;&#10;&#9;return sound&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;local sDied = newSound(&quot;rbxasset://sounds/uuhhh.wav&quot;)&#13;&#10;local sFallingDown = newSound(&quot;rbxasset://sounds/splat.wav&quot;)&#13;&#10;local sFreeFalling = newSound(&quot;rbxasset://sounds/swoosh.wav&quot;)&#13;&#10;local sGettingUp = newSound(&quot;rbxasset://sounds/hit.wav&quot;)&#13;&#10;local sJumping = newSound(&quot;rbxasset://sounds/button.wav&quot;)&#13;&#10;local sRunning = newSound(&quot;rbxasset://sounds/bfsl-minifigfoots1.mp3&quot;)&#13;&#10;sRunning.Looped = true&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;sDied:play()&#13;&#10;end&#13;&#10;&#13;&#10;function onState(state, sound)&#13;&#10;&#9;if state then&#13;&#10;&#9;&#9;sound:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sound:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;sRunning:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sRunning:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(function(state) onState(state, sJumping) end)&#13;&#10;Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end)&#13;&#10;Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end)&#13;&#10;Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end)&#13;&#10;--]]&#13;&#10;&#13;&#10;local nextTime = 0&#13;&#10;local runService = game:service(&quot;RunService&quot;);&#13;&#10;&#13;&#10;while Figure.Parent~=nil do&#13;&#10;&#9;time = runService.Stepped:wait()&#13;&#10;&#9;if time &gt; nextTime then&#13;&#10;&#9;&#9;move(time)&#13;&#10;&#9;&#9;nextTime = time + 0.1&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX100">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Follow</string>
					<string name="Source">local larm = script.Parent:FindFirstChild(&quot;Left Arm&quot;)&#13;&#10;local rarm = script.Parent:FindFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;function findNearestTorso(pos)&#13;&#10;&#9;local list = game.Workspace:children()&#13;&#10;&#9;local torso = nil&#13;&#10;&#9;local dist = 25&#13;&#10;&#9;local temp = nil&#13;&#10;&#9;local human = nil&#13;&#10;&#9;local temp2 = nil&#13;&#10;&#9;for x = 1, #list do&#13;&#10;&#9;&#9;temp2 = list[x]&#13;&#10;&#9;&#9;if (temp2.className == &quot;Model&quot;) and (temp2 ~= script.Parent) then&#13;&#10;&#9;&#9;&#9;temp = temp2:findFirstChild(&quot;Torso&quot;)&#13;&#10;&#9;&#9;&#9;human = temp2:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;&#9;&#9;if (temp ~= nil) and (human ~= nil) and (human.Health &gt; 0) then&#13;&#10;&#9;&#9;&#9;&#9;if (temp.Position - pos).magnitude &lt; dist then&#13;&#10;&#9;&#9;&#9;&#9;&#9;torso = temp&#13;&#10;&#9;&#9;&#9;&#9;&#9;dist = (temp.Position - pos).magnitude&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return torso&#13;&#10;end&#13;&#10;&#13;&#10;while true do&#13;&#10;&#9;wait(0.1)&#13;&#10;&#9;local target = findNearestTorso(script.Parent.Torso.Position)&#13;&#10;&#9;if target ~= nil then&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#9;end&#13;&#10;end</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Model" referent="RBX101">
			<Properties>
				<token name="Controller">7</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">Warrior</string>
				<Ref name="PrimaryPart">RBX102</Ref>
				<bool name="archivable">true</bool>
			</Properties>
			<Item class="Part" referent="RBX102">
				<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">4</token>
					<token name="BottomSurfaceInput">0</token>
					<int name="BrickColor">217</int>
					<CoordinateFrame name="CFrame">
						<X>125.139336</X>
						<Y>0.890047729</Y>
						<Z>-36.7028656</Z>
						<R00>0.721648574</R00>
						<R01>0.69225961</R01>
						<R02>6.15933777e-006</R02>
						<R10>-2.25871536e-005</R10>
						<R11>3.24074572e-005</R11>
						<R12>-1</R12>
						<R20>-0.69225961</R20>
						<R21>0.721648574</R21>
						<R22>3.90128844e-005</R22>
					</CoordinateFrame>
					<bool name="CanCollide">true</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">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">Head</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>2</X>
						<Y>1</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
				<Item class="SpecialMesh" referent="RBX103">
					<Properties>
						<Content name="MeshId"><null></null></Content>
						<token name="MeshType">0</token>
						<string name="Name">Mesh</string>
						<Vector3 name="Scale">
							<X>1.25</X>
							<Y>1.25</Y>
							<Z>1.25</Z>
						</Vector3>
						<Content name="TextureId"><null></null></Content>
						<Vector3 name="VertexColor">
							<X>1</X>
							<Y>1</Y>
							<Z>1</Z>
						</Vector3>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX104">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX105">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">0</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX106">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX107">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">0</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX108">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX109">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX110">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX111">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX112">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX113">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX114">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX115">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX116">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX117">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX118">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX119">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX120">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX121">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX122">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX123">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX124">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX125">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX126">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX127">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX128">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX129">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX130">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX131">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX132">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX133">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX134">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX135">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX136">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX137">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX138">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX139">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX140">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX141">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX142">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX143">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX144">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX145">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX146">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX147">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX148">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX149">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX150">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX151">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX152">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX153">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX154">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX155">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX156">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX157">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX158">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX159">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX160">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX161">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX162">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX163">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX164">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX165">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX166">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX167">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX168">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX169">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX170">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX171">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX172">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX173">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX174">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX175">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX176">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX177">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX178">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX179">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX180">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX181">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX182">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX183">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX184">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX185">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX186">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX187">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX188">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX189">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX190">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX191">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX192">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX193">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX194">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX195">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX196">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX197">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX198">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX199">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX200">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX201">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX202">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX203">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX204">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX205">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX206">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX207">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX208">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX209">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX210">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX211">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX212">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX213">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX214">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX215">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX216">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX217">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX218">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX219">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX220">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX221">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX222">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX223">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX224">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX225">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX226">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX227">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX228">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX229">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX230">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX231">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">0</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX232">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX233">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">0</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX234">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX235">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX236">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX237">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX238">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX239">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX240">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX241">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX242">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX243">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX244">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX245">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX246">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX247">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Decal" referent="RBX248">
					<Properties>
						<token name="Face">5</token>
						<string name="Name">face</string>
						<float name="Shiny">20</float>
						<float name="Specular">0</float>
						<Content name="Texture"><hash>b0c3fd281c77535b29d7d191d47d580e</hash></Content>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Weld" referent="RBX249">
					<Properties>
						<CoordinateFrame name="C0">
							<X>0</X>
							<Y>0.5</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="C1">
							<X>0</X>
							<Y>0.5</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">HeadWeld</string>
						<Ref name="Part0">RBX102</Ref>
						<Ref name="Part1">null</Ref>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Script" referent="RBX250">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">DoorScript2</string>
						<string name="Source">print(&quot;Omg a team door! Goodbye spawnkilling!&quot;) -- {made by:yourit12 modeled by:NintendoZACHERY}&#13;&#10;&#13;&#10;Door = script.Parent &#13;&#10;------------------------------------&#13;&#10;modelname=&quot;Admins&quot; -- Put the EXACT name of the team here&#13;&#10;------------------------------------&#13;&#10; &#13;&#10;function onTouched(hit) &#13;&#10;        print(&quot;Door Hit&quot;) &#13;&#10;        local human = hit.Parent:FindFirstChild(&quot;Humanoid&quot;) &#13;&#10;        if (human ~= nil ) then&#13;&#10;                if game.Players:playerFromCharacter(hit.Parent).TeamColor==game.Teams:findFirstChild(modelname).TeamColor then&#13;&#10;                        Door.CanCollide = false &#13;&#10;                        Door.Transparency = 0&#13;&#10;                        wait(1) &#13;&#10;                        Door.CanCollide = true &#13;&#10;                        Door.Transparency = 0 &#13;&#10;                        print(&quot;Human touched door&quot;) &#13;&#10;                else&#13;&#10;                        human.Health = 0&#13;&#10;                end&#13;&#10; &#13;&#10;        end &#13;&#10;end &#13;&#10; &#13;&#10;connection = Door.Touched:connect(onTouched)</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Script" referent="RBX251">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">Script</string>
						<string name="Source">function onTouched(hit)&#13;&#10;if hit.Name ~= &quot;tray&quot; then hit:remove() end&#13;&#10;end&#13;&#10;&#13;&#10;connection = script.Parent.Touched:connect(onTouched)&#13;&#10;</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Script" referent="RBX252">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">Script</string>
						<string name="Source">&#13;&#10;function onTouched(hit)&#13;&#10;&#9;local human = hit.Parent:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;if (human ~= nil) then&#13;&#10;&#9;&#9;human.Health = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if (script.Parent ~= nil) and (script.Parent.className == &quot;Part&quot;) then --Work if in a block&#13;&#10;&#9;connection = script.Parent.Touched:connect(onTouched)&#13;&#10;end&#13;&#10;</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
			</Item>
			<Item class="Part" referent="RBX253">
				<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">38</int>
					<CoordinateFrame name="CFrame">
						<X>118.144234</X>
						<Y>1.31411779</Y>
						<Z>-35.5663452</Z>
						<R00>-0.966916978</R00>
						<R01>0.000739679381</R01>
						<R02>-0.255090505</R02>
						<R10>0.00067971216</R10>
						<R11>0.999999702</R11>
						<R12>0.000323234242</R12>
						<R20>0.255090654</R20>
						<R21>0.000139152544</R21>
						<R22>-0.966917217</R22>
					</CoordinateFrame>
					<bool name="CanCollide">true</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">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">Right Leg</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>1</X>
						<Y>2</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
				<Item class="Script" referent="RBX254">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">Script</string>
						<string name="Source">function onTouched(hit)&#13;&#10;if hit.Name ~= &quot;tray&quot; then hit:remove() end&#13;&#10;end&#13;&#10;&#13;&#10;connection = script.Parent.Touched:connect(onTouched)&#13;&#10;</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Script" referent="RBX255">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">Script</string>
						<string name="Source">&#13;&#10;function onTouched(hit)&#13;&#10;&#9;local human = hit.Parent:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;if (human ~= nil) then&#13;&#10;&#9;&#9;human.Health = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if (script.Parent ~= nil) and (script.Parent.className == &quot;Part&quot;) then --Work if in a block&#13;&#10;&#9;connection = script.Parent.Touched:connect(onTouched)&#13;&#10;end&#13;&#10;</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
			</Item>
			<Item class="Humanoid" referent="RBX256">
				<Properties>
					<float name="Health">100</float>
					<bool name="Jump">false</bool>
					<float name="MaxHealth">100</float>
					<string name="Name">Humanoid</string>
					<bool name="Sit">false</bool>
					<Vector3 name="TargetPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<Vector3 name="WalkDirection">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<float name="WalkRotationalVelocity">0</float>
					<Ref name="WalkToPart">null</Ref>
					<Vector3 name="WalkToPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX257">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Health</string>
					<string name="Source">function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;-- declarations&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;Humanoid.Health=500&#13;&#10;-- regeneration&#13;&#10;while true do&#13;&#10;&#9;local s = wait(4)&#13;&#10;&#9;local health = Humanoid.Health&#13;&#10;&#9;if health &gt; 0 and health &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;health = health + 0.08 * s * Humanoid.MaxHealth&#13;&#10;&#9;&#9;if health * 1.05 &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;&#9;Humanoid.Health = health&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;Humanoid.Health = Humanoid.MaxHealth&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="BodyColors" referent="RBX258">
				<Properties>
					<int name="HeadColor">24</int>
					<int name="LeftArmColor">28</int>
					<int name="LeftLegColor">28</int>
					<string name="Name">Body Colors</string>
					<int name="RightArmColor">28</int>
					<int name="RightLegColor">28</int>
					<int name="TorsoColor">28</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="IntValue" referent="RBX259">
				<Properties>
					<string name="Name">Value</string>
					<int name="Value">0</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX260">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Robot</string>
					<string name="Source">------------------&#13;&#10;--SPAWNING--&#13;&#10;------------------&#13;&#10;&#13;&#10;miked=script.Parent&#13;&#10;&#13;&#10;itlh=miked.Torso:findFirstChild(&quot;Left Hip&quot;)&#13;&#10;itlh.Part0=miked.Torso&#13;&#10;itlh.Part1=miked:findFirstChild(&quot;Left Leg&quot;)&#13;&#10;itlh.C0=CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;&#13;&#10;itrh=miked.Torso:findFirstChild(&quot;Right Hip&quot;)&#13;&#10;itrh.Part0=miked.Torso&#13;&#10;itrh.Part1=miked:findFirstChild(&quot;Right Leg&quot;)&#13;&#10;itrh.C0=CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;&#13;&#10;itls=miked.Torso:findFirstChild(&quot;Left Shoulder&quot;)&#13;&#10;itls.Part1=miked.Torso&#13;&#10;itls.C0=CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;itls.Part0=miked:findFirstChild(&quot;Left Arm&quot;)&#13;&#10;&#13;&#10;itrs=miked.Torso:findFirstChild(&quot;Right Shoulder&quot;)&#13;&#10;itrs.Part1=miked.Torso&#13;&#10;itrs.C0=CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;itrs.Part0=miked:findFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;miked.Head:makeJoints()&#13;&#10;------------------&#13;&#10;------------------&#13;&#10;&#13;&#10;&#13;&#10;function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Torso = waitForChild(Figure, &quot;Torso&quot;)&#13;&#10;local RightShoulder = waitForChild(Torso, &quot;Right Shoulder&quot;)&#13;&#10;local LeftShoulder = waitForChild(Torso, &quot;Left Shoulder&quot;)&#13;&#10;local RightHip = waitForChild(Torso, &quot;Right Hip&quot;)&#13;&#10;local LeftHip = waitForChild(Torso, &quot;Left Hip&quot;)&#13;&#10;local Neck = waitForChild(Torso, &quot;Neck&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;local pose = &quot;Standing&quot;&#13;&#10;&#13;&#10;local toolAnim = &quot;None&quot;&#13;&#10;local toolAnimTime = 0&#13;&#10;&#13;&#10;local isSeated = false&#13;&#10;&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if isSeated then return end&#13;&#10;&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;pose = &quot;Running&quot;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;pose = &quot;Standing&quot;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;pose = &quot;Dead&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onJumping()&#13;&#10;&#9;isSeated = false&#13;&#10;&#9;pose = &quot;Jumping&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onClimbing()&#13;&#10;&#9;pose = &quot;Climbing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onGettingUp()&#13;&#10;&#9;pose = &quot;GettingUp&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFreeFall()&#13;&#10;&#9;pose = &quot;FreeFall&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onDancing()&#13;&#10;&#9;pose = &quot;Dancing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFallingDown()&#13;&#10;&#9;pose = &quot;FallingDown&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onSeated()&#13;&#10;&#9;isSeated = true&#13;&#10;&#9;pose = &quot;Seated&quot;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function moveJump()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFreeFall()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1&#13;&#10;&#9;LeftShoulder.DesiredAngle = -1&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFloat()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = -1.57&#13;&#10;end&#13;&#10;&#13;&#10;function moveBoogy()&#13;&#10;while pose==&quot;Boogy&quot; do&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 1.57&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;function moveZombie()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function movePunch()&#13;&#10;&#9;script.Parent.Torso.Anchored=true&#13;&#10;&#9;RightShoulder.MaxVelocity = 60&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;script.Parent.Torso.Anchored=false&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveKick()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveFly()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function moveClimb()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveSit()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;RightHip.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftHip.DesiredAngle = -3.14 /2&#13;&#10;end&#13;&#10;&#13;&#10;function getTool()&#13;&#10;&#9;&#13;&#10;&#9;kidTable = Figure:children()&#13;&#10;&#9;if (kidTable ~= nil) then&#13;&#10;&#9;&#9;numKids = #kidTable&#13;&#10;&#9;&#9;for i=1,numKids do&#13;&#10;&#9;&#9;&#9;if (kidTable[i].className == &quot;Tool&quot;) then return kidTable[i] end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;c = tool:children()&#13;&#10;&#9;for i=1,#c do&#13;&#10;&#9;&#9;if (c[i].Name == &quot;toolanim&quot; and c[i].className == &quot;StringValue&quot;) then&#13;&#10;&#9;&#9;&#9;return c[i]&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function animateTool()&#13;&#10;&#9;&#13;&#10;&#9;if (toolAnim == &quot;None&quot;) then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Slash&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Lunge&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 1.0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 1.0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function move(time)&#13;&#10;&#9;local amplitude&#13;&#10;&#9;local frequency&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Jumping&quot;) then&#13;&#10;&#9;&#9;moveJump()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Zombie&quot;) then&#13;&#10;&#9;&#9;moveZombie()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Boogy&quot;) then&#13;&#10;&#9;&#9;moveBoogy()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Float&quot;) then&#13;&#10;&#9;&#9;moveFloat()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Punch&quot;) then&#13;&#10;&#9;&#9;movePunch()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Kick&quot;) then&#13;&#10;&#9;&#9;moveKick()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Fly&quot;) then&#13;&#10;&#9;&#9;moveFly()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;FreeFall&quot;) then&#13;&#10;&#9;&#9;moveFreeFall()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Climbing&quot;) then&#13;&#10;&#9;&#9;moveClimb()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Seated&quot;) then&#13;&#10;&#9;&#9;moveSit()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;amplitude = 0.1&#13;&#10;&#9;&#9;frequency = 1&#13;&#10;&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;if (pose == &quot;Running&quot;) then&#13;&#10;&#9;&#9;amplitude = 1&#13;&#10;&#9;&#9;frequency = 9&#13;&#10;&#9;elseif (pose == &quot;Dancing&quot;) then&#13;&#10;&#9;&#9;amplitude = 2&#13;&#10;&#9;&#9;frequency = 16&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#13;&#10;&#9;desiredAngle = amplitude * math.sin(time*frequency)&#13;&#10;&#9;if pose~=&quot;Dancing&quot; then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;else&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;end&#13;&#10;&#9;&#9;&#13;&#10;&#13;&#10;&#13;&#10;&#9;local tool = getTool()&#13;&#10;&#13;&#10;&#9;if tool ~= nil then&#13;&#10;&#9;&#13;&#10;&#9;&#9;animStringValueObject = getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;&#9;if animStringValueObject ~= nil then&#13;&#10;&#9;&#9;&#9;toolAnim = animStringValueObject.Value&#13;&#10;&#9;&#9;&#9;-- message recieved, delete StringValue&#13;&#10;&#9;&#9;&#9;animStringValueObject.Parent = nil&#13;&#10;&#9;&#9;&#9;toolAnimTime = time + .3&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if time &gt; toolAnimTime then&#13;&#10;&#9;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;animateTool()&#13;&#10;&#13;&#10;&#9;&#9;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;-- connect events&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;function unequip()&#13;&#10;&#9;local items=script.Parent:children()&#13;&#10;&#9;for i=1, #items do&#13;&#10;&#9;&#9;if items[i].className==&quot;Tool&quot; then items[i]:remove() end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onChatted(msg, recipient) &#13;&#10;&#9;msg = string.lower(msg)&#13;&#10;&#13;&#10;&#9;if string.match(msg, string.lower(script.Parent.Name))~=nil or string.match(msg, &quot;everyone&quot;) then&#13;&#10;&#9;&#9;if string.match(msg, &quot;equip&quot;) then &#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;Hub&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;if string.match(msg, &quot;rocket&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Rocket:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;slingshot&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Slingshot:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;sword&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Sword:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;pbg&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.PBG:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;superball&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Superball:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;trowel&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Trowel:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;bomb&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Bomb:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;unequip&quot;) then unequip() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;run&quot;) then onRunning(1) end&#13;&#10;&#9;&#9;if string.match(msg, &quot;climb&quot;) then onClimbing() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;jump&quot;) then onJumping() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;zombie&quot;) then pose=&quot;Zombie&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;disco&quot;) then pose=&quot;Boogy&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;float&quot;) then pose=&quot;Float&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;punch&quot;) then pose=&quot;Punch&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kick&quot;) then pose=&quot;Kick&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;fly&quot;) then pose=&quot;Fly&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;heal&quot;) then script.Parent.Humanoid.Health=script.Parent.Humanoid.MaxHealth end&#13;&#10;&#9;&#9;if string.match(msg, &quot;defend&quot;) then defence() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;stop&quot;) then pose=&quot;Standing&quot;; proxkill=false; following=false; stopmoving() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;go home&quot;) then following=false; gohome() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;follow&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;followany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;follow(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kill&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;attackany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;attack(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if game.Players.NumPlayers&gt;1 then&#13;&#10;&#9;x=game.Players:children()&#13;&#10;&#9;&#13;&#10;&#9;for i=1, #x do&#13;&#10;&#9;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function onPlayerEntered(Player) &#13;&#10;&#9;while Player.Name==nil do&#13;&#10;&#9;&#9;wait(2)&#13;&#10;&#9;end&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;end&#13;&#10;&#9;else&#13;&#10;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;game.Players.ChildAdded:connect(onPlayerEntered) &#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;dist=20&#13;&#10;&#13;&#10;function followany()&#13;&#10;following=true&#13;&#10;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 6 do&#13;&#10;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then stopmoving() else&#9;wait(0.5) end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function gohome()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(Vector3.new(0,0,0), game.Workspace.Bases.Base)&#13;&#10;end&#13;&#10;function stopmoving()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(script.Parent.Torso.Position, script.Parent.Torso)&#13;&#10;end&#13;&#10;&#13;&#10;function follow(name)&#13;&#10;&#9;following=true&#13;&#10;&#13;&#10;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;if p==nil then return end&#13;&#10;&#9;while following==true do&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attack(name)&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#9;&#9;following=true&#13;&#10;&#9;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;&#9;if p==nil then return end&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#9;local l=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((l.x-q.x)^2)+((l.y-q.y)^2)+((l.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;if (q.y-l.y)&gt;3 and (q.y-l.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attackany()&#13;&#10;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#13;&#10;&#9;following=true&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;slash()&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;if target.Parent==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then &#13;&#10;&#9;&#9;&#9;&#9;&#9;stopmoving() &#13;&#10;&#9;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=target.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if (q.y-p.y)&gt;3 and (q.y-p.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function patrol()&#13;&#10;&#9;if points==nil then&#13;&#10;&#9;&#9;points=0&#13;&#10;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp1&quot;)~=nil then&#13;&#10;&#9;&#9;pp1=game.Workspace:findFirstChild(&quot;pp1&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp2&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;pp2=game.Workspace:findFirstChild(&quot;pp2&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp3&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;pp3=game.Workspace:findFirstChild(&quot;pp3&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp4&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;pp4=game.Workspace:findFirstChild(&quot;pp4&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp5&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;pp5=game.Workspace:findFirstChild(&quot;pp5&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp6&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp6=game.Workspace:findFirstChild(&quot;pp6&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp7&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp7=game.Workspace:findFirstChild(&quot;pp7&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp8&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp8=game.Workspace:findFirstChild(&quot;pp8&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp9&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp9=game.Workspace:findFirstChild(&quot;pp9&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if points&lt;1 then return end&#13;&#10;&#9;patrolling=true&#13;&#10;&#9;local time=2&#13;&#10;&#9;if points==1 then return end&#13;&#10;&#9;if points&gt;1 then&#13;&#10;&#9;&#9;while patrolling==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp1.Position, pp1)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp2.Position, pp2)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;if points&gt;2 then&#13;&#10;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp3.Position, pp3)&#13;&#10;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;if points&gt;3 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp4.Position, pp4)&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;if points&gt;4 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp5.Position, pp5)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;5 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp6.Position, pp6)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;6 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp7.Position, pp7)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp8.Position, pp8)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp9.Position, pp9)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function goto(pos,part)&#13;&#10;while true do&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function slash()&#13;&#10;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;wait(.3)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -2.14&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;&#9;wait(.2)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function defence()&#13;&#10;&#9;proxkill=true&#13;&#10;&#9;while proxkill==true do&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local p=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if p~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local p=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;dist and d&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local ex=Instance.new(&quot;Explosion&quot;)&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Position=p&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Parent=game.Workspace&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#9;&#9;&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;wait(1)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(onJumping)&#13;&#10;Humanoid.Climbing:connect(onClimbing)&#13;&#10;Humanoid.GettingUp:connect(onGettingUp)&#13;&#10;Humanoid.FreeFalling:connect(onFreeFall)&#13;&#10;Humanoid.FallingDown:connect(onFallingDown)&#13;&#10;Humanoid.Seated:connect(onSeated)&#13;&#10;&#13;&#10;&#13;&#10;--[[&#13;&#10;&#13;&#10;function newSound(id)&#13;&#10;&#9;local sound = Instance.new(&quot;Sound&quot;)&#13;&#10;&#9;sound.SoundId = id&#13;&#10;&#9;sound.Parent = script.Parent.Head&#13;&#10;&#9;return sound&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;local sDied = newSound(&quot;rbxasset://sounds/uuhhh.wav&quot;)&#13;&#10;local sFallingDown = newSound(&quot;rbxasset://sounds/splat.wav&quot;)&#13;&#10;local sFreeFalling = newSound(&quot;rbxasset://sounds/swoosh.wav&quot;)&#13;&#10;local sGettingUp = newSound(&quot;rbxasset://sounds/hit.wav&quot;)&#13;&#10;local sJumping = newSound(&quot;rbxasset://sounds/button.wav&quot;)&#13;&#10;local sRunning = newSound(&quot;rbxasset://sounds/bfsl-minifigfoots1.mp3&quot;)&#13;&#10;sRunning.Looped = true&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;sDied:play()&#13;&#10;end&#13;&#10;&#13;&#10;function onState(state, sound)&#13;&#10;&#9;if state then&#13;&#10;&#9;&#9;sound:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sound:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;sRunning:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sRunning:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(function(state) onState(state, sJumping) end)&#13;&#10;Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end)&#13;&#10;Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end)&#13;&#10;Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end)&#13;&#10;--]]&#13;&#10;&#13;&#10;local nextTime = 0&#13;&#10;local runService = game:service(&quot;RunService&quot;);&#13;&#10;&#13;&#10;while Figure.Parent~=nil do&#13;&#10;&#9;time = runService.Stepped:wait()&#13;&#10;&#9;if time &gt; nextTime then&#13;&#10;&#9;&#9;move(time)&#13;&#10;&#9;&#9;nextTime = time + 0.1&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX261">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Follow</string>
					<string name="Source">local larm = script.Parent:FindFirstChild(&quot;Left Arm&quot;)&#13;&#10;local rarm = script.Parent:FindFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;function findNearestTorso(pos)&#13;&#10;&#9;local list = game.Workspace:children()&#13;&#10;&#9;local torso = nil&#13;&#10;&#9;local dist = 25&#13;&#10;&#9;local temp = nil&#13;&#10;&#9;local human = nil&#13;&#10;&#9;local temp2 = nil&#13;&#10;&#9;for x = 1, #list do&#13;&#10;&#9;&#9;temp2 = list[x]&#13;&#10;&#9;&#9;if (temp2.className == &quot;Model&quot;) and (temp2 ~= script.Parent) then&#13;&#10;&#9;&#9;&#9;temp = temp2:findFirstChild(&quot;Torso&quot;)&#13;&#10;&#9;&#9;&#9;human = temp2:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;&#9;&#9;if (temp ~= nil) and (human ~= nil) and (human.Health &gt; 0) then&#13;&#10;&#9;&#9;&#9;&#9;if (temp.Position - pos).magnitude &lt; dist then&#13;&#10;&#9;&#9;&#9;&#9;&#9;torso = temp&#13;&#10;&#9;&#9;&#9;&#9;&#9;dist = (temp.Position - pos).magnitude&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return torso&#13;&#10;end&#13;&#10;&#13;&#10;while true do&#13;&#10;&#9;wait(0.1)&#13;&#10;&#9;local target = findNearestTorso(script.Parent.Torso.Position)&#13;&#10;&#9;if target ~= nil then&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#9;end&#13;&#10;end</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Model" referent="RBX262">
			<Properties>
				<token name="Controller">7</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">Warrior</string>
				<Ref name="PrimaryPart">null</Ref>
				<bool name="archivable">true</bool>
			</Properties>
			<Item class="Humanoid" referent="RBX263">
				<Properties>
					<float name="Health">0</float>
					<bool name="Jump">false</bool>
					<float name="MaxHealth">100</float>
					<string name="Name">Humanoid</string>
					<bool name="Sit">false</bool>
					<Vector3 name="TargetPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<Vector3 name="WalkDirection">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<float name="WalkRotationalVelocity">0</float>
					<Ref name="WalkToPart">null</Ref>
					<Vector3 name="WalkToPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX264">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Health</string>
					<string name="Source">function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;-- declarations&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;Humanoid.Health=500&#13;&#10;-- regeneration&#13;&#10;while true do&#13;&#10;&#9;local s = wait(4)&#13;&#10;&#9;local health = Humanoid.Health&#13;&#10;&#9;if health &gt; 0 and health &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;health = health + 0.08 * s * Humanoid.MaxHealth&#13;&#10;&#9;&#9;if health * 1.05 &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;&#9;Humanoid.Health = health&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;Humanoid.Health = Humanoid.MaxHealth&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="BodyColors" referent="RBX265">
				<Properties>
					<int name="HeadColor">24</int>
					<int name="LeftArmColor">28</int>
					<int name="LeftLegColor">28</int>
					<string name="Name">Body Colors</string>
					<int name="RightArmColor">28</int>
					<int name="RightLegColor">28</int>
					<int name="TorsoColor">28</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="IntValue" referent="RBX266">
				<Properties>
					<string name="Name">Value</string>
					<int name="Value">0</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX267">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Robot</string>
					<string name="Source">------------------&#13;&#10;--SPAWNING--&#13;&#10;------------------&#13;&#10;&#13;&#10;miked=script.Parent&#13;&#10;&#13;&#10;itlh=miked.Torso:findFirstChild(&quot;Left Hip&quot;)&#13;&#10;itlh.Part0=miked.Torso&#13;&#10;itlh.Part1=miked:findFirstChild(&quot;Left Leg&quot;)&#13;&#10;itlh.C0=CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;&#13;&#10;itrh=miked.Torso:findFirstChild(&quot;Right Hip&quot;)&#13;&#10;itrh.Part0=miked.Torso&#13;&#10;itrh.Part1=miked:findFirstChild(&quot;Right Leg&quot;)&#13;&#10;itrh.C0=CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;&#13;&#10;itls=miked.Torso:findFirstChild(&quot;Left Shoulder&quot;)&#13;&#10;itls.Part1=miked.Torso&#13;&#10;itls.C0=CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;itls.Part0=miked:findFirstChild(&quot;Left Arm&quot;)&#13;&#10;&#13;&#10;itrs=miked.Torso:findFirstChild(&quot;Right Shoulder&quot;)&#13;&#10;itrs.Part1=miked.Torso&#13;&#10;itrs.C0=CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;itrs.Part0=miked:findFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;miked.Head:makeJoints()&#13;&#10;------------------&#13;&#10;------------------&#13;&#10;&#13;&#10;&#13;&#10;function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Torso = waitForChild(Figure, &quot;Torso&quot;)&#13;&#10;local RightShoulder = waitForChild(Torso, &quot;Right Shoulder&quot;)&#13;&#10;local LeftShoulder = waitForChild(Torso, &quot;Left Shoulder&quot;)&#13;&#10;local RightHip = waitForChild(Torso, &quot;Right Hip&quot;)&#13;&#10;local LeftHip = waitForChild(Torso, &quot;Left Hip&quot;)&#13;&#10;local Neck = waitForChild(Torso, &quot;Neck&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;local pose = &quot;Standing&quot;&#13;&#10;&#13;&#10;local toolAnim = &quot;None&quot;&#13;&#10;local toolAnimTime = 0&#13;&#10;&#13;&#10;local isSeated = false&#13;&#10;&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if isSeated then return end&#13;&#10;&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;pose = &quot;Running&quot;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;pose = &quot;Standing&quot;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;pose = &quot;Dead&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onJumping()&#13;&#10;&#9;isSeated = false&#13;&#10;&#9;pose = &quot;Jumping&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onClimbing()&#13;&#10;&#9;pose = &quot;Climbing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onGettingUp()&#13;&#10;&#9;pose = &quot;GettingUp&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFreeFall()&#13;&#10;&#9;pose = &quot;FreeFall&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onDancing()&#13;&#10;&#9;pose = &quot;Dancing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFallingDown()&#13;&#10;&#9;pose = &quot;FallingDown&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onSeated()&#13;&#10;&#9;isSeated = true&#13;&#10;&#9;pose = &quot;Seated&quot;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function moveJump()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFreeFall()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1&#13;&#10;&#9;LeftShoulder.DesiredAngle = -1&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFloat()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = -1.57&#13;&#10;end&#13;&#10;&#13;&#10;function moveBoogy()&#13;&#10;while pose==&quot;Boogy&quot; do&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 1.57&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;function moveZombie()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function movePunch()&#13;&#10;&#9;script.Parent.Torso.Anchored=true&#13;&#10;&#9;RightShoulder.MaxVelocity = 60&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;script.Parent.Torso.Anchored=false&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveKick()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveFly()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function moveClimb()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveSit()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;RightHip.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftHip.DesiredAngle = -3.14 /2&#13;&#10;end&#13;&#10;&#13;&#10;function getTool()&#13;&#10;&#9;&#13;&#10;&#9;kidTable = Figure:children()&#13;&#10;&#9;if (kidTable ~= nil) then&#13;&#10;&#9;&#9;numKids = #kidTable&#13;&#10;&#9;&#9;for i=1,numKids do&#13;&#10;&#9;&#9;&#9;if (kidTable[i].className == &quot;Tool&quot;) then return kidTable[i] end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;c = tool:children()&#13;&#10;&#9;for i=1,#c do&#13;&#10;&#9;&#9;if (c[i].Name == &quot;toolanim&quot; and c[i].className == &quot;StringValue&quot;) then&#13;&#10;&#9;&#9;&#9;return c[i]&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function animateTool()&#13;&#10;&#9;&#13;&#10;&#9;if (toolAnim == &quot;None&quot;) then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Slash&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Lunge&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 1.0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 1.0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function move(time)&#13;&#10;&#9;local amplitude&#13;&#10;&#9;local frequency&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Jumping&quot;) then&#13;&#10;&#9;&#9;moveJump()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Zombie&quot;) then&#13;&#10;&#9;&#9;moveZombie()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Boogy&quot;) then&#13;&#10;&#9;&#9;moveBoogy()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Float&quot;) then&#13;&#10;&#9;&#9;moveFloat()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Punch&quot;) then&#13;&#10;&#9;&#9;movePunch()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Kick&quot;) then&#13;&#10;&#9;&#9;moveKick()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Fly&quot;) then&#13;&#10;&#9;&#9;moveFly()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;FreeFall&quot;) then&#13;&#10;&#9;&#9;moveFreeFall()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Climbing&quot;) then&#13;&#10;&#9;&#9;moveClimb()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Seated&quot;) then&#13;&#10;&#9;&#9;moveSit()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;amplitude = 0.1&#13;&#10;&#9;&#9;frequency = 1&#13;&#10;&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;if (pose == &quot;Running&quot;) then&#13;&#10;&#9;&#9;amplitude = 1&#13;&#10;&#9;&#9;frequency = 9&#13;&#10;&#9;elseif (pose == &quot;Dancing&quot;) then&#13;&#10;&#9;&#9;amplitude = 2&#13;&#10;&#9;&#9;frequency = 16&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#13;&#10;&#9;desiredAngle = amplitude * math.sin(time*frequency)&#13;&#10;&#9;if pose~=&quot;Dancing&quot; then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;else&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;end&#13;&#10;&#9;&#9;&#13;&#10;&#13;&#10;&#13;&#10;&#9;local tool = getTool()&#13;&#10;&#13;&#10;&#9;if tool ~= nil then&#13;&#10;&#9;&#13;&#10;&#9;&#9;animStringValueObject = getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;&#9;if animStringValueObject ~= nil then&#13;&#10;&#9;&#9;&#9;toolAnim = animStringValueObject.Value&#13;&#10;&#9;&#9;&#9;-- message recieved, delete StringValue&#13;&#10;&#9;&#9;&#9;animStringValueObject.Parent = nil&#13;&#10;&#9;&#9;&#9;toolAnimTime = time + .3&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if time &gt; toolAnimTime then&#13;&#10;&#9;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;animateTool()&#13;&#10;&#13;&#10;&#9;&#9;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;-- connect events&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;function unequip()&#13;&#10;&#9;local items=script.Parent:children()&#13;&#10;&#9;for i=1, #items do&#13;&#10;&#9;&#9;if items[i].className==&quot;Tool&quot; then items[i]:remove() end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onChatted(msg, recipient) &#13;&#10;&#9;msg = string.lower(msg)&#13;&#10;&#13;&#10;&#9;if string.match(msg, string.lower(script.Parent.Name))~=nil or string.match(msg, &quot;everyone&quot;) then&#13;&#10;&#9;&#9;if string.match(msg, &quot;equip&quot;) then &#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;Hub&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;if string.match(msg, &quot;rocket&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Rocket:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;slingshot&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Slingshot:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;sword&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Sword:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;pbg&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.PBG:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;superball&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Superball:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;trowel&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Trowel:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;bomb&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Bomb:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;unequip&quot;) then unequip() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;run&quot;) then onRunning(1) end&#13;&#10;&#9;&#9;if string.match(msg, &quot;climb&quot;) then onClimbing() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;jump&quot;) then onJumping() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;zombie&quot;) then pose=&quot;Zombie&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;disco&quot;) then pose=&quot;Boogy&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;float&quot;) then pose=&quot;Float&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;punch&quot;) then pose=&quot;Punch&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kick&quot;) then pose=&quot;Kick&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;fly&quot;) then pose=&quot;Fly&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;heal&quot;) then script.Parent.Humanoid.Health=script.Parent.Humanoid.MaxHealth end&#13;&#10;&#9;&#9;if string.match(msg, &quot;defend&quot;) then defence() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;stop&quot;) then pose=&quot;Standing&quot;; proxkill=false; following=false; stopmoving() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;go home&quot;) then following=false; gohome() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;follow&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;followany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;follow(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kill&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;attackany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;attack(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if game.Players.NumPlayers&gt;1 then&#13;&#10;&#9;x=game.Players:children()&#13;&#10;&#9;&#13;&#10;&#9;for i=1, #x do&#13;&#10;&#9;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function onPlayerEntered(Player) &#13;&#10;&#9;while Player.Name==nil do&#13;&#10;&#9;&#9;wait(2)&#13;&#10;&#9;end&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;end&#13;&#10;&#9;else&#13;&#10;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;game.Players.ChildAdded:connect(onPlayerEntered) &#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;dist=20&#13;&#10;&#13;&#10;function followany()&#13;&#10;following=true&#13;&#10;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 6 do&#13;&#10;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then stopmoving() else&#9;wait(0.5) end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function gohome()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(Vector3.new(0,0,0), game.Workspace.Bases.Base)&#13;&#10;end&#13;&#10;function stopmoving()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(script.Parent.Torso.Position, script.Parent.Torso)&#13;&#10;end&#13;&#10;&#13;&#10;function follow(name)&#13;&#10;&#9;following=true&#13;&#10;&#13;&#10;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;if p==nil then return end&#13;&#10;&#9;while following==true do&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attack(name)&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#9;&#9;following=true&#13;&#10;&#9;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;&#9;if p==nil then return end&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#9;local l=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((l.x-q.x)^2)+((l.y-q.y)^2)+((l.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;if (q.y-l.y)&gt;3 and (q.y-l.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attackany()&#13;&#10;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#13;&#10;&#9;following=true&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;slash()&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;if target.Parent==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then &#13;&#10;&#9;&#9;&#9;&#9;&#9;stopmoving() &#13;&#10;&#9;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=target.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if (q.y-p.y)&gt;3 and (q.y-p.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function patrol()&#13;&#10;&#9;if points==nil then&#13;&#10;&#9;&#9;points=0&#13;&#10;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp1&quot;)~=nil then&#13;&#10;&#9;&#9;pp1=game.Workspace:findFirstChild(&quot;pp1&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp2&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;pp2=game.Workspace:findFirstChild(&quot;pp2&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp3&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;pp3=game.Workspace:findFirstChild(&quot;pp3&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp4&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;pp4=game.Workspace:findFirstChild(&quot;pp4&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp5&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;pp5=game.Workspace:findFirstChild(&quot;pp5&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp6&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp6=game.Workspace:findFirstChild(&quot;pp6&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp7&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp7=game.Workspace:findFirstChild(&quot;pp7&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp8&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp8=game.Workspace:findFirstChild(&quot;pp8&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp9&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp9=game.Workspace:findFirstChild(&quot;pp9&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if points&lt;1 then return end&#13;&#10;&#9;patrolling=true&#13;&#10;&#9;local time=2&#13;&#10;&#9;if points==1 then return end&#13;&#10;&#9;if points&gt;1 then&#13;&#10;&#9;&#9;while patrolling==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp1.Position, pp1)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp2.Position, pp2)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;if points&gt;2 then&#13;&#10;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp3.Position, pp3)&#13;&#10;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;if points&gt;3 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp4.Position, pp4)&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;if points&gt;4 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp5.Position, pp5)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;5 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp6.Position, pp6)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;6 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp7.Position, pp7)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp8.Position, pp8)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp9.Position, pp9)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function goto(pos,part)&#13;&#10;while true do&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function slash()&#13;&#10;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;wait(.3)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -2.14&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;&#9;wait(.2)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function defence()&#13;&#10;&#9;proxkill=true&#13;&#10;&#9;while proxkill==true do&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local p=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if p~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local p=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;dist and d&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local ex=Instance.new(&quot;Explosion&quot;)&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Position=p&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Parent=game.Workspace&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#9;&#9;&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;wait(1)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(onJumping)&#13;&#10;Humanoid.Climbing:connect(onClimbing)&#13;&#10;Humanoid.GettingUp:connect(onGettingUp)&#13;&#10;Humanoid.FreeFalling:connect(onFreeFall)&#13;&#10;Humanoid.FallingDown:connect(onFallingDown)&#13;&#10;Humanoid.Seated:connect(onSeated)&#13;&#10;&#13;&#10;&#13;&#10;--[[&#13;&#10;&#13;&#10;function newSound(id)&#13;&#10;&#9;local sound = Instance.new(&quot;Sound&quot;)&#13;&#10;&#9;sound.SoundId = id&#13;&#10;&#9;sound.Parent = script.Parent.Head&#13;&#10;&#9;return sound&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;local sDied = newSound(&quot;rbxasset://sounds/uuhhh.wav&quot;)&#13;&#10;local sFallingDown = newSound(&quot;rbxasset://sounds/splat.wav&quot;)&#13;&#10;local sFreeFalling = newSound(&quot;rbxasset://sounds/swoosh.wav&quot;)&#13;&#10;local sGettingUp = newSound(&quot;rbxasset://sounds/hit.wav&quot;)&#13;&#10;local sJumping = newSound(&quot;rbxasset://sounds/button.wav&quot;)&#13;&#10;local sRunning = newSound(&quot;rbxasset://sounds/bfsl-minifigfoots1.mp3&quot;)&#13;&#10;sRunning.Looped = true&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;sDied:play()&#13;&#10;end&#13;&#10;&#13;&#10;function onState(state, sound)&#13;&#10;&#9;if state then&#13;&#10;&#9;&#9;sound:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sound:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;sRunning:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sRunning:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(function(state) onState(state, sJumping) end)&#13;&#10;Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end)&#13;&#10;Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end)&#13;&#10;Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end)&#13;&#10;--]]&#13;&#10;&#13;&#10;local nextTime = 0&#13;&#10;local runService = game:service(&quot;RunService&quot;);&#13;&#10;&#13;&#10;while Figure.Parent~=nil do&#13;&#10;&#9;time = runService.Stepped:wait()&#13;&#10;&#9;if time &gt; nextTime then&#13;&#10;&#9;&#9;move(time)&#13;&#10;&#9;&#9;nextTime = time + 0.1&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX268">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Follow</string>
					<string name="Source">local larm = script.Parent:FindFirstChild(&quot;Left Arm&quot;)&#13;&#10;local rarm = script.Parent:FindFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;function findNearestTorso(pos)&#13;&#10;&#9;local list = game.Workspace:children()&#13;&#10;&#9;local torso = nil&#13;&#10;&#9;local dist = 25&#13;&#10;&#9;local temp = nil&#13;&#10;&#9;local human = nil&#13;&#10;&#9;local temp2 = nil&#13;&#10;&#9;for x = 1, #list do&#13;&#10;&#9;&#9;temp2 = list[x]&#13;&#10;&#9;&#9;if (temp2.className == &quot;Model&quot;) and (temp2 ~= script.Parent) then&#13;&#10;&#9;&#9;&#9;temp = temp2:findFirstChild(&quot;Torso&quot;)&#13;&#10;&#9;&#9;&#9;human = temp2:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;&#9;&#9;if (temp ~= nil) and (human ~= nil) and (human.Health &gt; 0) then&#13;&#10;&#9;&#9;&#9;&#9;if (temp.Position - pos).magnitude &lt; dist then&#13;&#10;&#9;&#9;&#9;&#9;&#9;torso = temp&#13;&#10;&#9;&#9;&#9;&#9;&#9;dist = (temp.Position - pos).magnitude&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return torso&#13;&#10;end&#13;&#10;&#13;&#10;while true do&#13;&#10;&#9;wait(0.1)&#13;&#10;&#9;local target = findNearestTorso(script.Parent.Torso.Position)&#13;&#10;&#9;if target ~= nil then&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#9;end&#13;&#10;end</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Model" referent="RBX269">
			<Properties>
				<token name="Controller">7</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">Warrior</string>
				<Ref name="PrimaryPart">null</Ref>
				<bool name="archivable">true</bool>
			</Properties>
			<Item class="Humanoid" referent="RBX270">
				<Properties>
					<float name="Health">0</float>
					<bool name="Jump">false</bool>
					<float name="MaxHealth">100</float>
					<string name="Name">Humanoid</string>
					<bool name="Sit">false</bool>
					<Vector3 name="TargetPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<Vector3 name="WalkDirection">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<float name="WalkRotationalVelocity">0</float>
					<Ref name="WalkToPart">null</Ref>
					<Vector3 name="WalkToPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX271">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Health</string>
					<string name="Source">function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;-- declarations&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;Humanoid.Health=500&#13;&#10;-- regeneration&#13;&#10;while true do&#13;&#10;&#9;local s = wait(4)&#13;&#10;&#9;local health = Humanoid.Health&#13;&#10;&#9;if health &gt; 0 and health &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;health = health + 0.08 * s * Humanoid.MaxHealth&#13;&#10;&#9;&#9;if health * 1.05 &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;&#9;Humanoid.Health = health&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;Humanoid.Health = Humanoid.MaxHealth&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="BodyColors" referent="RBX272">
				<Properties>
					<int name="HeadColor">24</int>
					<int name="LeftArmColor">28</int>
					<int name="LeftLegColor">28</int>
					<string name="Name">Body Colors</string>
					<int name="RightArmColor">28</int>
					<int name="RightLegColor">28</int>
					<int name="TorsoColor">28</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="IntValue" referent="RBX273">
				<Properties>
					<string name="Name">Value</string>
					<int name="Value">0</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX274">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Robot</string>
					<string name="Source">------------------&#13;&#10;--SPAWNING--&#13;&#10;------------------&#13;&#10;&#13;&#10;miked=script.Parent&#13;&#10;&#13;&#10;itlh=miked.Torso:findFirstChild(&quot;Left Hip&quot;)&#13;&#10;itlh.Part0=miked.Torso&#13;&#10;itlh.Part1=miked:findFirstChild(&quot;Left Leg&quot;)&#13;&#10;itlh.C0=CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;&#13;&#10;itrh=miked.Torso:findFirstChild(&quot;Right Hip&quot;)&#13;&#10;itrh.Part0=miked.Torso&#13;&#10;itrh.Part1=miked:findFirstChild(&quot;Right Leg&quot;)&#13;&#10;itrh.C0=CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;&#13;&#10;itls=miked.Torso:findFirstChild(&quot;Left Shoulder&quot;)&#13;&#10;itls.Part1=miked.Torso&#13;&#10;itls.C0=CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;itls.Part0=miked:findFirstChild(&quot;Left Arm&quot;)&#13;&#10;&#13;&#10;itrs=miked.Torso:findFirstChild(&quot;Right Shoulder&quot;)&#13;&#10;itrs.Part1=miked.Torso&#13;&#10;itrs.C0=CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;itrs.Part0=miked:findFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;miked.Head:makeJoints()&#13;&#10;------------------&#13;&#10;------------------&#13;&#10;&#13;&#10;&#13;&#10;function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Torso = waitForChild(Figure, &quot;Torso&quot;)&#13;&#10;local RightShoulder = waitForChild(Torso, &quot;Right Shoulder&quot;)&#13;&#10;local LeftShoulder = waitForChild(Torso, &quot;Left Shoulder&quot;)&#13;&#10;local RightHip = waitForChild(Torso, &quot;Right Hip&quot;)&#13;&#10;local LeftHip = waitForChild(Torso, &quot;Left Hip&quot;)&#13;&#10;local Neck = waitForChild(Torso, &quot;Neck&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;local pose = &quot;Standing&quot;&#13;&#10;&#13;&#10;local toolAnim = &quot;None&quot;&#13;&#10;local toolAnimTime = 0&#13;&#10;&#13;&#10;local isSeated = false&#13;&#10;&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if isSeated then return end&#13;&#10;&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;pose = &quot;Running&quot;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;pose = &quot;Standing&quot;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;pose = &quot;Dead&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onJumping()&#13;&#10;&#9;isSeated = false&#13;&#10;&#9;pose = &quot;Jumping&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onClimbing()&#13;&#10;&#9;pose = &quot;Climbing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onGettingUp()&#13;&#10;&#9;pose = &quot;GettingUp&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFreeFall()&#13;&#10;&#9;pose = &quot;FreeFall&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onDancing()&#13;&#10;&#9;pose = &quot;Dancing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFallingDown()&#13;&#10;&#9;pose = &quot;FallingDown&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onSeated()&#13;&#10;&#9;isSeated = true&#13;&#10;&#9;pose = &quot;Seated&quot;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function moveJump()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFreeFall()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1&#13;&#10;&#9;LeftShoulder.DesiredAngle = -1&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFloat()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = -1.57&#13;&#10;end&#13;&#10;&#13;&#10;function moveBoogy()&#13;&#10;while pose==&quot;Boogy&quot; do&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 1.57&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;function moveZombie()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function movePunch()&#13;&#10;&#9;script.Parent.Torso.Anchored=true&#13;&#10;&#9;RightShoulder.MaxVelocity = 60&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;script.Parent.Torso.Anchored=false&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveKick()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveFly()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function moveClimb()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveSit()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;RightHip.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftHip.DesiredAngle = -3.14 /2&#13;&#10;end&#13;&#10;&#13;&#10;function getTool()&#13;&#10;&#9;&#13;&#10;&#9;kidTable = Figure:children()&#13;&#10;&#9;if (kidTable ~= nil) then&#13;&#10;&#9;&#9;numKids = #kidTable&#13;&#10;&#9;&#9;for i=1,numKids do&#13;&#10;&#9;&#9;&#9;if (kidTable[i].className == &quot;Tool&quot;) then return kidTable[i] end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;c = tool:children()&#13;&#10;&#9;for i=1,#c do&#13;&#10;&#9;&#9;if (c[i].Name == &quot;toolanim&quot; and c[i].className == &quot;StringValue&quot;) then&#13;&#10;&#9;&#9;&#9;return c[i]&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function animateTool()&#13;&#10;&#9;&#13;&#10;&#9;if (toolAnim == &quot;None&quot;) then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Slash&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Lunge&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 1.0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 1.0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function move(time)&#13;&#10;&#9;local amplitude&#13;&#10;&#9;local frequency&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Jumping&quot;) then&#13;&#10;&#9;&#9;moveJump()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Zombie&quot;) then&#13;&#10;&#9;&#9;moveZombie()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Boogy&quot;) then&#13;&#10;&#9;&#9;moveBoogy()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Float&quot;) then&#13;&#10;&#9;&#9;moveFloat()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Punch&quot;) then&#13;&#10;&#9;&#9;movePunch()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Kick&quot;) then&#13;&#10;&#9;&#9;moveKick()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Fly&quot;) then&#13;&#10;&#9;&#9;moveFly()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;FreeFall&quot;) then&#13;&#10;&#9;&#9;moveFreeFall()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Climbing&quot;) then&#13;&#10;&#9;&#9;moveClimb()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Seated&quot;) then&#13;&#10;&#9;&#9;moveSit()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;amplitude = 0.1&#13;&#10;&#9;&#9;frequency = 1&#13;&#10;&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;if (pose == &quot;Running&quot;) then&#13;&#10;&#9;&#9;amplitude = 1&#13;&#10;&#9;&#9;frequency = 9&#13;&#10;&#9;elseif (pose == &quot;Dancing&quot;) then&#13;&#10;&#9;&#9;amplitude = 2&#13;&#10;&#9;&#9;frequency = 16&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#13;&#10;&#9;desiredAngle = amplitude * math.sin(time*frequency)&#13;&#10;&#9;if pose~=&quot;Dancing&quot; then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;else&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;end&#13;&#10;&#9;&#9;&#13;&#10;&#13;&#10;&#13;&#10;&#9;local tool = getTool()&#13;&#10;&#13;&#10;&#9;if tool ~= nil then&#13;&#10;&#9;&#13;&#10;&#9;&#9;animStringValueObject = getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;&#9;if animStringValueObject ~= nil then&#13;&#10;&#9;&#9;&#9;toolAnim = animStringValueObject.Value&#13;&#10;&#9;&#9;&#9;-- message recieved, delete StringValue&#13;&#10;&#9;&#9;&#9;animStringValueObject.Parent = nil&#13;&#10;&#9;&#9;&#9;toolAnimTime = time + .3&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if time &gt; toolAnimTime then&#13;&#10;&#9;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;animateTool()&#13;&#10;&#13;&#10;&#9;&#9;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;-- connect events&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;function unequip()&#13;&#10;&#9;local items=script.Parent:children()&#13;&#10;&#9;for i=1, #items do&#13;&#10;&#9;&#9;if items[i].className==&quot;Tool&quot; then items[i]:remove() end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onChatted(msg, recipient) &#13;&#10;&#9;msg = string.lower(msg)&#13;&#10;&#13;&#10;&#9;if string.match(msg, string.lower(script.Parent.Name))~=nil or string.match(msg, &quot;everyone&quot;) then&#13;&#10;&#9;&#9;if string.match(msg, &quot;equip&quot;) then &#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;Hub&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;if string.match(msg, &quot;rocket&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Rocket:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;slingshot&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Slingshot:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;sword&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Sword:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;pbg&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.PBG:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;superball&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Superball:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;trowel&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Trowel:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;bomb&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Bomb:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;unequip&quot;) then unequip() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;run&quot;) then onRunning(1) end&#13;&#10;&#9;&#9;if string.match(msg, &quot;climb&quot;) then onClimbing() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;jump&quot;) then onJumping() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;zombie&quot;) then pose=&quot;Zombie&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;disco&quot;) then pose=&quot;Boogy&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;float&quot;) then pose=&quot;Float&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;punch&quot;) then pose=&quot;Punch&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kick&quot;) then pose=&quot;Kick&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;fly&quot;) then pose=&quot;Fly&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;heal&quot;) then script.Parent.Humanoid.Health=script.Parent.Humanoid.MaxHealth end&#13;&#10;&#9;&#9;if string.match(msg, &quot;defend&quot;) then defence() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;stop&quot;) then pose=&quot;Standing&quot;; proxkill=false; following=false; stopmoving() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;go home&quot;) then following=false; gohome() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;follow&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;followany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;follow(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kill&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;attackany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;attack(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if game.Players.NumPlayers&gt;1 then&#13;&#10;&#9;x=game.Players:children()&#13;&#10;&#9;&#13;&#10;&#9;for i=1, #x do&#13;&#10;&#9;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function onPlayerEntered(Player) &#13;&#10;&#9;while Player.Name==nil do&#13;&#10;&#9;&#9;wait(2)&#13;&#10;&#9;end&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;end&#13;&#10;&#9;else&#13;&#10;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;game.Players.ChildAdded:connect(onPlayerEntered) &#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;dist=20&#13;&#10;&#13;&#10;function followany()&#13;&#10;following=true&#13;&#10;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 6 do&#13;&#10;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then stopmoving() else&#9;wait(0.5) end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function gohome()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(Vector3.new(0,0,0), game.Workspace.Bases.Base)&#13;&#10;end&#13;&#10;function stopmoving()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(script.Parent.Torso.Position, script.Parent.Torso)&#13;&#10;end&#13;&#10;&#13;&#10;function follow(name)&#13;&#10;&#9;following=true&#13;&#10;&#13;&#10;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;if p==nil then return end&#13;&#10;&#9;while following==true do&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attack(name)&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#9;&#9;following=true&#13;&#10;&#9;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;&#9;if p==nil then return end&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#9;local l=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((l.x-q.x)^2)+((l.y-q.y)^2)+((l.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;if (q.y-l.y)&gt;3 and (q.y-l.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attackany()&#13;&#10;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#13;&#10;&#9;following=true&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;slash()&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;if target.Parent==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then &#13;&#10;&#9;&#9;&#9;&#9;&#9;stopmoving() &#13;&#10;&#9;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=target.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if (q.y-p.y)&gt;3 and (q.y-p.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function patrol()&#13;&#10;&#9;if points==nil then&#13;&#10;&#9;&#9;points=0&#13;&#10;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp1&quot;)~=nil then&#13;&#10;&#9;&#9;pp1=game.Workspace:findFirstChild(&quot;pp1&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp2&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;pp2=game.Workspace:findFirstChild(&quot;pp2&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp3&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;pp3=game.Workspace:findFirstChild(&quot;pp3&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp4&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;pp4=game.Workspace:findFirstChild(&quot;pp4&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp5&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;pp5=game.Workspace:findFirstChild(&quot;pp5&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp6&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp6=game.Workspace:findFirstChild(&quot;pp6&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp7&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp7=game.Workspace:findFirstChild(&quot;pp7&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp8&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp8=game.Workspace:findFirstChild(&quot;pp8&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp9&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp9=game.Workspace:findFirstChild(&quot;pp9&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if points&lt;1 then return end&#13;&#10;&#9;patrolling=true&#13;&#10;&#9;local time=2&#13;&#10;&#9;if points==1 then return end&#13;&#10;&#9;if points&gt;1 then&#13;&#10;&#9;&#9;while patrolling==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp1.Position, pp1)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp2.Position, pp2)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;if points&gt;2 then&#13;&#10;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp3.Position, pp3)&#13;&#10;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;if points&gt;3 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp4.Position, pp4)&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;if points&gt;4 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp5.Position, pp5)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;5 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp6.Position, pp6)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;6 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp7.Position, pp7)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp8.Position, pp8)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp9.Position, pp9)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function goto(pos,part)&#13;&#10;while true do&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function slash()&#13;&#10;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;wait(.3)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -2.14&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;&#9;wait(.2)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function defence()&#13;&#10;&#9;proxkill=true&#13;&#10;&#9;while proxkill==true do&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local p=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if p~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local p=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;dist and d&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local ex=Instance.new(&quot;Explosion&quot;)&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Position=p&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Parent=game.Workspace&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#9;&#9;&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;wait(1)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(onJumping)&#13;&#10;Humanoid.Climbing:connect(onClimbing)&#13;&#10;Humanoid.GettingUp:connect(onGettingUp)&#13;&#10;Humanoid.FreeFalling:connect(onFreeFall)&#13;&#10;Humanoid.FallingDown:connect(onFallingDown)&#13;&#10;Humanoid.Seated:connect(onSeated)&#13;&#10;&#13;&#10;&#13;&#10;--[[&#13;&#10;&#13;&#10;function newSound(id)&#13;&#10;&#9;local sound = Instance.new(&quot;Sound&quot;)&#13;&#10;&#9;sound.SoundId = id&#13;&#10;&#9;sound.Parent = script.Parent.Head&#13;&#10;&#9;return sound&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;local sDied = newSound(&quot;rbxasset://sounds/uuhhh.wav&quot;)&#13;&#10;local sFallingDown = newSound(&quot;rbxasset://sounds/splat.wav&quot;)&#13;&#10;local sFreeFalling = newSound(&quot;rbxasset://sounds/swoosh.wav&quot;)&#13;&#10;local sGettingUp = newSound(&quot;rbxasset://sounds/hit.wav&quot;)&#13;&#10;local sJumping = newSound(&quot;rbxasset://sounds/button.wav&quot;)&#13;&#10;local sRunning = newSound(&quot;rbxasset://sounds/bfsl-minifigfoots1.mp3&quot;)&#13;&#10;sRunning.Looped = true&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;sDied:play()&#13;&#10;end&#13;&#10;&#13;&#10;function onState(state, sound)&#13;&#10;&#9;if state then&#13;&#10;&#9;&#9;sound:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sound:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;sRunning:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sRunning:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(function(state) onState(state, sJumping) end)&#13;&#10;Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end)&#13;&#10;Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end)&#13;&#10;Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end)&#13;&#10;--]]&#13;&#10;&#13;&#10;local nextTime = 0&#13;&#10;local runService = game:service(&quot;RunService&quot;);&#13;&#10;&#13;&#10;while Figure.Parent~=nil do&#13;&#10;&#9;time = runService.Stepped:wait()&#13;&#10;&#9;if time &gt; nextTime then&#13;&#10;&#9;&#9;move(time)&#13;&#10;&#9;&#9;nextTime = time + 0.1&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX275">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Follow</string>
					<string name="Source">local larm = script.Parent:FindFirstChild(&quot;Left Arm&quot;)&#13;&#10;local rarm = script.Parent:FindFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;function findNearestTorso(pos)&#13;&#10;&#9;local list = game.Workspace:children()&#13;&#10;&#9;local torso = nil&#13;&#10;&#9;local dist = 25&#13;&#10;&#9;local temp = nil&#13;&#10;&#9;local human = nil&#13;&#10;&#9;local temp2 = nil&#13;&#10;&#9;for x = 1, #list do&#13;&#10;&#9;&#9;temp2 = list[x]&#13;&#10;&#9;&#9;if (temp2.className == &quot;Model&quot;) and (temp2 ~= script.Parent) then&#13;&#10;&#9;&#9;&#9;temp = temp2:findFirstChild(&quot;Torso&quot;)&#13;&#10;&#9;&#9;&#9;human = temp2:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;&#9;&#9;if (temp ~= nil) and (human ~= nil) and (human.Health &gt; 0) then&#13;&#10;&#9;&#9;&#9;&#9;if (temp.Position - pos).magnitude &lt; dist then&#13;&#10;&#9;&#9;&#9;&#9;&#9;torso = temp&#13;&#10;&#9;&#9;&#9;&#9;&#9;dist = (temp.Position - pos).magnitude&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return torso&#13;&#10;end&#13;&#10;&#13;&#10;while true do&#13;&#10;&#9;wait(0.1)&#13;&#10;&#9;local target = findNearestTorso(script.Parent.Torso.Position)&#13;&#10;&#9;if target ~= nil then&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#9;end&#13;&#10;end</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Model" referent="RBX276">
			<Properties>
				<token name="Controller">7</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">Warrior</string>
				<Ref name="PrimaryPart">null</Ref>
				<bool name="archivable">true</bool>
			</Properties>
			<Item class="Humanoid" referent="RBX277">
				<Properties>
					<float name="Health">0</float>
					<bool name="Jump">false</bool>
					<float name="MaxHealth">100</float>
					<string name="Name">Humanoid</string>
					<bool name="Sit">false</bool>
					<Vector3 name="TargetPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<Vector3 name="WalkDirection">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<float name="WalkRotationalVelocity">0</float>
					<Ref name="WalkToPart">null</Ref>
					<Vector3 name="WalkToPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX278">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Health</string>
					<string name="Source">function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;-- declarations&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;Humanoid.Health=500&#13;&#10;-- regeneration&#13;&#10;while true do&#13;&#10;&#9;local s = wait(4)&#13;&#10;&#9;local health = Humanoid.Health&#13;&#10;&#9;if health &gt; 0 and health &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;health = health + 0.08 * s * Humanoid.MaxHealth&#13;&#10;&#9;&#9;if health * 1.05 &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;&#9;Humanoid.Health = health&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;Humanoid.Health = Humanoid.MaxHealth&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="BodyColors" referent="RBX279">
				<Properties>
					<int name="HeadColor">24</int>
					<int name="LeftArmColor">28</int>
					<int name="LeftLegColor">28</int>
					<string name="Name">Body Colors</string>
					<int name="RightArmColor">28</int>
					<int name="RightLegColor">28</int>
					<int name="TorsoColor">28</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="IntValue" referent="RBX280">
				<Properties>
					<string name="Name">Value</string>
					<int name="Value">0</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX281">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Robot</string>
					<string name="Source">------------------&#13;&#10;--SPAWNING--&#13;&#10;------------------&#13;&#10;&#13;&#10;miked=script.Parent&#13;&#10;&#13;&#10;itlh=miked.Torso:findFirstChild(&quot;Left Hip&quot;)&#13;&#10;itlh.Part0=miked.Torso&#13;&#10;itlh.Part1=miked:findFirstChild(&quot;Left Leg&quot;)&#13;&#10;itlh.C0=CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;&#13;&#10;itrh=miked.Torso:findFirstChild(&quot;Right Hip&quot;)&#13;&#10;itrh.Part0=miked.Torso&#13;&#10;itrh.Part1=miked:findFirstChild(&quot;Right Leg&quot;)&#13;&#10;itrh.C0=CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;&#13;&#10;itls=miked.Torso:findFirstChild(&quot;Left Shoulder&quot;)&#13;&#10;itls.Part1=miked.Torso&#13;&#10;itls.C0=CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;itls.Part0=miked:findFirstChild(&quot;Left Arm&quot;)&#13;&#10;&#13;&#10;itrs=miked.Torso:findFirstChild(&quot;Right Shoulder&quot;)&#13;&#10;itrs.Part1=miked.Torso&#13;&#10;itrs.C0=CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;itrs.Part0=miked:findFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;miked.Head:makeJoints()&#13;&#10;------------------&#13;&#10;------------------&#13;&#10;&#13;&#10;&#13;&#10;function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Torso = waitForChild(Figure, &quot;Torso&quot;)&#13;&#10;local RightShoulder = waitForChild(Torso, &quot;Right Shoulder&quot;)&#13;&#10;local LeftShoulder = waitForChild(Torso, &quot;Left Shoulder&quot;)&#13;&#10;local RightHip = waitForChild(Torso, &quot;Right Hip&quot;)&#13;&#10;local LeftHip = waitForChild(Torso, &quot;Left Hip&quot;)&#13;&#10;local Neck = waitForChild(Torso, &quot;Neck&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;local pose = &quot;Standing&quot;&#13;&#10;&#13;&#10;local toolAnim = &quot;None&quot;&#13;&#10;local toolAnimTime = 0&#13;&#10;&#13;&#10;local isSeated = false&#13;&#10;&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if isSeated then return end&#13;&#10;&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;pose = &quot;Running&quot;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;pose = &quot;Standing&quot;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;pose = &quot;Dead&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onJumping()&#13;&#10;&#9;isSeated = false&#13;&#10;&#9;pose = &quot;Jumping&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onClimbing()&#13;&#10;&#9;pose = &quot;Climbing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onGettingUp()&#13;&#10;&#9;pose = &quot;GettingUp&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFreeFall()&#13;&#10;&#9;pose = &quot;FreeFall&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onDancing()&#13;&#10;&#9;pose = &quot;Dancing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFallingDown()&#13;&#10;&#9;pose = &quot;FallingDown&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onSeated()&#13;&#10;&#9;isSeated = true&#13;&#10;&#9;pose = &quot;Seated&quot;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function moveJump()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFreeFall()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1&#13;&#10;&#9;LeftShoulder.DesiredAngle = -1&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFloat()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = -1.57&#13;&#10;end&#13;&#10;&#13;&#10;function moveBoogy()&#13;&#10;while pose==&quot;Boogy&quot; do&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 1.57&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;function moveZombie()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function movePunch()&#13;&#10;&#9;script.Parent.Torso.Anchored=true&#13;&#10;&#9;RightShoulder.MaxVelocity = 60&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;script.Parent.Torso.Anchored=false&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveKick()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveFly()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function moveClimb()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveSit()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;RightHip.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftHip.DesiredAngle = -3.14 /2&#13;&#10;end&#13;&#10;&#13;&#10;function getTool()&#13;&#10;&#9;&#13;&#10;&#9;kidTable = Figure:children()&#13;&#10;&#9;if (kidTable ~= nil) then&#13;&#10;&#9;&#9;numKids = #kidTable&#13;&#10;&#9;&#9;for i=1,numKids do&#13;&#10;&#9;&#9;&#9;if (kidTable[i].className == &quot;Tool&quot;) then return kidTable[i] end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;c = tool:children()&#13;&#10;&#9;for i=1,#c do&#13;&#10;&#9;&#9;if (c[i].Name == &quot;toolanim&quot; and c[i].className == &quot;StringValue&quot;) then&#13;&#10;&#9;&#9;&#9;return c[i]&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function animateTool()&#13;&#10;&#9;&#13;&#10;&#9;if (toolAnim == &quot;None&quot;) then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Slash&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Lunge&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 1.0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 1.0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function move(time)&#13;&#10;&#9;local amplitude&#13;&#10;&#9;local frequency&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Jumping&quot;) then&#13;&#10;&#9;&#9;moveJump()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Zombie&quot;) then&#13;&#10;&#9;&#9;moveZombie()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Boogy&quot;) then&#13;&#10;&#9;&#9;moveBoogy()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Float&quot;) then&#13;&#10;&#9;&#9;moveFloat()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Punch&quot;) then&#13;&#10;&#9;&#9;movePunch()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Kick&quot;) then&#13;&#10;&#9;&#9;moveKick()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Fly&quot;) then&#13;&#10;&#9;&#9;moveFly()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;FreeFall&quot;) then&#13;&#10;&#9;&#9;moveFreeFall()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Climbing&quot;) then&#13;&#10;&#9;&#9;moveClimb()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Seated&quot;) then&#13;&#10;&#9;&#9;moveSit()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;amplitude = 0.1&#13;&#10;&#9;&#9;frequency = 1&#13;&#10;&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;if (pose == &quot;Running&quot;) then&#13;&#10;&#9;&#9;amplitude = 1&#13;&#10;&#9;&#9;frequency = 9&#13;&#10;&#9;elseif (pose == &quot;Dancing&quot;) then&#13;&#10;&#9;&#9;amplitude = 2&#13;&#10;&#9;&#9;frequency = 16&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#13;&#10;&#9;desiredAngle = amplitude * math.sin(time*frequency)&#13;&#10;&#9;if pose~=&quot;Dancing&quot; then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;else&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;end&#13;&#10;&#9;&#9;&#13;&#10;&#13;&#10;&#13;&#10;&#9;local tool = getTool()&#13;&#10;&#13;&#10;&#9;if tool ~= nil then&#13;&#10;&#9;&#13;&#10;&#9;&#9;animStringValueObject = getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;&#9;if animStringValueObject ~= nil then&#13;&#10;&#9;&#9;&#9;toolAnim = animStringValueObject.Value&#13;&#10;&#9;&#9;&#9;-- message recieved, delete StringValue&#13;&#10;&#9;&#9;&#9;animStringValueObject.Parent = nil&#13;&#10;&#9;&#9;&#9;toolAnimTime = time + .3&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if time &gt; toolAnimTime then&#13;&#10;&#9;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;animateTool()&#13;&#10;&#13;&#10;&#9;&#9;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;-- connect events&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;function unequip()&#13;&#10;&#9;local items=script.Parent:children()&#13;&#10;&#9;for i=1, #items do&#13;&#10;&#9;&#9;if items[i].className==&quot;Tool&quot; then items[i]:remove() end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onChatted(msg, recipient) &#13;&#10;&#9;msg = string.lower(msg)&#13;&#10;&#13;&#10;&#9;if string.match(msg, string.lower(script.Parent.Name))~=nil or string.match(msg, &quot;everyone&quot;) then&#13;&#10;&#9;&#9;if string.match(msg, &quot;equip&quot;) then &#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;Hub&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;if string.match(msg, &quot;rocket&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Rocket:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;slingshot&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Slingshot:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;sword&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Sword:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;pbg&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.PBG:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;superball&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Superball:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;trowel&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Trowel:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;bomb&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Bomb:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;unequip&quot;) then unequip() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;run&quot;) then onRunning(1) end&#13;&#10;&#9;&#9;if string.match(msg, &quot;climb&quot;) then onClimbing() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;jump&quot;) then onJumping() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;zombie&quot;) then pose=&quot;Zombie&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;disco&quot;) then pose=&quot;Boogy&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;float&quot;) then pose=&quot;Float&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;punch&quot;) then pose=&quot;Punch&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kick&quot;) then pose=&quot;Kick&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;fly&quot;) then pose=&quot;Fly&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;heal&quot;) then script.Parent.Humanoid.Health=script.Parent.Humanoid.MaxHealth end&#13;&#10;&#9;&#9;if string.match(msg, &quot;defend&quot;) then defence() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;stop&quot;) then pose=&quot;Standing&quot;; proxkill=false; following=false; stopmoving() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;go home&quot;) then following=false; gohome() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;follow&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;followany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;follow(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kill&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;attackany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;attack(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if game.Players.NumPlayers&gt;1 then&#13;&#10;&#9;x=game.Players:children()&#13;&#10;&#9;&#13;&#10;&#9;for i=1, #x do&#13;&#10;&#9;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function onPlayerEntered(Player) &#13;&#10;&#9;while Player.Name==nil do&#13;&#10;&#9;&#9;wait(2)&#13;&#10;&#9;end&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;end&#13;&#10;&#9;else&#13;&#10;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;game.Players.ChildAdded:connect(onPlayerEntered) &#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;dist=20&#13;&#10;&#13;&#10;function followany()&#13;&#10;following=true&#13;&#10;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 6 do&#13;&#10;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then stopmoving() else&#9;wait(0.5) end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function gohome()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(Vector3.new(0,0,0), game.Workspace.Bases.Base)&#13;&#10;end&#13;&#10;function stopmoving()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(script.Parent.Torso.Position, script.Parent.Torso)&#13;&#10;end&#13;&#10;&#13;&#10;function follow(name)&#13;&#10;&#9;following=true&#13;&#10;&#13;&#10;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;if p==nil then return end&#13;&#10;&#9;while following==true do&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attack(name)&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#9;&#9;following=true&#13;&#10;&#9;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;&#9;if p==nil then return end&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#9;local l=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((l.x-q.x)^2)+((l.y-q.y)^2)+((l.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;if (q.y-l.y)&gt;3 and (q.y-l.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attackany()&#13;&#10;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#13;&#10;&#9;following=true&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;slash()&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;if target.Parent==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then &#13;&#10;&#9;&#9;&#9;&#9;&#9;stopmoving() &#13;&#10;&#9;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=target.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if (q.y-p.y)&gt;3 and (q.y-p.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function patrol()&#13;&#10;&#9;if points==nil then&#13;&#10;&#9;&#9;points=0&#13;&#10;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp1&quot;)~=nil then&#13;&#10;&#9;&#9;pp1=game.Workspace:findFirstChild(&quot;pp1&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp2&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;pp2=game.Workspace:findFirstChild(&quot;pp2&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp3&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;pp3=game.Workspace:findFirstChild(&quot;pp3&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp4&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;pp4=game.Workspace:findFirstChild(&quot;pp4&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp5&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;pp5=game.Workspace:findFirstChild(&quot;pp5&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp6&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp6=game.Workspace:findFirstChild(&quot;pp6&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp7&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp7=game.Workspace:findFirstChild(&quot;pp7&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp8&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp8=game.Workspace:findFirstChild(&quot;pp8&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp9&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp9=game.Workspace:findFirstChild(&quot;pp9&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if points&lt;1 then return end&#13;&#10;&#9;patrolling=true&#13;&#10;&#9;local time=2&#13;&#10;&#9;if points==1 then return end&#13;&#10;&#9;if points&gt;1 then&#13;&#10;&#9;&#9;while patrolling==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp1.Position, pp1)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp2.Position, pp2)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;if points&gt;2 then&#13;&#10;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp3.Position, pp3)&#13;&#10;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;if points&gt;3 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp4.Position, pp4)&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;if points&gt;4 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp5.Position, pp5)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;5 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp6.Position, pp6)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;6 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp7.Position, pp7)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp8.Position, pp8)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp9.Position, pp9)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function goto(pos,part)&#13;&#10;while true do&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function slash()&#13;&#10;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;wait(.3)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -2.14&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;&#9;wait(.2)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function defence()&#13;&#10;&#9;proxkill=true&#13;&#10;&#9;while proxkill==true do&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local p=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if p~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local p=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;dist and d&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local ex=Instance.new(&quot;Explosion&quot;)&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Position=p&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Parent=game.Workspace&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#9;&#9;&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;wait(1)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(onJumping)&#13;&#10;Humanoid.Climbing:connect(onClimbing)&#13;&#10;Humanoid.GettingUp:connect(onGettingUp)&#13;&#10;Humanoid.FreeFalling:connect(onFreeFall)&#13;&#10;Humanoid.FallingDown:connect(onFallingDown)&#13;&#10;Humanoid.Seated:connect(onSeated)&#13;&#10;&#13;&#10;&#13;&#10;--[[&#13;&#10;&#13;&#10;function newSound(id)&#13;&#10;&#9;local sound = Instance.new(&quot;Sound&quot;)&#13;&#10;&#9;sound.SoundId = id&#13;&#10;&#9;sound.Parent = script.Parent.Head&#13;&#10;&#9;return sound&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;local sDied = newSound(&quot;rbxasset://sounds/uuhhh.wav&quot;)&#13;&#10;local sFallingDown = newSound(&quot;rbxasset://sounds/splat.wav&quot;)&#13;&#10;local sFreeFalling = newSound(&quot;rbxasset://sounds/swoosh.wav&quot;)&#13;&#10;local sGettingUp = newSound(&quot;rbxasset://sounds/hit.wav&quot;)&#13;&#10;local sJumping = newSound(&quot;rbxasset://sounds/button.wav&quot;)&#13;&#10;local sRunning = newSound(&quot;rbxasset://sounds/bfsl-minifigfoots1.mp3&quot;)&#13;&#10;sRunning.Looped = true&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;sDied:play()&#13;&#10;end&#13;&#10;&#13;&#10;function onState(state, sound)&#13;&#10;&#9;if state then&#13;&#10;&#9;&#9;sound:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sound:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;sRunning:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sRunning:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(function(state) onState(state, sJumping) end)&#13;&#10;Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end)&#13;&#10;Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end)&#13;&#10;Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end)&#13;&#10;--]]&#13;&#10;&#13;&#10;local nextTime = 0&#13;&#10;local runService = game:service(&quot;RunService&quot;);&#13;&#10;&#13;&#10;while Figure.Parent~=nil do&#13;&#10;&#9;time = runService.Stepped:wait()&#13;&#10;&#9;if time &gt; nextTime then&#13;&#10;&#9;&#9;move(time)&#13;&#10;&#9;&#9;nextTime = time + 0.1&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX282">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Follow</string>
					<string name="Source">local larm = script.Parent:FindFirstChild(&quot;Left Arm&quot;)&#13;&#10;local rarm = script.Parent:FindFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;function findNearestTorso(pos)&#13;&#10;&#9;local list = game.Workspace:children()&#13;&#10;&#9;local torso = nil&#13;&#10;&#9;local dist = 25&#13;&#10;&#9;local temp = nil&#13;&#10;&#9;local human = nil&#13;&#10;&#9;local temp2 = nil&#13;&#10;&#9;for x = 1, #list do&#13;&#10;&#9;&#9;temp2 = list[x]&#13;&#10;&#9;&#9;if (temp2.className == &quot;Model&quot;) and (temp2 ~= script.Parent) then&#13;&#10;&#9;&#9;&#9;temp = temp2:findFirstChild(&quot;Torso&quot;)&#13;&#10;&#9;&#9;&#9;human = temp2:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;&#9;&#9;if (temp ~= nil) and (human ~= nil) and (human.Health &gt; 0) then&#13;&#10;&#9;&#9;&#9;&#9;if (temp.Position - pos).magnitude &lt; dist then&#13;&#10;&#9;&#9;&#9;&#9;&#9;torso = temp&#13;&#10;&#9;&#9;&#9;&#9;&#9;dist = (temp.Position - pos).magnitude&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return torso&#13;&#10;end&#13;&#10;&#13;&#10;while true do&#13;&#10;&#9;wait(0.1)&#13;&#10;&#9;local target = findNearestTorso(script.Parent.Torso.Position)&#13;&#10;&#9;if target ~= nil then&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#9;end&#13;&#10;end</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Model" referent="RBX283">
			<Properties>
				<token name="Controller">7</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">Warrior</string>
				<Ref name="PrimaryPart">null</Ref>
				<bool name="archivable">true</bool>
			</Properties>
			<Item class="Humanoid" referent="RBX284">
				<Properties>
					<float name="Health">0</float>
					<bool name="Jump">false</bool>
					<float name="MaxHealth">100</float>
					<string name="Name">Humanoid</string>
					<bool name="Sit">false</bool>
					<Vector3 name="TargetPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<Vector3 name="WalkDirection">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<float name="WalkRotationalVelocity">0</float>
					<Ref name="WalkToPart">null</Ref>
					<Vector3 name="WalkToPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX285">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Health</string>
					<string name="Source">function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;-- declarations&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;Humanoid.Health=500&#13;&#10;-- regeneration&#13;&#10;while true do&#13;&#10;&#9;local s = wait(4)&#13;&#10;&#9;local health = Humanoid.Health&#13;&#10;&#9;if health &gt; 0 and health &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;health = health + 0.08 * s * Humanoid.MaxHealth&#13;&#10;&#9;&#9;if health * 1.05 &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;&#9;Humanoid.Health = health&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;Humanoid.Health = Humanoid.MaxHealth&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="BodyColors" referent="RBX286">
				<Properties>
					<int name="HeadColor">24</int>
					<int name="LeftArmColor">28</int>
					<int name="LeftLegColor">28</int>
					<string name="Name">Body Colors</string>
					<int name="RightArmColor">28</int>
					<int name="RightLegColor">28</int>
					<int name="TorsoColor">28</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="IntValue" referent="RBX287">
				<Properties>
					<string name="Name">Value</string>
					<int name="Value">0</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX288">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Robot</string>
					<string name="Source">------------------&#13;&#10;--SPAWNING--&#13;&#10;------------------&#13;&#10;&#13;&#10;miked=script.Parent&#13;&#10;&#13;&#10;itlh=miked.Torso:findFirstChild(&quot;Left Hip&quot;)&#13;&#10;itlh.Part0=miked.Torso&#13;&#10;itlh.Part1=miked:findFirstChild(&quot;Left Leg&quot;)&#13;&#10;itlh.C0=CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;&#13;&#10;itrh=miked.Torso:findFirstChild(&quot;Right Hip&quot;)&#13;&#10;itrh.Part0=miked.Torso&#13;&#10;itrh.Part1=miked:findFirstChild(&quot;Right Leg&quot;)&#13;&#10;itrh.C0=CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;&#13;&#10;itls=miked.Torso:findFirstChild(&quot;Left Shoulder&quot;)&#13;&#10;itls.Part1=miked.Torso&#13;&#10;itls.C0=CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;itls.Part0=miked:findFirstChild(&quot;Left Arm&quot;)&#13;&#10;&#13;&#10;itrs=miked.Torso:findFirstChild(&quot;Right Shoulder&quot;)&#13;&#10;itrs.Part1=miked.Torso&#13;&#10;itrs.C0=CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;itrs.Part0=miked:findFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;miked.Head:makeJoints()&#13;&#10;------------------&#13;&#10;------------------&#13;&#10;&#13;&#10;&#13;&#10;function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Torso = waitForChild(Figure, &quot;Torso&quot;)&#13;&#10;local RightShoulder = waitForChild(Torso, &quot;Right Shoulder&quot;)&#13;&#10;local LeftShoulder = waitForChild(Torso, &quot;Left Shoulder&quot;)&#13;&#10;local RightHip = waitForChild(Torso, &quot;Right Hip&quot;)&#13;&#10;local LeftHip = waitForChild(Torso, &quot;Left Hip&quot;)&#13;&#10;local Neck = waitForChild(Torso, &quot;Neck&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;local pose = &quot;Standing&quot;&#13;&#10;&#13;&#10;local toolAnim = &quot;None&quot;&#13;&#10;local toolAnimTime = 0&#13;&#10;&#13;&#10;local isSeated = false&#13;&#10;&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if isSeated then return end&#13;&#10;&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;pose = &quot;Running&quot;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;pose = &quot;Standing&quot;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;pose = &quot;Dead&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onJumping()&#13;&#10;&#9;isSeated = false&#13;&#10;&#9;pose = &quot;Jumping&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onClimbing()&#13;&#10;&#9;pose = &quot;Climbing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onGettingUp()&#13;&#10;&#9;pose = &quot;GettingUp&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFreeFall()&#13;&#10;&#9;pose = &quot;FreeFall&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onDancing()&#13;&#10;&#9;pose = &quot;Dancing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFallingDown()&#13;&#10;&#9;pose = &quot;FallingDown&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onSeated()&#13;&#10;&#9;isSeated = true&#13;&#10;&#9;pose = &quot;Seated&quot;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function moveJump()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFreeFall()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1&#13;&#10;&#9;LeftShoulder.DesiredAngle = -1&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFloat()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = -1.57&#13;&#10;end&#13;&#10;&#13;&#10;function moveBoogy()&#13;&#10;while pose==&quot;Boogy&quot; do&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 1.57&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;function moveZombie()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function movePunch()&#13;&#10;&#9;script.Parent.Torso.Anchored=true&#13;&#10;&#9;RightShoulder.MaxVelocity = 60&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;script.Parent.Torso.Anchored=false&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveKick()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveFly()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function moveClimb()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveSit()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;RightHip.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftHip.DesiredAngle = -3.14 /2&#13;&#10;end&#13;&#10;&#13;&#10;function getTool()&#13;&#10;&#9;&#13;&#10;&#9;kidTable = Figure:children()&#13;&#10;&#9;if (kidTable ~= nil) then&#13;&#10;&#9;&#9;numKids = #kidTable&#13;&#10;&#9;&#9;for i=1,numKids do&#13;&#10;&#9;&#9;&#9;if (kidTable[i].className == &quot;Tool&quot;) then return kidTable[i] end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;c = tool:children()&#13;&#10;&#9;for i=1,#c do&#13;&#10;&#9;&#9;if (c[i].Name == &quot;toolanim&quot; and c[i].className == &quot;StringValue&quot;) then&#13;&#10;&#9;&#9;&#9;return c[i]&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function animateTool()&#13;&#10;&#9;&#13;&#10;&#9;if (toolAnim == &quot;None&quot;) then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Slash&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Lunge&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 1.0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 1.0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function move(time)&#13;&#10;&#9;local amplitude&#13;&#10;&#9;local frequency&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Jumping&quot;) then&#13;&#10;&#9;&#9;moveJump()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Zombie&quot;) then&#13;&#10;&#9;&#9;moveZombie()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Boogy&quot;) then&#13;&#10;&#9;&#9;moveBoogy()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Float&quot;) then&#13;&#10;&#9;&#9;moveFloat()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Punch&quot;) then&#13;&#10;&#9;&#9;movePunch()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Kick&quot;) then&#13;&#10;&#9;&#9;moveKick()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Fly&quot;) then&#13;&#10;&#9;&#9;moveFly()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;FreeFall&quot;) then&#13;&#10;&#9;&#9;moveFreeFall()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Climbing&quot;) then&#13;&#10;&#9;&#9;moveClimb()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Seated&quot;) then&#13;&#10;&#9;&#9;moveSit()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;amplitude = 0.1&#13;&#10;&#9;&#9;frequency = 1&#13;&#10;&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;if (pose == &quot;Running&quot;) then&#13;&#10;&#9;&#9;amplitude = 1&#13;&#10;&#9;&#9;frequency = 9&#13;&#10;&#9;elseif (pose == &quot;Dancing&quot;) then&#13;&#10;&#9;&#9;amplitude = 2&#13;&#10;&#9;&#9;frequency = 16&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#13;&#10;&#9;desiredAngle = amplitude * math.sin(time*frequency)&#13;&#10;&#9;if pose~=&quot;Dancing&quot; then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;else&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;end&#13;&#10;&#9;&#9;&#13;&#10;&#13;&#10;&#13;&#10;&#9;local tool = getTool()&#13;&#10;&#13;&#10;&#9;if tool ~= nil then&#13;&#10;&#9;&#13;&#10;&#9;&#9;animStringValueObject = getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;&#9;if animStringValueObject ~= nil then&#13;&#10;&#9;&#9;&#9;toolAnim = animStringValueObject.Value&#13;&#10;&#9;&#9;&#9;-- message recieved, delete StringValue&#13;&#10;&#9;&#9;&#9;animStringValueObject.Parent = nil&#13;&#10;&#9;&#9;&#9;toolAnimTime = time + .3&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if time &gt; toolAnimTime then&#13;&#10;&#9;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;animateTool()&#13;&#10;&#13;&#10;&#9;&#9;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;-- connect events&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;function unequip()&#13;&#10;&#9;local items=script.Parent:children()&#13;&#10;&#9;for i=1, #items do&#13;&#10;&#9;&#9;if items[i].className==&quot;Tool&quot; then items[i]:remove() end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onChatted(msg, recipient) &#13;&#10;&#9;msg = string.lower(msg)&#13;&#10;&#13;&#10;&#9;if string.match(msg, string.lower(script.Parent.Name))~=nil or string.match(msg, &quot;everyone&quot;) then&#13;&#10;&#9;&#9;if string.match(msg, &quot;equip&quot;) then &#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;Hub&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;if string.match(msg, &quot;rocket&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Rocket:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;slingshot&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Slingshot:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;sword&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Sword:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;pbg&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.PBG:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;superball&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Superball:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;trowel&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Trowel:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;bomb&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Bomb:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;unequip&quot;) then unequip() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;run&quot;) then onRunning(1) end&#13;&#10;&#9;&#9;if string.match(msg, &quot;climb&quot;) then onClimbing() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;jump&quot;) then onJumping() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;zombie&quot;) then pose=&quot;Zombie&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;disco&quot;) then pose=&quot;Boogy&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;float&quot;) then pose=&quot;Float&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;punch&quot;) then pose=&quot;Punch&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kick&quot;) then pose=&quot;Kick&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;fly&quot;) then pose=&quot;Fly&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;heal&quot;) then script.Parent.Humanoid.Health=script.Parent.Humanoid.MaxHealth end&#13;&#10;&#9;&#9;if string.match(msg, &quot;defend&quot;) then defence() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;stop&quot;) then pose=&quot;Standing&quot;; proxkill=false; following=false; stopmoving() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;go home&quot;) then following=false; gohome() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;follow&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;followany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;follow(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kill&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;attackany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;attack(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if game.Players.NumPlayers&gt;1 then&#13;&#10;&#9;x=game.Players:children()&#13;&#10;&#9;&#13;&#10;&#9;for i=1, #x do&#13;&#10;&#9;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function onPlayerEntered(Player) &#13;&#10;&#9;while Player.Name==nil do&#13;&#10;&#9;&#9;wait(2)&#13;&#10;&#9;end&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;end&#13;&#10;&#9;else&#13;&#10;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;game.Players.ChildAdded:connect(onPlayerEntered) &#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;dist=20&#13;&#10;&#13;&#10;function followany()&#13;&#10;following=true&#13;&#10;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 6 do&#13;&#10;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then stopmoving() else&#9;wait(0.5) end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function gohome()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(Vector3.new(0,0,0), game.Workspace.Bases.Base)&#13;&#10;end&#13;&#10;function stopmoving()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(script.Parent.Torso.Position, script.Parent.Torso)&#13;&#10;end&#13;&#10;&#13;&#10;function follow(name)&#13;&#10;&#9;following=true&#13;&#10;&#13;&#10;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;if p==nil then return end&#13;&#10;&#9;while following==true do&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attack(name)&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#9;&#9;following=true&#13;&#10;&#9;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;&#9;if p==nil then return end&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#9;local l=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((l.x-q.x)^2)+((l.y-q.y)^2)+((l.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;if (q.y-l.y)&gt;3 and (q.y-l.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attackany()&#13;&#10;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#13;&#10;&#9;following=true&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;slash()&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;if target.Parent==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then &#13;&#10;&#9;&#9;&#9;&#9;&#9;stopmoving() &#13;&#10;&#9;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=target.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if (q.y-p.y)&gt;3 and (q.y-p.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function patrol()&#13;&#10;&#9;if points==nil then&#13;&#10;&#9;&#9;points=0&#13;&#10;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp1&quot;)~=nil then&#13;&#10;&#9;&#9;pp1=game.Workspace:findFirstChild(&quot;pp1&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp2&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;pp2=game.Workspace:findFirstChild(&quot;pp2&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp3&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;pp3=game.Workspace:findFirstChild(&quot;pp3&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp4&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;pp4=game.Workspace:findFirstChild(&quot;pp4&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp5&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;pp5=game.Workspace:findFirstChild(&quot;pp5&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp6&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp6=game.Workspace:findFirstChild(&quot;pp6&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp7&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp7=game.Workspace:findFirstChild(&quot;pp7&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp8&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp8=game.Workspace:findFirstChild(&quot;pp8&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp9&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp9=game.Workspace:findFirstChild(&quot;pp9&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if points&lt;1 then return end&#13;&#10;&#9;patrolling=true&#13;&#10;&#9;local time=2&#13;&#10;&#9;if points==1 then return end&#13;&#10;&#9;if points&gt;1 then&#13;&#10;&#9;&#9;while patrolling==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp1.Position, pp1)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp2.Position, pp2)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;if points&gt;2 then&#13;&#10;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp3.Position, pp3)&#13;&#10;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;if points&gt;3 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp4.Position, pp4)&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;if points&gt;4 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp5.Position, pp5)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;5 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp6.Position, pp6)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;6 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp7.Position, pp7)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp8.Position, pp8)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp9.Position, pp9)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function goto(pos,part)&#13;&#10;while true do&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function slash()&#13;&#10;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;wait(.3)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -2.14&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;&#9;wait(.2)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function defence()&#13;&#10;&#9;proxkill=true&#13;&#10;&#9;while proxkill==true do&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local p=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if p~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local p=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;dist and d&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local ex=Instance.new(&quot;Explosion&quot;)&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Position=p&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Parent=game.Workspace&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#9;&#9;&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;wait(1)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(onJumping)&#13;&#10;Humanoid.Climbing:connect(onClimbing)&#13;&#10;Humanoid.GettingUp:connect(onGettingUp)&#13;&#10;Humanoid.FreeFalling:connect(onFreeFall)&#13;&#10;Humanoid.FallingDown:connect(onFallingDown)&#13;&#10;Humanoid.Seated:connect(onSeated)&#13;&#10;&#13;&#10;&#13;&#10;--[[&#13;&#10;&#13;&#10;function newSound(id)&#13;&#10;&#9;local sound = Instance.new(&quot;Sound&quot;)&#13;&#10;&#9;sound.SoundId = id&#13;&#10;&#9;sound.Parent = script.Parent.Head&#13;&#10;&#9;return sound&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;local sDied = newSound(&quot;rbxasset://sounds/uuhhh.wav&quot;)&#13;&#10;local sFallingDown = newSound(&quot;rbxasset://sounds/splat.wav&quot;)&#13;&#10;local sFreeFalling = newSound(&quot;rbxasset://sounds/swoosh.wav&quot;)&#13;&#10;local sGettingUp = newSound(&quot;rbxasset://sounds/hit.wav&quot;)&#13;&#10;local sJumping = newSound(&quot;rbxasset://sounds/button.wav&quot;)&#13;&#10;local sRunning = newSound(&quot;rbxasset://sounds/bfsl-minifigfoots1.mp3&quot;)&#13;&#10;sRunning.Looped = true&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;sDied:play()&#13;&#10;end&#13;&#10;&#13;&#10;function onState(state, sound)&#13;&#10;&#9;if state then&#13;&#10;&#9;&#9;sound:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sound:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;sRunning:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sRunning:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(function(state) onState(state, sJumping) end)&#13;&#10;Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end)&#13;&#10;Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end)&#13;&#10;Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end)&#13;&#10;--]]&#13;&#10;&#13;&#10;local nextTime = 0&#13;&#10;local runService = game:service(&quot;RunService&quot;);&#13;&#10;&#13;&#10;while Figure.Parent~=nil do&#13;&#10;&#9;time = runService.Stepped:wait()&#13;&#10;&#9;if time &gt; nextTime then&#13;&#10;&#9;&#9;move(time)&#13;&#10;&#9;&#9;nextTime = time + 0.1&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX289">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Follow</string>
					<string name="Source">local larm = script.Parent:FindFirstChild(&quot;Left Arm&quot;)&#13;&#10;local rarm = script.Parent:FindFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;function findNearestTorso(pos)&#13;&#10;&#9;local list = game.Workspace:children()&#13;&#10;&#9;local torso = nil&#13;&#10;&#9;local dist = 25&#13;&#10;&#9;local temp = nil&#13;&#10;&#9;local human = nil&#13;&#10;&#9;local temp2 = nil&#13;&#10;&#9;for x = 1, #list do&#13;&#10;&#9;&#9;temp2 = list[x]&#13;&#10;&#9;&#9;if (temp2.className == &quot;Model&quot;) and (temp2 ~= script.Parent) then&#13;&#10;&#9;&#9;&#9;temp = temp2:findFirstChild(&quot;Torso&quot;)&#13;&#10;&#9;&#9;&#9;human = temp2:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;&#9;&#9;if (temp ~= nil) and (human ~= nil) and (human.Health &gt; 0) then&#13;&#10;&#9;&#9;&#9;&#9;if (temp.Position - pos).magnitude &lt; dist then&#13;&#10;&#9;&#9;&#9;&#9;&#9;torso = temp&#13;&#10;&#9;&#9;&#9;&#9;&#9;dist = (temp.Position - pos).magnitude&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return torso&#13;&#10;end&#13;&#10;&#13;&#10;while true do&#13;&#10;&#9;wait(0.1)&#13;&#10;&#9;local target = findNearestTorso(script.Parent.Torso.Position)&#13;&#10;&#9;if target ~= nil then&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#9;end&#13;&#10;end</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Model" referent="RBX290">
			<Properties>
				<token name="Controller">7</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">Warrior</string>
				<Ref name="PrimaryPart">null</Ref>
				<bool name="archivable">true</bool>
			</Properties>
			<Item class="Humanoid" referent="RBX291">
				<Properties>
					<float name="Health">0</float>
					<bool name="Jump">false</bool>
					<float name="MaxHealth">100</float>
					<string name="Name">Humanoid</string>
					<bool name="Sit">false</bool>
					<Vector3 name="TargetPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<Vector3 name="WalkDirection">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<float name="WalkRotationalVelocity">0</float>
					<Ref name="WalkToPart">null</Ref>
					<Vector3 name="WalkToPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX292">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Health</string>
					<string name="Source">function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;-- declarations&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;Humanoid.Health=500&#13;&#10;-- regeneration&#13;&#10;while true do&#13;&#10;&#9;local s = wait(4)&#13;&#10;&#9;local health = Humanoid.Health&#13;&#10;&#9;if health &gt; 0 and health &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;health = health + 0.08 * s * Humanoid.MaxHealth&#13;&#10;&#9;&#9;if health * 1.05 &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;&#9;Humanoid.Health = health&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;Humanoid.Health = Humanoid.MaxHealth&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="BodyColors" referent="RBX293">
				<Properties>
					<int name="HeadColor">24</int>
					<int name="LeftArmColor">28</int>
					<int name="LeftLegColor">28</int>
					<string name="Name">Body Colors</string>
					<int name="RightArmColor">28</int>
					<int name="RightLegColor">28</int>
					<int name="TorsoColor">28</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="IntValue" referent="RBX294">
				<Properties>
					<string name="Name">Value</string>
					<int name="Value">0</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX295">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Robot</string>
					<string name="Source">------------------&#13;&#10;--SPAWNING--&#13;&#10;------------------&#13;&#10;&#13;&#10;miked=script.Parent&#13;&#10;&#13;&#10;itlh=miked.Torso:findFirstChild(&quot;Left Hip&quot;)&#13;&#10;itlh.Part0=miked.Torso&#13;&#10;itlh.Part1=miked:findFirstChild(&quot;Left Leg&quot;)&#13;&#10;itlh.C0=CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;&#13;&#10;itrh=miked.Torso:findFirstChild(&quot;Right Hip&quot;)&#13;&#10;itrh.Part0=miked.Torso&#13;&#10;itrh.Part1=miked:findFirstChild(&quot;Right Leg&quot;)&#13;&#10;itrh.C0=CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;&#13;&#10;itls=miked.Torso:findFirstChild(&quot;Left Shoulder&quot;)&#13;&#10;itls.Part1=miked.Torso&#13;&#10;itls.C0=CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;itls.Part0=miked:findFirstChild(&quot;Left Arm&quot;)&#13;&#10;&#13;&#10;itrs=miked.Torso:findFirstChild(&quot;Right Shoulder&quot;)&#13;&#10;itrs.Part1=miked.Torso&#13;&#10;itrs.C0=CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;itrs.Part0=miked:findFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;miked.Head:makeJoints()&#13;&#10;------------------&#13;&#10;------------------&#13;&#10;&#13;&#10;&#13;&#10;function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Torso = waitForChild(Figure, &quot;Torso&quot;)&#13;&#10;local RightShoulder = waitForChild(Torso, &quot;Right Shoulder&quot;)&#13;&#10;local LeftShoulder = waitForChild(Torso, &quot;Left Shoulder&quot;)&#13;&#10;local RightHip = waitForChild(Torso, &quot;Right Hip&quot;)&#13;&#10;local LeftHip = waitForChild(Torso, &quot;Left Hip&quot;)&#13;&#10;local Neck = waitForChild(Torso, &quot;Neck&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;local pose = &quot;Standing&quot;&#13;&#10;&#13;&#10;local toolAnim = &quot;None&quot;&#13;&#10;local toolAnimTime = 0&#13;&#10;&#13;&#10;local isSeated = false&#13;&#10;&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if isSeated then return end&#13;&#10;&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;pose = &quot;Running&quot;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;pose = &quot;Standing&quot;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;pose = &quot;Dead&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onJumping()&#13;&#10;&#9;isSeated = false&#13;&#10;&#9;pose = &quot;Jumping&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onClimbing()&#13;&#10;&#9;pose = &quot;Climbing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onGettingUp()&#13;&#10;&#9;pose = &quot;GettingUp&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFreeFall()&#13;&#10;&#9;pose = &quot;FreeFall&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onDancing()&#13;&#10;&#9;pose = &quot;Dancing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFallingDown()&#13;&#10;&#9;pose = &quot;FallingDown&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onSeated()&#13;&#10;&#9;isSeated = true&#13;&#10;&#9;pose = &quot;Seated&quot;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function moveJump()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFreeFall()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1&#13;&#10;&#9;LeftShoulder.DesiredAngle = -1&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFloat()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = -1.57&#13;&#10;end&#13;&#10;&#13;&#10;function moveBoogy()&#13;&#10;while pose==&quot;Boogy&quot; do&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 1.57&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;function moveZombie()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function movePunch()&#13;&#10;&#9;script.Parent.Torso.Anchored=true&#13;&#10;&#9;RightShoulder.MaxVelocity = 60&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;script.Parent.Torso.Anchored=false&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveKick()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveFly()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function moveClimb()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveSit()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;RightHip.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftHip.DesiredAngle = -3.14 /2&#13;&#10;end&#13;&#10;&#13;&#10;function getTool()&#13;&#10;&#9;&#13;&#10;&#9;kidTable = Figure:children()&#13;&#10;&#9;if (kidTable ~= nil) then&#13;&#10;&#9;&#9;numKids = #kidTable&#13;&#10;&#9;&#9;for i=1,numKids do&#13;&#10;&#9;&#9;&#9;if (kidTable[i].className == &quot;Tool&quot;) then return kidTable[i] end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;c = tool:children()&#13;&#10;&#9;for i=1,#c do&#13;&#10;&#9;&#9;if (c[i].Name == &quot;toolanim&quot; and c[i].className == &quot;StringValue&quot;) then&#13;&#10;&#9;&#9;&#9;return c[i]&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function animateTool()&#13;&#10;&#9;&#13;&#10;&#9;if (toolAnim == &quot;None&quot;) then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Slash&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Lunge&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 1.0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 1.0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function move(time)&#13;&#10;&#9;local amplitude&#13;&#10;&#9;local frequency&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Jumping&quot;) then&#13;&#10;&#9;&#9;moveJump()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Zombie&quot;) then&#13;&#10;&#9;&#9;moveZombie()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Boogy&quot;) then&#13;&#10;&#9;&#9;moveBoogy()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Float&quot;) then&#13;&#10;&#9;&#9;moveFloat()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Punch&quot;) then&#13;&#10;&#9;&#9;movePunch()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Kick&quot;) then&#13;&#10;&#9;&#9;moveKick()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Fly&quot;) then&#13;&#10;&#9;&#9;moveFly()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;FreeFall&quot;) then&#13;&#10;&#9;&#9;moveFreeFall()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Climbing&quot;) then&#13;&#10;&#9;&#9;moveClimb()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Seated&quot;) then&#13;&#10;&#9;&#9;moveSit()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;amplitude = 0.1&#13;&#10;&#9;&#9;frequency = 1&#13;&#10;&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;if (pose == &quot;Running&quot;) then&#13;&#10;&#9;&#9;amplitude = 1&#13;&#10;&#9;&#9;frequency = 9&#13;&#10;&#9;elseif (pose == &quot;Dancing&quot;) then&#13;&#10;&#9;&#9;amplitude = 2&#13;&#10;&#9;&#9;frequency = 16&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#13;&#10;&#9;desiredAngle = amplitude * math.sin(time*frequency)&#13;&#10;&#9;if pose~=&quot;Dancing&quot; then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;else&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;end&#13;&#10;&#9;&#9;&#13;&#10;&#13;&#10;&#13;&#10;&#9;local tool = getTool()&#13;&#10;&#13;&#10;&#9;if tool ~= nil then&#13;&#10;&#9;&#13;&#10;&#9;&#9;animStringValueObject = getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;&#9;if animStringValueObject ~= nil then&#13;&#10;&#9;&#9;&#9;toolAnim = animStringValueObject.Value&#13;&#10;&#9;&#9;&#9;-- message recieved, delete StringValue&#13;&#10;&#9;&#9;&#9;animStringValueObject.Parent = nil&#13;&#10;&#9;&#9;&#9;toolAnimTime = time + .3&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if time &gt; toolAnimTime then&#13;&#10;&#9;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;animateTool()&#13;&#10;&#13;&#10;&#9;&#9;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;-- connect events&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;function unequip()&#13;&#10;&#9;local items=script.Parent:children()&#13;&#10;&#9;for i=1, #items do&#13;&#10;&#9;&#9;if items[i].className==&quot;Tool&quot; then items[i]:remove() end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onChatted(msg, recipient) &#13;&#10;&#9;msg = string.lower(msg)&#13;&#10;&#13;&#10;&#9;if string.match(msg, string.lower(script.Parent.Name))~=nil or string.match(msg, &quot;everyone&quot;) then&#13;&#10;&#9;&#9;if string.match(msg, &quot;equip&quot;) then &#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;Hub&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;if string.match(msg, &quot;rocket&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Rocket:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;slingshot&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Slingshot:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;sword&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Sword:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;pbg&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.PBG:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;superball&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Superball:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;trowel&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Trowel:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;bomb&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Bomb:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;unequip&quot;) then unequip() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;run&quot;) then onRunning(1) end&#13;&#10;&#9;&#9;if string.match(msg, &quot;climb&quot;) then onClimbing() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;jump&quot;) then onJumping() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;zombie&quot;) then pose=&quot;Zombie&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;disco&quot;) then pose=&quot;Boogy&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;float&quot;) then pose=&quot;Float&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;punch&quot;) then pose=&quot;Punch&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kick&quot;) then pose=&quot;Kick&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;fly&quot;) then pose=&quot;Fly&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;heal&quot;) then script.Parent.Humanoid.Health=script.Parent.Humanoid.MaxHealth end&#13;&#10;&#9;&#9;if string.match(msg, &quot;defend&quot;) then defence() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;stop&quot;) then pose=&quot;Standing&quot;; proxkill=false; following=false; stopmoving() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;go home&quot;) then following=false; gohome() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;follow&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;followany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;follow(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kill&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;attackany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;attack(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if game.Players.NumPlayers&gt;1 then&#13;&#10;&#9;x=game.Players:children()&#13;&#10;&#9;&#13;&#10;&#9;for i=1, #x do&#13;&#10;&#9;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function onPlayerEntered(Player) &#13;&#10;&#9;while Player.Name==nil do&#13;&#10;&#9;&#9;wait(2)&#13;&#10;&#9;end&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;end&#13;&#10;&#9;else&#13;&#10;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;game.Players.ChildAdded:connect(onPlayerEntered) &#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;dist=20&#13;&#10;&#13;&#10;function followany()&#13;&#10;following=true&#13;&#10;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 6 do&#13;&#10;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then stopmoving() else&#9;wait(0.5) end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function gohome()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(Vector3.new(0,0,0), game.Workspace.Bases.Base)&#13;&#10;end&#13;&#10;function stopmoving()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(script.Parent.Torso.Position, script.Parent.Torso)&#13;&#10;end&#13;&#10;&#13;&#10;function follow(name)&#13;&#10;&#9;following=true&#13;&#10;&#13;&#10;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;if p==nil then return end&#13;&#10;&#9;while following==true do&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attack(name)&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#9;&#9;following=true&#13;&#10;&#9;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;&#9;if p==nil then return end&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#9;local l=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((l.x-q.x)^2)+((l.y-q.y)^2)+((l.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;if (q.y-l.y)&gt;3 and (q.y-l.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attackany()&#13;&#10;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#13;&#10;&#9;following=true&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;slash()&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;if target.Parent==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then &#13;&#10;&#9;&#9;&#9;&#9;&#9;stopmoving() &#13;&#10;&#9;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=target.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if (q.y-p.y)&gt;3 and (q.y-p.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function patrol()&#13;&#10;&#9;if points==nil then&#13;&#10;&#9;&#9;points=0&#13;&#10;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp1&quot;)~=nil then&#13;&#10;&#9;&#9;pp1=game.Workspace:findFirstChild(&quot;pp1&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp2&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;pp2=game.Workspace:findFirstChild(&quot;pp2&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp3&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;pp3=game.Workspace:findFirstChild(&quot;pp3&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp4&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;pp4=game.Workspace:findFirstChild(&quot;pp4&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp5&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;pp5=game.Workspace:findFirstChild(&quot;pp5&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp6&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp6=game.Workspace:findFirstChild(&quot;pp6&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp7&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp7=game.Workspace:findFirstChild(&quot;pp7&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp8&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp8=game.Workspace:findFirstChild(&quot;pp8&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp9&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp9=game.Workspace:findFirstChild(&quot;pp9&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if points&lt;1 then return end&#13;&#10;&#9;patrolling=true&#13;&#10;&#9;local time=2&#13;&#10;&#9;if points==1 then return end&#13;&#10;&#9;if points&gt;1 then&#13;&#10;&#9;&#9;while patrolling==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp1.Position, pp1)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp2.Position, pp2)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;if points&gt;2 then&#13;&#10;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp3.Position, pp3)&#13;&#10;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;if points&gt;3 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp4.Position, pp4)&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;if points&gt;4 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp5.Position, pp5)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;5 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp6.Position, pp6)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;6 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp7.Position, pp7)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp8.Position, pp8)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp9.Position, pp9)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function goto(pos,part)&#13;&#10;while true do&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function slash()&#13;&#10;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;wait(.3)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -2.14&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;&#9;wait(.2)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function defence()&#13;&#10;&#9;proxkill=true&#13;&#10;&#9;while proxkill==true do&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local p=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if p~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local p=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;dist and d&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local ex=Instance.new(&quot;Explosion&quot;)&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Position=p&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Parent=game.Workspace&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#9;&#9;&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;wait(1)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(onJumping)&#13;&#10;Humanoid.Climbing:connect(onClimbing)&#13;&#10;Humanoid.GettingUp:connect(onGettingUp)&#13;&#10;Humanoid.FreeFalling:connect(onFreeFall)&#13;&#10;Humanoid.FallingDown:connect(onFallingDown)&#13;&#10;Humanoid.Seated:connect(onSeated)&#13;&#10;&#13;&#10;&#13;&#10;--[[&#13;&#10;&#13;&#10;function newSound(id)&#13;&#10;&#9;local sound = Instance.new(&quot;Sound&quot;)&#13;&#10;&#9;sound.SoundId = id&#13;&#10;&#9;sound.Parent = script.Parent.Head&#13;&#10;&#9;return sound&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;local sDied = newSound(&quot;rbxasset://sounds/uuhhh.wav&quot;)&#13;&#10;local sFallingDown = newSound(&quot;rbxasset://sounds/splat.wav&quot;)&#13;&#10;local sFreeFalling = newSound(&quot;rbxasset://sounds/swoosh.wav&quot;)&#13;&#10;local sGettingUp = newSound(&quot;rbxasset://sounds/hit.wav&quot;)&#13;&#10;local sJumping = newSound(&quot;rbxasset://sounds/button.wav&quot;)&#13;&#10;local sRunning = newSound(&quot;rbxasset://sounds/bfsl-minifigfoots1.mp3&quot;)&#13;&#10;sRunning.Looped = true&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;sDied:play()&#13;&#10;end&#13;&#10;&#13;&#10;function onState(state, sound)&#13;&#10;&#9;if state then&#13;&#10;&#9;&#9;sound:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sound:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;sRunning:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sRunning:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(function(state) onState(state, sJumping) end)&#13;&#10;Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end)&#13;&#10;Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end)&#13;&#10;Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end)&#13;&#10;--]]&#13;&#10;&#13;&#10;local nextTime = 0&#13;&#10;local runService = game:service(&quot;RunService&quot;);&#13;&#10;&#13;&#10;while Figure.Parent~=nil do&#13;&#10;&#9;time = runService.Stepped:wait()&#13;&#10;&#9;if time &gt; nextTime then&#13;&#10;&#9;&#9;move(time)&#13;&#10;&#9;&#9;nextTime = time + 0.1&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX296">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Follow</string>
					<string name="Source">local larm = script.Parent:FindFirstChild(&quot;Left Arm&quot;)&#13;&#10;local rarm = script.Parent:FindFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;function findNearestTorso(pos)&#13;&#10;&#9;local list = game.Workspace:children()&#13;&#10;&#9;local torso = nil&#13;&#10;&#9;local dist = 25&#13;&#10;&#9;local temp = nil&#13;&#10;&#9;local human = nil&#13;&#10;&#9;local temp2 = nil&#13;&#10;&#9;for x = 1, #list do&#13;&#10;&#9;&#9;temp2 = list[x]&#13;&#10;&#9;&#9;if (temp2.className == &quot;Model&quot;) and (temp2 ~= script.Parent) then&#13;&#10;&#9;&#9;&#9;temp = temp2:findFirstChild(&quot;Torso&quot;)&#13;&#10;&#9;&#9;&#9;human = temp2:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;&#9;&#9;if (temp ~= nil) and (human ~= nil) and (human.Health &gt; 0) then&#13;&#10;&#9;&#9;&#9;&#9;if (temp.Position - pos).magnitude &lt; dist then&#13;&#10;&#9;&#9;&#9;&#9;&#9;torso = temp&#13;&#10;&#9;&#9;&#9;&#9;&#9;dist = (temp.Position - pos).magnitude&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return torso&#13;&#10;end&#13;&#10;&#13;&#10;while true do&#13;&#10;&#9;wait(0.1)&#13;&#10;&#9;local target = findNearestTorso(script.Parent.Torso.Position)&#13;&#10;&#9;if target ~= nil then&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#9;end&#13;&#10;end</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Model" referent="RBX297">
			<Properties>
				<token name="Controller">7</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">Warrior</string>
				<Ref name="PrimaryPart">RBX298</Ref>
				<bool name="archivable">true</bool>
			</Properties>
			<Item class="Part" referent="RBX299">
				<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">38</int>
					<CoordinateFrame name="CFrame">
						<X>117.201035</X>
						<Y>0.815847933</Y>
						<Z>-25.4321079</Z>
						<R00>0.1422849</R00>
						<R01>-0.989825666</R01>
						<R02>-0.00013374121</R02>
						<R10>0.000716001086</R10>
						<R11>-3.21425032e-005</R11>
						<R12>0.999999702</R12>
						<R20>-0.989825428</R20>
						<R21>-0.142284915</R21>
						<R22>0.000704183883</R22>
					</CoordinateFrame>
					<bool name="CanCollide">true</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">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">Right Leg</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>1</X>
						<Y>2</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
				<Item class="Script" referent="RBX300">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">Script</string>
						<string name="Source">function onTouched(hit)&#13;&#10;if hit.Name ~= &quot;tray&quot; then hit:remove() end&#13;&#10;end&#13;&#10;&#13;&#10;connection = script.Parent.Touched:connect(onTouched)&#13;&#10;</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Script" referent="RBX301">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">Script</string>
						<string name="Source">&#13;&#10;function onTouched(hit)&#13;&#10;&#9;local human = hit.Parent:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;if (human ~= nil) then&#13;&#10;&#9;&#9;human.Health = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if (script.Parent ~= nil) and (script.Parent.className == &quot;Part&quot;) then --Work if in a block&#13;&#10;&#9;connection = script.Parent.Touched:connect(onTouched)&#13;&#10;end&#13;&#10;</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
			</Item>
			<Item class="Humanoid" referent="RBX302">
				<Properties>
					<float name="Health">0</float>
					<bool name="Jump">false</bool>
					<float name="MaxHealth">100</float>
					<string name="Name">Humanoid</string>
					<bool name="Sit">false</bool>
					<Vector3 name="TargetPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<Vector3 name="WalkDirection">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<float name="WalkRotationalVelocity">0</float>
					<Ref name="WalkToPart">null</Ref>
					<Vector3 name="WalkToPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX303">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Health</string>
					<string name="Source">function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;-- declarations&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;Humanoid.Health=500&#13;&#10;-- regeneration&#13;&#10;while true do&#13;&#10;&#9;local s = wait(4)&#13;&#10;&#9;local health = Humanoid.Health&#13;&#10;&#9;if health &gt; 0 and health &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;health = health + 0.08 * s * Humanoid.MaxHealth&#13;&#10;&#9;&#9;if health * 1.05 &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;&#9;Humanoid.Health = health&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;Humanoid.Health = Humanoid.MaxHealth&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="BodyColors" referent="RBX304">
				<Properties>
					<int name="HeadColor">24</int>
					<int name="LeftArmColor">28</int>
					<int name="LeftLegColor">28</int>
					<string name="Name">Body Colors</string>
					<int name="RightArmColor">28</int>
					<int name="RightLegColor">28</int>
					<int name="TorsoColor">28</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="IntValue" referent="RBX305">
				<Properties>
					<string name="Name">Value</string>
					<int name="Value">0</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Part" referent="RBX298">
				<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">4</token>
					<token name="BottomSurfaceInput">0</token>
					<int name="BrickColor">141</int>
					<CoordinateFrame name="CFrame">
						<X>92.6007767</X>
						<Y>0.890047729</Y>
						<Z>-46.9364586</Z>
						<R00>0.636876166</R00>
						<R01>-0.770966113</R01>
						<R02>3.84786154e-006</R02>
						<R10>-1.11643431e-005</R10>
						<R11>-4.26565111e-006</R11>
						<R12>1</R12>
						<R20>-0.770966113</R20>
						<R21>-0.636876225</R21>
						<R22>-1.13453088e-005</R22>
					</CoordinateFrame>
					<bool name="CanCollide">true</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">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">Right Arm</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>1</X>
						<Y>2</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
				<Item class="Script" referent="RBX306">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">DoorScript2</string>
						<string name="Source">print(&quot;Omg a team door! Goodbye spawnkilling!&quot;) -- {made by:yourit12 modeled by:NintendoZACHERY}&#13;&#10;&#13;&#10;Door = script.Parent &#13;&#10;------------------------------------&#13;&#10;modelname=&quot;Admins&quot; -- Put the EXACT name of the team here&#13;&#10;------------------------------------&#13;&#10; &#13;&#10;function onTouched(hit) &#13;&#10;        print(&quot;Door Hit&quot;) &#13;&#10;        local human = hit.Parent:FindFirstChild(&quot;Humanoid&quot;) &#13;&#10;        if (human ~= nil ) then&#13;&#10;                if game.Players:playerFromCharacter(hit.Parent).TeamColor==game.Teams:findFirstChild(modelname).TeamColor then&#13;&#10;                        Door.CanCollide = false &#13;&#10;                        Door.Transparency = 0&#13;&#10;                        wait(1) &#13;&#10;                        Door.CanCollide = true &#13;&#10;                        Door.Transparency = 0 &#13;&#10;                        print(&quot;Human touched door&quot;) &#13;&#10;                else&#13;&#10;                        human.Health = 0&#13;&#10;                end&#13;&#10; &#13;&#10;        end &#13;&#10;end &#13;&#10; &#13;&#10;connection = Door.Touched:connect(onTouched)</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Script" referent="RBX307">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">Script</string>
						<string name="Source">function onTouched(hit)&#13;&#10;if hit.Name ~= &quot;tray&quot; then hit:remove() end&#13;&#10;end&#13;&#10;&#13;&#10;connection = script.Parent.Touched:connect(onTouched)&#13;&#10;</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Script" referent="RBX308">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">Script</string>
						<string name="Source">&#13;&#10;function onTouched(hit)&#13;&#10;&#9;local human = hit.Parent:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;if (human ~= nil) then&#13;&#10;&#9;&#9;human.Health = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if (script.Parent ~= nil) and (script.Parent.className == &quot;Part&quot;) then --Work if in a block&#13;&#10;&#9;connection = script.Parent.Touched:connect(onTouched)&#13;&#10;end&#13;&#10;</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
			</Item>
			<Item class="Script" referent="RBX309">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Robot</string>
					<string name="Source">------------------&#13;&#10;--SPAWNING--&#13;&#10;------------------&#13;&#10;&#13;&#10;miked=script.Parent&#13;&#10;&#13;&#10;itlh=miked.Torso:findFirstChild(&quot;Left Hip&quot;)&#13;&#10;itlh.Part0=miked.Torso&#13;&#10;itlh.Part1=miked:findFirstChild(&quot;Left Leg&quot;)&#13;&#10;itlh.C0=CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;&#13;&#10;itrh=miked.Torso:findFirstChild(&quot;Right Hip&quot;)&#13;&#10;itrh.Part0=miked.Torso&#13;&#10;itrh.Part1=miked:findFirstChild(&quot;Right Leg&quot;)&#13;&#10;itrh.C0=CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;&#13;&#10;itls=miked.Torso:findFirstChild(&quot;Left Shoulder&quot;)&#13;&#10;itls.Part1=miked.Torso&#13;&#10;itls.C0=CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;itls.Part0=miked:findFirstChild(&quot;Left Arm&quot;)&#13;&#10;&#13;&#10;itrs=miked.Torso:findFirstChild(&quot;Right Shoulder&quot;)&#13;&#10;itrs.Part1=miked.Torso&#13;&#10;itrs.C0=CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;itrs.Part0=miked:findFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;miked.Head:makeJoints()&#13;&#10;------------------&#13;&#10;------------------&#13;&#10;&#13;&#10;&#13;&#10;function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Torso = waitForChild(Figure, &quot;Torso&quot;)&#13;&#10;local RightShoulder = waitForChild(Torso, &quot;Right Shoulder&quot;)&#13;&#10;local LeftShoulder = waitForChild(Torso, &quot;Left Shoulder&quot;)&#13;&#10;local RightHip = waitForChild(Torso, &quot;Right Hip&quot;)&#13;&#10;local LeftHip = waitForChild(Torso, &quot;Left Hip&quot;)&#13;&#10;local Neck = waitForChild(Torso, &quot;Neck&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;local pose = &quot;Standing&quot;&#13;&#10;&#13;&#10;local toolAnim = &quot;None&quot;&#13;&#10;local toolAnimTime = 0&#13;&#10;&#13;&#10;local isSeated = false&#13;&#10;&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if isSeated then return end&#13;&#10;&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;pose = &quot;Running&quot;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;pose = &quot;Standing&quot;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;pose = &quot;Dead&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onJumping()&#13;&#10;&#9;isSeated = false&#13;&#10;&#9;pose = &quot;Jumping&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onClimbing()&#13;&#10;&#9;pose = &quot;Climbing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onGettingUp()&#13;&#10;&#9;pose = &quot;GettingUp&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFreeFall()&#13;&#10;&#9;pose = &quot;FreeFall&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onDancing()&#13;&#10;&#9;pose = &quot;Dancing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFallingDown()&#13;&#10;&#9;pose = &quot;FallingDown&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onSeated()&#13;&#10;&#9;isSeated = true&#13;&#10;&#9;pose = &quot;Seated&quot;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function moveJump()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFreeFall()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1&#13;&#10;&#9;LeftShoulder.DesiredAngle = -1&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFloat()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = -1.57&#13;&#10;end&#13;&#10;&#13;&#10;function moveBoogy()&#13;&#10;while pose==&quot;Boogy&quot; do&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 1.57&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;function moveZombie()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function movePunch()&#13;&#10;&#9;script.Parent.Torso.Anchored=true&#13;&#10;&#9;RightShoulder.MaxVelocity = 60&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;script.Parent.Torso.Anchored=false&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveKick()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveFly()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function moveClimb()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveSit()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;RightHip.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftHip.DesiredAngle = -3.14 /2&#13;&#10;end&#13;&#10;&#13;&#10;function getTool()&#13;&#10;&#9;&#13;&#10;&#9;kidTable = Figure:children()&#13;&#10;&#9;if (kidTable ~= nil) then&#13;&#10;&#9;&#9;numKids = #kidTable&#13;&#10;&#9;&#9;for i=1,numKids do&#13;&#10;&#9;&#9;&#9;if (kidTable[i].className == &quot;Tool&quot;) then return kidTable[i] end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;c = tool:children()&#13;&#10;&#9;for i=1,#c do&#13;&#10;&#9;&#9;if (c[i].Name == &quot;toolanim&quot; and c[i].className == &quot;StringValue&quot;) then&#13;&#10;&#9;&#9;&#9;return c[i]&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function animateTool()&#13;&#10;&#9;&#13;&#10;&#9;if (toolAnim == &quot;None&quot;) then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Slash&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Lunge&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 1.0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 1.0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function move(time)&#13;&#10;&#9;local amplitude&#13;&#10;&#9;local frequency&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Jumping&quot;) then&#13;&#10;&#9;&#9;moveJump()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Zombie&quot;) then&#13;&#10;&#9;&#9;moveZombie()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Boogy&quot;) then&#13;&#10;&#9;&#9;moveBoogy()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Float&quot;) then&#13;&#10;&#9;&#9;moveFloat()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Punch&quot;) then&#13;&#10;&#9;&#9;movePunch()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Kick&quot;) then&#13;&#10;&#9;&#9;moveKick()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Fly&quot;) then&#13;&#10;&#9;&#9;moveFly()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;FreeFall&quot;) then&#13;&#10;&#9;&#9;moveFreeFall()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Climbing&quot;) then&#13;&#10;&#9;&#9;moveClimb()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Seated&quot;) then&#13;&#10;&#9;&#9;moveSit()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;amplitude = 0.1&#13;&#10;&#9;&#9;frequency = 1&#13;&#10;&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;if (pose == &quot;Running&quot;) then&#13;&#10;&#9;&#9;amplitude = 1&#13;&#10;&#9;&#9;frequency = 9&#13;&#10;&#9;elseif (pose == &quot;Dancing&quot;) then&#13;&#10;&#9;&#9;amplitude = 2&#13;&#10;&#9;&#9;frequency = 16&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#13;&#10;&#9;desiredAngle = amplitude * math.sin(time*frequency)&#13;&#10;&#9;if pose~=&quot;Dancing&quot; then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;else&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;end&#13;&#10;&#9;&#9;&#13;&#10;&#13;&#10;&#13;&#10;&#9;local tool = getTool()&#13;&#10;&#13;&#10;&#9;if tool ~= nil then&#13;&#10;&#9;&#13;&#10;&#9;&#9;animStringValueObject = getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;&#9;if animStringValueObject ~= nil then&#13;&#10;&#9;&#9;&#9;toolAnim = animStringValueObject.Value&#13;&#10;&#9;&#9;&#9;-- message recieved, delete StringValue&#13;&#10;&#9;&#9;&#9;animStringValueObject.Parent = nil&#13;&#10;&#9;&#9;&#9;toolAnimTime = time + .3&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if time &gt; toolAnimTime then&#13;&#10;&#9;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;animateTool()&#13;&#10;&#13;&#10;&#9;&#9;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;-- connect events&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;function unequip()&#13;&#10;&#9;local items=script.Parent:children()&#13;&#10;&#9;for i=1, #items do&#13;&#10;&#9;&#9;if items[i].className==&quot;Tool&quot; then items[i]:remove() end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onChatted(msg, recipient) &#13;&#10;&#9;msg = string.lower(msg)&#13;&#10;&#13;&#10;&#9;if string.match(msg, string.lower(script.Parent.Name))~=nil or string.match(msg, &quot;everyone&quot;) then&#13;&#10;&#9;&#9;if string.match(msg, &quot;equip&quot;) then &#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;Hub&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;if string.match(msg, &quot;rocket&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Rocket:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;slingshot&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Slingshot:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;sword&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Sword:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;pbg&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.PBG:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;superball&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Superball:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;trowel&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Trowel:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;bomb&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Bomb:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;unequip&quot;) then unequip() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;run&quot;) then onRunning(1) end&#13;&#10;&#9;&#9;if string.match(msg, &quot;climb&quot;) then onClimbing() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;jump&quot;) then onJumping() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;zombie&quot;) then pose=&quot;Zombie&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;disco&quot;) then pose=&quot;Boogy&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;float&quot;) then pose=&quot;Float&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;punch&quot;) then pose=&quot;Punch&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kick&quot;) then pose=&quot;Kick&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;fly&quot;) then pose=&quot;Fly&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;heal&quot;) then script.Parent.Humanoid.Health=script.Parent.Humanoid.MaxHealth end&#13;&#10;&#9;&#9;if string.match(msg, &quot;defend&quot;) then defence() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;stop&quot;) then pose=&quot;Standing&quot;; proxkill=false; following=false; stopmoving() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;go home&quot;) then following=false; gohome() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;follow&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;followany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;follow(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kill&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;attackany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;attack(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if game.Players.NumPlayers&gt;1 then&#13;&#10;&#9;x=game.Players:children()&#13;&#10;&#9;&#13;&#10;&#9;for i=1, #x do&#13;&#10;&#9;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function onPlayerEntered(Player) &#13;&#10;&#9;while Player.Name==nil do&#13;&#10;&#9;&#9;wait(2)&#13;&#10;&#9;end&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;end&#13;&#10;&#9;else&#13;&#10;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;game.Players.ChildAdded:connect(onPlayerEntered) &#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;dist=20&#13;&#10;&#13;&#10;function followany()&#13;&#10;following=true&#13;&#10;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 6 do&#13;&#10;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then stopmoving() else&#9;wait(0.5) end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function gohome()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(Vector3.new(0,0,0), game.Workspace.Bases.Base)&#13;&#10;end&#13;&#10;function stopmoving()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(script.Parent.Torso.Position, script.Parent.Torso)&#13;&#10;end&#13;&#10;&#13;&#10;function follow(name)&#13;&#10;&#9;following=true&#13;&#10;&#13;&#10;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;if p==nil then return end&#13;&#10;&#9;while following==true do&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attack(name)&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#9;&#9;following=true&#13;&#10;&#9;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;&#9;if p==nil then return end&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#9;local l=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((l.x-q.x)^2)+((l.y-q.y)^2)+((l.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;if (q.y-l.y)&gt;3 and (q.y-l.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attackany()&#13;&#10;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#13;&#10;&#9;following=true&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;slash()&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;if target.Parent==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then &#13;&#10;&#9;&#9;&#9;&#9;&#9;stopmoving() &#13;&#10;&#9;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=target.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if (q.y-p.y)&gt;3 and (q.y-p.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function patrol()&#13;&#10;&#9;if points==nil then&#13;&#10;&#9;&#9;points=0&#13;&#10;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp1&quot;)~=nil then&#13;&#10;&#9;&#9;pp1=game.Workspace:findFirstChild(&quot;pp1&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp2&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;pp2=game.Workspace:findFirstChild(&quot;pp2&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp3&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;pp3=game.Workspace:findFirstChild(&quot;pp3&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp4&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;pp4=game.Workspace:findFirstChild(&quot;pp4&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp5&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;pp5=game.Workspace:findFirstChild(&quot;pp5&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp6&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp6=game.Workspace:findFirstChild(&quot;pp6&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp7&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp7=game.Workspace:findFirstChild(&quot;pp7&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp8&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp8=game.Workspace:findFirstChild(&quot;pp8&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp9&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp9=game.Workspace:findFirstChild(&quot;pp9&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if points&lt;1 then return end&#13;&#10;&#9;patrolling=true&#13;&#10;&#9;local time=2&#13;&#10;&#9;if points==1 then return end&#13;&#10;&#9;if points&gt;1 then&#13;&#10;&#9;&#9;while patrolling==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp1.Position, pp1)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp2.Position, pp2)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;if points&gt;2 then&#13;&#10;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp3.Position, pp3)&#13;&#10;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;if points&gt;3 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp4.Position, pp4)&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;if points&gt;4 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp5.Position, pp5)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;5 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp6.Position, pp6)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;6 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp7.Position, pp7)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp8.Position, pp8)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp9.Position, pp9)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function goto(pos,part)&#13;&#10;while true do&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function slash()&#13;&#10;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;wait(.3)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -2.14&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;&#9;wait(.2)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function defence()&#13;&#10;&#9;proxkill=true&#13;&#10;&#9;while proxkill==true do&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local p=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if p~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local p=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;dist and d&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local ex=Instance.new(&quot;Explosion&quot;)&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Position=p&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Parent=game.Workspace&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#9;&#9;&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;wait(1)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(onJumping)&#13;&#10;Humanoid.Climbing:connect(onClimbing)&#13;&#10;Humanoid.GettingUp:connect(onGettingUp)&#13;&#10;Humanoid.FreeFalling:connect(onFreeFall)&#13;&#10;Humanoid.FallingDown:connect(onFallingDown)&#13;&#10;Humanoid.Seated:connect(onSeated)&#13;&#10;&#13;&#10;&#13;&#10;--[[&#13;&#10;&#13;&#10;function newSound(id)&#13;&#10;&#9;local sound = Instance.new(&quot;Sound&quot;)&#13;&#10;&#9;sound.SoundId = id&#13;&#10;&#9;sound.Parent = script.Parent.Head&#13;&#10;&#9;return sound&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;local sDied = newSound(&quot;rbxasset://sounds/uuhhh.wav&quot;)&#13;&#10;local sFallingDown = newSound(&quot;rbxasset://sounds/splat.wav&quot;)&#13;&#10;local sFreeFalling = newSound(&quot;rbxasset://sounds/swoosh.wav&quot;)&#13;&#10;local sGettingUp = newSound(&quot;rbxasset://sounds/hit.wav&quot;)&#13;&#10;local sJumping = newSound(&quot;rbxasset://sounds/button.wav&quot;)&#13;&#10;local sRunning = newSound(&quot;rbxasset://sounds/bfsl-minifigfoots1.mp3&quot;)&#13;&#10;sRunning.Looped = true&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;sDied:play()&#13;&#10;end&#13;&#10;&#13;&#10;function onState(state, sound)&#13;&#10;&#9;if state then&#13;&#10;&#9;&#9;sound:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sound:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;sRunning:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sRunning:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(function(state) onState(state, sJumping) end)&#13;&#10;Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end)&#13;&#10;Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end)&#13;&#10;Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end)&#13;&#10;--]]&#13;&#10;&#13;&#10;local nextTime = 0&#13;&#10;local runService = game:service(&quot;RunService&quot;);&#13;&#10;&#13;&#10;while Figure.Parent~=nil do&#13;&#10;&#9;time = runService.Stepped:wait()&#13;&#10;&#9;if time &gt; nextTime then&#13;&#10;&#9;&#9;move(time)&#13;&#10;&#9;&#9;nextTime = time + 0.1&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX310">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Follow</string>
					<string name="Source">local larm = script.Parent:FindFirstChild(&quot;Left Arm&quot;)&#13;&#10;local rarm = script.Parent:FindFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;function findNearestTorso(pos)&#13;&#10;&#9;local list = game.Workspace:children()&#13;&#10;&#9;local torso = nil&#13;&#10;&#9;local dist = 25&#13;&#10;&#9;local temp = nil&#13;&#10;&#9;local human = nil&#13;&#10;&#9;local temp2 = nil&#13;&#10;&#9;for x = 1, #list do&#13;&#10;&#9;&#9;temp2 = list[x]&#13;&#10;&#9;&#9;if (temp2.className == &quot;Model&quot;) and (temp2 ~= script.Parent) then&#13;&#10;&#9;&#9;&#9;temp = temp2:findFirstChild(&quot;Torso&quot;)&#13;&#10;&#9;&#9;&#9;human = temp2:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;&#9;&#9;if (temp ~= nil) and (human ~= nil) and (human.Health &gt; 0) then&#13;&#10;&#9;&#9;&#9;&#9;if (temp.Position - pos).magnitude &lt; dist then&#13;&#10;&#9;&#9;&#9;&#9;&#9;torso = temp&#13;&#10;&#9;&#9;&#9;&#9;&#9;dist = (temp.Position - pos).magnitude&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return torso&#13;&#10;end&#13;&#10;&#13;&#10;while true do&#13;&#10;&#9;wait(0.1)&#13;&#10;&#9;local target = findNearestTorso(script.Parent.Torso.Position)&#13;&#10;&#9;if target ~= nil then&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#9;end&#13;&#10;end</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Model" referent="RBX311">
			<Properties>
				<token name="Controller">7</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">Warrior</string>
				<Ref name="PrimaryPart">RBX312</Ref>
				<bool name="archivable">true</bool>
			</Properties>
			<Item class="Humanoid" referent="RBX313">
				<Properties>
					<float name="Health">0</float>
					<bool name="Jump">false</bool>
					<float name="MaxHealth">100</float>
					<string name="Name">Humanoid</string>
					<bool name="Sit">false</bool>
					<Vector3 name="TargetPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<Vector3 name="WalkDirection">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<float name="WalkRotationalVelocity">0</float>
					<Ref name="WalkToPart">null</Ref>
					<Vector3 name="WalkToPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX314">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Health</string>
					<string name="Source">function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;-- declarations&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;Humanoid.Health=500&#13;&#10;-- regeneration&#13;&#10;while true do&#13;&#10;&#9;local s = wait(4)&#13;&#10;&#9;local health = Humanoid.Health&#13;&#10;&#9;if health &gt; 0 and health &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;health = health + 0.08 * s * Humanoid.MaxHealth&#13;&#10;&#9;&#9;if health * 1.05 &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;&#9;Humanoid.Health = health&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;Humanoid.Health = Humanoid.MaxHealth&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="BodyColors" referent="RBX315">
				<Properties>
					<int name="HeadColor">24</int>
					<int name="LeftArmColor">28</int>
					<int name="LeftLegColor">28</int>
					<string name="Name">Body Colors</string>
					<int name="RightArmColor">28</int>
					<int name="RightLegColor">28</int>
					<int name="TorsoColor">28</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="IntValue" referent="RBX316">
				<Properties>
					<string name="Name">Value</string>
					<int name="Value">0</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Part" referent="RBX312">
				<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">4</token>
					<token name="BottomSurfaceInput">0</token>
					<int name="BrickColor">141</int>
					<CoordinateFrame name="CFrame">
						<X>136.56665</X>
						<Y>0.890019774</Y>
						<Z>-44.58498</Z>
						<R00>0.847892106</R00>
						<R01>0.530168772</R01>
						<R02>-5.01424438e-005</R02>
						<R10>6.98687072e-005</R10>
						<R11>-1.7073251e-005</R11>
						<R12>0.99999994</R12>
						<R20>0.530168772</R20>
						<R21>-0.847892046</R21>
						<R22>-5.14980857e-005</R22>
					</CoordinateFrame>
					<bool name="CanCollide">true</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">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">Right Arm</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>1</X>
						<Y>2</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
				<Item class="Script" referent="RBX317">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">DoorScript2</string>
						<string name="Source">print(&quot;Omg a team door! Goodbye spawnkilling!&quot;) -- {made by:yourit12 modeled by:NintendoZACHERY}&#13;&#10;&#13;&#10;Door = script.Parent &#13;&#10;------------------------------------&#13;&#10;modelname=&quot;Admins&quot; -- Put the EXACT name of the team here&#13;&#10;------------------------------------&#13;&#10; &#13;&#10;function onTouched(hit) &#13;&#10;        print(&quot;Door Hit&quot;) &#13;&#10;        local human = hit.Parent:FindFirstChild(&quot;Humanoid&quot;) &#13;&#10;        if (human ~= nil ) then&#13;&#10;                if game.Players:playerFromCharacter(hit.Parent).TeamColor==game.Teams:findFirstChild(modelname).TeamColor then&#13;&#10;                        Door.CanCollide = false &#13;&#10;                        Door.Transparency = 0&#13;&#10;                        wait(1) &#13;&#10;                        Door.CanCollide = true &#13;&#10;                        Door.Transparency = 0 &#13;&#10;                        print(&quot;Human touched door&quot;) &#13;&#10;                else&#13;&#10;                        human.Health = 0&#13;&#10;                end&#13;&#10; &#13;&#10;        end &#13;&#10;end &#13;&#10; &#13;&#10;connection = Door.Touched:connect(onTouched)</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Script" referent="RBX318">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">Script</string>
						<string name="Source">function onTouched(hit)&#13;&#10;if hit.Name ~= &quot;tray&quot; then hit:remove() end&#13;&#10;end&#13;&#10;&#13;&#10;connection = script.Parent.Touched:connect(onTouched)&#13;&#10;</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Script" referent="RBX319">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">Script</string>
						<string name="Source">&#13;&#10;function onTouched(hit)&#13;&#10;&#9;local human = hit.Parent:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;if (human ~= nil) then&#13;&#10;&#9;&#9;human.Health = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if (script.Parent ~= nil) and (script.Parent.className == &quot;Part&quot;) then --Work if in a block&#13;&#10;&#9;connection = script.Parent.Touched:connect(onTouched)&#13;&#10;end&#13;&#10;</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
			</Item>
			<Item class="Script" referent="RBX320">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Robot</string>
					<string name="Source">------------------&#13;&#10;--SPAWNING--&#13;&#10;------------------&#13;&#10;&#13;&#10;miked=script.Parent&#13;&#10;&#13;&#10;itlh=miked.Torso:findFirstChild(&quot;Left Hip&quot;)&#13;&#10;itlh.Part0=miked.Torso&#13;&#10;itlh.Part1=miked:findFirstChild(&quot;Left Leg&quot;)&#13;&#10;itlh.C0=CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;&#13;&#10;itrh=miked.Torso:findFirstChild(&quot;Right Hip&quot;)&#13;&#10;itrh.Part0=miked.Torso&#13;&#10;itrh.Part1=miked:findFirstChild(&quot;Right Leg&quot;)&#13;&#10;itrh.C0=CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;&#13;&#10;itls=miked.Torso:findFirstChild(&quot;Left Shoulder&quot;)&#13;&#10;itls.Part1=miked.Torso&#13;&#10;itls.C0=CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;itls.Part0=miked:findFirstChild(&quot;Left Arm&quot;)&#13;&#10;&#13;&#10;itrs=miked.Torso:findFirstChild(&quot;Right Shoulder&quot;)&#13;&#10;itrs.Part1=miked.Torso&#13;&#10;itrs.C0=CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;itrs.Part0=miked:findFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;miked.Head:makeJoints()&#13;&#10;------------------&#13;&#10;------------------&#13;&#10;&#13;&#10;&#13;&#10;function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Torso = waitForChild(Figure, &quot;Torso&quot;)&#13;&#10;local RightShoulder = waitForChild(Torso, &quot;Right Shoulder&quot;)&#13;&#10;local LeftShoulder = waitForChild(Torso, &quot;Left Shoulder&quot;)&#13;&#10;local RightHip = waitForChild(Torso, &quot;Right Hip&quot;)&#13;&#10;local LeftHip = waitForChild(Torso, &quot;Left Hip&quot;)&#13;&#10;local Neck = waitForChild(Torso, &quot;Neck&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;local pose = &quot;Standing&quot;&#13;&#10;&#13;&#10;local toolAnim = &quot;None&quot;&#13;&#10;local toolAnimTime = 0&#13;&#10;&#13;&#10;local isSeated = false&#13;&#10;&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if isSeated then return end&#13;&#10;&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;pose = &quot;Running&quot;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;pose = &quot;Standing&quot;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;pose = &quot;Dead&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onJumping()&#13;&#10;&#9;isSeated = false&#13;&#10;&#9;pose = &quot;Jumping&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onClimbing()&#13;&#10;&#9;pose = &quot;Climbing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onGettingUp()&#13;&#10;&#9;pose = &quot;GettingUp&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFreeFall()&#13;&#10;&#9;pose = &quot;FreeFall&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onDancing()&#13;&#10;&#9;pose = &quot;Dancing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFallingDown()&#13;&#10;&#9;pose = &quot;FallingDown&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onSeated()&#13;&#10;&#9;isSeated = true&#13;&#10;&#9;pose = &quot;Seated&quot;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function moveJump()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFreeFall()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1&#13;&#10;&#9;LeftShoulder.DesiredAngle = -1&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFloat()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = -1.57&#13;&#10;end&#13;&#10;&#13;&#10;function moveBoogy()&#13;&#10;while pose==&quot;Boogy&quot; do&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 1.57&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;function moveZombie()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function movePunch()&#13;&#10;&#9;script.Parent.Torso.Anchored=true&#13;&#10;&#9;RightShoulder.MaxVelocity = 60&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;script.Parent.Torso.Anchored=false&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveKick()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveFly()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function moveClimb()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveSit()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;RightHip.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftHip.DesiredAngle = -3.14 /2&#13;&#10;end&#13;&#10;&#13;&#10;function getTool()&#13;&#10;&#9;&#13;&#10;&#9;kidTable = Figure:children()&#13;&#10;&#9;if (kidTable ~= nil) then&#13;&#10;&#9;&#9;numKids = #kidTable&#13;&#10;&#9;&#9;for i=1,numKids do&#13;&#10;&#9;&#9;&#9;if (kidTable[i].className == &quot;Tool&quot;) then return kidTable[i] end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;c = tool:children()&#13;&#10;&#9;for i=1,#c do&#13;&#10;&#9;&#9;if (c[i].Name == &quot;toolanim&quot; and c[i].className == &quot;StringValue&quot;) then&#13;&#10;&#9;&#9;&#9;return c[i]&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function animateTool()&#13;&#10;&#9;&#13;&#10;&#9;if (toolAnim == &quot;None&quot;) then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Slash&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Lunge&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 1.0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 1.0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function move(time)&#13;&#10;&#9;local amplitude&#13;&#10;&#9;local frequency&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Jumping&quot;) then&#13;&#10;&#9;&#9;moveJump()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Zombie&quot;) then&#13;&#10;&#9;&#9;moveZombie()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Boogy&quot;) then&#13;&#10;&#9;&#9;moveBoogy()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Float&quot;) then&#13;&#10;&#9;&#9;moveFloat()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Punch&quot;) then&#13;&#10;&#9;&#9;movePunch()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Kick&quot;) then&#13;&#10;&#9;&#9;moveKick()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Fly&quot;) then&#13;&#10;&#9;&#9;moveFly()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;FreeFall&quot;) then&#13;&#10;&#9;&#9;moveFreeFall()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Climbing&quot;) then&#13;&#10;&#9;&#9;moveClimb()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Seated&quot;) then&#13;&#10;&#9;&#9;moveSit()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;amplitude = 0.1&#13;&#10;&#9;&#9;frequency = 1&#13;&#10;&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;if (pose == &quot;Running&quot;) then&#13;&#10;&#9;&#9;amplitude = 1&#13;&#10;&#9;&#9;frequency = 9&#13;&#10;&#9;elseif (pose == &quot;Dancing&quot;) then&#13;&#10;&#9;&#9;amplitude = 2&#13;&#10;&#9;&#9;frequency = 16&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#13;&#10;&#9;desiredAngle = amplitude * math.sin(time*frequency)&#13;&#10;&#9;if pose~=&quot;Dancing&quot; then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;else&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;end&#13;&#10;&#9;&#9;&#13;&#10;&#13;&#10;&#13;&#10;&#9;local tool = getTool()&#13;&#10;&#13;&#10;&#9;if tool ~= nil then&#13;&#10;&#9;&#13;&#10;&#9;&#9;animStringValueObject = getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;&#9;if animStringValueObject ~= nil then&#13;&#10;&#9;&#9;&#9;toolAnim = animStringValueObject.Value&#13;&#10;&#9;&#9;&#9;-- message recieved, delete StringValue&#13;&#10;&#9;&#9;&#9;animStringValueObject.Parent = nil&#13;&#10;&#9;&#9;&#9;toolAnimTime = time + .3&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if time &gt; toolAnimTime then&#13;&#10;&#9;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;animateTool()&#13;&#10;&#13;&#10;&#9;&#9;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;-- connect events&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;function unequip()&#13;&#10;&#9;local items=script.Parent:children()&#13;&#10;&#9;for i=1, #items do&#13;&#10;&#9;&#9;if items[i].className==&quot;Tool&quot; then items[i]:remove() end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onChatted(msg, recipient) &#13;&#10;&#9;msg = string.lower(msg)&#13;&#10;&#13;&#10;&#9;if string.match(msg, string.lower(script.Parent.Name))~=nil or string.match(msg, &quot;everyone&quot;) then&#13;&#10;&#9;&#9;if string.match(msg, &quot;equip&quot;) then &#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;Hub&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;if string.match(msg, &quot;rocket&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Rocket:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;slingshot&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Slingshot:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;sword&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Sword:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;pbg&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.PBG:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;superball&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Superball:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;trowel&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Trowel:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;bomb&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Bomb:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;unequip&quot;) then unequip() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;run&quot;) then onRunning(1) end&#13;&#10;&#9;&#9;if string.match(msg, &quot;climb&quot;) then onClimbing() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;jump&quot;) then onJumping() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;zombie&quot;) then pose=&quot;Zombie&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;disco&quot;) then pose=&quot;Boogy&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;float&quot;) then pose=&quot;Float&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;punch&quot;) then pose=&quot;Punch&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kick&quot;) then pose=&quot;Kick&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;fly&quot;) then pose=&quot;Fly&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;heal&quot;) then script.Parent.Humanoid.Health=script.Parent.Humanoid.MaxHealth end&#13;&#10;&#9;&#9;if string.match(msg, &quot;defend&quot;) then defence() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;stop&quot;) then pose=&quot;Standing&quot;; proxkill=false; following=false; stopmoving() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;go home&quot;) then following=false; gohome() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;follow&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;followany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;follow(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kill&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;attackany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;attack(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if game.Players.NumPlayers&gt;1 then&#13;&#10;&#9;x=game.Players:children()&#13;&#10;&#9;&#13;&#10;&#9;for i=1, #x do&#13;&#10;&#9;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function onPlayerEntered(Player) &#13;&#10;&#9;while Player.Name==nil do&#13;&#10;&#9;&#9;wait(2)&#13;&#10;&#9;end&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;end&#13;&#10;&#9;else&#13;&#10;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;game.Players.ChildAdded:connect(onPlayerEntered) &#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;dist=20&#13;&#10;&#13;&#10;function followany()&#13;&#10;following=true&#13;&#10;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 6 do&#13;&#10;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then stopmoving() else&#9;wait(0.5) end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function gohome()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(Vector3.new(0,0,0), game.Workspace.Bases.Base)&#13;&#10;end&#13;&#10;function stopmoving()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(script.Parent.Torso.Position, script.Parent.Torso)&#13;&#10;end&#13;&#10;&#13;&#10;function follow(name)&#13;&#10;&#9;following=true&#13;&#10;&#13;&#10;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;if p==nil then return end&#13;&#10;&#9;while following==true do&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attack(name)&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#9;&#9;following=true&#13;&#10;&#9;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;&#9;if p==nil then return end&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#9;local l=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((l.x-q.x)^2)+((l.y-q.y)^2)+((l.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;if (q.y-l.y)&gt;3 and (q.y-l.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attackany()&#13;&#10;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#13;&#10;&#9;following=true&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;slash()&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;if target.Parent==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then &#13;&#10;&#9;&#9;&#9;&#9;&#9;stopmoving() &#13;&#10;&#9;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=target.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if (q.y-p.y)&gt;3 and (q.y-p.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function patrol()&#13;&#10;&#9;if points==nil then&#13;&#10;&#9;&#9;points=0&#13;&#10;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp1&quot;)~=nil then&#13;&#10;&#9;&#9;pp1=game.Workspace:findFirstChild(&quot;pp1&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp2&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;pp2=game.Workspace:findFirstChild(&quot;pp2&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp3&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;pp3=game.Workspace:findFirstChild(&quot;pp3&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp4&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;pp4=game.Workspace:findFirstChild(&quot;pp4&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp5&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;pp5=game.Workspace:findFirstChild(&quot;pp5&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp6&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp6=game.Workspace:findFirstChild(&quot;pp6&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp7&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp7=game.Workspace:findFirstChild(&quot;pp7&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp8&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp8=game.Workspace:findFirstChild(&quot;pp8&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp9&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp9=game.Workspace:findFirstChild(&quot;pp9&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if points&lt;1 then return end&#13;&#10;&#9;patrolling=true&#13;&#10;&#9;local time=2&#13;&#10;&#9;if points==1 then return end&#13;&#10;&#9;if points&gt;1 then&#13;&#10;&#9;&#9;while patrolling==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp1.Position, pp1)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp2.Position, pp2)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;if points&gt;2 then&#13;&#10;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp3.Position, pp3)&#13;&#10;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;if points&gt;3 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp4.Position, pp4)&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;if points&gt;4 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp5.Position, pp5)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;5 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp6.Position, pp6)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;6 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp7.Position, pp7)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp8.Position, pp8)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp9.Position, pp9)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function goto(pos,part)&#13;&#10;while true do&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function slash()&#13;&#10;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;wait(.3)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -2.14&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;&#9;wait(.2)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function defence()&#13;&#10;&#9;proxkill=true&#13;&#10;&#9;while proxkill==true do&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local p=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if p~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local p=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;dist and d&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local ex=Instance.new(&quot;Explosion&quot;)&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Position=p&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Parent=game.Workspace&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#9;&#9;&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;wait(1)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(onJumping)&#13;&#10;Humanoid.Climbing:connect(onClimbing)&#13;&#10;Humanoid.GettingUp:connect(onGettingUp)&#13;&#10;Humanoid.FreeFalling:connect(onFreeFall)&#13;&#10;Humanoid.FallingDown:connect(onFallingDown)&#13;&#10;Humanoid.Seated:connect(onSeated)&#13;&#10;&#13;&#10;&#13;&#10;--[[&#13;&#10;&#13;&#10;function newSound(id)&#13;&#10;&#9;local sound = Instance.new(&quot;Sound&quot;)&#13;&#10;&#9;sound.SoundId = id&#13;&#10;&#9;sound.Parent = script.Parent.Head&#13;&#10;&#9;return sound&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;local sDied = newSound(&quot;rbxasset://sounds/uuhhh.wav&quot;)&#13;&#10;local sFallingDown = newSound(&quot;rbxasset://sounds/splat.wav&quot;)&#13;&#10;local sFreeFalling = newSound(&quot;rbxasset://sounds/swoosh.wav&quot;)&#13;&#10;local sGettingUp = newSound(&quot;rbxasset://sounds/hit.wav&quot;)&#13;&#10;local sJumping = newSound(&quot;rbxasset://sounds/button.wav&quot;)&#13;&#10;local sRunning = newSound(&quot;rbxasset://sounds/bfsl-minifigfoots1.mp3&quot;)&#13;&#10;sRunning.Looped = true&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;sDied:play()&#13;&#10;end&#13;&#10;&#13;&#10;function onState(state, sound)&#13;&#10;&#9;if state then&#13;&#10;&#9;&#9;sound:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sound:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;sRunning:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sRunning:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(function(state) onState(state, sJumping) end)&#13;&#10;Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end)&#13;&#10;Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end)&#13;&#10;Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end)&#13;&#10;--]]&#13;&#10;&#13;&#10;local nextTime = 0&#13;&#10;local runService = game:service(&quot;RunService&quot;);&#13;&#10;&#13;&#10;while Figure.Parent~=nil do&#13;&#10;&#9;time = runService.Stepped:wait()&#13;&#10;&#9;if time &gt; nextTime then&#13;&#10;&#9;&#9;move(time)&#13;&#10;&#9;&#9;nextTime = time + 0.1&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX321">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Follow</string>
					<string name="Source">local larm = script.Parent:FindFirstChild(&quot;Left Arm&quot;)&#13;&#10;local rarm = script.Parent:FindFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;function findNearestTorso(pos)&#13;&#10;&#9;local list = game.Workspace:children()&#13;&#10;&#9;local torso = nil&#13;&#10;&#9;local dist = 25&#13;&#10;&#9;local temp = nil&#13;&#10;&#9;local human = nil&#13;&#10;&#9;local temp2 = nil&#13;&#10;&#9;for x = 1, #list do&#13;&#10;&#9;&#9;temp2 = list[x]&#13;&#10;&#9;&#9;if (temp2.className == &quot;Model&quot;) and (temp2 ~= script.Parent) then&#13;&#10;&#9;&#9;&#9;temp = temp2:findFirstChild(&quot;Torso&quot;)&#13;&#10;&#9;&#9;&#9;human = temp2:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;&#9;&#9;if (temp ~= nil) and (human ~= nil) and (human.Health &gt; 0) then&#13;&#10;&#9;&#9;&#9;&#9;if (temp.Position - pos).magnitude &lt; dist then&#13;&#10;&#9;&#9;&#9;&#9;&#9;torso = temp&#13;&#10;&#9;&#9;&#9;&#9;&#9;dist = (temp.Position - pos).magnitude&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return torso&#13;&#10;end&#13;&#10;&#13;&#10;while true do&#13;&#10;&#9;wait(0.1)&#13;&#10;&#9;local target = findNearestTorso(script.Parent.Torso.Position)&#13;&#10;&#9;if target ~= nil then&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#9;end&#13;&#10;end</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Model" referent="RBX322">
			<Properties>
				<token name="Controller">7</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">Warrior</string>
				<Ref name="PrimaryPart">RBX323</Ref>
				<bool name="archivable">true</bool>
			</Properties>
			<Item class="Humanoid" referent="RBX324">
				<Properties>
					<float name="Health">0</float>
					<bool name="Jump">false</bool>
					<float name="MaxHealth">100</float>
					<string name="Name">Humanoid</string>
					<bool name="Sit">false</bool>
					<Vector3 name="TargetPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<Vector3 name="WalkDirection">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<float name="WalkRotationalVelocity">0</float>
					<Ref name="WalkToPart">null</Ref>
					<Vector3 name="WalkToPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX325">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Health</string>
					<string name="Source">function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;-- declarations&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;Humanoid.Health=500&#13;&#10;-- regeneration&#13;&#10;while true do&#13;&#10;&#9;local s = wait(4)&#13;&#10;&#9;local health = Humanoid.Health&#13;&#10;&#9;if health &gt; 0 and health &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;health = health + 0.08 * s * Humanoid.MaxHealth&#13;&#10;&#9;&#9;if health * 1.05 &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;&#9;Humanoid.Health = health&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;Humanoid.Health = Humanoid.MaxHealth&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="BodyColors" referent="RBX326">
				<Properties>
					<int name="HeadColor">24</int>
					<int name="LeftArmColor">28</int>
					<int name="LeftLegColor">28</int>
					<string name="Name">Body Colors</string>
					<int name="RightArmColor">28</int>
					<int name="RightLegColor">28</int>
					<int name="TorsoColor">28</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="IntValue" referent="RBX327">
				<Properties>
					<string name="Name">Value</string>
					<int name="Value">0</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Part" referent="RBX323">
				<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">4</token>
					<token name="BottomSurfaceInput">0</token>
					<int name="BrickColor">141</int>
					<CoordinateFrame name="CFrame">
						<X>157.963318</X>
						<Y>0.889977276</Y>
						<Z>-61.4650726</Z>
						<R00>2.0860396e-005</R00>
						<R01>-0.704721451</R01>
						<R02>0.70948416</R02>
						<R10>-1</R10>
						<R11>1.08683116e-006</R11>
						<R12>3.05475769e-005</R12>
						<R20>-2.23074494e-005</R20>
						<R21>-0.70948416</R21>
						<R22>-0.704721451</R22>
					</CoordinateFrame>
					<bool name="CanCollide">true</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">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">Right Arm</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>1</X>
						<Y>2</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
				<Item class="Script" referent="RBX328">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">DoorScript2</string>
						<string name="Source">print(&quot;Omg a team door! Goodbye spawnkilling!&quot;) -- {made by:yourit12 modeled by:NintendoZACHERY}&#13;&#10;&#13;&#10;Door = script.Parent &#13;&#10;------------------------------------&#13;&#10;modelname=&quot;Admins&quot; -- Put the EXACT name of the team here&#13;&#10;------------------------------------&#13;&#10; &#13;&#10;function onTouched(hit) &#13;&#10;        print(&quot;Door Hit&quot;) &#13;&#10;        local human = hit.Parent:FindFirstChild(&quot;Humanoid&quot;) &#13;&#10;        if (human ~= nil ) then&#13;&#10;                if game.Players:playerFromCharacter(hit.Parent).TeamColor==game.Teams:findFirstChild(modelname).TeamColor then&#13;&#10;                        Door.CanCollide = false &#13;&#10;                        Door.Transparency = 0&#13;&#10;                        wait(1) &#13;&#10;                        Door.CanCollide = true &#13;&#10;                        Door.Transparency = 0 &#13;&#10;                        print(&quot;Human touched door&quot;) &#13;&#10;                else&#13;&#10;                        human.Health = 0&#13;&#10;                end&#13;&#10; &#13;&#10;        end &#13;&#10;end &#13;&#10; &#13;&#10;connection = Door.Touched:connect(onTouched)</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Script" referent="RBX329">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">Script</string>
						<string name="Source">function onTouched(hit)&#13;&#10;if hit.Name ~= &quot;tray&quot; then hit:remove() end&#13;&#10;end&#13;&#10;&#13;&#10;connection = script.Parent.Touched:connect(onTouched)&#13;&#10;</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Script" referent="RBX330">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">Script</string>
						<string name="Source">&#13;&#10;function onTouched(hit)&#13;&#10;&#9;local human = hit.Parent:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;if (human ~= nil) then&#13;&#10;&#9;&#9;human.Health = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if (script.Parent ~= nil) and (script.Parent.className == &quot;Part&quot;) then --Work if in a block&#13;&#10;&#9;connection = script.Parent.Touched:connect(onTouched)&#13;&#10;end&#13;&#10;</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
			</Item>
			<Item class="Script" referent="RBX331">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Robot</string>
					<string name="Source">------------------&#13;&#10;--SPAWNING--&#13;&#10;------------------&#13;&#10;&#13;&#10;miked=script.Parent&#13;&#10;&#13;&#10;itlh=miked.Torso:findFirstChild(&quot;Left Hip&quot;)&#13;&#10;itlh.Part0=miked.Torso&#13;&#10;itlh.Part1=miked:findFirstChild(&quot;Left Leg&quot;)&#13;&#10;itlh.C0=CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;&#13;&#10;itrh=miked.Torso:findFirstChild(&quot;Right Hip&quot;)&#13;&#10;itrh.Part0=miked.Torso&#13;&#10;itrh.Part1=miked:findFirstChild(&quot;Right Leg&quot;)&#13;&#10;itrh.C0=CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;&#13;&#10;itls=miked.Torso:findFirstChild(&quot;Left Shoulder&quot;)&#13;&#10;itls.Part1=miked.Torso&#13;&#10;itls.C0=CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;itls.Part0=miked:findFirstChild(&quot;Left Arm&quot;)&#13;&#10;&#13;&#10;itrs=miked.Torso:findFirstChild(&quot;Right Shoulder&quot;)&#13;&#10;itrs.Part1=miked.Torso&#13;&#10;itrs.C0=CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;itrs.Part0=miked:findFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;miked.Head:makeJoints()&#13;&#10;------------------&#13;&#10;------------------&#13;&#10;&#13;&#10;&#13;&#10;function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Torso = waitForChild(Figure, &quot;Torso&quot;)&#13;&#10;local RightShoulder = waitForChild(Torso, &quot;Right Shoulder&quot;)&#13;&#10;local LeftShoulder = waitForChild(Torso, &quot;Left Shoulder&quot;)&#13;&#10;local RightHip = waitForChild(Torso, &quot;Right Hip&quot;)&#13;&#10;local LeftHip = waitForChild(Torso, &quot;Left Hip&quot;)&#13;&#10;local Neck = waitForChild(Torso, &quot;Neck&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;local pose = &quot;Standing&quot;&#13;&#10;&#13;&#10;local toolAnim = &quot;None&quot;&#13;&#10;local toolAnimTime = 0&#13;&#10;&#13;&#10;local isSeated = false&#13;&#10;&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if isSeated then return end&#13;&#10;&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;pose = &quot;Running&quot;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;pose = &quot;Standing&quot;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;pose = &quot;Dead&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onJumping()&#13;&#10;&#9;isSeated = false&#13;&#10;&#9;pose = &quot;Jumping&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onClimbing()&#13;&#10;&#9;pose = &quot;Climbing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onGettingUp()&#13;&#10;&#9;pose = &quot;GettingUp&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFreeFall()&#13;&#10;&#9;pose = &quot;FreeFall&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onDancing()&#13;&#10;&#9;pose = &quot;Dancing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFallingDown()&#13;&#10;&#9;pose = &quot;FallingDown&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onSeated()&#13;&#10;&#9;isSeated = true&#13;&#10;&#9;pose = &quot;Seated&quot;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function moveJump()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFreeFall()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1&#13;&#10;&#9;LeftShoulder.DesiredAngle = -1&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFloat()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = -1.57&#13;&#10;end&#13;&#10;&#13;&#10;function moveBoogy()&#13;&#10;while pose==&quot;Boogy&quot; do&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 1.57&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;function moveZombie()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function movePunch()&#13;&#10;&#9;script.Parent.Torso.Anchored=true&#13;&#10;&#9;RightShoulder.MaxVelocity = 60&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;script.Parent.Torso.Anchored=false&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveKick()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveFly()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function moveClimb()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveSit()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;RightHip.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftHip.DesiredAngle = -3.14 /2&#13;&#10;end&#13;&#10;&#13;&#10;function getTool()&#13;&#10;&#9;&#13;&#10;&#9;kidTable = Figure:children()&#13;&#10;&#9;if (kidTable ~= nil) then&#13;&#10;&#9;&#9;numKids = #kidTable&#13;&#10;&#9;&#9;for i=1,numKids do&#13;&#10;&#9;&#9;&#9;if (kidTable[i].className == &quot;Tool&quot;) then return kidTable[i] end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;c = tool:children()&#13;&#10;&#9;for i=1,#c do&#13;&#10;&#9;&#9;if (c[i].Name == &quot;toolanim&quot; and c[i].className == &quot;StringValue&quot;) then&#13;&#10;&#9;&#9;&#9;return c[i]&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function animateTool()&#13;&#10;&#9;&#13;&#10;&#9;if (toolAnim == &quot;None&quot;) then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Slash&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Lunge&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 1.0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 1.0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function move(time)&#13;&#10;&#9;local amplitude&#13;&#10;&#9;local frequency&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Jumping&quot;) then&#13;&#10;&#9;&#9;moveJump()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Zombie&quot;) then&#13;&#10;&#9;&#9;moveZombie()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Boogy&quot;) then&#13;&#10;&#9;&#9;moveBoogy()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Float&quot;) then&#13;&#10;&#9;&#9;moveFloat()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Punch&quot;) then&#13;&#10;&#9;&#9;movePunch()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Kick&quot;) then&#13;&#10;&#9;&#9;moveKick()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Fly&quot;) then&#13;&#10;&#9;&#9;moveFly()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;FreeFall&quot;) then&#13;&#10;&#9;&#9;moveFreeFall()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Climbing&quot;) then&#13;&#10;&#9;&#9;moveClimb()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Seated&quot;) then&#13;&#10;&#9;&#9;moveSit()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;amplitude = 0.1&#13;&#10;&#9;&#9;frequency = 1&#13;&#10;&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;if (pose == &quot;Running&quot;) then&#13;&#10;&#9;&#9;amplitude = 1&#13;&#10;&#9;&#9;frequency = 9&#13;&#10;&#9;elseif (pose == &quot;Dancing&quot;) then&#13;&#10;&#9;&#9;amplitude = 2&#13;&#10;&#9;&#9;frequency = 16&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#13;&#10;&#9;desiredAngle = amplitude * math.sin(time*frequency)&#13;&#10;&#9;if pose~=&quot;Dancing&quot; then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;else&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;end&#13;&#10;&#9;&#9;&#13;&#10;&#13;&#10;&#13;&#10;&#9;local tool = getTool()&#13;&#10;&#13;&#10;&#9;if tool ~= nil then&#13;&#10;&#9;&#13;&#10;&#9;&#9;animStringValueObject = getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;&#9;if animStringValueObject ~= nil then&#13;&#10;&#9;&#9;&#9;toolAnim = animStringValueObject.Value&#13;&#10;&#9;&#9;&#9;-- message recieved, delete StringValue&#13;&#10;&#9;&#9;&#9;animStringValueObject.Parent = nil&#13;&#10;&#9;&#9;&#9;toolAnimTime = time + .3&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if time &gt; toolAnimTime then&#13;&#10;&#9;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;animateTool()&#13;&#10;&#13;&#10;&#9;&#9;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;-- connect events&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;function unequip()&#13;&#10;&#9;local items=script.Parent:children()&#13;&#10;&#9;for i=1, #items do&#13;&#10;&#9;&#9;if items[i].className==&quot;Tool&quot; then items[i]:remove() end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onChatted(msg, recipient) &#13;&#10;&#9;msg = string.lower(msg)&#13;&#10;&#13;&#10;&#9;if string.match(msg, string.lower(script.Parent.Name))~=nil or string.match(msg, &quot;everyone&quot;) then&#13;&#10;&#9;&#9;if string.match(msg, &quot;equip&quot;) then &#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;Hub&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;if string.match(msg, &quot;rocket&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Rocket:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;slingshot&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Slingshot:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;sword&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Sword:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;pbg&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.PBG:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;superball&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Superball:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;trowel&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Trowel:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;bomb&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Bomb:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;unequip&quot;) then unequip() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;run&quot;) then onRunning(1) end&#13;&#10;&#9;&#9;if string.match(msg, &quot;climb&quot;) then onClimbing() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;jump&quot;) then onJumping() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;zombie&quot;) then pose=&quot;Zombie&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;disco&quot;) then pose=&quot;Boogy&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;float&quot;) then pose=&quot;Float&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;punch&quot;) then pose=&quot;Punch&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kick&quot;) then pose=&quot;Kick&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;fly&quot;) then pose=&quot;Fly&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;heal&quot;) then script.Parent.Humanoid.Health=script.Parent.Humanoid.MaxHealth end&#13;&#10;&#9;&#9;if string.match(msg, &quot;defend&quot;) then defence() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;stop&quot;) then pose=&quot;Standing&quot;; proxkill=false; following=false; stopmoving() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;go home&quot;) then following=false; gohome() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;follow&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;followany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;follow(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kill&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;attackany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;attack(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if game.Players.NumPlayers&gt;1 then&#13;&#10;&#9;x=game.Players:children()&#13;&#10;&#9;&#13;&#10;&#9;for i=1, #x do&#13;&#10;&#9;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function onPlayerEntered(Player) &#13;&#10;&#9;while Player.Name==nil do&#13;&#10;&#9;&#9;wait(2)&#13;&#10;&#9;end&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;end&#13;&#10;&#9;else&#13;&#10;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;game.Players.ChildAdded:connect(onPlayerEntered) &#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;dist=20&#13;&#10;&#13;&#10;function followany()&#13;&#10;following=true&#13;&#10;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 6 do&#13;&#10;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then stopmoving() else&#9;wait(0.5) end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function gohome()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(Vector3.new(0,0,0), game.Workspace.Bases.Base)&#13;&#10;end&#13;&#10;function stopmoving()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(script.Parent.Torso.Position, script.Parent.Torso)&#13;&#10;end&#13;&#10;&#13;&#10;function follow(name)&#13;&#10;&#9;following=true&#13;&#10;&#13;&#10;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;if p==nil then return end&#13;&#10;&#9;while following==true do&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attack(name)&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#9;&#9;following=true&#13;&#10;&#9;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;&#9;if p==nil then return end&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#9;local l=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((l.x-q.x)^2)+((l.y-q.y)^2)+((l.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;if (q.y-l.y)&gt;3 and (q.y-l.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attackany()&#13;&#10;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#13;&#10;&#9;following=true&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;slash()&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;if target.Parent==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then &#13;&#10;&#9;&#9;&#9;&#9;&#9;stopmoving() &#13;&#10;&#9;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=target.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if (q.y-p.y)&gt;3 and (q.y-p.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function patrol()&#13;&#10;&#9;if points==nil then&#13;&#10;&#9;&#9;points=0&#13;&#10;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp1&quot;)~=nil then&#13;&#10;&#9;&#9;pp1=game.Workspace:findFirstChild(&quot;pp1&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp2&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;pp2=game.Workspace:findFirstChild(&quot;pp2&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp3&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;pp3=game.Workspace:findFirstChild(&quot;pp3&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp4&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;pp4=game.Workspace:findFirstChild(&quot;pp4&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp5&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;pp5=game.Workspace:findFirstChild(&quot;pp5&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp6&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp6=game.Workspace:findFirstChild(&quot;pp6&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp7&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp7=game.Workspace:findFirstChild(&quot;pp7&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp8&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp8=game.Workspace:findFirstChild(&quot;pp8&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp9&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp9=game.Workspace:findFirstChild(&quot;pp9&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if points&lt;1 then return end&#13;&#10;&#9;patrolling=true&#13;&#10;&#9;local time=2&#13;&#10;&#9;if points==1 then return end&#13;&#10;&#9;if points&gt;1 then&#13;&#10;&#9;&#9;while patrolling==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp1.Position, pp1)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp2.Position, pp2)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;if points&gt;2 then&#13;&#10;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp3.Position, pp3)&#13;&#10;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;if points&gt;3 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp4.Position, pp4)&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;if points&gt;4 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp5.Position, pp5)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;5 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp6.Position, pp6)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;6 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp7.Position, pp7)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp8.Position, pp8)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp9.Position, pp9)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function goto(pos,part)&#13;&#10;while true do&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function slash()&#13;&#10;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;wait(.3)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -2.14&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;&#9;wait(.2)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function defence()&#13;&#10;&#9;proxkill=true&#13;&#10;&#9;while proxkill==true do&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local p=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if p~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local p=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;dist and d&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local ex=Instance.new(&quot;Explosion&quot;)&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Position=p&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Parent=game.Workspace&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#9;&#9;&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;wait(1)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(onJumping)&#13;&#10;Humanoid.Climbing:connect(onClimbing)&#13;&#10;Humanoid.GettingUp:connect(onGettingUp)&#13;&#10;Humanoid.FreeFalling:connect(onFreeFall)&#13;&#10;Humanoid.FallingDown:connect(onFallingDown)&#13;&#10;Humanoid.Seated:connect(onSeated)&#13;&#10;&#13;&#10;&#13;&#10;--[[&#13;&#10;&#13;&#10;function newSound(id)&#13;&#10;&#9;local sound = Instance.new(&quot;Sound&quot;)&#13;&#10;&#9;sound.SoundId = id&#13;&#10;&#9;sound.Parent = script.Parent.Head&#13;&#10;&#9;return sound&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;local sDied = newSound(&quot;rbxasset://sounds/uuhhh.wav&quot;)&#13;&#10;local sFallingDown = newSound(&quot;rbxasset://sounds/splat.wav&quot;)&#13;&#10;local sFreeFalling = newSound(&quot;rbxasset://sounds/swoosh.wav&quot;)&#13;&#10;local sGettingUp = newSound(&quot;rbxasset://sounds/hit.wav&quot;)&#13;&#10;local sJumping = newSound(&quot;rbxasset://sounds/button.wav&quot;)&#13;&#10;local sRunning = newSound(&quot;rbxasset://sounds/bfsl-minifigfoots1.mp3&quot;)&#13;&#10;sRunning.Looped = true&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;sDied:play()&#13;&#10;end&#13;&#10;&#13;&#10;function onState(state, sound)&#13;&#10;&#9;if state then&#13;&#10;&#9;&#9;sound:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sound:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;sRunning:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sRunning:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(function(state) onState(state, sJumping) end)&#13;&#10;Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end)&#13;&#10;Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end)&#13;&#10;Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end)&#13;&#10;--]]&#13;&#10;&#13;&#10;local nextTime = 0&#13;&#10;local runService = game:service(&quot;RunService&quot;);&#13;&#10;&#13;&#10;while Figure.Parent~=nil do&#13;&#10;&#9;time = runService.Stepped:wait()&#13;&#10;&#9;if time &gt; nextTime then&#13;&#10;&#9;&#9;move(time)&#13;&#10;&#9;&#9;nextTime = time + 0.1&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX332">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Follow</string>
					<string name="Source">local larm = script.Parent:FindFirstChild(&quot;Left Arm&quot;)&#13;&#10;local rarm = script.Parent:FindFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;function findNearestTorso(pos)&#13;&#10;&#9;local list = game.Workspace:children()&#13;&#10;&#9;local torso = nil&#13;&#10;&#9;local dist = 25&#13;&#10;&#9;local temp = nil&#13;&#10;&#9;local human = nil&#13;&#10;&#9;local temp2 = nil&#13;&#10;&#9;for x = 1, #list do&#13;&#10;&#9;&#9;temp2 = list[x]&#13;&#10;&#9;&#9;if (temp2.className == &quot;Model&quot;) and (temp2 ~= script.Parent) then&#13;&#10;&#9;&#9;&#9;temp = temp2:findFirstChild(&quot;Torso&quot;)&#13;&#10;&#9;&#9;&#9;human = temp2:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;&#9;&#9;if (temp ~= nil) and (human ~= nil) and (human.Health &gt; 0) then&#13;&#10;&#9;&#9;&#9;&#9;if (temp.Position - pos).magnitude &lt; dist then&#13;&#10;&#9;&#9;&#9;&#9;&#9;torso = temp&#13;&#10;&#9;&#9;&#9;&#9;&#9;dist = (temp.Position - pos).magnitude&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return torso&#13;&#10;end&#13;&#10;&#13;&#10;while true do&#13;&#10;&#9;wait(0.1)&#13;&#10;&#9;local target = findNearestTorso(script.Parent.Torso.Position)&#13;&#10;&#9;if target ~= nil then&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#9;end&#13;&#10;end</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Model" referent="RBX333">
			<Properties>
				<token name="Controller">7</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">Warrior</string>
				<Ref name="PrimaryPart">RBX334</Ref>
				<bool name="archivable">true</bool>
			</Properties>
			<Item class="Humanoid" referent="RBX335">
				<Properties>
					<float name="Health">0</float>
					<bool name="Jump">false</bool>
					<float name="MaxHealth">100</float>
					<string name="Name">Humanoid</string>
					<bool name="Sit">false</bool>
					<Vector3 name="TargetPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<Vector3 name="WalkDirection">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<float name="WalkRotationalVelocity">0</float>
					<Ref name="WalkToPart">null</Ref>
					<Vector3 name="WalkToPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX336">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Health</string>
					<string name="Source">function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;-- declarations&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;Humanoid.Health=500&#13;&#10;-- regeneration&#13;&#10;while true do&#13;&#10;&#9;local s = wait(4)&#13;&#10;&#9;local health = Humanoid.Health&#13;&#10;&#9;if health &gt; 0 and health &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;health = health + 0.08 * s * Humanoid.MaxHealth&#13;&#10;&#9;&#9;if health * 1.05 &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;&#9;Humanoid.Health = health&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;Humanoid.Health = Humanoid.MaxHealth&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="BodyColors" referent="RBX337">
				<Properties>
					<int name="HeadColor">24</int>
					<int name="LeftArmColor">28</int>
					<int name="LeftLegColor">28</int>
					<string name="Name">Body Colors</string>
					<int name="RightArmColor">28</int>
					<int name="RightLegColor">28</int>
					<int name="TorsoColor">28</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="IntValue" referent="RBX338">
				<Properties>
					<string name="Name">Value</string>
					<int name="Value">0</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Part" referent="RBX334">
				<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">4</token>
					<token name="BottomSurfaceInput">0</token>
					<int name="BrickColor">141</int>
					<CoordinateFrame name="CFrame">
						<X>133.128494</X>
						<Y>0.890014172</Y>
						<Z>-15.6676922</Z>
						<R00>1.57819159e-005</R00>
						<R01>-0.813637853</R01>
						<R02>-0.581371963</R02>
						<R10>1</R10>
						<R11>1.30100379e-005</R11>
						<R12>8.92265416e-006</R12>
						<R20>2.91338978e-007</R20>
						<R21>-0.581371963</R21>
						<R22>0.813637912</R22>
					</CoordinateFrame>
					<bool name="CanCollide">true</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">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">Right Arm</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>1</X>
						<Y>2</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
				<Item class="Script" referent="RBX339">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">DoorScript2</string>
						<string name="Source">print(&quot;Omg a team door! Goodbye spawnkilling!&quot;) -- {made by:yourit12 modeled by:NintendoZACHERY}&#13;&#10;&#13;&#10;Door = script.Parent &#13;&#10;------------------------------------&#13;&#10;modelname=&quot;Admins&quot; -- Put the EXACT name of the team here&#13;&#10;------------------------------------&#13;&#10; &#13;&#10;function onTouched(hit) &#13;&#10;        print(&quot;Door Hit&quot;) &#13;&#10;        local human = hit.Parent:FindFirstChild(&quot;Humanoid&quot;) &#13;&#10;        if (human ~= nil ) then&#13;&#10;                if game.Players:playerFromCharacter(hit.Parent).TeamColor==game.Teams:findFirstChild(modelname).TeamColor then&#13;&#10;                        Door.CanCollide = false &#13;&#10;                        Door.Transparency = 0&#13;&#10;                        wait(1) &#13;&#10;                        Door.CanCollide = true &#13;&#10;                        Door.Transparency = 0 &#13;&#10;                        print(&quot;Human touched door&quot;) &#13;&#10;                else&#13;&#10;                        human.Health = 0&#13;&#10;                end&#13;&#10; &#13;&#10;        end &#13;&#10;end &#13;&#10; &#13;&#10;connection = Door.Touched:connect(onTouched)</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Script" referent="RBX340">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">Script</string>
						<string name="Source">function onTouched(hit)&#13;&#10;if hit.Name ~= &quot;tray&quot; then hit:remove() end&#13;&#10;end&#13;&#10;&#13;&#10;connection = script.Parent.Touched:connect(onTouched)&#13;&#10;</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Script" referent="RBX341">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">Script</string>
						<string name="Source">&#13;&#10;function onTouched(hit)&#13;&#10;&#9;local human = hit.Parent:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;if (human ~= nil) then&#13;&#10;&#9;&#9;human.Health = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if (script.Parent ~= nil) and (script.Parent.className == &quot;Part&quot;) then --Work if in a block&#13;&#10;&#9;connection = script.Parent.Touched:connect(onTouched)&#13;&#10;end&#13;&#10;</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
			</Item>
			<Item class="Script" referent="RBX342">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Robot</string>
					<string name="Source">------------------&#13;&#10;--SPAWNING--&#13;&#10;------------------&#13;&#10;&#13;&#10;miked=script.Parent&#13;&#10;&#13;&#10;itlh=miked.Torso:findFirstChild(&quot;Left Hip&quot;)&#13;&#10;itlh.Part0=miked.Torso&#13;&#10;itlh.Part1=miked:findFirstChild(&quot;Left Leg&quot;)&#13;&#10;itlh.C0=CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;&#13;&#10;itrh=miked.Torso:findFirstChild(&quot;Right Hip&quot;)&#13;&#10;itrh.Part0=miked.Torso&#13;&#10;itrh.Part1=miked:findFirstChild(&quot;Right Leg&quot;)&#13;&#10;itrh.C0=CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;&#13;&#10;itls=miked.Torso:findFirstChild(&quot;Left Shoulder&quot;)&#13;&#10;itls.Part1=miked.Torso&#13;&#10;itls.C0=CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;itls.Part0=miked:findFirstChild(&quot;Left Arm&quot;)&#13;&#10;&#13;&#10;itrs=miked.Torso:findFirstChild(&quot;Right Shoulder&quot;)&#13;&#10;itrs.Part1=miked.Torso&#13;&#10;itrs.C0=CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;itrs.Part0=miked:findFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;miked.Head:makeJoints()&#13;&#10;------------------&#13;&#10;------------------&#13;&#10;&#13;&#10;&#13;&#10;function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Torso = waitForChild(Figure, &quot;Torso&quot;)&#13;&#10;local RightShoulder = waitForChild(Torso, &quot;Right Shoulder&quot;)&#13;&#10;local LeftShoulder = waitForChild(Torso, &quot;Left Shoulder&quot;)&#13;&#10;local RightHip = waitForChild(Torso, &quot;Right Hip&quot;)&#13;&#10;local LeftHip = waitForChild(Torso, &quot;Left Hip&quot;)&#13;&#10;local Neck = waitForChild(Torso, &quot;Neck&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;local pose = &quot;Standing&quot;&#13;&#10;&#13;&#10;local toolAnim = &quot;None&quot;&#13;&#10;local toolAnimTime = 0&#13;&#10;&#13;&#10;local isSeated = false&#13;&#10;&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if isSeated then return end&#13;&#10;&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;pose = &quot;Running&quot;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;pose = &quot;Standing&quot;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;pose = &quot;Dead&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onJumping()&#13;&#10;&#9;isSeated = false&#13;&#10;&#9;pose = &quot;Jumping&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onClimbing()&#13;&#10;&#9;pose = &quot;Climbing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onGettingUp()&#13;&#10;&#9;pose = &quot;GettingUp&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFreeFall()&#13;&#10;&#9;pose = &quot;FreeFall&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onDancing()&#13;&#10;&#9;pose = &quot;Dancing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFallingDown()&#13;&#10;&#9;pose = &quot;FallingDown&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onSeated()&#13;&#10;&#9;isSeated = true&#13;&#10;&#9;pose = &quot;Seated&quot;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function moveJump()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFreeFall()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1&#13;&#10;&#9;LeftShoulder.DesiredAngle = -1&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFloat()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = -1.57&#13;&#10;end&#13;&#10;&#13;&#10;function moveBoogy()&#13;&#10;while pose==&quot;Boogy&quot; do&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 1.57&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;function moveZombie()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function movePunch()&#13;&#10;&#9;script.Parent.Torso.Anchored=true&#13;&#10;&#9;RightShoulder.MaxVelocity = 60&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;script.Parent.Torso.Anchored=false&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveKick()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveFly()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function moveClimb()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveSit()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;RightHip.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftHip.DesiredAngle = -3.14 /2&#13;&#10;end&#13;&#10;&#13;&#10;function getTool()&#13;&#10;&#9;&#13;&#10;&#9;kidTable = Figure:children()&#13;&#10;&#9;if (kidTable ~= nil) then&#13;&#10;&#9;&#9;numKids = #kidTable&#13;&#10;&#9;&#9;for i=1,numKids do&#13;&#10;&#9;&#9;&#9;if (kidTable[i].className == &quot;Tool&quot;) then return kidTable[i] end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;c = tool:children()&#13;&#10;&#9;for i=1,#c do&#13;&#10;&#9;&#9;if (c[i].Name == &quot;toolanim&quot; and c[i].className == &quot;StringValue&quot;) then&#13;&#10;&#9;&#9;&#9;return c[i]&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function animateTool()&#13;&#10;&#9;&#13;&#10;&#9;if (toolAnim == &quot;None&quot;) then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Slash&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Lunge&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 1.0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 1.0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function move(time)&#13;&#10;&#9;local amplitude&#13;&#10;&#9;local frequency&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Jumping&quot;) then&#13;&#10;&#9;&#9;moveJump()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Zombie&quot;) then&#13;&#10;&#9;&#9;moveZombie()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Boogy&quot;) then&#13;&#10;&#9;&#9;moveBoogy()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Float&quot;) then&#13;&#10;&#9;&#9;moveFloat()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Punch&quot;) then&#13;&#10;&#9;&#9;movePunch()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Kick&quot;) then&#13;&#10;&#9;&#9;moveKick()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Fly&quot;) then&#13;&#10;&#9;&#9;moveFly()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;FreeFall&quot;) then&#13;&#10;&#9;&#9;moveFreeFall()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Climbing&quot;) then&#13;&#10;&#9;&#9;moveClimb()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Seated&quot;) then&#13;&#10;&#9;&#9;moveSit()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;amplitude = 0.1&#13;&#10;&#9;&#9;frequency = 1&#13;&#10;&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;if (pose == &quot;Running&quot;) then&#13;&#10;&#9;&#9;amplitude = 1&#13;&#10;&#9;&#9;frequency = 9&#13;&#10;&#9;elseif (pose == &quot;Dancing&quot;) then&#13;&#10;&#9;&#9;amplitude = 2&#13;&#10;&#9;&#9;frequency = 16&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#13;&#10;&#9;desiredAngle = amplitude * math.sin(time*frequency)&#13;&#10;&#9;if pose~=&quot;Dancing&quot; then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;else&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;end&#13;&#10;&#9;&#9;&#13;&#10;&#13;&#10;&#13;&#10;&#9;local tool = getTool()&#13;&#10;&#13;&#10;&#9;if tool ~= nil then&#13;&#10;&#9;&#13;&#10;&#9;&#9;animStringValueObject = getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;&#9;if animStringValueObject ~= nil then&#13;&#10;&#9;&#9;&#9;toolAnim = animStringValueObject.Value&#13;&#10;&#9;&#9;&#9;-- message recieved, delete StringValue&#13;&#10;&#9;&#9;&#9;animStringValueObject.Parent = nil&#13;&#10;&#9;&#9;&#9;toolAnimTime = time + .3&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if time &gt; toolAnimTime then&#13;&#10;&#9;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;animateTool()&#13;&#10;&#13;&#10;&#9;&#9;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;-- connect events&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;function unequip()&#13;&#10;&#9;local items=script.Parent:children()&#13;&#10;&#9;for i=1, #items do&#13;&#10;&#9;&#9;if items[i].className==&quot;Tool&quot; then items[i]:remove() end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onChatted(msg, recipient) &#13;&#10;&#9;msg = string.lower(msg)&#13;&#10;&#13;&#10;&#9;if string.match(msg, string.lower(script.Parent.Name))~=nil or string.match(msg, &quot;everyone&quot;) then&#13;&#10;&#9;&#9;if string.match(msg, &quot;equip&quot;) then &#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;Hub&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;if string.match(msg, &quot;rocket&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Rocket:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;slingshot&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Slingshot:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;sword&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Sword:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;pbg&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.PBG:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;superball&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Superball:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;trowel&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Trowel:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;bomb&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Bomb:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;unequip&quot;) then unequip() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;run&quot;) then onRunning(1) end&#13;&#10;&#9;&#9;if string.match(msg, &quot;climb&quot;) then onClimbing() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;jump&quot;) then onJumping() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;zombie&quot;) then pose=&quot;Zombie&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;disco&quot;) then pose=&quot;Boogy&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;float&quot;) then pose=&quot;Float&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;punch&quot;) then pose=&quot;Punch&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kick&quot;) then pose=&quot;Kick&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;fly&quot;) then pose=&quot;Fly&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;heal&quot;) then script.Parent.Humanoid.Health=script.Parent.Humanoid.MaxHealth end&#13;&#10;&#9;&#9;if string.match(msg, &quot;defend&quot;) then defence() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;stop&quot;) then pose=&quot;Standing&quot;; proxkill=false; following=false; stopmoving() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;go home&quot;) then following=false; gohome() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;follow&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;followany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;follow(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kill&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;attackany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;attack(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if game.Players.NumPlayers&gt;1 then&#13;&#10;&#9;x=game.Players:children()&#13;&#10;&#9;&#13;&#10;&#9;for i=1, #x do&#13;&#10;&#9;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function onPlayerEntered(Player) &#13;&#10;&#9;while Player.Name==nil do&#13;&#10;&#9;&#9;wait(2)&#13;&#10;&#9;end&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;end&#13;&#10;&#9;else&#13;&#10;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;game.Players.ChildAdded:connect(onPlayerEntered) &#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;dist=20&#13;&#10;&#13;&#10;function followany()&#13;&#10;following=true&#13;&#10;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 6 do&#13;&#10;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then stopmoving() else&#9;wait(0.5) end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function gohome()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(Vector3.new(0,0,0), game.Workspace.Bases.Base)&#13;&#10;end&#13;&#10;function stopmoving()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(script.Parent.Torso.Position, script.Parent.Torso)&#13;&#10;end&#13;&#10;&#13;&#10;function follow(name)&#13;&#10;&#9;following=true&#13;&#10;&#13;&#10;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;if p==nil then return end&#13;&#10;&#9;while following==true do&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attack(name)&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#9;&#9;following=true&#13;&#10;&#9;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;&#9;if p==nil then return end&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#9;local l=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((l.x-q.x)^2)+((l.y-q.y)^2)+((l.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;if (q.y-l.y)&gt;3 and (q.y-l.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attackany()&#13;&#10;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#13;&#10;&#9;following=true&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;slash()&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;if target.Parent==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then &#13;&#10;&#9;&#9;&#9;&#9;&#9;stopmoving() &#13;&#10;&#9;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=target.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if (q.y-p.y)&gt;3 and (q.y-p.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function patrol()&#13;&#10;&#9;if points==nil then&#13;&#10;&#9;&#9;points=0&#13;&#10;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp1&quot;)~=nil then&#13;&#10;&#9;&#9;pp1=game.Workspace:findFirstChild(&quot;pp1&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp2&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;pp2=game.Workspace:findFirstChild(&quot;pp2&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp3&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;pp3=game.Workspace:findFirstChild(&quot;pp3&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp4&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;pp4=game.Workspace:findFirstChild(&quot;pp4&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp5&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;pp5=game.Workspace:findFirstChild(&quot;pp5&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp6&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp6=game.Workspace:findFirstChild(&quot;pp6&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp7&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp7=game.Workspace:findFirstChild(&quot;pp7&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp8&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp8=game.Workspace:findFirstChild(&quot;pp8&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp9&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp9=game.Workspace:findFirstChild(&quot;pp9&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if points&lt;1 then return end&#13;&#10;&#9;patrolling=true&#13;&#10;&#9;local time=2&#13;&#10;&#9;if points==1 then return end&#13;&#10;&#9;if points&gt;1 then&#13;&#10;&#9;&#9;while patrolling==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp1.Position, pp1)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp2.Position, pp2)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;if points&gt;2 then&#13;&#10;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp3.Position, pp3)&#13;&#10;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;if points&gt;3 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp4.Position, pp4)&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;if points&gt;4 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp5.Position, pp5)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;5 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp6.Position, pp6)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;6 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp7.Position, pp7)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp8.Position, pp8)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp9.Position, pp9)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function goto(pos,part)&#13;&#10;while true do&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function slash()&#13;&#10;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;wait(.3)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -2.14&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;&#9;wait(.2)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function defence()&#13;&#10;&#9;proxkill=true&#13;&#10;&#9;while proxkill==true do&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local p=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if p~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local p=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;dist and d&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local ex=Instance.new(&quot;Explosion&quot;)&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Position=p&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Parent=game.Workspace&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#9;&#9;&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;wait(1)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(onJumping)&#13;&#10;Humanoid.Climbing:connect(onClimbing)&#13;&#10;Humanoid.GettingUp:connect(onGettingUp)&#13;&#10;Humanoid.FreeFalling:connect(onFreeFall)&#13;&#10;Humanoid.FallingDown:connect(onFallingDown)&#13;&#10;Humanoid.Seated:connect(onSeated)&#13;&#10;&#13;&#10;&#13;&#10;--[[&#13;&#10;&#13;&#10;function newSound(id)&#13;&#10;&#9;local sound = Instance.new(&quot;Sound&quot;)&#13;&#10;&#9;sound.SoundId = id&#13;&#10;&#9;sound.Parent = script.Parent.Head&#13;&#10;&#9;return sound&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;local sDied = newSound(&quot;rbxasset://sounds/uuhhh.wav&quot;)&#13;&#10;local sFallingDown = newSound(&quot;rbxasset://sounds/splat.wav&quot;)&#13;&#10;local sFreeFalling = newSound(&quot;rbxasset://sounds/swoosh.wav&quot;)&#13;&#10;local sGettingUp = newSound(&quot;rbxasset://sounds/hit.wav&quot;)&#13;&#10;local sJumping = newSound(&quot;rbxasset://sounds/button.wav&quot;)&#13;&#10;local sRunning = newSound(&quot;rbxasset://sounds/bfsl-minifigfoots1.mp3&quot;)&#13;&#10;sRunning.Looped = true&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;sDied:play()&#13;&#10;end&#13;&#10;&#13;&#10;function onState(state, sound)&#13;&#10;&#9;if state then&#13;&#10;&#9;&#9;sound:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sound:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;sRunning:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sRunning:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(function(state) onState(state, sJumping) end)&#13;&#10;Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end)&#13;&#10;Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end)&#13;&#10;Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end)&#13;&#10;--]]&#13;&#10;&#13;&#10;local nextTime = 0&#13;&#10;local runService = game:service(&quot;RunService&quot;);&#13;&#10;&#13;&#10;while Figure.Parent~=nil do&#13;&#10;&#9;time = runService.Stepped:wait()&#13;&#10;&#9;if time &gt; nextTime then&#13;&#10;&#9;&#9;move(time)&#13;&#10;&#9;&#9;nextTime = time + 0.1&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX343">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Follow</string>
					<string name="Source">local larm = script.Parent:FindFirstChild(&quot;Left Arm&quot;)&#13;&#10;local rarm = script.Parent:FindFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;function findNearestTorso(pos)&#13;&#10;&#9;local list = game.Workspace:children()&#13;&#10;&#9;local torso = nil&#13;&#10;&#9;local dist = 25&#13;&#10;&#9;local temp = nil&#13;&#10;&#9;local human = nil&#13;&#10;&#9;local temp2 = nil&#13;&#10;&#9;for x = 1, #list do&#13;&#10;&#9;&#9;temp2 = list[x]&#13;&#10;&#9;&#9;if (temp2.className == &quot;Model&quot;) and (temp2 ~= script.Parent) then&#13;&#10;&#9;&#9;&#9;temp = temp2:findFirstChild(&quot;Torso&quot;)&#13;&#10;&#9;&#9;&#9;human = temp2:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;&#9;&#9;if (temp ~= nil) and (human ~= nil) and (human.Health &gt; 0) then&#13;&#10;&#9;&#9;&#9;&#9;if (temp.Position - pos).magnitude &lt; dist then&#13;&#10;&#9;&#9;&#9;&#9;&#9;torso = temp&#13;&#10;&#9;&#9;&#9;&#9;&#9;dist = (temp.Position - pos).magnitude&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return torso&#13;&#10;end&#13;&#10;&#13;&#10;while true do&#13;&#10;&#9;wait(0.1)&#13;&#10;&#9;local target = findNearestTorso(script.Parent.Torso.Position)&#13;&#10;&#9;if target ~= nil then&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#9;end&#13;&#10;end</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Model" referent="RBX344">
			<Properties>
				<token name="Controller">7</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">Warrior</string>
				<Ref name="PrimaryPart">RBX345</Ref>
				<bool name="archivable">true</bool>
			</Properties>
			<Item class="Part" referent="RBX345">
				<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">38</int>
					<CoordinateFrame name="CFrame">
						<X>103.719345</X>
						<Y>0.813666344</Y>
						<Z>-10.9716988</Z>
						<R00>-0.000249252334</R00>
						<R01>0.569060922</R01>
						<R02>-0.822295427</R02>
						<R10>1</R10>
						<R11>0.00018378775</R11>
						<R12>-0.000175768422</R12>
						<R20>5.11658145e-005</R20>
						<R21>-0.822295427</R21>
						<R22>-0.569061041</R22>
					</CoordinateFrame>
					<bool name="CanCollide">true</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">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">Right Leg</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>1</X>
						<Y>2</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
				<Item class="Script" referent="RBX346">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">Script</string>
						<string name="Source">function onTouched(hit)&#13;&#10;if hit.Name ~= &quot;tray&quot; then hit:remove() end&#13;&#10;end&#13;&#10;&#13;&#10;connection = script.Parent.Touched:connect(onTouched)&#13;&#10;</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Script" referent="RBX347">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">Script</string>
						<string name="Source">&#13;&#10;function onTouched(hit)&#13;&#10;&#9;local human = hit.Parent:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;if (human ~= nil) then&#13;&#10;&#9;&#9;human.Health = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if (script.Parent ~= nil) and (script.Parent.className == &quot;Part&quot;) then --Work if in a block&#13;&#10;&#9;connection = script.Parent.Touched:connect(onTouched)&#13;&#10;end&#13;&#10;</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
			</Item>
			<Item class="Humanoid" referent="RBX348">
				<Properties>
					<float name="Health">0</float>
					<bool name="Jump">false</bool>
					<float name="MaxHealth">100</float>
					<string name="Name">Humanoid</string>
					<bool name="Sit">false</bool>
					<Vector3 name="TargetPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<Vector3 name="WalkDirection">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<float name="WalkRotationalVelocity">0</float>
					<Ref name="WalkToPart">null</Ref>
					<Vector3 name="WalkToPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX349">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Health</string>
					<string name="Source">function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;-- declarations&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;Humanoid.Health=500&#13;&#10;-- regeneration&#13;&#10;while true do&#13;&#10;&#9;local s = wait(4)&#13;&#10;&#9;local health = Humanoid.Health&#13;&#10;&#9;if health &gt; 0 and health &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;health = health + 0.08 * s * Humanoid.MaxHealth&#13;&#10;&#9;&#9;if health * 1.05 &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;&#9;Humanoid.Health = health&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;Humanoid.Health = Humanoid.MaxHealth&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="BodyColors" referent="RBX350">
				<Properties>
					<int name="HeadColor">24</int>
					<int name="LeftArmColor">28</int>
					<int name="LeftLegColor">28</int>
					<string name="Name">Body Colors</string>
					<int name="RightArmColor">28</int>
					<int name="RightLegColor">28</int>
					<int name="TorsoColor">28</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="IntValue" referent="RBX351">
				<Properties>
					<string name="Name">Value</string>
					<int name="Value">0</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Part" referent="RBX352">
				<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">4</token>
					<token name="BottomSurfaceInput">0</token>
					<int name="BrickColor">141</int>
					<CoordinateFrame name="CFrame">
						<X>148.649887</X>
						<Y>0.890040636</Y>
						<Z>-20.2882977</Z>
						<R00>0.997154236</R00>
						<R01>0.0753884092</R01>
						<R02>4.28385192e-006</R02>
						<R10>-4.26974839e-006</R10>
						<R11>-2.96641133e-007</R11>
						<R12>0.99999994</R12>
						<R20>0.0753884092</R20>
						<R21>-0.997154236</R21>
						<R22>2.63418052e-008</R22>
					</CoordinateFrame>
					<bool name="CanCollide">true</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">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">Right Arm</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>1</X>
						<Y>2</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
				<Item class="Script" referent="RBX353">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">DoorScript2</string>
						<string name="Source">print(&quot;Omg a team door! Goodbye spawnkilling!&quot;) -- {made by:yourit12 modeled by:NintendoZACHERY}&#13;&#10;&#13;&#10;Door = script.Parent &#13;&#10;------------------------------------&#13;&#10;modelname=&quot;Admins&quot; -- Put the EXACT name of the team here&#13;&#10;------------------------------------&#13;&#10; &#13;&#10;function onTouched(hit) &#13;&#10;        print(&quot;Door Hit&quot;) &#13;&#10;        local human = hit.Parent:FindFirstChild(&quot;Humanoid&quot;) &#13;&#10;        if (human ~= nil ) then&#13;&#10;                if game.Players:playerFromCharacter(hit.Parent).TeamColor==game.Teams:findFirstChild(modelname).TeamColor then&#13;&#10;                        Door.CanCollide = false &#13;&#10;                        Door.Transparency = 0&#13;&#10;                        wait(1) &#13;&#10;                        Door.CanCollide = true &#13;&#10;                        Door.Transparency = 0 &#13;&#10;                        print(&quot;Human touched door&quot;) &#13;&#10;                else&#13;&#10;                        human.Health = 0&#13;&#10;                end&#13;&#10; &#13;&#10;        end &#13;&#10;end &#13;&#10; &#13;&#10;connection = Door.Touched:connect(onTouched)</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Script" referent="RBX354">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">Script</string>
						<string name="Source">function onTouched(hit)&#13;&#10;if hit.Name ~= &quot;tray&quot; then hit:remove() end&#13;&#10;end&#13;&#10;&#13;&#10;connection = script.Parent.Touched:connect(onTouched)&#13;&#10;</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Script" referent="RBX355">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">Script</string>
						<string name="Source">&#13;&#10;function onTouched(hit)&#13;&#10;&#9;local human = hit.Parent:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;if (human ~= nil) then&#13;&#10;&#9;&#9;human.Health = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if (script.Parent ~= nil) and (script.Parent.className == &quot;Part&quot;) then --Work if in a block&#13;&#10;&#9;connection = script.Parent.Touched:connect(onTouched)&#13;&#10;end&#13;&#10;</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
			</Item>
			<Item class="Script" referent="RBX356">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Robot</string>
					<string name="Source">------------------&#13;&#10;--SPAWNING--&#13;&#10;------------------&#13;&#10;&#13;&#10;miked=script.Parent&#13;&#10;&#13;&#10;itlh=miked.Torso:findFirstChild(&quot;Left Hip&quot;)&#13;&#10;itlh.Part0=miked.Torso&#13;&#10;itlh.Part1=miked:findFirstChild(&quot;Left Leg&quot;)&#13;&#10;itlh.C0=CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;&#13;&#10;itrh=miked.Torso:findFirstChild(&quot;Right Hip&quot;)&#13;&#10;itrh.Part0=miked.Torso&#13;&#10;itrh.Part1=miked:findFirstChild(&quot;Right Leg&quot;)&#13;&#10;itrh.C0=CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;&#13;&#10;itls=miked.Torso:findFirstChild(&quot;Left Shoulder&quot;)&#13;&#10;itls.Part1=miked.Torso&#13;&#10;itls.C0=CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;itls.Part0=miked:findFirstChild(&quot;Left Arm&quot;)&#13;&#10;&#13;&#10;itrs=miked.Torso:findFirstChild(&quot;Right Shoulder&quot;)&#13;&#10;itrs.Part1=miked.Torso&#13;&#10;itrs.C0=CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;itrs.Part0=miked:findFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;miked.Head:makeJoints()&#13;&#10;------------------&#13;&#10;------------------&#13;&#10;&#13;&#10;&#13;&#10;function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Torso = waitForChild(Figure, &quot;Torso&quot;)&#13;&#10;local RightShoulder = waitForChild(Torso, &quot;Right Shoulder&quot;)&#13;&#10;local LeftShoulder = waitForChild(Torso, &quot;Left Shoulder&quot;)&#13;&#10;local RightHip = waitForChild(Torso, &quot;Right Hip&quot;)&#13;&#10;local LeftHip = waitForChild(Torso, &quot;Left Hip&quot;)&#13;&#10;local Neck = waitForChild(Torso, &quot;Neck&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;local pose = &quot;Standing&quot;&#13;&#10;&#13;&#10;local toolAnim = &quot;None&quot;&#13;&#10;local toolAnimTime = 0&#13;&#10;&#13;&#10;local isSeated = false&#13;&#10;&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if isSeated then return end&#13;&#10;&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;pose = &quot;Running&quot;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;pose = &quot;Standing&quot;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;pose = &quot;Dead&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onJumping()&#13;&#10;&#9;isSeated = false&#13;&#10;&#9;pose = &quot;Jumping&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onClimbing()&#13;&#10;&#9;pose = &quot;Climbing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onGettingUp()&#13;&#10;&#9;pose = &quot;GettingUp&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFreeFall()&#13;&#10;&#9;pose = &quot;FreeFall&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onDancing()&#13;&#10;&#9;pose = &quot;Dancing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFallingDown()&#13;&#10;&#9;pose = &quot;FallingDown&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onSeated()&#13;&#10;&#9;isSeated = true&#13;&#10;&#9;pose = &quot;Seated&quot;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function moveJump()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFreeFall()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1&#13;&#10;&#9;LeftShoulder.DesiredAngle = -1&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFloat()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = -1.57&#13;&#10;end&#13;&#10;&#13;&#10;function moveBoogy()&#13;&#10;while pose==&quot;Boogy&quot; do&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 1.57&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;function moveZombie()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function movePunch()&#13;&#10;&#9;script.Parent.Torso.Anchored=true&#13;&#10;&#9;RightShoulder.MaxVelocity = 60&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;script.Parent.Torso.Anchored=false&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveKick()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveFly()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function moveClimb()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveSit()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;RightHip.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftHip.DesiredAngle = -3.14 /2&#13;&#10;end&#13;&#10;&#13;&#10;function getTool()&#13;&#10;&#9;&#13;&#10;&#9;kidTable = Figure:children()&#13;&#10;&#9;if (kidTable ~= nil) then&#13;&#10;&#9;&#9;numKids = #kidTable&#13;&#10;&#9;&#9;for i=1,numKids do&#13;&#10;&#9;&#9;&#9;if (kidTable[i].className == &quot;Tool&quot;) then return kidTable[i] end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;c = tool:children()&#13;&#10;&#9;for i=1,#c do&#13;&#10;&#9;&#9;if (c[i].Name == &quot;toolanim&quot; and c[i].className == &quot;StringValue&quot;) then&#13;&#10;&#9;&#9;&#9;return c[i]&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function animateTool()&#13;&#10;&#9;&#13;&#10;&#9;if (toolAnim == &quot;None&quot;) then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Slash&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Lunge&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 1.0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 1.0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function move(time)&#13;&#10;&#9;local amplitude&#13;&#10;&#9;local frequency&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Jumping&quot;) then&#13;&#10;&#9;&#9;moveJump()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Zombie&quot;) then&#13;&#10;&#9;&#9;moveZombie()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Boogy&quot;) then&#13;&#10;&#9;&#9;moveBoogy()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Float&quot;) then&#13;&#10;&#9;&#9;moveFloat()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Punch&quot;) then&#13;&#10;&#9;&#9;movePunch()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Kick&quot;) then&#13;&#10;&#9;&#9;moveKick()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Fly&quot;) then&#13;&#10;&#9;&#9;moveFly()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;FreeFall&quot;) then&#13;&#10;&#9;&#9;moveFreeFall()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Climbing&quot;) then&#13;&#10;&#9;&#9;moveClimb()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Seated&quot;) then&#13;&#10;&#9;&#9;moveSit()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;amplitude = 0.1&#13;&#10;&#9;&#9;frequency = 1&#13;&#10;&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;if (pose == &quot;Running&quot;) then&#13;&#10;&#9;&#9;amplitude = 1&#13;&#10;&#9;&#9;frequency = 9&#13;&#10;&#9;elseif (pose == &quot;Dancing&quot;) then&#13;&#10;&#9;&#9;amplitude = 2&#13;&#10;&#9;&#9;frequency = 16&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#13;&#10;&#9;desiredAngle = amplitude * math.sin(time*frequency)&#13;&#10;&#9;if pose~=&quot;Dancing&quot; then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;else&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;end&#13;&#10;&#9;&#9;&#13;&#10;&#13;&#10;&#13;&#10;&#9;local tool = getTool()&#13;&#10;&#13;&#10;&#9;if tool ~= nil then&#13;&#10;&#9;&#13;&#10;&#9;&#9;animStringValueObject = getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;&#9;if animStringValueObject ~= nil then&#13;&#10;&#9;&#9;&#9;toolAnim = animStringValueObject.Value&#13;&#10;&#9;&#9;&#9;-- message recieved, delete StringValue&#13;&#10;&#9;&#9;&#9;animStringValueObject.Parent = nil&#13;&#10;&#9;&#9;&#9;toolAnimTime = time + .3&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if time &gt; toolAnimTime then&#13;&#10;&#9;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;animateTool()&#13;&#10;&#13;&#10;&#9;&#9;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;-- connect events&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;function unequip()&#13;&#10;&#9;local items=script.Parent:children()&#13;&#10;&#9;for i=1, #items do&#13;&#10;&#9;&#9;if items[i].className==&quot;Tool&quot; then items[i]:remove() end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onChatted(msg, recipient) &#13;&#10;&#9;msg = string.lower(msg)&#13;&#10;&#13;&#10;&#9;if string.match(msg, string.lower(script.Parent.Name))~=nil or string.match(msg, &quot;everyone&quot;) then&#13;&#10;&#9;&#9;if string.match(msg, &quot;equip&quot;) then &#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;Hub&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;if string.match(msg, &quot;rocket&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Rocket:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;slingshot&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Slingshot:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;sword&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Sword:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;pbg&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.PBG:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;superball&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Superball:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;trowel&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Trowel:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;bomb&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Bomb:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;unequip&quot;) then unequip() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;run&quot;) then onRunning(1) end&#13;&#10;&#9;&#9;if string.match(msg, &quot;climb&quot;) then onClimbing() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;jump&quot;) then onJumping() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;zombie&quot;) then pose=&quot;Zombie&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;disco&quot;) then pose=&quot;Boogy&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;float&quot;) then pose=&quot;Float&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;punch&quot;) then pose=&quot;Punch&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kick&quot;) then pose=&quot;Kick&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;fly&quot;) then pose=&quot;Fly&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;heal&quot;) then script.Parent.Humanoid.Health=script.Parent.Humanoid.MaxHealth end&#13;&#10;&#9;&#9;if string.match(msg, &quot;defend&quot;) then defence() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;stop&quot;) then pose=&quot;Standing&quot;; proxkill=false; following=false; stopmoving() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;go home&quot;) then following=false; gohome() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;follow&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;followany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;follow(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kill&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;attackany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;attack(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if game.Players.NumPlayers&gt;1 then&#13;&#10;&#9;x=game.Players:children()&#13;&#10;&#9;&#13;&#10;&#9;for i=1, #x do&#13;&#10;&#9;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function onPlayerEntered(Player) &#13;&#10;&#9;while Player.Name==nil do&#13;&#10;&#9;&#9;wait(2)&#13;&#10;&#9;end&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;end&#13;&#10;&#9;else&#13;&#10;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;game.Players.ChildAdded:connect(onPlayerEntered) &#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;dist=20&#13;&#10;&#13;&#10;function followany()&#13;&#10;following=true&#13;&#10;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 6 do&#13;&#10;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then stopmoving() else&#9;wait(0.5) end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function gohome()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(Vector3.new(0,0,0), game.Workspace.Bases.Base)&#13;&#10;end&#13;&#10;function stopmoving()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(script.Parent.Torso.Position, script.Parent.Torso)&#13;&#10;end&#13;&#10;&#13;&#10;function follow(name)&#13;&#10;&#9;following=true&#13;&#10;&#13;&#10;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;if p==nil then return end&#13;&#10;&#9;while following==true do&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attack(name)&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#9;&#9;following=true&#13;&#10;&#9;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;&#9;if p==nil then return end&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#9;local l=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((l.x-q.x)^2)+((l.y-q.y)^2)+((l.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;if (q.y-l.y)&gt;3 and (q.y-l.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attackany()&#13;&#10;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#13;&#10;&#9;following=true&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;slash()&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;if target.Parent==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then &#13;&#10;&#9;&#9;&#9;&#9;&#9;stopmoving() &#13;&#10;&#9;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=target.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if (q.y-p.y)&gt;3 and (q.y-p.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function patrol()&#13;&#10;&#9;if points==nil then&#13;&#10;&#9;&#9;points=0&#13;&#10;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp1&quot;)~=nil then&#13;&#10;&#9;&#9;pp1=game.Workspace:findFirstChild(&quot;pp1&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp2&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;pp2=game.Workspace:findFirstChild(&quot;pp2&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp3&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;pp3=game.Workspace:findFirstChild(&quot;pp3&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp4&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;pp4=game.Workspace:findFirstChild(&quot;pp4&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp5&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;pp5=game.Workspace:findFirstChild(&quot;pp5&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp6&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp6=game.Workspace:findFirstChild(&quot;pp6&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp7&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp7=game.Workspace:findFirstChild(&quot;pp7&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp8&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp8=game.Workspace:findFirstChild(&quot;pp8&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp9&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp9=game.Workspace:findFirstChild(&quot;pp9&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if points&lt;1 then return end&#13;&#10;&#9;patrolling=true&#13;&#10;&#9;local time=2&#13;&#10;&#9;if points==1 then return end&#13;&#10;&#9;if points&gt;1 then&#13;&#10;&#9;&#9;while patrolling==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp1.Position, pp1)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp2.Position, pp2)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;if points&gt;2 then&#13;&#10;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp3.Position, pp3)&#13;&#10;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;if points&gt;3 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp4.Position, pp4)&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;if points&gt;4 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp5.Position, pp5)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;5 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp6.Position, pp6)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;6 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp7.Position, pp7)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp8.Position, pp8)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp9.Position, pp9)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function goto(pos,part)&#13;&#10;while true do&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function slash()&#13;&#10;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;wait(.3)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -2.14&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;&#9;wait(.2)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function defence()&#13;&#10;&#9;proxkill=true&#13;&#10;&#9;while proxkill==true do&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local p=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if p~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local p=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;dist and d&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local ex=Instance.new(&quot;Explosion&quot;)&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Position=p&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Parent=game.Workspace&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#9;&#9;&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;wait(1)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(onJumping)&#13;&#10;Humanoid.Climbing:connect(onClimbing)&#13;&#10;Humanoid.GettingUp:connect(onGettingUp)&#13;&#10;Humanoid.FreeFalling:connect(onFreeFall)&#13;&#10;Humanoid.FallingDown:connect(onFallingDown)&#13;&#10;Humanoid.Seated:connect(onSeated)&#13;&#10;&#13;&#10;&#13;&#10;--[[&#13;&#10;&#13;&#10;function newSound(id)&#13;&#10;&#9;local sound = Instance.new(&quot;Sound&quot;)&#13;&#10;&#9;sound.SoundId = id&#13;&#10;&#9;sound.Parent = script.Parent.Head&#13;&#10;&#9;return sound&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;local sDied = newSound(&quot;rbxasset://sounds/uuhhh.wav&quot;)&#13;&#10;local sFallingDown = newSound(&quot;rbxasset://sounds/splat.wav&quot;)&#13;&#10;local sFreeFalling = newSound(&quot;rbxasset://sounds/swoosh.wav&quot;)&#13;&#10;local sGettingUp = newSound(&quot;rbxasset://sounds/hit.wav&quot;)&#13;&#10;local sJumping = newSound(&quot;rbxasset://sounds/button.wav&quot;)&#13;&#10;local sRunning = newSound(&quot;rbxasset://sounds/bfsl-minifigfoots1.mp3&quot;)&#13;&#10;sRunning.Looped = true&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;sDied:play()&#13;&#10;end&#13;&#10;&#13;&#10;function onState(state, sound)&#13;&#10;&#9;if state then&#13;&#10;&#9;&#9;sound:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sound:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;sRunning:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sRunning:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(function(state) onState(state, sJumping) end)&#13;&#10;Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end)&#13;&#10;Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end)&#13;&#10;Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end)&#13;&#10;--]]&#13;&#10;&#13;&#10;local nextTime = 0&#13;&#10;local runService = game:service(&quot;RunService&quot;);&#13;&#10;&#13;&#10;while Figure.Parent~=nil do&#13;&#10;&#9;time = runService.Stepped:wait()&#13;&#10;&#9;if time &gt; nextTime then&#13;&#10;&#9;&#9;move(time)&#13;&#10;&#9;&#9;nextTime = time + 0.1&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX357">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Follow</string>
					<string name="Source">local larm = script.Parent:FindFirstChild(&quot;Left Arm&quot;)&#13;&#10;local rarm = script.Parent:FindFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;function findNearestTorso(pos)&#13;&#10;&#9;local list = game.Workspace:children()&#13;&#10;&#9;local torso = nil&#13;&#10;&#9;local dist = 25&#13;&#10;&#9;local temp = nil&#13;&#10;&#9;local human = nil&#13;&#10;&#9;local temp2 = nil&#13;&#10;&#9;for x = 1, #list do&#13;&#10;&#9;&#9;temp2 = list[x]&#13;&#10;&#9;&#9;if (temp2.className == &quot;Model&quot;) and (temp2 ~= script.Parent) then&#13;&#10;&#9;&#9;&#9;temp = temp2:findFirstChild(&quot;Torso&quot;)&#13;&#10;&#9;&#9;&#9;human = temp2:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;&#9;&#9;if (temp ~= nil) and (human ~= nil) and (human.Health &gt; 0) then&#13;&#10;&#9;&#9;&#9;&#9;if (temp.Position - pos).magnitude &lt; dist then&#13;&#10;&#9;&#9;&#9;&#9;&#9;torso = temp&#13;&#10;&#9;&#9;&#9;&#9;&#9;dist = (temp.Position - pos).magnitude&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return torso&#13;&#10;end&#13;&#10;&#13;&#10;while true do&#13;&#10;&#9;wait(0.1)&#13;&#10;&#9;local target = findNearestTorso(script.Parent.Torso.Position)&#13;&#10;&#9;if target ~= nil then&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#9;end&#13;&#10;end</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Model" referent="RBX358">
			<Properties>
				<token name="Controller">7</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">Warrior</string>
				<Ref name="PrimaryPart">RBX359</Ref>
				<bool name="archivable">true</bool>
			</Properties>
			<Item class="Humanoid" referent="RBX360">
				<Properties>
					<float name="Health">0</float>
					<bool name="Jump">false</bool>
					<float name="MaxHealth">100</float>
					<string name="Name">Humanoid</string>
					<bool name="Sit">false</bool>
					<Vector3 name="TargetPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<Vector3 name="WalkDirection">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<float name="WalkRotationalVelocity">0</float>
					<Ref name="WalkToPart">null</Ref>
					<Vector3 name="WalkToPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX361">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Health</string>
					<string name="Source">function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;-- declarations&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;Humanoid.Health=500&#13;&#10;-- regeneration&#13;&#10;while true do&#13;&#10;&#9;local s = wait(4)&#13;&#10;&#9;local health = Humanoid.Health&#13;&#10;&#9;if health &gt; 0 and health &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;health = health + 0.08 * s * Humanoid.MaxHealth&#13;&#10;&#9;&#9;if health * 1.05 &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;&#9;Humanoid.Health = health&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;Humanoid.Health = Humanoid.MaxHealth&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="BodyColors" referent="RBX362">
				<Properties>
					<int name="HeadColor">24</int>
					<int name="LeftArmColor">28</int>
					<int name="LeftLegColor">28</int>
					<string name="Name">Body Colors</string>
					<int name="RightArmColor">28</int>
					<int name="RightLegColor">28</int>
					<int name="TorsoColor">28</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="IntValue" referent="RBX363">
				<Properties>
					<string name="Name">Value</string>
					<int name="Value">0</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Part" referent="RBX359">
				<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">4</token>
					<token name="BottomSurfaceInput">0</token>
					<int name="BrickColor">141</int>
					<CoordinateFrame name="CFrame">
						<X>190.79335</X>
						<Y>0.889994264</Y>
						<Z>-73.4652481</Z>
						<R00>0.645276964</R00>
						<R01>-0.763948739</R01>
						<R02>2.93301673e-005</R02>
						<R10>-1.22174506e-005</R10>
						<R11>-4.8769296e-005</R11>
						<R12>-1.00000012</R12>
						<R20>0.763948739</R20>
						<R21>0.645277023</R21>
						<R22>-4.08169071e-005</R22>
					</CoordinateFrame>
					<bool name="CanCollide">true</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">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">Right Arm</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>1</X>
						<Y>2</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
				<Item class="Script" referent="RBX364">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">DoorScript2</string>
						<string name="Source">print(&quot;Omg a team door! Goodbye spawnkilling!&quot;) -- {made by:yourit12 modeled by:NintendoZACHERY}&#13;&#10;&#13;&#10;Door = script.Parent &#13;&#10;------------------------------------&#13;&#10;modelname=&quot;Admins&quot; -- Put the EXACT name of the team here&#13;&#10;------------------------------------&#13;&#10; &#13;&#10;function onTouched(hit) &#13;&#10;        print(&quot;Door Hit&quot;) &#13;&#10;        local human = hit.Parent:FindFirstChild(&quot;Humanoid&quot;) &#13;&#10;        if (human ~= nil ) then&#13;&#10;                if game.Players:playerFromCharacter(hit.Parent).TeamColor==game.Teams:findFirstChild(modelname).TeamColor then&#13;&#10;                        Door.CanCollide = false &#13;&#10;                        Door.Transparency = 0&#13;&#10;                        wait(1) &#13;&#10;                        Door.CanCollide = true &#13;&#10;                        Door.Transparency = 0 &#13;&#10;                        print(&quot;Human touched door&quot;) &#13;&#10;                else&#13;&#10;                        human.Health = 0&#13;&#10;                end&#13;&#10; &#13;&#10;        end &#13;&#10;end &#13;&#10; &#13;&#10;connection = Door.Touched:connect(onTouched)</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Script" referent="RBX365">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">Script</string>
						<string name="Source">function onTouched(hit)&#13;&#10;if hit.Name ~= &quot;tray&quot; then hit:remove() end&#13;&#10;end&#13;&#10;&#13;&#10;connection = script.Parent.Touched:connect(onTouched)&#13;&#10;</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Script" referent="RBX366">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">Script</string>
						<string name="Source">&#13;&#10;function onTouched(hit)&#13;&#10;&#9;local human = hit.Parent:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;if (human ~= nil) then&#13;&#10;&#9;&#9;human.Health = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if (script.Parent ~= nil) and (script.Parent.className == &quot;Part&quot;) then --Work if in a block&#13;&#10;&#9;connection = script.Parent.Touched:connect(onTouched)&#13;&#10;end&#13;&#10;</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
			</Item>
			<Item class="Script" referent="RBX367">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Robot</string>
					<string name="Source">------------------&#13;&#10;--SPAWNING--&#13;&#10;------------------&#13;&#10;&#13;&#10;miked=script.Parent&#13;&#10;&#13;&#10;itlh=miked.Torso:findFirstChild(&quot;Left Hip&quot;)&#13;&#10;itlh.Part0=miked.Torso&#13;&#10;itlh.Part1=miked:findFirstChild(&quot;Left Leg&quot;)&#13;&#10;itlh.C0=CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;&#13;&#10;itrh=miked.Torso:findFirstChild(&quot;Right Hip&quot;)&#13;&#10;itrh.Part0=miked.Torso&#13;&#10;itrh.Part1=miked:findFirstChild(&quot;Right Leg&quot;)&#13;&#10;itrh.C0=CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;&#13;&#10;itls=miked.Torso:findFirstChild(&quot;Left Shoulder&quot;)&#13;&#10;itls.Part1=miked.Torso&#13;&#10;itls.C0=CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;itls.Part0=miked:findFirstChild(&quot;Left Arm&quot;)&#13;&#10;&#13;&#10;itrs=miked.Torso:findFirstChild(&quot;Right Shoulder&quot;)&#13;&#10;itrs.Part1=miked.Torso&#13;&#10;itrs.C0=CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;itrs.Part0=miked:findFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;miked.Head:makeJoints()&#13;&#10;------------------&#13;&#10;------------------&#13;&#10;&#13;&#10;&#13;&#10;function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Torso = waitForChild(Figure, &quot;Torso&quot;)&#13;&#10;local RightShoulder = waitForChild(Torso, &quot;Right Shoulder&quot;)&#13;&#10;local LeftShoulder = waitForChild(Torso, &quot;Left Shoulder&quot;)&#13;&#10;local RightHip = waitForChild(Torso, &quot;Right Hip&quot;)&#13;&#10;local LeftHip = waitForChild(Torso, &quot;Left Hip&quot;)&#13;&#10;local Neck = waitForChild(Torso, &quot;Neck&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;local pose = &quot;Standing&quot;&#13;&#10;&#13;&#10;local toolAnim = &quot;None&quot;&#13;&#10;local toolAnimTime = 0&#13;&#10;&#13;&#10;local isSeated = false&#13;&#10;&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if isSeated then return end&#13;&#10;&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;pose = &quot;Running&quot;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;pose = &quot;Standing&quot;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;pose = &quot;Dead&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onJumping()&#13;&#10;&#9;isSeated = false&#13;&#10;&#9;pose = &quot;Jumping&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onClimbing()&#13;&#10;&#9;pose = &quot;Climbing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onGettingUp()&#13;&#10;&#9;pose = &quot;GettingUp&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFreeFall()&#13;&#10;&#9;pose = &quot;FreeFall&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onDancing()&#13;&#10;&#9;pose = &quot;Dancing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFallingDown()&#13;&#10;&#9;pose = &quot;FallingDown&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onSeated()&#13;&#10;&#9;isSeated = true&#13;&#10;&#9;pose = &quot;Seated&quot;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function moveJump()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFreeFall()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1&#13;&#10;&#9;LeftShoulder.DesiredAngle = -1&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFloat()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = -1.57&#13;&#10;end&#13;&#10;&#13;&#10;function moveBoogy()&#13;&#10;while pose==&quot;Boogy&quot; do&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 1.57&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;function moveZombie()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function movePunch()&#13;&#10;&#9;script.Parent.Torso.Anchored=true&#13;&#10;&#9;RightShoulder.MaxVelocity = 60&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;script.Parent.Torso.Anchored=false&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveKick()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveFly()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function moveClimb()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveSit()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;RightHip.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftHip.DesiredAngle = -3.14 /2&#13;&#10;end&#13;&#10;&#13;&#10;function getTool()&#13;&#10;&#9;&#13;&#10;&#9;kidTable = Figure:children()&#13;&#10;&#9;if (kidTable ~= nil) then&#13;&#10;&#9;&#9;numKids = #kidTable&#13;&#10;&#9;&#9;for i=1,numKids do&#13;&#10;&#9;&#9;&#9;if (kidTable[i].className == &quot;Tool&quot;) then return kidTable[i] end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;c = tool:children()&#13;&#10;&#9;for i=1,#c do&#13;&#10;&#9;&#9;if (c[i].Name == &quot;toolanim&quot; and c[i].className == &quot;StringValue&quot;) then&#13;&#10;&#9;&#9;&#9;return c[i]&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function animateTool()&#13;&#10;&#9;&#13;&#10;&#9;if (toolAnim == &quot;None&quot;) then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Slash&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Lunge&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 1.0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 1.0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function move(time)&#13;&#10;&#9;local amplitude&#13;&#10;&#9;local frequency&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Jumping&quot;) then&#13;&#10;&#9;&#9;moveJump()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Zombie&quot;) then&#13;&#10;&#9;&#9;moveZombie()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Boogy&quot;) then&#13;&#10;&#9;&#9;moveBoogy()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Float&quot;) then&#13;&#10;&#9;&#9;moveFloat()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Punch&quot;) then&#13;&#10;&#9;&#9;movePunch()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Kick&quot;) then&#13;&#10;&#9;&#9;moveKick()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Fly&quot;) then&#13;&#10;&#9;&#9;moveFly()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;FreeFall&quot;) then&#13;&#10;&#9;&#9;moveFreeFall()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Climbing&quot;) then&#13;&#10;&#9;&#9;moveClimb()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Seated&quot;) then&#13;&#10;&#9;&#9;moveSit()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;amplitude = 0.1&#13;&#10;&#9;&#9;frequency = 1&#13;&#10;&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;if (pose == &quot;Running&quot;) then&#13;&#10;&#9;&#9;amplitude = 1&#13;&#10;&#9;&#9;frequency = 9&#13;&#10;&#9;elseif (pose == &quot;Dancing&quot;) then&#13;&#10;&#9;&#9;amplitude = 2&#13;&#10;&#9;&#9;frequency = 16&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#13;&#10;&#9;desiredAngle = amplitude * math.sin(time*frequency)&#13;&#10;&#9;if pose~=&quot;Dancing&quot; then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;else&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;end&#13;&#10;&#9;&#9;&#13;&#10;&#13;&#10;&#13;&#10;&#9;local tool = getTool()&#13;&#10;&#13;&#10;&#9;if tool ~= nil then&#13;&#10;&#9;&#13;&#10;&#9;&#9;animStringValueObject = getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;&#9;if animStringValueObject ~= nil then&#13;&#10;&#9;&#9;&#9;toolAnim = animStringValueObject.Value&#13;&#10;&#9;&#9;&#9;-- message recieved, delete StringValue&#13;&#10;&#9;&#9;&#9;animStringValueObject.Parent = nil&#13;&#10;&#9;&#9;&#9;toolAnimTime = time + .3&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if time &gt; toolAnimTime then&#13;&#10;&#9;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;animateTool()&#13;&#10;&#13;&#10;&#9;&#9;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;-- connect events&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;function unequip()&#13;&#10;&#9;local items=script.Parent:children()&#13;&#10;&#9;for i=1, #items do&#13;&#10;&#9;&#9;if items[i].className==&quot;Tool&quot; then items[i]:remove() end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onChatted(msg, recipient) &#13;&#10;&#9;msg = string.lower(msg)&#13;&#10;&#13;&#10;&#9;if string.match(msg, string.lower(script.Parent.Name))~=nil or string.match(msg, &quot;everyone&quot;) then&#13;&#10;&#9;&#9;if string.match(msg, &quot;equip&quot;) then &#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;Hub&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;if string.match(msg, &quot;rocket&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Rocket:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;slingshot&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Slingshot:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;sword&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Sword:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;pbg&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.PBG:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;superball&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Superball:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;trowel&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Trowel:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;bomb&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Bomb:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;unequip&quot;) then unequip() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;run&quot;) then onRunning(1) end&#13;&#10;&#9;&#9;if string.match(msg, &quot;climb&quot;) then onClimbing() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;jump&quot;) then onJumping() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;zombie&quot;) then pose=&quot;Zombie&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;disco&quot;) then pose=&quot;Boogy&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;float&quot;) then pose=&quot;Float&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;punch&quot;) then pose=&quot;Punch&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kick&quot;) then pose=&quot;Kick&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;fly&quot;) then pose=&quot;Fly&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;heal&quot;) then script.Parent.Humanoid.Health=script.Parent.Humanoid.MaxHealth end&#13;&#10;&#9;&#9;if string.match(msg, &quot;defend&quot;) then defence() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;stop&quot;) then pose=&quot;Standing&quot;; proxkill=false; following=false; stopmoving() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;go home&quot;) then following=false; gohome() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;follow&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;followany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;follow(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kill&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;attackany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;attack(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if game.Players.NumPlayers&gt;1 then&#13;&#10;&#9;x=game.Players:children()&#13;&#10;&#9;&#13;&#10;&#9;for i=1, #x do&#13;&#10;&#9;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function onPlayerEntered(Player) &#13;&#10;&#9;while Player.Name==nil do&#13;&#10;&#9;&#9;wait(2)&#13;&#10;&#9;end&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;end&#13;&#10;&#9;else&#13;&#10;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;game.Players.ChildAdded:connect(onPlayerEntered) &#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;dist=20&#13;&#10;&#13;&#10;function followany()&#13;&#10;following=true&#13;&#10;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 6 do&#13;&#10;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then stopmoving() else&#9;wait(0.5) end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function gohome()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(Vector3.new(0,0,0), game.Workspace.Bases.Base)&#13;&#10;end&#13;&#10;function stopmoving()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(script.Parent.Torso.Position, script.Parent.Torso)&#13;&#10;end&#13;&#10;&#13;&#10;function follow(name)&#13;&#10;&#9;following=true&#13;&#10;&#13;&#10;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;if p==nil then return end&#13;&#10;&#9;while following==true do&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attack(name)&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#9;&#9;following=true&#13;&#10;&#9;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;&#9;if p==nil then return end&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#9;local l=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((l.x-q.x)^2)+((l.y-q.y)^2)+((l.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;if (q.y-l.y)&gt;3 and (q.y-l.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attackany()&#13;&#10;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#13;&#10;&#9;following=true&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;slash()&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;if target.Parent==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then &#13;&#10;&#9;&#9;&#9;&#9;&#9;stopmoving() &#13;&#10;&#9;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=target.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if (q.y-p.y)&gt;3 and (q.y-p.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function patrol()&#13;&#10;&#9;if points==nil then&#13;&#10;&#9;&#9;points=0&#13;&#10;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp1&quot;)~=nil then&#13;&#10;&#9;&#9;pp1=game.Workspace:findFirstChild(&quot;pp1&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp2&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;pp2=game.Workspace:findFirstChild(&quot;pp2&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp3&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;pp3=game.Workspace:findFirstChild(&quot;pp3&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp4&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;pp4=game.Workspace:findFirstChild(&quot;pp4&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp5&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;pp5=game.Workspace:findFirstChild(&quot;pp5&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp6&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp6=game.Workspace:findFirstChild(&quot;pp6&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp7&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp7=game.Workspace:findFirstChild(&quot;pp7&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp8&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp8=game.Workspace:findFirstChild(&quot;pp8&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp9&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp9=game.Workspace:findFirstChild(&quot;pp9&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if points&lt;1 then return end&#13;&#10;&#9;patrolling=true&#13;&#10;&#9;local time=2&#13;&#10;&#9;if points==1 then return end&#13;&#10;&#9;if points&gt;1 then&#13;&#10;&#9;&#9;while patrolling==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp1.Position, pp1)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp2.Position, pp2)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;if points&gt;2 then&#13;&#10;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp3.Position, pp3)&#13;&#10;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;if points&gt;3 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp4.Position, pp4)&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;if points&gt;4 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp5.Position, pp5)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;5 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp6.Position, pp6)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;6 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp7.Position, pp7)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp8.Position, pp8)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp9.Position, pp9)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function goto(pos,part)&#13;&#10;while true do&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function slash()&#13;&#10;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;wait(.3)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -2.14&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;&#9;wait(.2)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function defence()&#13;&#10;&#9;proxkill=true&#13;&#10;&#9;while proxkill==true do&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local p=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if p~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local p=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;dist and d&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local ex=Instance.new(&quot;Explosion&quot;)&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Position=p&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Parent=game.Workspace&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#9;&#9;&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;wait(1)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(onJumping)&#13;&#10;Humanoid.Climbing:connect(onClimbing)&#13;&#10;Humanoid.GettingUp:connect(onGettingUp)&#13;&#10;Humanoid.FreeFalling:connect(onFreeFall)&#13;&#10;Humanoid.FallingDown:connect(onFallingDown)&#13;&#10;Humanoid.Seated:connect(onSeated)&#13;&#10;&#13;&#10;&#13;&#10;--[[&#13;&#10;&#13;&#10;function newSound(id)&#13;&#10;&#9;local sound = Instance.new(&quot;Sound&quot;)&#13;&#10;&#9;sound.SoundId = id&#13;&#10;&#9;sound.Parent = script.Parent.Head&#13;&#10;&#9;return sound&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;local sDied = newSound(&quot;rbxasset://sounds/uuhhh.wav&quot;)&#13;&#10;local sFallingDown = newSound(&quot;rbxasset://sounds/splat.wav&quot;)&#13;&#10;local sFreeFalling = newSound(&quot;rbxasset://sounds/swoosh.wav&quot;)&#13;&#10;local sGettingUp = newSound(&quot;rbxasset://sounds/hit.wav&quot;)&#13;&#10;local sJumping = newSound(&quot;rbxasset://sounds/button.wav&quot;)&#13;&#10;local sRunning = newSound(&quot;rbxasset://sounds/bfsl-minifigfoots1.mp3&quot;)&#13;&#10;sRunning.Looped = true&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;sDied:play()&#13;&#10;end&#13;&#10;&#13;&#10;function onState(state, sound)&#13;&#10;&#9;if state then&#13;&#10;&#9;&#9;sound:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sound:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;sRunning:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sRunning:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(function(state) onState(state, sJumping) end)&#13;&#10;Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end)&#13;&#10;Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end)&#13;&#10;Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end)&#13;&#10;--]]&#13;&#10;&#13;&#10;local nextTime = 0&#13;&#10;local runService = game:service(&quot;RunService&quot;);&#13;&#10;&#13;&#10;while Figure.Parent~=nil do&#13;&#10;&#9;time = runService.Stepped:wait()&#13;&#10;&#9;if time &gt; nextTime then&#13;&#10;&#9;&#9;move(time)&#13;&#10;&#9;&#9;nextTime = time + 0.1&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX368">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Follow</string>
					<string name="Source">local larm = script.Parent:FindFirstChild(&quot;Left Arm&quot;)&#13;&#10;local rarm = script.Parent:FindFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;function findNearestTorso(pos)&#13;&#10;&#9;local list = game.Workspace:children()&#13;&#10;&#9;local torso = nil&#13;&#10;&#9;local dist = 25&#13;&#10;&#9;local temp = nil&#13;&#10;&#9;local human = nil&#13;&#10;&#9;local temp2 = nil&#13;&#10;&#9;for x = 1, #list do&#13;&#10;&#9;&#9;temp2 = list[x]&#13;&#10;&#9;&#9;if (temp2.className == &quot;Model&quot;) and (temp2 ~= script.Parent) then&#13;&#10;&#9;&#9;&#9;temp = temp2:findFirstChild(&quot;Torso&quot;)&#13;&#10;&#9;&#9;&#9;human = temp2:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;&#9;&#9;if (temp ~= nil) and (human ~= nil) and (human.Health &gt; 0) then&#13;&#10;&#9;&#9;&#9;&#9;if (temp.Position - pos).magnitude &lt; dist then&#13;&#10;&#9;&#9;&#9;&#9;&#9;torso = temp&#13;&#10;&#9;&#9;&#9;&#9;&#9;dist = (temp.Position - pos).magnitude&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return torso&#13;&#10;end&#13;&#10;&#13;&#10;while true do&#13;&#10;&#9;wait(0.1)&#13;&#10;&#9;local target = findNearestTorso(script.Parent.Torso.Position)&#13;&#10;&#9;if target ~= nil then&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#9;end&#13;&#10;end</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Model" referent="RBX369">
			<Properties>
				<token name="Controller">7</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">Warrior</string>
				<Ref name="PrimaryPart">RBX370</Ref>
				<bool name="archivable">true</bool>
			</Properties>
			<Item class="Part" referent="RBX370">
				<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">38</int>
					<CoordinateFrame name="CFrame">
						<X>135.519867</X>
						<Y>1.31713331</Y>
						<Z>166.277222</Z>
						<R00>0.888273656</R00>
						<R01>0.000155182439</R01>
						<R02>0.459314555</R02>
						<R10>-1.79199506e-005</R10>
						<R11>0.99999994</R11>
						<R12>-0.00030320097</R12>
						<R20>-0.459314585</R20>
						<R21>0.000261094538</R21>
						<R22>0.888273656</R22>
					</CoordinateFrame>
					<bool name="CanCollide">true</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">true</bool>
					<bool name="DraggingV1">false</bool>
					<float name="Elasticity">0</float>
					<token name="FormFactor">0</token>
					<float name="Friction">0</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">Left Leg</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>1</X>
						<Y>2</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
				<Item class="Script" referent="RBX371">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">Script</string>
						<string name="Source">function onTouched(hit)&#13;&#10;if hit.Name ~= &quot;tray&quot; then hit:remove() end&#13;&#10;end&#13;&#10;&#13;&#10;connection = script.Parent.Touched:connect(onTouched)&#13;&#10;</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Script" referent="RBX372">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">Script</string>
						<string name="Source">&#13;&#10;function onTouched(hit)&#13;&#10;&#9;local human = hit.Parent:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;if (human ~= nil) then&#13;&#10;&#9;&#9;human.Health = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if (script.Parent ~= nil) and (script.Parent.className == &quot;Part&quot;) then --Work if in a block&#13;&#10;&#9;connection = script.Parent.Touched:connect(onTouched)&#13;&#10;end&#13;&#10;</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
			</Item>
			<Item class="Humanoid" referent="RBX373">
				<Properties>
					<float name="Health">0</float>
					<bool name="Jump">false</bool>
					<float name="MaxHealth">100</float>
					<string name="Name">Humanoid</string>
					<bool name="Sit">false</bool>
					<Vector3 name="TargetPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<Vector3 name="WalkDirection">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<float name="WalkRotationalVelocity">0</float>
					<Ref name="WalkToPart">null</Ref>
					<Vector3 name="WalkToPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX374">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Health</string>
					<string name="Source">function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;-- declarations&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;Humanoid.Health=500&#13;&#10;-- regeneration&#13;&#10;while true do&#13;&#10;&#9;local s = wait(4)&#13;&#10;&#9;local health = Humanoid.Health&#13;&#10;&#9;if health &gt; 0 and health &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;health = health + 0.08 * s * Humanoid.MaxHealth&#13;&#10;&#9;&#9;if health * 1.05 &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;&#9;Humanoid.Health = health&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;Humanoid.Health = Humanoid.MaxHealth&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="BodyColors" referent="RBX375">
				<Properties>
					<int name="HeadColor">24</int>
					<int name="LeftArmColor">28</int>
					<int name="LeftLegColor">28</int>
					<string name="Name">Body Colors</string>
					<int name="RightArmColor">28</int>
					<int name="RightLegColor">28</int>
					<int name="TorsoColor">28</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="IntValue" referent="RBX376">
				<Properties>
					<string name="Name">Value</string>
					<int name="Value">0</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX377">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Robot</string>
					<string name="Source">------------------&#13;&#10;--SPAWNING--&#13;&#10;------------------&#13;&#10;&#13;&#10;miked=script.Parent&#13;&#10;&#13;&#10;itlh=miked.Torso:findFirstChild(&quot;Left Hip&quot;)&#13;&#10;itlh.Part0=miked.Torso&#13;&#10;itlh.Part1=miked:findFirstChild(&quot;Left Leg&quot;)&#13;&#10;itlh.C0=CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;&#13;&#10;itrh=miked.Torso:findFirstChild(&quot;Right Hip&quot;)&#13;&#10;itrh.Part0=miked.Torso&#13;&#10;itrh.Part1=miked:findFirstChild(&quot;Right Leg&quot;)&#13;&#10;itrh.C0=CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;&#13;&#10;itls=miked.Torso:findFirstChild(&quot;Left Shoulder&quot;)&#13;&#10;itls.Part1=miked.Torso&#13;&#10;itls.C0=CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;itls.Part0=miked:findFirstChild(&quot;Left Arm&quot;)&#13;&#10;&#13;&#10;itrs=miked.Torso:findFirstChild(&quot;Right Shoulder&quot;)&#13;&#10;itrs.Part1=miked.Torso&#13;&#10;itrs.C0=CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;itrs.Part0=miked:findFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;miked.Head:makeJoints()&#13;&#10;------------------&#13;&#10;------------------&#13;&#10;&#13;&#10;&#13;&#10;function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Torso = waitForChild(Figure, &quot;Torso&quot;)&#13;&#10;local RightShoulder = waitForChild(Torso, &quot;Right Shoulder&quot;)&#13;&#10;local LeftShoulder = waitForChild(Torso, &quot;Left Shoulder&quot;)&#13;&#10;local RightHip = waitForChild(Torso, &quot;Right Hip&quot;)&#13;&#10;local LeftHip = waitForChild(Torso, &quot;Left Hip&quot;)&#13;&#10;local Neck = waitForChild(Torso, &quot;Neck&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;local pose = &quot;Standing&quot;&#13;&#10;&#13;&#10;local toolAnim = &quot;None&quot;&#13;&#10;local toolAnimTime = 0&#13;&#10;&#13;&#10;local isSeated = false&#13;&#10;&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if isSeated then return end&#13;&#10;&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;pose = &quot;Running&quot;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;pose = &quot;Standing&quot;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;pose = &quot;Dead&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onJumping()&#13;&#10;&#9;isSeated = false&#13;&#10;&#9;pose = &quot;Jumping&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onClimbing()&#13;&#10;&#9;pose = &quot;Climbing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onGettingUp()&#13;&#10;&#9;pose = &quot;GettingUp&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFreeFall()&#13;&#10;&#9;pose = &quot;FreeFall&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onDancing()&#13;&#10;&#9;pose = &quot;Dancing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFallingDown()&#13;&#10;&#9;pose = &quot;FallingDown&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onSeated()&#13;&#10;&#9;isSeated = true&#13;&#10;&#9;pose = &quot;Seated&quot;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function moveJump()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFreeFall()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1&#13;&#10;&#9;LeftShoulder.DesiredAngle = -1&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFloat()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = -1.57&#13;&#10;end&#13;&#10;&#13;&#10;function moveBoogy()&#13;&#10;while pose==&quot;Boogy&quot; do&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 1.57&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;function moveZombie()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function movePunch()&#13;&#10;&#9;script.Parent.Torso.Anchored=true&#13;&#10;&#9;RightShoulder.MaxVelocity = 60&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;script.Parent.Torso.Anchored=false&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveKick()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveFly()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function moveClimb()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveSit()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;RightHip.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftHip.DesiredAngle = -3.14 /2&#13;&#10;end&#13;&#10;&#13;&#10;function getTool()&#13;&#10;&#9;&#13;&#10;&#9;kidTable = Figure:children()&#13;&#10;&#9;if (kidTable ~= nil) then&#13;&#10;&#9;&#9;numKids = #kidTable&#13;&#10;&#9;&#9;for i=1,numKids do&#13;&#10;&#9;&#9;&#9;if (kidTable[i].className == &quot;Tool&quot;) then return kidTable[i] end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;c = tool:children()&#13;&#10;&#9;for i=1,#c do&#13;&#10;&#9;&#9;if (c[i].Name == &quot;toolanim&quot; and c[i].className == &quot;StringValue&quot;) then&#13;&#10;&#9;&#9;&#9;return c[i]&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function animateTool()&#13;&#10;&#9;&#13;&#10;&#9;if (toolAnim == &quot;None&quot;) then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Slash&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Lunge&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 1.0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 1.0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function move(time)&#13;&#10;&#9;local amplitude&#13;&#10;&#9;local frequency&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Jumping&quot;) then&#13;&#10;&#9;&#9;moveJump()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Zombie&quot;) then&#13;&#10;&#9;&#9;moveZombie()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Boogy&quot;) then&#13;&#10;&#9;&#9;moveBoogy()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Float&quot;) then&#13;&#10;&#9;&#9;moveFloat()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Punch&quot;) then&#13;&#10;&#9;&#9;movePunch()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Kick&quot;) then&#13;&#10;&#9;&#9;moveKick()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Fly&quot;) then&#13;&#10;&#9;&#9;moveFly()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;FreeFall&quot;) then&#13;&#10;&#9;&#9;moveFreeFall()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Climbing&quot;) then&#13;&#10;&#9;&#9;moveClimb()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Seated&quot;) then&#13;&#10;&#9;&#9;moveSit()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;amplitude = 0.1&#13;&#10;&#9;&#9;frequency = 1&#13;&#10;&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;if (pose == &quot;Running&quot;) then&#13;&#10;&#9;&#9;amplitude = 1&#13;&#10;&#9;&#9;frequency = 9&#13;&#10;&#9;elseif (pose == &quot;Dancing&quot;) then&#13;&#10;&#9;&#9;amplitude = 2&#13;&#10;&#9;&#9;frequency = 16&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#13;&#10;&#9;desiredAngle = amplitude * math.sin(time*frequency)&#13;&#10;&#9;if pose~=&quot;Dancing&quot; then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;else&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;end&#13;&#10;&#9;&#9;&#13;&#10;&#13;&#10;&#13;&#10;&#9;local tool = getTool()&#13;&#10;&#13;&#10;&#9;if tool ~= nil then&#13;&#10;&#9;&#13;&#10;&#9;&#9;animStringValueObject = getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;&#9;if animStringValueObject ~= nil then&#13;&#10;&#9;&#9;&#9;toolAnim = animStringValueObject.Value&#13;&#10;&#9;&#9;&#9;-- message recieved, delete StringValue&#13;&#10;&#9;&#9;&#9;animStringValueObject.Parent = nil&#13;&#10;&#9;&#9;&#9;toolAnimTime = time + .3&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if time &gt; toolAnimTime then&#13;&#10;&#9;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;animateTool()&#13;&#10;&#13;&#10;&#9;&#9;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;-- connect events&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;function unequip()&#13;&#10;&#9;local items=script.Parent:children()&#13;&#10;&#9;for i=1, #items do&#13;&#10;&#9;&#9;if items[i].className==&quot;Tool&quot; then items[i]:remove() end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onChatted(msg, recipient) &#13;&#10;&#9;msg = string.lower(msg)&#13;&#10;&#13;&#10;&#9;if string.match(msg, string.lower(script.Parent.Name))~=nil or string.match(msg, &quot;everyone&quot;) then&#13;&#10;&#9;&#9;if string.match(msg, &quot;equip&quot;) then &#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;Hub&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;if string.match(msg, &quot;rocket&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Rocket:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;slingshot&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Slingshot:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;sword&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Sword:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;pbg&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.PBG:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;superball&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Superball:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;trowel&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Trowel:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;bomb&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Bomb:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;unequip&quot;) then unequip() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;run&quot;) then onRunning(1) end&#13;&#10;&#9;&#9;if string.match(msg, &quot;climb&quot;) then onClimbing() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;jump&quot;) then onJumping() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;zombie&quot;) then pose=&quot;Zombie&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;disco&quot;) then pose=&quot;Boogy&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;float&quot;) then pose=&quot;Float&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;punch&quot;) then pose=&quot;Punch&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kick&quot;) then pose=&quot;Kick&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;fly&quot;) then pose=&quot;Fly&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;heal&quot;) then script.Parent.Humanoid.Health=script.Parent.Humanoid.MaxHealth end&#13;&#10;&#9;&#9;if string.match(msg, &quot;defend&quot;) then defence() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;stop&quot;) then pose=&quot;Standing&quot;; proxkill=false; following=false; stopmoving() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;go home&quot;) then following=false; gohome() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;follow&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;followany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;follow(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kill&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;attackany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;attack(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if game.Players.NumPlayers&gt;1 then&#13;&#10;&#9;x=game.Players:children()&#13;&#10;&#9;&#13;&#10;&#9;for i=1, #x do&#13;&#10;&#9;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function onPlayerEntered(Player) &#13;&#10;&#9;while Player.Name==nil do&#13;&#10;&#9;&#9;wait(2)&#13;&#10;&#9;end&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;end&#13;&#10;&#9;else&#13;&#10;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;game.Players.ChildAdded:connect(onPlayerEntered) &#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;dist=20&#13;&#10;&#13;&#10;function followany()&#13;&#10;following=true&#13;&#10;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 6 do&#13;&#10;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then stopmoving() else&#9;wait(0.5) end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function gohome()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(Vector3.new(0,0,0), game.Workspace.Bases.Base)&#13;&#10;end&#13;&#10;function stopmoving()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(script.Parent.Torso.Position, script.Parent.Torso)&#13;&#10;end&#13;&#10;&#13;&#10;function follow(name)&#13;&#10;&#9;following=true&#13;&#10;&#13;&#10;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;if p==nil then return end&#13;&#10;&#9;while following==true do&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attack(name)&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#9;&#9;following=true&#13;&#10;&#9;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;&#9;if p==nil then return end&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#9;local l=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((l.x-q.x)^2)+((l.y-q.y)^2)+((l.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;if (q.y-l.y)&gt;3 and (q.y-l.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attackany()&#13;&#10;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#13;&#10;&#9;following=true&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;slash()&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;if target.Parent==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then &#13;&#10;&#9;&#9;&#9;&#9;&#9;stopmoving() &#13;&#10;&#9;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=target.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if (q.y-p.y)&gt;3 and (q.y-p.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function patrol()&#13;&#10;&#9;if points==nil then&#13;&#10;&#9;&#9;points=0&#13;&#10;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp1&quot;)~=nil then&#13;&#10;&#9;&#9;pp1=game.Workspace:findFirstChild(&quot;pp1&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp2&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;pp2=game.Workspace:findFirstChild(&quot;pp2&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp3&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;pp3=game.Workspace:findFirstChild(&quot;pp3&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp4&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;pp4=game.Workspace:findFirstChild(&quot;pp4&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp5&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;pp5=game.Workspace:findFirstChild(&quot;pp5&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp6&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp6=game.Workspace:findFirstChild(&quot;pp6&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp7&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp7=game.Workspace:findFirstChild(&quot;pp7&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp8&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp8=game.Workspace:findFirstChild(&quot;pp8&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp9&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp9=game.Workspace:findFirstChild(&quot;pp9&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if points&lt;1 then return end&#13;&#10;&#9;patrolling=true&#13;&#10;&#9;local time=2&#13;&#10;&#9;if points==1 then return end&#13;&#10;&#9;if points&gt;1 then&#13;&#10;&#9;&#9;while patrolling==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp1.Position, pp1)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp2.Position, pp2)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;if points&gt;2 then&#13;&#10;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp3.Position, pp3)&#13;&#10;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;if points&gt;3 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp4.Position, pp4)&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;if points&gt;4 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp5.Position, pp5)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;5 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp6.Position, pp6)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;6 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp7.Position, pp7)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp8.Position, pp8)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp9.Position, pp9)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function goto(pos,part)&#13;&#10;while true do&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function slash()&#13;&#10;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;wait(.3)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -2.14&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;&#9;wait(.2)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function defence()&#13;&#10;&#9;proxkill=true&#13;&#10;&#9;while proxkill==true do&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local p=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if p~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local p=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;dist and d&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local ex=Instance.new(&quot;Explosion&quot;)&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Position=p&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Parent=game.Workspace&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#9;&#9;&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;wait(1)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(onJumping)&#13;&#10;Humanoid.Climbing:connect(onClimbing)&#13;&#10;Humanoid.GettingUp:connect(onGettingUp)&#13;&#10;Humanoid.FreeFalling:connect(onFreeFall)&#13;&#10;Humanoid.FallingDown:connect(onFallingDown)&#13;&#10;Humanoid.Seated:connect(onSeated)&#13;&#10;&#13;&#10;&#13;&#10;--[[&#13;&#10;&#13;&#10;function newSound(id)&#13;&#10;&#9;local sound = Instance.new(&quot;Sound&quot;)&#13;&#10;&#9;sound.SoundId = id&#13;&#10;&#9;sound.Parent = script.Parent.Head&#13;&#10;&#9;return sound&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;local sDied = newSound(&quot;rbxasset://sounds/uuhhh.wav&quot;)&#13;&#10;local sFallingDown = newSound(&quot;rbxasset://sounds/splat.wav&quot;)&#13;&#10;local sFreeFalling = newSound(&quot;rbxasset://sounds/swoosh.wav&quot;)&#13;&#10;local sGettingUp = newSound(&quot;rbxasset://sounds/hit.wav&quot;)&#13;&#10;local sJumping = newSound(&quot;rbxasset://sounds/button.wav&quot;)&#13;&#10;local sRunning = newSound(&quot;rbxasset://sounds/bfsl-minifigfoots1.mp3&quot;)&#13;&#10;sRunning.Looped = true&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;sDied:play()&#13;&#10;end&#13;&#10;&#13;&#10;function onState(state, sound)&#13;&#10;&#9;if state then&#13;&#10;&#9;&#9;sound:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sound:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;sRunning:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sRunning:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(function(state) onState(state, sJumping) end)&#13;&#10;Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end)&#13;&#10;Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end)&#13;&#10;Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end)&#13;&#10;--]]&#13;&#10;&#13;&#10;local nextTime = 0&#13;&#10;local runService = game:service(&quot;RunService&quot;);&#13;&#10;&#13;&#10;while Figure.Parent~=nil do&#13;&#10;&#9;time = runService.Stepped:wait()&#13;&#10;&#9;if time &gt; nextTime then&#13;&#10;&#9;&#9;move(time)&#13;&#10;&#9;&#9;nextTime = time + 0.1&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX378">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Follow</string>
					<string name="Source">local larm = script.Parent:FindFirstChild(&quot;Left Arm&quot;)&#13;&#10;local rarm = script.Parent:FindFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;function findNearestTorso(pos)&#13;&#10;&#9;local list = game.Workspace:children()&#13;&#10;&#9;local torso = nil&#13;&#10;&#9;local dist = 25&#13;&#10;&#9;local temp = nil&#13;&#10;&#9;local human = nil&#13;&#10;&#9;local temp2 = nil&#13;&#10;&#9;for x = 1, #list do&#13;&#10;&#9;&#9;temp2 = list[x]&#13;&#10;&#9;&#9;if (temp2.className == &quot;Model&quot;) and (temp2 ~= script.Parent) then&#13;&#10;&#9;&#9;&#9;temp = temp2:findFirstChild(&quot;Torso&quot;)&#13;&#10;&#9;&#9;&#9;human = temp2:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;&#9;&#9;if (temp ~= nil) and (human ~= nil) and (human.Health &gt; 0) then&#13;&#10;&#9;&#9;&#9;&#9;if (temp.Position - pos).magnitude &lt; dist then&#13;&#10;&#9;&#9;&#9;&#9;&#9;torso = temp&#13;&#10;&#9;&#9;&#9;&#9;&#9;dist = (temp.Position - pos).magnitude&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return torso&#13;&#10;end&#13;&#10;&#13;&#10;while true do&#13;&#10;&#9;wait(0.1)&#13;&#10;&#9;local target = findNearestTorso(script.Parent.Torso.Position)&#13;&#10;&#9;if target ~= nil then&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#9;end&#13;&#10;end</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Model" referent="RBX379">
			<Properties>
				<token name="Controller">7</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">Warrior</string>
				<Ref name="PrimaryPart">null</Ref>
				<bool name="archivable">true</bool>
			</Properties>
			<Item class="Humanoid" referent="RBX380">
				<Properties>
					<float name="Health">0</float>
					<bool name="Jump">false</bool>
					<float name="MaxHealth">100</float>
					<string name="Name">Humanoid</string>
					<bool name="Sit">false</bool>
					<Vector3 name="TargetPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<Vector3 name="WalkDirection">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<float name="WalkRotationalVelocity">0</float>
					<Ref name="WalkToPart">null</Ref>
					<Vector3 name="WalkToPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX381">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Health</string>
					<string name="Source">function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;-- declarations&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;Humanoid.Health=500&#13;&#10;-- regeneration&#13;&#10;while true do&#13;&#10;&#9;local s = wait(4)&#13;&#10;&#9;local health = Humanoid.Health&#13;&#10;&#9;if health &gt; 0 and health &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;health = health + 0.08 * s * Humanoid.MaxHealth&#13;&#10;&#9;&#9;if health * 1.05 &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;&#9;Humanoid.Health = health&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;Humanoid.Health = Humanoid.MaxHealth&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="BodyColors" referent="RBX382">
				<Properties>
					<int name="HeadColor">24</int>
					<int name="LeftArmColor">28</int>
					<int name="LeftLegColor">28</int>
					<string name="Name">Body Colors</string>
					<int name="RightArmColor">28</int>
					<int name="RightLegColor">28</int>
					<int name="TorsoColor">28</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="IntValue" referent="RBX383">
				<Properties>
					<string name="Name">Value</string>
					<int name="Value">0</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX384">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Robot</string>
					<string name="Source">------------------&#13;&#10;--SPAWNING--&#13;&#10;------------------&#13;&#10;&#13;&#10;miked=script.Parent&#13;&#10;&#13;&#10;itlh=miked.Torso:findFirstChild(&quot;Left Hip&quot;)&#13;&#10;itlh.Part0=miked.Torso&#13;&#10;itlh.Part1=miked:findFirstChild(&quot;Left Leg&quot;)&#13;&#10;itlh.C0=CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;&#13;&#10;itrh=miked.Torso:findFirstChild(&quot;Right Hip&quot;)&#13;&#10;itrh.Part0=miked.Torso&#13;&#10;itrh.Part1=miked:findFirstChild(&quot;Right Leg&quot;)&#13;&#10;itrh.C0=CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;&#13;&#10;itls=miked.Torso:findFirstChild(&quot;Left Shoulder&quot;)&#13;&#10;itls.Part1=miked.Torso&#13;&#10;itls.C0=CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;itls.Part0=miked:findFirstChild(&quot;Left Arm&quot;)&#13;&#10;&#13;&#10;itrs=miked.Torso:findFirstChild(&quot;Right Shoulder&quot;)&#13;&#10;itrs.Part1=miked.Torso&#13;&#10;itrs.C0=CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;itrs.Part0=miked:findFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;miked.Head:makeJoints()&#13;&#10;------------------&#13;&#10;------------------&#13;&#10;&#13;&#10;&#13;&#10;function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Torso = waitForChild(Figure, &quot;Torso&quot;)&#13;&#10;local RightShoulder = waitForChild(Torso, &quot;Right Shoulder&quot;)&#13;&#10;local LeftShoulder = waitForChild(Torso, &quot;Left Shoulder&quot;)&#13;&#10;local RightHip = waitForChild(Torso, &quot;Right Hip&quot;)&#13;&#10;local LeftHip = waitForChild(Torso, &quot;Left Hip&quot;)&#13;&#10;local Neck = waitForChild(Torso, &quot;Neck&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;local pose = &quot;Standing&quot;&#13;&#10;&#13;&#10;local toolAnim = &quot;None&quot;&#13;&#10;local toolAnimTime = 0&#13;&#10;&#13;&#10;local isSeated = false&#13;&#10;&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if isSeated then return end&#13;&#10;&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;pose = &quot;Running&quot;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;pose = &quot;Standing&quot;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;pose = &quot;Dead&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onJumping()&#13;&#10;&#9;isSeated = false&#13;&#10;&#9;pose = &quot;Jumping&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onClimbing()&#13;&#10;&#9;pose = &quot;Climbing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onGettingUp()&#13;&#10;&#9;pose = &quot;GettingUp&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFreeFall()&#13;&#10;&#9;pose = &quot;FreeFall&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onDancing()&#13;&#10;&#9;pose = &quot;Dancing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFallingDown()&#13;&#10;&#9;pose = &quot;FallingDown&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onSeated()&#13;&#10;&#9;isSeated = true&#13;&#10;&#9;pose = &quot;Seated&quot;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function moveJump()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFreeFall()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1&#13;&#10;&#9;LeftShoulder.DesiredAngle = -1&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFloat()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = -1.57&#13;&#10;end&#13;&#10;&#13;&#10;function moveBoogy()&#13;&#10;while pose==&quot;Boogy&quot; do&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 1.57&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;function moveZombie()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function movePunch()&#13;&#10;&#9;script.Parent.Torso.Anchored=true&#13;&#10;&#9;RightShoulder.MaxVelocity = 60&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;script.Parent.Torso.Anchored=false&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveKick()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveFly()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function moveClimb()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveSit()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;RightHip.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftHip.DesiredAngle = -3.14 /2&#13;&#10;end&#13;&#10;&#13;&#10;function getTool()&#13;&#10;&#9;&#13;&#10;&#9;kidTable = Figure:children()&#13;&#10;&#9;if (kidTable ~= nil) then&#13;&#10;&#9;&#9;numKids = #kidTable&#13;&#10;&#9;&#9;for i=1,numKids do&#13;&#10;&#9;&#9;&#9;if (kidTable[i].className == &quot;Tool&quot;) then return kidTable[i] end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;c = tool:children()&#13;&#10;&#9;for i=1,#c do&#13;&#10;&#9;&#9;if (c[i].Name == &quot;toolanim&quot; and c[i].className == &quot;StringValue&quot;) then&#13;&#10;&#9;&#9;&#9;return c[i]&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function animateTool()&#13;&#10;&#9;&#13;&#10;&#9;if (toolAnim == &quot;None&quot;) then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Slash&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Lunge&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 1.0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 1.0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function move(time)&#13;&#10;&#9;local amplitude&#13;&#10;&#9;local frequency&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Jumping&quot;) then&#13;&#10;&#9;&#9;moveJump()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Zombie&quot;) then&#13;&#10;&#9;&#9;moveZombie()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Boogy&quot;) then&#13;&#10;&#9;&#9;moveBoogy()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Float&quot;) then&#13;&#10;&#9;&#9;moveFloat()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Punch&quot;) then&#13;&#10;&#9;&#9;movePunch()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Kick&quot;) then&#13;&#10;&#9;&#9;moveKick()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Fly&quot;) then&#13;&#10;&#9;&#9;moveFly()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;FreeFall&quot;) then&#13;&#10;&#9;&#9;moveFreeFall()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Climbing&quot;) then&#13;&#10;&#9;&#9;moveClimb()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Seated&quot;) then&#13;&#10;&#9;&#9;moveSit()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;amplitude = 0.1&#13;&#10;&#9;&#9;frequency = 1&#13;&#10;&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;if (pose == &quot;Running&quot;) then&#13;&#10;&#9;&#9;amplitude = 1&#13;&#10;&#9;&#9;frequency = 9&#13;&#10;&#9;elseif (pose == &quot;Dancing&quot;) then&#13;&#10;&#9;&#9;amplitude = 2&#13;&#10;&#9;&#9;frequency = 16&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#13;&#10;&#9;desiredAngle = amplitude * math.sin(time*frequency)&#13;&#10;&#9;if pose~=&quot;Dancing&quot; then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;else&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;end&#13;&#10;&#9;&#9;&#13;&#10;&#13;&#10;&#13;&#10;&#9;local tool = getTool()&#13;&#10;&#13;&#10;&#9;if tool ~= nil then&#13;&#10;&#9;&#13;&#10;&#9;&#9;animStringValueObject = getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;&#9;if animStringValueObject ~= nil then&#13;&#10;&#9;&#9;&#9;toolAnim = animStringValueObject.Value&#13;&#10;&#9;&#9;&#9;-- message recieved, delete StringValue&#13;&#10;&#9;&#9;&#9;animStringValueObject.Parent = nil&#13;&#10;&#9;&#9;&#9;toolAnimTime = time + .3&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if time &gt; toolAnimTime then&#13;&#10;&#9;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;animateTool()&#13;&#10;&#13;&#10;&#9;&#9;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;-- connect events&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;function unequip()&#13;&#10;&#9;local items=script.Parent:children()&#13;&#10;&#9;for i=1, #items do&#13;&#10;&#9;&#9;if items[i].className==&quot;Tool&quot; then items[i]:remove() end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onChatted(msg, recipient) &#13;&#10;&#9;msg = string.lower(msg)&#13;&#10;&#13;&#10;&#9;if string.match(msg, string.lower(script.Parent.Name))~=nil or string.match(msg, &quot;everyone&quot;) then&#13;&#10;&#9;&#9;if string.match(msg, &quot;equip&quot;) then &#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;Hub&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;if string.match(msg, &quot;rocket&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Rocket:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;slingshot&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Slingshot:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;sword&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Sword:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;pbg&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.PBG:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;superball&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Superball:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;trowel&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Trowel:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;bomb&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Bomb:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;unequip&quot;) then unequip() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;run&quot;) then onRunning(1) end&#13;&#10;&#9;&#9;if string.match(msg, &quot;climb&quot;) then onClimbing() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;jump&quot;) then onJumping() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;zombie&quot;) then pose=&quot;Zombie&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;disco&quot;) then pose=&quot;Boogy&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;float&quot;) then pose=&quot;Float&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;punch&quot;) then pose=&quot;Punch&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kick&quot;) then pose=&quot;Kick&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;fly&quot;) then pose=&quot;Fly&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;heal&quot;) then script.Parent.Humanoid.Health=script.Parent.Humanoid.MaxHealth end&#13;&#10;&#9;&#9;if string.match(msg, &quot;defend&quot;) then defence() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;stop&quot;) then pose=&quot;Standing&quot;; proxkill=false; following=false; stopmoving() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;go home&quot;) then following=false; gohome() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;follow&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;followany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;follow(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kill&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;attackany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;attack(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if game.Players.NumPlayers&gt;1 then&#13;&#10;&#9;x=game.Players:children()&#13;&#10;&#9;&#13;&#10;&#9;for i=1, #x do&#13;&#10;&#9;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function onPlayerEntered(Player) &#13;&#10;&#9;while Player.Name==nil do&#13;&#10;&#9;&#9;wait(2)&#13;&#10;&#9;end&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;end&#13;&#10;&#9;else&#13;&#10;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;game.Players.ChildAdded:connect(onPlayerEntered) &#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;dist=20&#13;&#10;&#13;&#10;function followany()&#13;&#10;following=true&#13;&#10;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 6 do&#13;&#10;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then stopmoving() else&#9;wait(0.5) end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function gohome()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(Vector3.new(0,0,0), game.Workspace.Bases.Base)&#13;&#10;end&#13;&#10;function stopmoving()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(script.Parent.Torso.Position, script.Parent.Torso)&#13;&#10;end&#13;&#10;&#13;&#10;function follow(name)&#13;&#10;&#9;following=true&#13;&#10;&#13;&#10;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;if p==nil then return end&#13;&#10;&#9;while following==true do&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attack(name)&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#9;&#9;following=true&#13;&#10;&#9;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;&#9;if p==nil then return end&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#9;local l=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((l.x-q.x)^2)+((l.y-q.y)^2)+((l.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;if (q.y-l.y)&gt;3 and (q.y-l.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attackany()&#13;&#10;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#13;&#10;&#9;following=true&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;slash()&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;if target.Parent==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then &#13;&#10;&#9;&#9;&#9;&#9;&#9;stopmoving() &#13;&#10;&#9;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=target.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if (q.y-p.y)&gt;3 and (q.y-p.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function patrol()&#13;&#10;&#9;if points==nil then&#13;&#10;&#9;&#9;points=0&#13;&#10;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp1&quot;)~=nil then&#13;&#10;&#9;&#9;pp1=game.Workspace:findFirstChild(&quot;pp1&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp2&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;pp2=game.Workspace:findFirstChild(&quot;pp2&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp3&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;pp3=game.Workspace:findFirstChild(&quot;pp3&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp4&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;pp4=game.Workspace:findFirstChild(&quot;pp4&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp5&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;pp5=game.Workspace:findFirstChild(&quot;pp5&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp6&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp6=game.Workspace:findFirstChild(&quot;pp6&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp7&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp7=game.Workspace:findFirstChild(&quot;pp7&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp8&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp8=game.Workspace:findFirstChild(&quot;pp8&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp9&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp9=game.Workspace:findFirstChild(&quot;pp9&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if points&lt;1 then return end&#13;&#10;&#9;patrolling=true&#13;&#10;&#9;local time=2&#13;&#10;&#9;if points==1 then return end&#13;&#10;&#9;if points&gt;1 then&#13;&#10;&#9;&#9;while patrolling==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp1.Position, pp1)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp2.Position, pp2)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;if points&gt;2 then&#13;&#10;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp3.Position, pp3)&#13;&#10;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;if points&gt;3 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp4.Position, pp4)&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;if points&gt;4 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp5.Position, pp5)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;5 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp6.Position, pp6)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;6 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp7.Position, pp7)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp8.Position, pp8)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp9.Position, pp9)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function goto(pos,part)&#13;&#10;while true do&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function slash()&#13;&#10;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;wait(.3)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -2.14&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;&#9;wait(.2)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function defence()&#13;&#10;&#9;proxkill=true&#13;&#10;&#9;while proxkill==true do&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local p=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if p~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local p=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;dist and d&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local ex=Instance.new(&quot;Explosion&quot;)&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Position=p&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Parent=game.Workspace&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#9;&#9;&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;wait(1)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(onJumping)&#13;&#10;Humanoid.Climbing:connect(onClimbing)&#13;&#10;Humanoid.GettingUp:connect(onGettingUp)&#13;&#10;Humanoid.FreeFalling:connect(onFreeFall)&#13;&#10;Humanoid.FallingDown:connect(onFallingDown)&#13;&#10;Humanoid.Seated:connect(onSeated)&#13;&#10;&#13;&#10;&#13;&#10;--[[&#13;&#10;&#13;&#10;function newSound(id)&#13;&#10;&#9;local sound = Instance.new(&quot;Sound&quot;)&#13;&#10;&#9;sound.SoundId = id&#13;&#10;&#9;sound.Parent = script.Parent.Head&#13;&#10;&#9;return sound&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;local sDied = newSound(&quot;rbxasset://sounds/uuhhh.wav&quot;)&#13;&#10;local sFallingDown = newSound(&quot;rbxasset://sounds/splat.wav&quot;)&#13;&#10;local sFreeFalling = newSound(&quot;rbxasset://sounds/swoosh.wav&quot;)&#13;&#10;local sGettingUp = newSound(&quot;rbxasset://sounds/hit.wav&quot;)&#13;&#10;local sJumping = newSound(&quot;rbxasset://sounds/button.wav&quot;)&#13;&#10;local sRunning = newSound(&quot;rbxasset://sounds/bfsl-minifigfoots1.mp3&quot;)&#13;&#10;sRunning.Looped = true&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;sDied:play()&#13;&#10;end&#13;&#10;&#13;&#10;function onState(state, sound)&#13;&#10;&#9;if state then&#13;&#10;&#9;&#9;sound:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sound:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;sRunning:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sRunning:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(function(state) onState(state, sJumping) end)&#13;&#10;Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end)&#13;&#10;Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end)&#13;&#10;Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end)&#13;&#10;--]]&#13;&#10;&#13;&#10;local nextTime = 0&#13;&#10;local runService = game:service(&quot;RunService&quot;);&#13;&#10;&#13;&#10;while Figure.Parent~=nil do&#13;&#10;&#9;time = runService.Stepped:wait()&#13;&#10;&#9;if time &gt; nextTime then&#13;&#10;&#9;&#9;move(time)&#13;&#10;&#9;&#9;nextTime = time + 0.1&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX385">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Follow</string>
					<string name="Source">local larm = script.Parent:FindFirstChild(&quot;Left Arm&quot;)&#13;&#10;local rarm = script.Parent:FindFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;function findNearestTorso(pos)&#13;&#10;&#9;local list = game.Workspace:children()&#13;&#10;&#9;local torso = nil&#13;&#10;&#9;local dist = 25&#13;&#10;&#9;local temp = nil&#13;&#10;&#9;local human = nil&#13;&#10;&#9;local temp2 = nil&#13;&#10;&#9;for x = 1, #list do&#13;&#10;&#9;&#9;temp2 = list[x]&#13;&#10;&#9;&#9;if (temp2.className == &quot;Model&quot;) and (temp2 ~= script.Parent) then&#13;&#10;&#9;&#9;&#9;temp = temp2:findFirstChild(&quot;Torso&quot;)&#13;&#10;&#9;&#9;&#9;human = temp2:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;&#9;&#9;if (temp ~= nil) and (human ~= nil) and (human.Health &gt; 0) then&#13;&#10;&#9;&#9;&#9;&#9;if (temp.Position - pos).magnitude &lt; dist then&#13;&#10;&#9;&#9;&#9;&#9;&#9;torso = temp&#13;&#10;&#9;&#9;&#9;&#9;&#9;dist = (temp.Position - pos).magnitude&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return torso&#13;&#10;end&#13;&#10;&#13;&#10;while true do&#13;&#10;&#9;wait(0.1)&#13;&#10;&#9;local target = findNearestTorso(script.Parent.Torso.Position)&#13;&#10;&#9;if target ~= nil then&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#9;end&#13;&#10;end</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Model" referent="RBX386">
			<Properties>
				<token name="Controller">7</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">Warrior</string>
				<Ref name="PrimaryPart">RBX387</Ref>
				<bool name="archivable">true</bool>
			</Properties>
			<Item class="Humanoid" referent="RBX388">
				<Properties>
					<float name="Health">0</float>
					<bool name="Jump">false</bool>
					<float name="MaxHealth">100</float>
					<string name="Name">Humanoid</string>
					<bool name="Sit">false</bool>
					<Vector3 name="TargetPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<Vector3 name="WalkDirection">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<float name="WalkRotationalVelocity">0</float>
					<Ref name="WalkToPart">null</Ref>
					<Vector3 name="WalkToPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX389">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Health</string>
					<string name="Source">function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;-- declarations&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;Humanoid.Health=500&#13;&#10;-- regeneration&#13;&#10;while true do&#13;&#10;&#9;local s = wait(4)&#13;&#10;&#9;local health = Humanoid.Health&#13;&#10;&#9;if health &gt; 0 and health &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;health = health + 0.08 * s * Humanoid.MaxHealth&#13;&#10;&#9;&#9;if health * 1.05 &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;&#9;Humanoid.Health = health&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;Humanoid.Health = Humanoid.MaxHealth&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="BodyColors" referent="RBX390">
				<Properties>
					<int name="HeadColor">24</int>
					<int name="LeftArmColor">28</int>
					<int name="LeftLegColor">28</int>
					<string name="Name">Body Colors</string>
					<int name="RightArmColor">28</int>
					<int name="RightLegColor">28</int>
					<int name="TorsoColor">28</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="IntValue" referent="RBX391">
				<Properties>
					<string name="Name">Value</string>
					<int name="Value">0</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Part" referent="RBX387">
				<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">4</token>
					<token name="BottomSurfaceInput">0</token>
					<int name="BrickColor">141</int>
					<CoordinateFrame name="CFrame">
						<X>131.333466</X>
						<Y>0.890027642</Y>
						<Z>157.586212</Z>
						<R00>-0.207584143</R00>
						<R01>-0.978217244</R01>
						<R02>1.73520152e-006</R02>
						<R10>-1.34804452e-006</R10>
						<R11>2.01482021e-006</R11>
						<R12>1</R12>
						<R20>-0.978217244</R20>
						<R21>0.207584098</R21>
						<R22>-1.78878008e-006</R22>
					</CoordinateFrame>
					<bool name="CanCollide">true</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">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">Right Arm</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>1</X>
						<Y>2</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
				<Item class="Script" referent="RBX392">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">DoorScript2</string>
						<string name="Source">print(&quot;Omg a team door! Goodbye spawnkilling!&quot;) -- {made by:yourit12 modeled by:NintendoZACHERY}&#13;&#10;&#13;&#10;Door = script.Parent &#13;&#10;------------------------------------&#13;&#10;modelname=&quot;Admins&quot; -- Put the EXACT name of the team here&#13;&#10;------------------------------------&#13;&#10; &#13;&#10;function onTouched(hit) &#13;&#10;        print(&quot;Door Hit&quot;) &#13;&#10;        local human = hit.Parent:FindFirstChild(&quot;Humanoid&quot;) &#13;&#10;        if (human ~= nil ) then&#13;&#10;                if game.Players:playerFromCharacter(hit.Parent).TeamColor==game.Teams:findFirstChild(modelname).TeamColor then&#13;&#10;                        Door.CanCollide = false &#13;&#10;                        Door.Transparency = 0&#13;&#10;                        wait(1) &#13;&#10;                        Door.CanCollide = true &#13;&#10;                        Door.Transparency = 0 &#13;&#10;                        print(&quot;Human touched door&quot;) &#13;&#10;                else&#13;&#10;                        human.Health = 0&#13;&#10;                end&#13;&#10; &#13;&#10;        end &#13;&#10;end &#13;&#10; &#13;&#10;connection = Door.Touched:connect(onTouched)</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Script" referent="RBX393">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">Script</string>
						<string name="Source">function onTouched(hit)&#13;&#10;if hit.Name ~= &quot;tray&quot; then hit:remove() end&#13;&#10;end&#13;&#10;&#13;&#10;connection = script.Parent.Touched:connect(onTouched)&#13;&#10;</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Script" referent="RBX394">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">Script</string>
						<string name="Source">&#13;&#10;function onTouched(hit)&#13;&#10;&#9;local human = hit.Parent:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;if (human ~= nil) then&#13;&#10;&#9;&#9;human.Health = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if (script.Parent ~= nil) and (script.Parent.className == &quot;Part&quot;) then --Work if in a block&#13;&#10;&#9;connection = script.Parent.Touched:connect(onTouched)&#13;&#10;end&#13;&#10;</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
			</Item>
			<Item class="Script" referent="RBX395">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Robot</string>
					<string name="Source">------------------&#13;&#10;--SPAWNING--&#13;&#10;------------------&#13;&#10;&#13;&#10;miked=script.Parent&#13;&#10;&#13;&#10;itlh=miked.Torso:findFirstChild(&quot;Left Hip&quot;)&#13;&#10;itlh.Part0=miked.Torso&#13;&#10;itlh.Part1=miked:findFirstChild(&quot;Left Leg&quot;)&#13;&#10;itlh.C0=CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;&#13;&#10;itrh=miked.Torso:findFirstChild(&quot;Right Hip&quot;)&#13;&#10;itrh.Part0=miked.Torso&#13;&#10;itrh.Part1=miked:findFirstChild(&quot;Right Leg&quot;)&#13;&#10;itrh.C0=CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;&#13;&#10;itls=miked.Torso:findFirstChild(&quot;Left Shoulder&quot;)&#13;&#10;itls.Part1=miked.Torso&#13;&#10;itls.C0=CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;itls.Part0=miked:findFirstChild(&quot;Left Arm&quot;)&#13;&#10;&#13;&#10;itrs=miked.Torso:findFirstChild(&quot;Right Shoulder&quot;)&#13;&#10;itrs.Part1=miked.Torso&#13;&#10;itrs.C0=CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;itrs.Part0=miked:findFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;miked.Head:makeJoints()&#13;&#10;------------------&#13;&#10;------------------&#13;&#10;&#13;&#10;&#13;&#10;function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Torso = waitForChild(Figure, &quot;Torso&quot;)&#13;&#10;local RightShoulder = waitForChild(Torso, &quot;Right Shoulder&quot;)&#13;&#10;local LeftShoulder = waitForChild(Torso, &quot;Left Shoulder&quot;)&#13;&#10;local RightHip = waitForChild(Torso, &quot;Right Hip&quot;)&#13;&#10;local LeftHip = waitForChild(Torso, &quot;Left Hip&quot;)&#13;&#10;local Neck = waitForChild(Torso, &quot;Neck&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;local pose = &quot;Standing&quot;&#13;&#10;&#13;&#10;local toolAnim = &quot;None&quot;&#13;&#10;local toolAnimTime = 0&#13;&#10;&#13;&#10;local isSeated = false&#13;&#10;&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if isSeated then return end&#13;&#10;&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;pose = &quot;Running&quot;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;pose = &quot;Standing&quot;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;pose = &quot;Dead&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onJumping()&#13;&#10;&#9;isSeated = false&#13;&#10;&#9;pose = &quot;Jumping&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onClimbing()&#13;&#10;&#9;pose = &quot;Climbing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onGettingUp()&#13;&#10;&#9;pose = &quot;GettingUp&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFreeFall()&#13;&#10;&#9;pose = &quot;FreeFall&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onDancing()&#13;&#10;&#9;pose = &quot;Dancing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFallingDown()&#13;&#10;&#9;pose = &quot;FallingDown&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onSeated()&#13;&#10;&#9;isSeated = true&#13;&#10;&#9;pose = &quot;Seated&quot;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function moveJump()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFreeFall()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1&#13;&#10;&#9;LeftShoulder.DesiredAngle = -1&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFloat()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = -1.57&#13;&#10;end&#13;&#10;&#13;&#10;function moveBoogy()&#13;&#10;while pose==&quot;Boogy&quot; do&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 1.57&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;function moveZombie()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function movePunch()&#13;&#10;&#9;script.Parent.Torso.Anchored=true&#13;&#10;&#9;RightShoulder.MaxVelocity = 60&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;script.Parent.Torso.Anchored=false&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveKick()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveFly()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function moveClimb()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveSit()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;RightHip.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftHip.DesiredAngle = -3.14 /2&#13;&#10;end&#13;&#10;&#13;&#10;function getTool()&#13;&#10;&#9;&#13;&#10;&#9;kidTable = Figure:children()&#13;&#10;&#9;if (kidTable ~= nil) then&#13;&#10;&#9;&#9;numKids = #kidTable&#13;&#10;&#9;&#9;for i=1,numKids do&#13;&#10;&#9;&#9;&#9;if (kidTable[i].className == &quot;Tool&quot;) then return kidTable[i] end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;c = tool:children()&#13;&#10;&#9;for i=1,#c do&#13;&#10;&#9;&#9;if (c[i].Name == &quot;toolanim&quot; and c[i].className == &quot;StringValue&quot;) then&#13;&#10;&#9;&#9;&#9;return c[i]&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function animateTool()&#13;&#10;&#9;&#13;&#10;&#9;if (toolAnim == &quot;None&quot;) then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Slash&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Lunge&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 1.0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 1.0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function move(time)&#13;&#10;&#9;local amplitude&#13;&#10;&#9;local frequency&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Jumping&quot;) then&#13;&#10;&#9;&#9;moveJump()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Zombie&quot;) then&#13;&#10;&#9;&#9;moveZombie()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Boogy&quot;) then&#13;&#10;&#9;&#9;moveBoogy()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Float&quot;) then&#13;&#10;&#9;&#9;moveFloat()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Punch&quot;) then&#13;&#10;&#9;&#9;movePunch()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Kick&quot;) then&#13;&#10;&#9;&#9;moveKick()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Fly&quot;) then&#13;&#10;&#9;&#9;moveFly()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;FreeFall&quot;) then&#13;&#10;&#9;&#9;moveFreeFall()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Climbing&quot;) then&#13;&#10;&#9;&#9;moveClimb()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Seated&quot;) then&#13;&#10;&#9;&#9;moveSit()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;amplitude = 0.1&#13;&#10;&#9;&#9;frequency = 1&#13;&#10;&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;if (pose == &quot;Running&quot;) then&#13;&#10;&#9;&#9;amplitude = 1&#13;&#10;&#9;&#9;frequency = 9&#13;&#10;&#9;elseif (pose == &quot;Dancing&quot;) then&#13;&#10;&#9;&#9;amplitude = 2&#13;&#10;&#9;&#9;frequency = 16&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#13;&#10;&#9;desiredAngle = amplitude * math.sin(time*frequency)&#13;&#10;&#9;if pose~=&quot;Dancing&quot; then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;else&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;end&#13;&#10;&#9;&#9;&#13;&#10;&#13;&#10;&#13;&#10;&#9;local tool = getTool()&#13;&#10;&#13;&#10;&#9;if tool ~= nil then&#13;&#10;&#9;&#13;&#10;&#9;&#9;animStringValueObject = getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;&#9;if animStringValueObject ~= nil then&#13;&#10;&#9;&#9;&#9;toolAnim = animStringValueObject.Value&#13;&#10;&#9;&#9;&#9;-- message recieved, delete StringValue&#13;&#10;&#9;&#9;&#9;animStringValueObject.Parent = nil&#13;&#10;&#9;&#9;&#9;toolAnimTime = time + .3&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if time &gt; toolAnimTime then&#13;&#10;&#9;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;animateTool()&#13;&#10;&#13;&#10;&#9;&#9;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;-- connect events&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;function unequip()&#13;&#10;&#9;local items=script.Parent:children()&#13;&#10;&#9;for i=1, #items do&#13;&#10;&#9;&#9;if items[i].className==&quot;Tool&quot; then items[i]:remove() end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onChatted(msg, recipient) &#13;&#10;&#9;msg = string.lower(msg)&#13;&#10;&#13;&#10;&#9;if string.match(msg, string.lower(script.Parent.Name))~=nil or string.match(msg, &quot;everyone&quot;) then&#13;&#10;&#9;&#9;if string.match(msg, &quot;equip&quot;) then &#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;Hub&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;if string.match(msg, &quot;rocket&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Rocket:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;slingshot&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Slingshot:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;sword&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Sword:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;pbg&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.PBG:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;superball&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Superball:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;trowel&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Trowel:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;bomb&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Bomb:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;unequip&quot;) then unequip() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;run&quot;) then onRunning(1) end&#13;&#10;&#9;&#9;if string.match(msg, &quot;climb&quot;) then onClimbing() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;jump&quot;) then onJumping() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;zombie&quot;) then pose=&quot;Zombie&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;disco&quot;) then pose=&quot;Boogy&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;float&quot;) then pose=&quot;Float&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;punch&quot;) then pose=&quot;Punch&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kick&quot;) then pose=&quot;Kick&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;fly&quot;) then pose=&quot;Fly&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;heal&quot;) then script.Parent.Humanoid.Health=script.Parent.Humanoid.MaxHealth end&#13;&#10;&#9;&#9;if string.match(msg, &quot;defend&quot;) then defence() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;stop&quot;) then pose=&quot;Standing&quot;; proxkill=false; following=false; stopmoving() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;go home&quot;) then following=false; gohome() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;follow&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;followany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;follow(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kill&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;attackany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;attack(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if game.Players.NumPlayers&gt;1 then&#13;&#10;&#9;x=game.Players:children()&#13;&#10;&#9;&#13;&#10;&#9;for i=1, #x do&#13;&#10;&#9;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function onPlayerEntered(Player) &#13;&#10;&#9;while Player.Name==nil do&#13;&#10;&#9;&#9;wait(2)&#13;&#10;&#9;end&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;end&#13;&#10;&#9;else&#13;&#10;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;game.Players.ChildAdded:connect(onPlayerEntered) &#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;dist=20&#13;&#10;&#13;&#10;function followany()&#13;&#10;following=true&#13;&#10;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 6 do&#13;&#10;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then stopmoving() else&#9;wait(0.5) end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function gohome()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(Vector3.new(0,0,0), game.Workspace.Bases.Base)&#13;&#10;end&#13;&#10;function stopmoving()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(script.Parent.Torso.Position, script.Parent.Torso)&#13;&#10;end&#13;&#10;&#13;&#10;function follow(name)&#13;&#10;&#9;following=true&#13;&#10;&#13;&#10;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;if p==nil then return end&#13;&#10;&#9;while following==true do&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attack(name)&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#9;&#9;following=true&#13;&#10;&#9;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;&#9;if p==nil then return end&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#9;local l=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((l.x-q.x)^2)+((l.y-q.y)^2)+((l.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;if (q.y-l.y)&gt;3 and (q.y-l.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attackany()&#13;&#10;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#13;&#10;&#9;following=true&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;slash()&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;if target.Parent==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then &#13;&#10;&#9;&#9;&#9;&#9;&#9;stopmoving() &#13;&#10;&#9;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=target.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if (q.y-p.y)&gt;3 and (q.y-p.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function patrol()&#13;&#10;&#9;if points==nil then&#13;&#10;&#9;&#9;points=0&#13;&#10;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp1&quot;)~=nil then&#13;&#10;&#9;&#9;pp1=game.Workspace:findFirstChild(&quot;pp1&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp2&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;pp2=game.Workspace:findFirstChild(&quot;pp2&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp3&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;pp3=game.Workspace:findFirstChild(&quot;pp3&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp4&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;pp4=game.Workspace:findFirstChild(&quot;pp4&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp5&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;pp5=game.Workspace:findFirstChild(&quot;pp5&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp6&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp6=game.Workspace:findFirstChild(&quot;pp6&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp7&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp7=game.Workspace:findFirstChild(&quot;pp7&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp8&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp8=game.Workspace:findFirstChild(&quot;pp8&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp9&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp9=game.Workspace:findFirstChild(&quot;pp9&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if points&lt;1 then return end&#13;&#10;&#9;patrolling=true&#13;&#10;&#9;local time=2&#13;&#10;&#9;if points==1 then return end&#13;&#10;&#9;if points&gt;1 then&#13;&#10;&#9;&#9;while patrolling==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp1.Position, pp1)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp2.Position, pp2)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;if points&gt;2 then&#13;&#10;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp3.Position, pp3)&#13;&#10;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;if points&gt;3 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp4.Position, pp4)&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;if points&gt;4 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp5.Position, pp5)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;5 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp6.Position, pp6)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;6 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp7.Position, pp7)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp8.Position, pp8)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp9.Position, pp9)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function goto(pos,part)&#13;&#10;while true do&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function slash()&#13;&#10;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;wait(.3)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -2.14&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;&#9;wait(.2)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function defence()&#13;&#10;&#9;proxkill=true&#13;&#10;&#9;while proxkill==true do&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local p=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if p~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local p=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;dist and d&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local ex=Instance.new(&quot;Explosion&quot;)&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Position=p&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Parent=game.Workspace&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#9;&#9;&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;wait(1)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(onJumping)&#13;&#10;Humanoid.Climbing:connect(onClimbing)&#13;&#10;Humanoid.GettingUp:connect(onGettingUp)&#13;&#10;Humanoid.FreeFalling:connect(onFreeFall)&#13;&#10;Humanoid.FallingDown:connect(onFallingDown)&#13;&#10;Humanoid.Seated:connect(onSeated)&#13;&#10;&#13;&#10;&#13;&#10;--[[&#13;&#10;&#13;&#10;function newSound(id)&#13;&#10;&#9;local sound = Instance.new(&quot;Sound&quot;)&#13;&#10;&#9;sound.SoundId = id&#13;&#10;&#9;sound.Parent = script.Parent.Head&#13;&#10;&#9;return sound&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;local sDied = newSound(&quot;rbxasset://sounds/uuhhh.wav&quot;)&#13;&#10;local sFallingDown = newSound(&quot;rbxasset://sounds/splat.wav&quot;)&#13;&#10;local sFreeFalling = newSound(&quot;rbxasset://sounds/swoosh.wav&quot;)&#13;&#10;local sGettingUp = newSound(&quot;rbxasset://sounds/hit.wav&quot;)&#13;&#10;local sJumping = newSound(&quot;rbxasset://sounds/button.wav&quot;)&#13;&#10;local sRunning = newSound(&quot;rbxasset://sounds/bfsl-minifigfoots1.mp3&quot;)&#13;&#10;sRunning.Looped = true&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;sDied:play()&#13;&#10;end&#13;&#10;&#13;&#10;function onState(state, sound)&#13;&#10;&#9;if state then&#13;&#10;&#9;&#9;sound:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sound:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;sRunning:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sRunning:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(function(state) onState(state, sJumping) end)&#13;&#10;Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end)&#13;&#10;Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end)&#13;&#10;Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end)&#13;&#10;--]]&#13;&#10;&#13;&#10;local nextTime = 0&#13;&#10;local runService = game:service(&quot;RunService&quot;);&#13;&#10;&#13;&#10;while Figure.Parent~=nil do&#13;&#10;&#9;time = runService.Stepped:wait()&#13;&#10;&#9;if time &gt; nextTime then&#13;&#10;&#9;&#9;move(time)&#13;&#10;&#9;&#9;nextTime = time + 0.1&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX396">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Follow</string>
					<string name="Source">local larm = script.Parent:FindFirstChild(&quot;Left Arm&quot;)&#13;&#10;local rarm = script.Parent:FindFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;function findNearestTorso(pos)&#13;&#10;&#9;local list = game.Workspace:children()&#13;&#10;&#9;local torso = nil&#13;&#10;&#9;local dist = 25&#13;&#10;&#9;local temp = nil&#13;&#10;&#9;local human = nil&#13;&#10;&#9;local temp2 = nil&#13;&#10;&#9;for x = 1, #list do&#13;&#10;&#9;&#9;temp2 = list[x]&#13;&#10;&#9;&#9;if (temp2.className == &quot;Model&quot;) and (temp2 ~= script.Parent) then&#13;&#10;&#9;&#9;&#9;temp = temp2:findFirstChild(&quot;Torso&quot;)&#13;&#10;&#9;&#9;&#9;human = temp2:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;&#9;&#9;if (temp ~= nil) and (human ~= nil) and (human.Health &gt; 0) then&#13;&#10;&#9;&#9;&#9;&#9;if (temp.Position - pos).magnitude &lt; dist then&#13;&#10;&#9;&#9;&#9;&#9;&#9;torso = temp&#13;&#10;&#9;&#9;&#9;&#9;&#9;dist = (temp.Position - pos).magnitude&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return torso&#13;&#10;end&#13;&#10;&#13;&#10;while true do&#13;&#10;&#9;wait(0.1)&#13;&#10;&#9;local target = findNearestTorso(script.Parent.Torso.Position)&#13;&#10;&#9;if target ~= nil then&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#9;end&#13;&#10;end</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Model" referent="RBX397">
			<Properties>
				<token name="Controller">7</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">Warrior</string>
				<Ref name="PrimaryPart">null</Ref>
				<bool name="archivable">true</bool>
			</Properties>
			<Item class="Humanoid" referent="RBX398">
				<Properties>
					<float name="Health">0</float>
					<bool name="Jump">false</bool>
					<float name="MaxHealth">100</float>
					<string name="Name">Humanoid</string>
					<bool name="Sit">false</bool>
					<Vector3 name="TargetPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<Vector3 name="WalkDirection">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<float name="WalkRotationalVelocity">0</float>
					<Ref name="WalkToPart">null</Ref>
					<Vector3 name="WalkToPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX399">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Health</string>
					<string name="Source">function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;-- declarations&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;Humanoid.Health=500&#13;&#10;-- regeneration&#13;&#10;while true do&#13;&#10;&#9;local s = wait(4)&#13;&#10;&#9;local health = Humanoid.Health&#13;&#10;&#9;if health &gt; 0 and health &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;health = health + 0.08 * s * Humanoid.MaxHealth&#13;&#10;&#9;&#9;if health * 1.05 &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;&#9;Humanoid.Health = health&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;Humanoid.Health = Humanoid.MaxHealth&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="BodyColors" referent="RBX400">
				<Properties>
					<int name="HeadColor">24</int>
					<int name="LeftArmColor">28</int>
					<int name="LeftLegColor">28</int>
					<string name="Name">Body Colors</string>
					<int name="RightArmColor">28</int>
					<int name="RightLegColor">28</int>
					<int name="TorsoColor">28</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="IntValue" referent="RBX401">
				<Properties>
					<string name="Name">Value</string>
					<int name="Value">0</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX402">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Robot</string>
					<string name="Source">------------------&#13;&#10;--SPAWNING--&#13;&#10;------------------&#13;&#10;&#13;&#10;miked=script.Parent&#13;&#10;&#13;&#10;itlh=miked.Torso:findFirstChild(&quot;Left Hip&quot;)&#13;&#10;itlh.Part0=miked.Torso&#13;&#10;itlh.Part1=miked:findFirstChild(&quot;Left Leg&quot;)&#13;&#10;itlh.C0=CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;&#13;&#10;itrh=miked.Torso:findFirstChild(&quot;Right Hip&quot;)&#13;&#10;itrh.Part0=miked.Torso&#13;&#10;itrh.Part1=miked:findFirstChild(&quot;Right Leg&quot;)&#13;&#10;itrh.C0=CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;&#13;&#10;itls=miked.Torso:findFirstChild(&quot;Left Shoulder&quot;)&#13;&#10;itls.Part1=miked.Torso&#13;&#10;itls.C0=CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;itls.Part0=miked:findFirstChild(&quot;Left Arm&quot;)&#13;&#10;&#13;&#10;itrs=miked.Torso:findFirstChild(&quot;Right Shoulder&quot;)&#13;&#10;itrs.Part1=miked.Torso&#13;&#10;itrs.C0=CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;itrs.Part0=miked:findFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;miked.Head:makeJoints()&#13;&#10;------------------&#13;&#10;------------------&#13;&#10;&#13;&#10;&#13;&#10;function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Torso = waitForChild(Figure, &quot;Torso&quot;)&#13;&#10;local RightShoulder = waitForChild(Torso, &quot;Right Shoulder&quot;)&#13;&#10;local LeftShoulder = waitForChild(Torso, &quot;Left Shoulder&quot;)&#13;&#10;local RightHip = waitForChild(Torso, &quot;Right Hip&quot;)&#13;&#10;local LeftHip = waitForChild(Torso, &quot;Left Hip&quot;)&#13;&#10;local Neck = waitForChild(Torso, &quot;Neck&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;local pose = &quot;Standing&quot;&#13;&#10;&#13;&#10;local toolAnim = &quot;None&quot;&#13;&#10;local toolAnimTime = 0&#13;&#10;&#13;&#10;local isSeated = false&#13;&#10;&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if isSeated then return end&#13;&#10;&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;pose = &quot;Running&quot;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;pose = &quot;Standing&quot;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;pose = &quot;Dead&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onJumping()&#13;&#10;&#9;isSeated = false&#13;&#10;&#9;pose = &quot;Jumping&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onClimbing()&#13;&#10;&#9;pose = &quot;Climbing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onGettingUp()&#13;&#10;&#9;pose = &quot;GettingUp&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFreeFall()&#13;&#10;&#9;pose = &quot;FreeFall&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onDancing()&#13;&#10;&#9;pose = &quot;Dancing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFallingDown()&#13;&#10;&#9;pose = &quot;FallingDown&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onSeated()&#13;&#10;&#9;isSeated = true&#13;&#10;&#9;pose = &quot;Seated&quot;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function moveJump()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFreeFall()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1&#13;&#10;&#9;LeftShoulder.DesiredAngle = -1&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFloat()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = -1.57&#13;&#10;end&#13;&#10;&#13;&#10;function moveBoogy()&#13;&#10;while pose==&quot;Boogy&quot; do&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 1.57&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;function moveZombie()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function movePunch()&#13;&#10;&#9;script.Parent.Torso.Anchored=true&#13;&#10;&#9;RightShoulder.MaxVelocity = 60&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;script.Parent.Torso.Anchored=false&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveKick()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveFly()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function moveClimb()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveSit()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;RightHip.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftHip.DesiredAngle = -3.14 /2&#13;&#10;end&#13;&#10;&#13;&#10;function getTool()&#13;&#10;&#9;&#13;&#10;&#9;kidTable = Figure:children()&#13;&#10;&#9;if (kidTable ~= nil) then&#13;&#10;&#9;&#9;numKids = #kidTable&#13;&#10;&#9;&#9;for i=1,numKids do&#13;&#10;&#9;&#9;&#9;if (kidTable[i].className == &quot;Tool&quot;) then return kidTable[i] end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;c = tool:children()&#13;&#10;&#9;for i=1,#c do&#13;&#10;&#9;&#9;if (c[i].Name == &quot;toolanim&quot; and c[i].className == &quot;StringValue&quot;) then&#13;&#10;&#9;&#9;&#9;return c[i]&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function animateTool()&#13;&#10;&#9;&#13;&#10;&#9;if (toolAnim == &quot;None&quot;) then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Slash&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Lunge&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 1.0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 1.0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function move(time)&#13;&#10;&#9;local amplitude&#13;&#10;&#9;local frequency&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Jumping&quot;) then&#13;&#10;&#9;&#9;moveJump()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Zombie&quot;) then&#13;&#10;&#9;&#9;moveZombie()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Boogy&quot;) then&#13;&#10;&#9;&#9;moveBoogy()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Float&quot;) then&#13;&#10;&#9;&#9;moveFloat()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Punch&quot;) then&#13;&#10;&#9;&#9;movePunch()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Kick&quot;) then&#13;&#10;&#9;&#9;moveKick()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Fly&quot;) then&#13;&#10;&#9;&#9;moveFly()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;FreeFall&quot;) then&#13;&#10;&#9;&#9;moveFreeFall()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Climbing&quot;) then&#13;&#10;&#9;&#9;moveClimb()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Seated&quot;) then&#13;&#10;&#9;&#9;moveSit()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;amplitude = 0.1&#13;&#10;&#9;&#9;frequency = 1&#13;&#10;&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;if (pose == &quot;Running&quot;) then&#13;&#10;&#9;&#9;amplitude = 1&#13;&#10;&#9;&#9;frequency = 9&#13;&#10;&#9;elseif (pose == &quot;Dancing&quot;) then&#13;&#10;&#9;&#9;amplitude = 2&#13;&#10;&#9;&#9;frequency = 16&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#13;&#10;&#9;desiredAngle = amplitude * math.sin(time*frequency)&#13;&#10;&#9;if pose~=&quot;Dancing&quot; then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;else&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;end&#13;&#10;&#9;&#9;&#13;&#10;&#13;&#10;&#13;&#10;&#9;local tool = getTool()&#13;&#10;&#13;&#10;&#9;if tool ~= nil then&#13;&#10;&#9;&#13;&#10;&#9;&#9;animStringValueObject = getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;&#9;if animStringValueObject ~= nil then&#13;&#10;&#9;&#9;&#9;toolAnim = animStringValueObject.Value&#13;&#10;&#9;&#9;&#9;-- message recieved, delete StringValue&#13;&#10;&#9;&#9;&#9;animStringValueObject.Parent = nil&#13;&#10;&#9;&#9;&#9;toolAnimTime = time + .3&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if time &gt; toolAnimTime then&#13;&#10;&#9;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;animateTool()&#13;&#10;&#13;&#10;&#9;&#9;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;-- connect events&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;function unequip()&#13;&#10;&#9;local items=script.Parent:children()&#13;&#10;&#9;for i=1, #items do&#13;&#10;&#9;&#9;if items[i].className==&quot;Tool&quot; then items[i]:remove() end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onChatted(msg, recipient) &#13;&#10;&#9;msg = string.lower(msg)&#13;&#10;&#13;&#10;&#9;if string.match(msg, string.lower(script.Parent.Name))~=nil or string.match(msg, &quot;everyone&quot;) then&#13;&#10;&#9;&#9;if string.match(msg, &quot;equip&quot;) then &#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;Hub&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;if string.match(msg, &quot;rocket&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Rocket:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;slingshot&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Slingshot:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;sword&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Sword:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;pbg&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.PBG:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;superball&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Superball:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;trowel&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Trowel:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;bomb&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Bomb:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;unequip&quot;) then unequip() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;run&quot;) then onRunning(1) end&#13;&#10;&#9;&#9;if string.match(msg, &quot;climb&quot;) then onClimbing() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;jump&quot;) then onJumping() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;zombie&quot;) then pose=&quot;Zombie&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;disco&quot;) then pose=&quot;Boogy&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;float&quot;) then pose=&quot;Float&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;punch&quot;) then pose=&quot;Punch&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kick&quot;) then pose=&quot;Kick&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;fly&quot;) then pose=&quot;Fly&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;heal&quot;) then script.Parent.Humanoid.Health=script.Parent.Humanoid.MaxHealth end&#13;&#10;&#9;&#9;if string.match(msg, &quot;defend&quot;) then defence() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;stop&quot;) then pose=&quot;Standing&quot;; proxkill=false; following=false; stopmoving() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;go home&quot;) then following=false; gohome() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;follow&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;followany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;follow(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kill&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;attackany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;attack(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if game.Players.NumPlayers&gt;1 then&#13;&#10;&#9;x=game.Players:children()&#13;&#10;&#9;&#13;&#10;&#9;for i=1, #x do&#13;&#10;&#9;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function onPlayerEntered(Player) &#13;&#10;&#9;while Player.Name==nil do&#13;&#10;&#9;&#9;wait(2)&#13;&#10;&#9;end&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;end&#13;&#10;&#9;else&#13;&#10;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;game.Players.ChildAdded:connect(onPlayerEntered) &#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;dist=20&#13;&#10;&#13;&#10;function followany()&#13;&#10;following=true&#13;&#10;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 6 do&#13;&#10;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then stopmoving() else&#9;wait(0.5) end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function gohome()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(Vector3.new(0,0,0), game.Workspace.Bases.Base)&#13;&#10;end&#13;&#10;function stopmoving()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(script.Parent.Torso.Position, script.Parent.Torso)&#13;&#10;end&#13;&#10;&#13;&#10;function follow(name)&#13;&#10;&#9;following=true&#13;&#10;&#13;&#10;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;if p==nil then return end&#13;&#10;&#9;while following==true do&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attack(name)&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#9;&#9;following=true&#13;&#10;&#9;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;&#9;if p==nil then return end&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#9;local l=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((l.x-q.x)^2)+((l.y-q.y)^2)+((l.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;if (q.y-l.y)&gt;3 and (q.y-l.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attackany()&#13;&#10;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#13;&#10;&#9;following=true&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;slash()&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;if target.Parent==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then &#13;&#10;&#9;&#9;&#9;&#9;&#9;stopmoving() &#13;&#10;&#9;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=target.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if (q.y-p.y)&gt;3 and (q.y-p.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function patrol()&#13;&#10;&#9;if points==nil then&#13;&#10;&#9;&#9;points=0&#13;&#10;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp1&quot;)~=nil then&#13;&#10;&#9;&#9;pp1=game.Workspace:findFirstChild(&quot;pp1&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp2&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;pp2=game.Workspace:findFirstChild(&quot;pp2&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp3&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;pp3=game.Workspace:findFirstChild(&quot;pp3&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp4&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;pp4=game.Workspace:findFirstChild(&quot;pp4&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp5&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;pp5=game.Workspace:findFirstChild(&quot;pp5&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp6&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp6=game.Workspace:findFirstChild(&quot;pp6&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp7&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp7=game.Workspace:findFirstChild(&quot;pp7&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp8&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp8=game.Workspace:findFirstChild(&quot;pp8&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp9&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp9=game.Workspace:findFirstChild(&quot;pp9&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if points&lt;1 then return end&#13;&#10;&#9;patrolling=true&#13;&#10;&#9;local time=2&#13;&#10;&#9;if points==1 then return end&#13;&#10;&#9;if points&gt;1 then&#13;&#10;&#9;&#9;while patrolling==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp1.Position, pp1)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp2.Position, pp2)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;if points&gt;2 then&#13;&#10;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp3.Position, pp3)&#13;&#10;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;if points&gt;3 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp4.Position, pp4)&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;if points&gt;4 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp5.Position, pp5)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;5 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp6.Position, pp6)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;6 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp7.Position, pp7)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp8.Position, pp8)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp9.Position, pp9)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function goto(pos,part)&#13;&#10;while true do&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function slash()&#13;&#10;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;wait(.3)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -2.14&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;&#9;wait(.2)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function defence()&#13;&#10;&#9;proxkill=true&#13;&#10;&#9;while proxkill==true do&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local p=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if p~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local p=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;dist and d&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local ex=Instance.new(&quot;Explosion&quot;)&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Position=p&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Parent=game.Workspace&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#9;&#9;&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;wait(1)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(onJumping)&#13;&#10;Humanoid.Climbing:connect(onClimbing)&#13;&#10;Humanoid.GettingUp:connect(onGettingUp)&#13;&#10;Humanoid.FreeFalling:connect(onFreeFall)&#13;&#10;Humanoid.FallingDown:connect(onFallingDown)&#13;&#10;Humanoid.Seated:connect(onSeated)&#13;&#10;&#13;&#10;&#13;&#10;--[[&#13;&#10;&#13;&#10;function newSound(id)&#13;&#10;&#9;local sound = Instance.new(&quot;Sound&quot;)&#13;&#10;&#9;sound.SoundId = id&#13;&#10;&#9;sound.Parent = script.Parent.Head&#13;&#10;&#9;return sound&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;local sDied = newSound(&quot;rbxasset://sounds/uuhhh.wav&quot;)&#13;&#10;local sFallingDown = newSound(&quot;rbxasset://sounds/splat.wav&quot;)&#13;&#10;local sFreeFalling = newSound(&quot;rbxasset://sounds/swoosh.wav&quot;)&#13;&#10;local sGettingUp = newSound(&quot;rbxasset://sounds/hit.wav&quot;)&#13;&#10;local sJumping = newSound(&quot;rbxasset://sounds/button.wav&quot;)&#13;&#10;local sRunning = newSound(&quot;rbxasset://sounds/bfsl-minifigfoots1.mp3&quot;)&#13;&#10;sRunning.Looped = true&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;sDied:play()&#13;&#10;end&#13;&#10;&#13;&#10;function onState(state, sound)&#13;&#10;&#9;if state then&#13;&#10;&#9;&#9;sound:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sound:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;sRunning:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sRunning:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(function(state) onState(state, sJumping) end)&#13;&#10;Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end)&#13;&#10;Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end)&#13;&#10;Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end)&#13;&#10;--]]&#13;&#10;&#13;&#10;local nextTime = 0&#13;&#10;local runService = game:service(&quot;RunService&quot;);&#13;&#10;&#13;&#10;while Figure.Parent~=nil do&#13;&#10;&#9;time = runService.Stepped:wait()&#13;&#10;&#9;if time &gt; nextTime then&#13;&#10;&#9;&#9;move(time)&#13;&#10;&#9;&#9;nextTime = time + 0.1&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX403">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Follow</string>
					<string name="Source">local larm = script.Parent:FindFirstChild(&quot;Left Arm&quot;)&#13;&#10;local rarm = script.Parent:FindFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;function findNearestTorso(pos)&#13;&#10;&#9;local list = game.Workspace:children()&#13;&#10;&#9;local torso = nil&#13;&#10;&#9;local dist = 25&#13;&#10;&#9;local temp = nil&#13;&#10;&#9;local human = nil&#13;&#10;&#9;local temp2 = nil&#13;&#10;&#9;for x = 1, #list do&#13;&#10;&#9;&#9;temp2 = list[x]&#13;&#10;&#9;&#9;if (temp2.className == &quot;Model&quot;) and (temp2 ~= script.Parent) then&#13;&#10;&#9;&#9;&#9;temp = temp2:findFirstChild(&quot;Torso&quot;)&#13;&#10;&#9;&#9;&#9;human = temp2:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;&#9;&#9;if (temp ~= nil) and (human ~= nil) and (human.Health &gt; 0) then&#13;&#10;&#9;&#9;&#9;&#9;if (temp.Position - pos).magnitude &lt; dist then&#13;&#10;&#9;&#9;&#9;&#9;&#9;torso = temp&#13;&#10;&#9;&#9;&#9;&#9;&#9;dist = (temp.Position - pos).magnitude&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return torso&#13;&#10;end&#13;&#10;&#13;&#10;while true do&#13;&#10;&#9;wait(0.1)&#13;&#10;&#9;local target = findNearestTorso(script.Parent.Torso.Position)&#13;&#10;&#9;if target ~= nil then&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#9;end&#13;&#10;end</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Model" referent="RBX404">
			<Properties>
				<token name="Controller">7</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">Warrior</string>
				<Ref name="PrimaryPart">RBX405</Ref>
				<bool name="archivable">true</bool>
			</Properties>
			<Item class="Humanoid" referent="RBX406">
				<Properties>
					<float name="Health">0</float>
					<bool name="Jump">false</bool>
					<float name="MaxHealth">100</float>
					<string name="Name">Humanoid</string>
					<bool name="Sit">false</bool>
					<Vector3 name="TargetPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<Vector3 name="WalkDirection">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<float name="WalkRotationalVelocity">0</float>
					<Ref name="WalkToPart">null</Ref>
					<Vector3 name="WalkToPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX407">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Health</string>
					<string name="Source">function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;-- declarations&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;Humanoid.Health=500&#13;&#10;-- regeneration&#13;&#10;while true do&#13;&#10;&#9;local s = wait(4)&#13;&#10;&#9;local health = Humanoid.Health&#13;&#10;&#9;if health &gt; 0 and health &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;health = health + 0.08 * s * Humanoid.MaxHealth&#13;&#10;&#9;&#9;if health * 1.05 &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;&#9;Humanoid.Health = health&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;Humanoid.Health = Humanoid.MaxHealth&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="BodyColors" referent="RBX408">
				<Properties>
					<int name="HeadColor">24</int>
					<int name="LeftArmColor">28</int>
					<int name="LeftLegColor">28</int>
					<string name="Name">Body Colors</string>
					<int name="RightArmColor">28</int>
					<int name="RightLegColor">28</int>
					<int name="TorsoColor">28</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="IntValue" referent="RBX409">
				<Properties>
					<string name="Name">Value</string>
					<int name="Value">0</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Part" referent="RBX405">
				<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">4</token>
					<token name="BottomSurfaceInput">0</token>
					<int name="BrickColor">141</int>
					<CoordinateFrame name="CFrame">
						<X>146.35141</X>
						<Y>0.890020907</Y>
						<Z>175.26889</Z>
						<R00>-1.47660548e-005</R00>
						<R01>0.469735742</R01>
						<R02>-0.882807076</R02>
						<R10>-1</R10>
						<R11>9.6847707e-006</R11>
						<R12>2.18910081e-005</R12>
						<R20>1.88582762e-005</R20>
						<R21>0.882807076</R21>
						<R22>0.469735771</R22>
					</CoordinateFrame>
					<bool name="CanCollide">true</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">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">Right Arm</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>1</X>
						<Y>2</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
				<Item class="Script" referent="RBX410">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">DoorScript2</string>
						<string name="Source">print(&quot;Omg a team door! Goodbye spawnkilling!&quot;) -- {made by:yourit12 modeled by:NintendoZACHERY}&#13;&#10;&#13;&#10;Door = script.Parent &#13;&#10;------------------------------------&#13;&#10;modelname=&quot;Admins&quot; -- Put the EXACT name of the team here&#13;&#10;------------------------------------&#13;&#10; &#13;&#10;function onTouched(hit) &#13;&#10;        print(&quot;Door Hit&quot;) &#13;&#10;        local human = hit.Parent:FindFirstChild(&quot;Humanoid&quot;) &#13;&#10;        if (human ~= nil ) then&#13;&#10;                if game.Players:playerFromCharacter(hit.Parent).TeamColor==game.Teams:findFirstChild(modelname).TeamColor then&#13;&#10;                        Door.CanCollide = false &#13;&#10;                        Door.Transparency = 0&#13;&#10;                        wait(1) &#13;&#10;                        Door.CanCollide = true &#13;&#10;                        Door.Transparency = 0 &#13;&#10;                        print(&quot;Human touched door&quot;) &#13;&#10;                else&#13;&#10;                        human.Health = 0&#13;&#10;                end&#13;&#10; &#13;&#10;        end &#13;&#10;end &#13;&#10; &#13;&#10;connection = Door.Touched:connect(onTouched)</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Script" referent="RBX411">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">Script</string>
						<string name="Source">function onTouched(hit)&#13;&#10;if hit.Name ~= &quot;tray&quot; then hit:remove() end&#13;&#10;end&#13;&#10;&#13;&#10;connection = script.Parent.Touched:connect(onTouched)&#13;&#10;</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Script" referent="RBX412">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">Script</string>
						<string name="Source">&#13;&#10;function onTouched(hit)&#13;&#10;&#9;local human = hit.Parent:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;if (human ~= nil) then&#13;&#10;&#9;&#9;human.Health = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if (script.Parent ~= nil) and (script.Parent.className == &quot;Part&quot;) then --Work if in a block&#13;&#10;&#9;connection = script.Parent.Touched:connect(onTouched)&#13;&#10;end&#13;&#10;</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
			</Item>
			<Item class="Script" referent="RBX413">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Robot</string>
					<string name="Source">------------------&#13;&#10;--SPAWNING--&#13;&#10;------------------&#13;&#10;&#13;&#10;miked=script.Parent&#13;&#10;&#13;&#10;itlh=miked.Torso:findFirstChild(&quot;Left Hip&quot;)&#13;&#10;itlh.Part0=miked.Torso&#13;&#10;itlh.Part1=miked:findFirstChild(&quot;Left Leg&quot;)&#13;&#10;itlh.C0=CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;&#13;&#10;itrh=miked.Torso:findFirstChild(&quot;Right Hip&quot;)&#13;&#10;itrh.Part0=miked.Torso&#13;&#10;itrh.Part1=miked:findFirstChild(&quot;Right Leg&quot;)&#13;&#10;itrh.C0=CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;&#13;&#10;itls=miked.Torso:findFirstChild(&quot;Left Shoulder&quot;)&#13;&#10;itls.Part1=miked.Torso&#13;&#10;itls.C0=CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;itls.Part0=miked:findFirstChild(&quot;Left Arm&quot;)&#13;&#10;&#13;&#10;itrs=miked.Torso:findFirstChild(&quot;Right Shoulder&quot;)&#13;&#10;itrs.Part1=miked.Torso&#13;&#10;itrs.C0=CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;itrs.Part0=miked:findFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;miked.Head:makeJoints()&#13;&#10;------------------&#13;&#10;------------------&#13;&#10;&#13;&#10;&#13;&#10;function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Torso = waitForChild(Figure, &quot;Torso&quot;)&#13;&#10;local RightShoulder = waitForChild(Torso, &quot;Right Shoulder&quot;)&#13;&#10;local LeftShoulder = waitForChild(Torso, &quot;Left Shoulder&quot;)&#13;&#10;local RightHip = waitForChild(Torso, &quot;Right Hip&quot;)&#13;&#10;local LeftHip = waitForChild(Torso, &quot;Left Hip&quot;)&#13;&#10;local Neck = waitForChild(Torso, &quot;Neck&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;local pose = &quot;Standing&quot;&#13;&#10;&#13;&#10;local toolAnim = &quot;None&quot;&#13;&#10;local toolAnimTime = 0&#13;&#10;&#13;&#10;local isSeated = false&#13;&#10;&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if isSeated then return end&#13;&#10;&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;pose = &quot;Running&quot;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;pose = &quot;Standing&quot;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;pose = &quot;Dead&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onJumping()&#13;&#10;&#9;isSeated = false&#13;&#10;&#9;pose = &quot;Jumping&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onClimbing()&#13;&#10;&#9;pose = &quot;Climbing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onGettingUp()&#13;&#10;&#9;pose = &quot;GettingUp&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFreeFall()&#13;&#10;&#9;pose = &quot;FreeFall&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onDancing()&#13;&#10;&#9;pose = &quot;Dancing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFallingDown()&#13;&#10;&#9;pose = &quot;FallingDown&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onSeated()&#13;&#10;&#9;isSeated = true&#13;&#10;&#9;pose = &quot;Seated&quot;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function moveJump()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFreeFall()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1&#13;&#10;&#9;LeftShoulder.DesiredAngle = -1&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFloat()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = -1.57&#13;&#10;end&#13;&#10;&#13;&#10;function moveBoogy()&#13;&#10;while pose==&quot;Boogy&quot; do&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 1.57&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;function moveZombie()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function movePunch()&#13;&#10;&#9;script.Parent.Torso.Anchored=true&#13;&#10;&#9;RightShoulder.MaxVelocity = 60&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;script.Parent.Torso.Anchored=false&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveKick()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveFly()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function moveClimb()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveSit()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;RightHip.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftHip.DesiredAngle = -3.14 /2&#13;&#10;end&#13;&#10;&#13;&#10;function getTool()&#13;&#10;&#9;&#13;&#10;&#9;kidTable = Figure:children()&#13;&#10;&#9;if (kidTable ~= nil) then&#13;&#10;&#9;&#9;numKids = #kidTable&#13;&#10;&#9;&#9;for i=1,numKids do&#13;&#10;&#9;&#9;&#9;if (kidTable[i].className == &quot;Tool&quot;) then return kidTable[i] end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;c = tool:children()&#13;&#10;&#9;for i=1,#c do&#13;&#10;&#9;&#9;if (c[i].Name == &quot;toolanim&quot; and c[i].className == &quot;StringValue&quot;) then&#13;&#10;&#9;&#9;&#9;return c[i]&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function animateTool()&#13;&#10;&#9;&#13;&#10;&#9;if (toolAnim == &quot;None&quot;) then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Slash&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Lunge&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 1.0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 1.0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function move(time)&#13;&#10;&#9;local amplitude&#13;&#10;&#9;local frequency&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Jumping&quot;) then&#13;&#10;&#9;&#9;moveJump()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Zombie&quot;) then&#13;&#10;&#9;&#9;moveZombie()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Boogy&quot;) then&#13;&#10;&#9;&#9;moveBoogy()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Float&quot;) then&#13;&#10;&#9;&#9;moveFloat()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Punch&quot;) then&#13;&#10;&#9;&#9;movePunch()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Kick&quot;) then&#13;&#10;&#9;&#9;moveKick()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Fly&quot;) then&#13;&#10;&#9;&#9;moveFly()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;FreeFall&quot;) then&#13;&#10;&#9;&#9;moveFreeFall()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Climbing&quot;) then&#13;&#10;&#9;&#9;moveClimb()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Seated&quot;) then&#13;&#10;&#9;&#9;moveSit()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;amplitude = 0.1&#13;&#10;&#9;&#9;frequency = 1&#13;&#10;&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;if (pose == &quot;Running&quot;) then&#13;&#10;&#9;&#9;amplitude = 1&#13;&#10;&#9;&#9;frequency = 9&#13;&#10;&#9;elseif (pose == &quot;Dancing&quot;) then&#13;&#10;&#9;&#9;amplitude = 2&#13;&#10;&#9;&#9;frequency = 16&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#13;&#10;&#9;desiredAngle = amplitude * math.sin(time*frequency)&#13;&#10;&#9;if pose~=&quot;Dancing&quot; then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;else&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;end&#13;&#10;&#9;&#9;&#13;&#10;&#13;&#10;&#13;&#10;&#9;local tool = getTool()&#13;&#10;&#13;&#10;&#9;if tool ~= nil then&#13;&#10;&#9;&#13;&#10;&#9;&#9;animStringValueObject = getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;&#9;if animStringValueObject ~= nil then&#13;&#10;&#9;&#9;&#9;toolAnim = animStringValueObject.Value&#13;&#10;&#9;&#9;&#9;-- message recieved, delete StringValue&#13;&#10;&#9;&#9;&#9;animStringValueObject.Parent = nil&#13;&#10;&#9;&#9;&#9;toolAnimTime = time + .3&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if time &gt; toolAnimTime then&#13;&#10;&#9;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;animateTool()&#13;&#10;&#13;&#10;&#9;&#9;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;-- connect events&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;function unequip()&#13;&#10;&#9;local items=script.Parent:children()&#13;&#10;&#9;for i=1, #items do&#13;&#10;&#9;&#9;if items[i].className==&quot;Tool&quot; then items[i]:remove() end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onChatted(msg, recipient) &#13;&#10;&#9;msg = string.lower(msg)&#13;&#10;&#13;&#10;&#9;if string.match(msg, string.lower(script.Parent.Name))~=nil or string.match(msg, &quot;everyone&quot;) then&#13;&#10;&#9;&#9;if string.match(msg, &quot;equip&quot;) then &#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;Hub&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;if string.match(msg, &quot;rocket&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Rocket:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;slingshot&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Slingshot:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;sword&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Sword:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;pbg&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.PBG:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;superball&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Superball:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;trowel&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Trowel:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;bomb&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Bomb:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;unequip&quot;) then unequip() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;run&quot;) then onRunning(1) end&#13;&#10;&#9;&#9;if string.match(msg, &quot;climb&quot;) then onClimbing() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;jump&quot;) then onJumping() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;zombie&quot;) then pose=&quot;Zombie&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;disco&quot;) then pose=&quot;Boogy&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;float&quot;) then pose=&quot;Float&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;punch&quot;) then pose=&quot;Punch&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kick&quot;) then pose=&quot;Kick&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;fly&quot;) then pose=&quot;Fly&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;heal&quot;) then script.Parent.Humanoid.Health=script.Parent.Humanoid.MaxHealth end&#13;&#10;&#9;&#9;if string.match(msg, &quot;defend&quot;) then defence() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;stop&quot;) then pose=&quot;Standing&quot;; proxkill=false; following=false; stopmoving() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;go home&quot;) then following=false; gohome() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;follow&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;followany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;follow(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kill&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;attackany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;attack(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if game.Players.NumPlayers&gt;1 then&#13;&#10;&#9;x=game.Players:children()&#13;&#10;&#9;&#13;&#10;&#9;for i=1, #x do&#13;&#10;&#9;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function onPlayerEntered(Player) &#13;&#10;&#9;while Player.Name==nil do&#13;&#10;&#9;&#9;wait(2)&#13;&#10;&#9;end&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;end&#13;&#10;&#9;else&#13;&#10;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;game.Players.ChildAdded:connect(onPlayerEntered) &#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;dist=20&#13;&#10;&#13;&#10;function followany()&#13;&#10;following=true&#13;&#10;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 6 do&#13;&#10;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then stopmoving() else&#9;wait(0.5) end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function gohome()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(Vector3.new(0,0,0), game.Workspace.Bases.Base)&#13;&#10;end&#13;&#10;function stopmoving()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(script.Parent.Torso.Position, script.Parent.Torso)&#13;&#10;end&#13;&#10;&#13;&#10;function follow(name)&#13;&#10;&#9;following=true&#13;&#10;&#13;&#10;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;if p==nil then return end&#13;&#10;&#9;while following==true do&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attack(name)&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#9;&#9;following=true&#13;&#10;&#9;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;&#9;if p==nil then return end&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#9;local l=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((l.x-q.x)^2)+((l.y-q.y)^2)+((l.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;if (q.y-l.y)&gt;3 and (q.y-l.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attackany()&#13;&#10;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#13;&#10;&#9;following=true&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;slash()&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;if target.Parent==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then &#13;&#10;&#9;&#9;&#9;&#9;&#9;stopmoving() &#13;&#10;&#9;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=target.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if (q.y-p.y)&gt;3 and (q.y-p.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function patrol()&#13;&#10;&#9;if points==nil then&#13;&#10;&#9;&#9;points=0&#13;&#10;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp1&quot;)~=nil then&#13;&#10;&#9;&#9;pp1=game.Workspace:findFirstChild(&quot;pp1&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp2&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;pp2=game.Workspace:findFirstChild(&quot;pp2&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp3&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;pp3=game.Workspace:findFirstChild(&quot;pp3&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp4&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;pp4=game.Workspace:findFirstChild(&quot;pp4&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp5&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;pp5=game.Workspace:findFirstChild(&quot;pp5&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp6&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp6=game.Workspace:findFirstChild(&quot;pp6&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp7&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp7=game.Workspace:findFirstChild(&quot;pp7&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp8&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp8=game.Workspace:findFirstChild(&quot;pp8&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp9&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp9=game.Workspace:findFirstChild(&quot;pp9&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if points&lt;1 then return end&#13;&#10;&#9;patrolling=true&#13;&#10;&#9;local time=2&#13;&#10;&#9;if points==1 then return end&#13;&#10;&#9;if points&gt;1 then&#13;&#10;&#9;&#9;while patrolling==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp1.Position, pp1)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp2.Position, pp2)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;if points&gt;2 then&#13;&#10;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp3.Position, pp3)&#13;&#10;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;if points&gt;3 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp4.Position, pp4)&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;if points&gt;4 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp5.Position, pp5)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;5 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp6.Position, pp6)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;6 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp7.Position, pp7)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp8.Position, pp8)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp9.Position, pp9)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function goto(pos,part)&#13;&#10;while true do&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function slash()&#13;&#10;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;wait(.3)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -2.14&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;&#9;wait(.2)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function defence()&#13;&#10;&#9;proxkill=true&#13;&#10;&#9;while proxkill==true do&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local p=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if p~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local p=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;dist and d&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local ex=Instance.new(&quot;Explosion&quot;)&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Position=p&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Parent=game.Workspace&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#9;&#9;&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;wait(1)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(onJumping)&#13;&#10;Humanoid.Climbing:connect(onClimbing)&#13;&#10;Humanoid.GettingUp:connect(onGettingUp)&#13;&#10;Humanoid.FreeFalling:connect(onFreeFall)&#13;&#10;Humanoid.FallingDown:connect(onFallingDown)&#13;&#10;Humanoid.Seated:connect(onSeated)&#13;&#10;&#13;&#10;&#13;&#10;--[[&#13;&#10;&#13;&#10;function newSound(id)&#13;&#10;&#9;local sound = Instance.new(&quot;Sound&quot;)&#13;&#10;&#9;sound.SoundId = id&#13;&#10;&#9;sound.Parent = script.Parent.Head&#13;&#10;&#9;return sound&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;local sDied = newSound(&quot;rbxasset://sounds/uuhhh.wav&quot;)&#13;&#10;local sFallingDown = newSound(&quot;rbxasset://sounds/splat.wav&quot;)&#13;&#10;local sFreeFalling = newSound(&quot;rbxasset://sounds/swoosh.wav&quot;)&#13;&#10;local sGettingUp = newSound(&quot;rbxasset://sounds/hit.wav&quot;)&#13;&#10;local sJumping = newSound(&quot;rbxasset://sounds/button.wav&quot;)&#13;&#10;local sRunning = newSound(&quot;rbxasset://sounds/bfsl-minifigfoots1.mp3&quot;)&#13;&#10;sRunning.Looped = true&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;sDied:play()&#13;&#10;end&#13;&#10;&#13;&#10;function onState(state, sound)&#13;&#10;&#9;if state then&#13;&#10;&#9;&#9;sound:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sound:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;sRunning:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sRunning:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(function(state) onState(state, sJumping) end)&#13;&#10;Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end)&#13;&#10;Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end)&#13;&#10;Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end)&#13;&#10;--]]&#13;&#10;&#13;&#10;local nextTime = 0&#13;&#10;local runService = game:service(&quot;RunService&quot;);&#13;&#10;&#13;&#10;while Figure.Parent~=nil do&#13;&#10;&#9;time = runService.Stepped:wait()&#13;&#10;&#9;if time &gt; nextTime then&#13;&#10;&#9;&#9;move(time)&#13;&#10;&#9;&#9;nextTime = time + 0.1&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX414">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Follow</string>
					<string name="Source">local larm = script.Parent:FindFirstChild(&quot;Left Arm&quot;)&#13;&#10;local rarm = script.Parent:FindFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;function findNearestTorso(pos)&#13;&#10;&#9;local list = game.Workspace:children()&#13;&#10;&#9;local torso = nil&#13;&#10;&#9;local dist = 25&#13;&#10;&#9;local temp = nil&#13;&#10;&#9;local human = nil&#13;&#10;&#9;local temp2 = nil&#13;&#10;&#9;for x = 1, #list do&#13;&#10;&#9;&#9;temp2 = list[x]&#13;&#10;&#9;&#9;if (temp2.className == &quot;Model&quot;) and (temp2 ~= script.Parent) then&#13;&#10;&#9;&#9;&#9;temp = temp2:findFirstChild(&quot;Torso&quot;)&#13;&#10;&#9;&#9;&#9;human = temp2:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;&#9;&#9;if (temp ~= nil) and (human ~= nil) and (human.Health &gt; 0) then&#13;&#10;&#9;&#9;&#9;&#9;if (temp.Position - pos).magnitude &lt; dist then&#13;&#10;&#9;&#9;&#9;&#9;&#9;torso = temp&#13;&#10;&#9;&#9;&#9;&#9;&#9;dist = (temp.Position - pos).magnitude&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return torso&#13;&#10;end&#13;&#10;&#13;&#10;while true do&#13;&#10;&#9;wait(0.1)&#13;&#10;&#9;local target = findNearestTorso(script.Parent.Torso.Position)&#13;&#10;&#9;if target ~= nil then&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#9;end&#13;&#10;end</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Model" referent="RBX415">
			<Properties>
				<token name="Controller">7</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">Warrior</string>
				<Ref name="PrimaryPart">null</Ref>
				<bool name="archivable">true</bool>
			</Properties>
			<Item class="Humanoid" referent="RBX416">
				<Properties>
					<float name="Health">0</float>
					<bool name="Jump">false</bool>
					<float name="MaxHealth">100</float>
					<string name="Name">Humanoid</string>
					<bool name="Sit">false</bool>
					<Vector3 name="TargetPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<Vector3 name="WalkDirection">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<float name="WalkRotationalVelocity">0</float>
					<Ref name="WalkToPart">null</Ref>
					<Vector3 name="WalkToPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX417">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Health</string>
					<string name="Source">function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;-- declarations&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;Humanoid.Health=500&#13;&#10;-- regeneration&#13;&#10;while true do&#13;&#10;&#9;local s = wait(4)&#13;&#10;&#9;local health = Humanoid.Health&#13;&#10;&#9;if health &gt; 0 and health &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;health = health + 0.08 * s * Humanoid.MaxHealth&#13;&#10;&#9;&#9;if health * 1.05 &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;&#9;Humanoid.Health = health&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;Humanoid.Health = Humanoid.MaxHealth&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="BodyColors" referent="RBX418">
				<Properties>
					<int name="HeadColor">24</int>
					<int name="LeftArmColor">28</int>
					<int name="LeftLegColor">28</int>
					<string name="Name">Body Colors</string>
					<int name="RightArmColor">28</int>
					<int name="RightLegColor">28</int>
					<int name="TorsoColor">28</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="IntValue" referent="RBX419">
				<Properties>
					<string name="Name">Value</string>
					<int name="Value">0</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX420">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Robot</string>
					<string name="Source">------------------&#13;&#10;--SPAWNING--&#13;&#10;------------------&#13;&#10;&#13;&#10;miked=script.Parent&#13;&#10;&#13;&#10;itlh=miked.Torso:findFirstChild(&quot;Left Hip&quot;)&#13;&#10;itlh.Part0=miked.Torso&#13;&#10;itlh.Part1=miked:findFirstChild(&quot;Left Leg&quot;)&#13;&#10;itlh.C0=CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;&#13;&#10;itrh=miked.Torso:findFirstChild(&quot;Right Hip&quot;)&#13;&#10;itrh.Part0=miked.Torso&#13;&#10;itrh.Part1=miked:findFirstChild(&quot;Right Leg&quot;)&#13;&#10;itrh.C0=CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;&#13;&#10;itls=miked.Torso:findFirstChild(&quot;Left Shoulder&quot;)&#13;&#10;itls.Part1=miked.Torso&#13;&#10;itls.C0=CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;itls.Part0=miked:findFirstChild(&quot;Left Arm&quot;)&#13;&#10;&#13;&#10;itrs=miked.Torso:findFirstChild(&quot;Right Shoulder&quot;)&#13;&#10;itrs.Part1=miked.Torso&#13;&#10;itrs.C0=CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;itrs.Part0=miked:findFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;miked.Head:makeJoints()&#13;&#10;------------------&#13;&#10;------------------&#13;&#10;&#13;&#10;&#13;&#10;function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Torso = waitForChild(Figure, &quot;Torso&quot;)&#13;&#10;local RightShoulder = waitForChild(Torso, &quot;Right Shoulder&quot;)&#13;&#10;local LeftShoulder = waitForChild(Torso, &quot;Left Shoulder&quot;)&#13;&#10;local RightHip = waitForChild(Torso, &quot;Right Hip&quot;)&#13;&#10;local LeftHip = waitForChild(Torso, &quot;Left Hip&quot;)&#13;&#10;local Neck = waitForChild(Torso, &quot;Neck&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;local pose = &quot;Standing&quot;&#13;&#10;&#13;&#10;local toolAnim = &quot;None&quot;&#13;&#10;local toolAnimTime = 0&#13;&#10;&#13;&#10;local isSeated = false&#13;&#10;&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if isSeated then return end&#13;&#10;&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;pose = &quot;Running&quot;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;pose = &quot;Standing&quot;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;pose = &quot;Dead&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onJumping()&#13;&#10;&#9;isSeated = false&#13;&#10;&#9;pose = &quot;Jumping&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onClimbing()&#13;&#10;&#9;pose = &quot;Climbing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onGettingUp()&#13;&#10;&#9;pose = &quot;GettingUp&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFreeFall()&#13;&#10;&#9;pose = &quot;FreeFall&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onDancing()&#13;&#10;&#9;pose = &quot;Dancing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFallingDown()&#13;&#10;&#9;pose = &quot;FallingDown&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onSeated()&#13;&#10;&#9;isSeated = true&#13;&#10;&#9;pose = &quot;Seated&quot;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function moveJump()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFreeFall()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1&#13;&#10;&#9;LeftShoulder.DesiredAngle = -1&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFloat()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = -1.57&#13;&#10;end&#13;&#10;&#13;&#10;function moveBoogy()&#13;&#10;while pose==&quot;Boogy&quot; do&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 1.57&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;function moveZombie()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function movePunch()&#13;&#10;&#9;script.Parent.Torso.Anchored=true&#13;&#10;&#9;RightShoulder.MaxVelocity = 60&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;script.Parent.Torso.Anchored=false&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveKick()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveFly()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function moveClimb()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveSit()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;RightHip.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftHip.DesiredAngle = -3.14 /2&#13;&#10;end&#13;&#10;&#13;&#10;function getTool()&#13;&#10;&#9;&#13;&#10;&#9;kidTable = Figure:children()&#13;&#10;&#9;if (kidTable ~= nil) then&#13;&#10;&#9;&#9;numKids = #kidTable&#13;&#10;&#9;&#9;for i=1,numKids do&#13;&#10;&#9;&#9;&#9;if (kidTable[i].className == &quot;Tool&quot;) then return kidTable[i] end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;c = tool:children()&#13;&#10;&#9;for i=1,#c do&#13;&#10;&#9;&#9;if (c[i].Name == &quot;toolanim&quot; and c[i].className == &quot;StringValue&quot;) then&#13;&#10;&#9;&#9;&#9;return c[i]&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function animateTool()&#13;&#10;&#9;&#13;&#10;&#9;if (toolAnim == &quot;None&quot;) then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Slash&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Lunge&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 1.0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 1.0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function move(time)&#13;&#10;&#9;local amplitude&#13;&#10;&#9;local frequency&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Jumping&quot;) then&#13;&#10;&#9;&#9;moveJump()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Zombie&quot;) then&#13;&#10;&#9;&#9;moveZombie()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Boogy&quot;) then&#13;&#10;&#9;&#9;moveBoogy()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Float&quot;) then&#13;&#10;&#9;&#9;moveFloat()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Punch&quot;) then&#13;&#10;&#9;&#9;movePunch()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Kick&quot;) then&#13;&#10;&#9;&#9;moveKick()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Fly&quot;) then&#13;&#10;&#9;&#9;moveFly()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;FreeFall&quot;) then&#13;&#10;&#9;&#9;moveFreeFall()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Climbing&quot;) then&#13;&#10;&#9;&#9;moveClimb()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Seated&quot;) then&#13;&#10;&#9;&#9;moveSit()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;amplitude = 0.1&#13;&#10;&#9;&#9;frequency = 1&#13;&#10;&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;if (pose == &quot;Running&quot;) then&#13;&#10;&#9;&#9;amplitude = 1&#13;&#10;&#9;&#9;frequency = 9&#13;&#10;&#9;elseif (pose == &quot;Dancing&quot;) then&#13;&#10;&#9;&#9;amplitude = 2&#13;&#10;&#9;&#9;frequency = 16&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#13;&#10;&#9;desiredAngle = amplitude * math.sin(time*frequency)&#13;&#10;&#9;if pose~=&quot;Dancing&quot; then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;else&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;end&#13;&#10;&#9;&#9;&#13;&#10;&#13;&#10;&#13;&#10;&#9;local tool = getTool()&#13;&#10;&#13;&#10;&#9;if tool ~= nil then&#13;&#10;&#9;&#13;&#10;&#9;&#9;animStringValueObject = getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;&#9;if animStringValueObject ~= nil then&#13;&#10;&#9;&#9;&#9;toolAnim = animStringValueObject.Value&#13;&#10;&#9;&#9;&#9;-- message recieved, delete StringValue&#13;&#10;&#9;&#9;&#9;animStringValueObject.Parent = nil&#13;&#10;&#9;&#9;&#9;toolAnimTime = time + .3&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if time &gt; toolAnimTime then&#13;&#10;&#9;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;animateTool()&#13;&#10;&#13;&#10;&#9;&#9;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;-- connect events&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;function unequip()&#13;&#10;&#9;local items=script.Parent:children()&#13;&#10;&#9;for i=1, #items do&#13;&#10;&#9;&#9;if items[i].className==&quot;Tool&quot; then items[i]:remove() end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onChatted(msg, recipient) &#13;&#10;&#9;msg = string.lower(msg)&#13;&#10;&#13;&#10;&#9;if string.match(msg, string.lower(script.Parent.Name))~=nil or string.match(msg, &quot;everyone&quot;) then&#13;&#10;&#9;&#9;if string.match(msg, &quot;equip&quot;) then &#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;Hub&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;if string.match(msg, &quot;rocket&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Rocket:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;slingshot&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Slingshot:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;sword&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Sword:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;pbg&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.PBG:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;superball&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Superball:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;trowel&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Trowel:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;bomb&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Bomb:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;unequip&quot;) then unequip() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;run&quot;) then onRunning(1) end&#13;&#10;&#9;&#9;if string.match(msg, &quot;climb&quot;) then onClimbing() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;jump&quot;) then onJumping() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;zombie&quot;) then pose=&quot;Zombie&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;disco&quot;) then pose=&quot;Boogy&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;float&quot;) then pose=&quot;Float&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;punch&quot;) then pose=&quot;Punch&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kick&quot;) then pose=&quot;Kick&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;fly&quot;) then pose=&quot;Fly&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;heal&quot;) then script.Parent.Humanoid.Health=script.Parent.Humanoid.MaxHealth end&#13;&#10;&#9;&#9;if string.match(msg, &quot;defend&quot;) then defence() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;stop&quot;) then pose=&quot;Standing&quot;; proxkill=false; following=false; stopmoving() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;go home&quot;) then following=false; gohome() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;follow&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;followany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;follow(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kill&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;attackany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;attack(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if game.Players.NumPlayers&gt;1 then&#13;&#10;&#9;x=game.Players:children()&#13;&#10;&#9;&#13;&#10;&#9;for i=1, #x do&#13;&#10;&#9;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function onPlayerEntered(Player) &#13;&#10;&#9;while Player.Name==nil do&#13;&#10;&#9;&#9;wait(2)&#13;&#10;&#9;end&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;end&#13;&#10;&#9;else&#13;&#10;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;game.Players.ChildAdded:connect(onPlayerEntered) &#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;dist=20&#13;&#10;&#13;&#10;function followany()&#13;&#10;following=true&#13;&#10;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 6 do&#13;&#10;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then stopmoving() else&#9;wait(0.5) end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function gohome()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(Vector3.new(0,0,0), game.Workspace.Bases.Base)&#13;&#10;end&#13;&#10;function stopmoving()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(script.Parent.Torso.Position, script.Parent.Torso)&#13;&#10;end&#13;&#10;&#13;&#10;function follow(name)&#13;&#10;&#9;following=true&#13;&#10;&#13;&#10;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;if p==nil then return end&#13;&#10;&#9;while following==true do&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attack(name)&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#9;&#9;following=true&#13;&#10;&#9;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;&#9;if p==nil then return end&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#9;local l=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((l.x-q.x)^2)+((l.y-q.y)^2)+((l.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;if (q.y-l.y)&gt;3 and (q.y-l.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attackany()&#13;&#10;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#13;&#10;&#9;following=true&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;slash()&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;if target.Parent==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then &#13;&#10;&#9;&#9;&#9;&#9;&#9;stopmoving() &#13;&#10;&#9;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=target.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if (q.y-p.y)&gt;3 and (q.y-p.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function patrol()&#13;&#10;&#9;if points==nil then&#13;&#10;&#9;&#9;points=0&#13;&#10;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp1&quot;)~=nil then&#13;&#10;&#9;&#9;pp1=game.Workspace:findFirstChild(&quot;pp1&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp2&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;pp2=game.Workspace:findFirstChild(&quot;pp2&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp3&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;pp3=game.Workspace:findFirstChild(&quot;pp3&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp4&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;pp4=game.Workspace:findFirstChild(&quot;pp4&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp5&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;pp5=game.Workspace:findFirstChild(&quot;pp5&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp6&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp6=game.Workspace:findFirstChild(&quot;pp6&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp7&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp7=game.Workspace:findFirstChild(&quot;pp7&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp8&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp8=game.Workspace:findFirstChild(&quot;pp8&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp9&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp9=game.Workspace:findFirstChild(&quot;pp9&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if points&lt;1 then return end&#13;&#10;&#9;patrolling=true&#13;&#10;&#9;local time=2&#13;&#10;&#9;if points==1 then return end&#13;&#10;&#9;if points&gt;1 then&#13;&#10;&#9;&#9;while patrolling==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp1.Position, pp1)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp2.Position, pp2)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;if points&gt;2 then&#13;&#10;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp3.Position, pp3)&#13;&#10;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;if points&gt;3 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp4.Position, pp4)&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;if points&gt;4 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp5.Position, pp5)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;5 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp6.Position, pp6)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;6 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp7.Position, pp7)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp8.Position, pp8)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp9.Position, pp9)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function goto(pos,part)&#13;&#10;while true do&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function slash()&#13;&#10;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;wait(.3)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -2.14&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;&#9;wait(.2)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function defence()&#13;&#10;&#9;proxkill=true&#13;&#10;&#9;while proxkill==true do&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local p=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if p~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local p=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;dist and d&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local ex=Instance.new(&quot;Explosion&quot;)&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Position=p&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Parent=game.Workspace&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#9;&#9;&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;wait(1)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(onJumping)&#13;&#10;Humanoid.Climbing:connect(onClimbing)&#13;&#10;Humanoid.GettingUp:connect(onGettingUp)&#13;&#10;Humanoid.FreeFalling:connect(onFreeFall)&#13;&#10;Humanoid.FallingDown:connect(onFallingDown)&#13;&#10;Humanoid.Seated:connect(onSeated)&#13;&#10;&#13;&#10;&#13;&#10;--[[&#13;&#10;&#13;&#10;function newSound(id)&#13;&#10;&#9;local sound = Instance.new(&quot;Sound&quot;)&#13;&#10;&#9;sound.SoundId = id&#13;&#10;&#9;sound.Parent = script.Parent.Head&#13;&#10;&#9;return sound&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;local sDied = newSound(&quot;rbxasset://sounds/uuhhh.wav&quot;)&#13;&#10;local sFallingDown = newSound(&quot;rbxasset://sounds/splat.wav&quot;)&#13;&#10;local sFreeFalling = newSound(&quot;rbxasset://sounds/swoosh.wav&quot;)&#13;&#10;local sGettingUp = newSound(&quot;rbxasset://sounds/hit.wav&quot;)&#13;&#10;local sJumping = newSound(&quot;rbxasset://sounds/button.wav&quot;)&#13;&#10;local sRunning = newSound(&quot;rbxasset://sounds/bfsl-minifigfoots1.mp3&quot;)&#13;&#10;sRunning.Looped = true&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;sDied:play()&#13;&#10;end&#13;&#10;&#13;&#10;function onState(state, sound)&#13;&#10;&#9;if state then&#13;&#10;&#9;&#9;sound:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sound:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;sRunning:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sRunning:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(function(state) onState(state, sJumping) end)&#13;&#10;Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end)&#13;&#10;Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end)&#13;&#10;Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end)&#13;&#10;--]]&#13;&#10;&#13;&#10;local nextTime = 0&#13;&#10;local runService = game:service(&quot;RunService&quot;);&#13;&#10;&#13;&#10;while Figure.Parent~=nil do&#13;&#10;&#9;time = runService.Stepped:wait()&#13;&#10;&#9;if time &gt; nextTime then&#13;&#10;&#9;&#9;move(time)&#13;&#10;&#9;&#9;nextTime = time + 0.1&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX421">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Follow</string>
					<string name="Source">local larm = script.Parent:FindFirstChild(&quot;Left Arm&quot;)&#13;&#10;local rarm = script.Parent:FindFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;function findNearestTorso(pos)&#13;&#10;&#9;local list = game.Workspace:children()&#13;&#10;&#9;local torso = nil&#13;&#10;&#9;local dist = 25&#13;&#10;&#9;local temp = nil&#13;&#10;&#9;local human = nil&#13;&#10;&#9;local temp2 = nil&#13;&#10;&#9;for x = 1, #list do&#13;&#10;&#9;&#9;temp2 = list[x]&#13;&#10;&#9;&#9;if (temp2.className == &quot;Model&quot;) and (temp2 ~= script.Parent) then&#13;&#10;&#9;&#9;&#9;temp = temp2:findFirstChild(&quot;Torso&quot;)&#13;&#10;&#9;&#9;&#9;human = temp2:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;&#9;&#9;if (temp ~= nil) and (human ~= nil) and (human.Health &gt; 0) then&#13;&#10;&#9;&#9;&#9;&#9;if (temp.Position - pos).magnitude &lt; dist then&#13;&#10;&#9;&#9;&#9;&#9;&#9;torso = temp&#13;&#10;&#9;&#9;&#9;&#9;&#9;dist = (temp.Position - pos).magnitude&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return torso&#13;&#10;end&#13;&#10;&#13;&#10;while true do&#13;&#10;&#9;wait(0.1)&#13;&#10;&#9;local target = findNearestTorso(script.Parent.Torso.Position)&#13;&#10;&#9;if target ~= nil then&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#9;end&#13;&#10;end</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Model" referent="RBX422">
			<Properties>
				<token name="Controller">7</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">Warrior</string>
				<Ref name="PrimaryPart">null</Ref>
				<bool name="archivable">true</bool>
			</Properties>
			<Item class="Humanoid" referent="RBX423">
				<Properties>
					<float name="Health">0</float>
					<bool name="Jump">false</bool>
					<float name="MaxHealth">100</float>
					<string name="Name">Humanoid</string>
					<bool name="Sit">false</bool>
					<Vector3 name="TargetPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<Vector3 name="WalkDirection">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<float name="WalkRotationalVelocity">0</float>
					<Ref name="WalkToPart">null</Ref>
					<Vector3 name="WalkToPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX424">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Health</string>
					<string name="Source">function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;-- declarations&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;Humanoid.Health=500&#13;&#10;-- regeneration&#13;&#10;while true do&#13;&#10;&#9;local s = wait(4)&#13;&#10;&#9;local health = Humanoid.Health&#13;&#10;&#9;if health &gt; 0 and health &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;health = health + 0.08 * s * Humanoid.MaxHealth&#13;&#10;&#9;&#9;if health * 1.05 &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;&#9;Humanoid.Health = health&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;Humanoid.Health = Humanoid.MaxHealth&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="BodyColors" referent="RBX425">
				<Properties>
					<int name="HeadColor">24</int>
					<int name="LeftArmColor">28</int>
					<int name="LeftLegColor">28</int>
					<string name="Name">Body Colors</string>
					<int name="RightArmColor">28</int>
					<int name="RightLegColor">28</int>
					<int name="TorsoColor">28</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="IntValue" referent="RBX426">
				<Properties>
					<string name="Name">Value</string>
					<int name="Value">0</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX427">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Robot</string>
					<string name="Source">------------------&#13;&#10;--SPAWNING--&#13;&#10;------------------&#13;&#10;&#13;&#10;miked=script.Parent&#13;&#10;&#13;&#10;itlh=miked.Torso:findFirstChild(&quot;Left Hip&quot;)&#13;&#10;itlh.Part0=miked.Torso&#13;&#10;itlh.Part1=miked:findFirstChild(&quot;Left Leg&quot;)&#13;&#10;itlh.C0=CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;&#13;&#10;itrh=miked.Torso:findFirstChild(&quot;Right Hip&quot;)&#13;&#10;itrh.Part0=miked.Torso&#13;&#10;itrh.Part1=miked:findFirstChild(&quot;Right Leg&quot;)&#13;&#10;itrh.C0=CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;&#13;&#10;itls=miked.Torso:findFirstChild(&quot;Left Shoulder&quot;)&#13;&#10;itls.Part1=miked.Torso&#13;&#10;itls.C0=CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;itls.Part0=miked:findFirstChild(&quot;Left Arm&quot;)&#13;&#10;&#13;&#10;itrs=miked.Torso:findFirstChild(&quot;Right Shoulder&quot;)&#13;&#10;itrs.Part1=miked.Torso&#13;&#10;itrs.C0=CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;itrs.Part0=miked:findFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;miked.Head:makeJoints()&#13;&#10;------------------&#13;&#10;------------------&#13;&#10;&#13;&#10;&#13;&#10;function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Torso = waitForChild(Figure, &quot;Torso&quot;)&#13;&#10;local RightShoulder = waitForChild(Torso, &quot;Right Shoulder&quot;)&#13;&#10;local LeftShoulder = waitForChild(Torso, &quot;Left Shoulder&quot;)&#13;&#10;local RightHip = waitForChild(Torso, &quot;Right Hip&quot;)&#13;&#10;local LeftHip = waitForChild(Torso, &quot;Left Hip&quot;)&#13;&#10;local Neck = waitForChild(Torso, &quot;Neck&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;local pose = &quot;Standing&quot;&#13;&#10;&#13;&#10;local toolAnim = &quot;None&quot;&#13;&#10;local toolAnimTime = 0&#13;&#10;&#13;&#10;local isSeated = false&#13;&#10;&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if isSeated then return end&#13;&#10;&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;pose = &quot;Running&quot;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;pose = &quot;Standing&quot;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;pose = &quot;Dead&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onJumping()&#13;&#10;&#9;isSeated = false&#13;&#10;&#9;pose = &quot;Jumping&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onClimbing()&#13;&#10;&#9;pose = &quot;Climbing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onGettingUp()&#13;&#10;&#9;pose = &quot;GettingUp&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFreeFall()&#13;&#10;&#9;pose = &quot;FreeFall&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onDancing()&#13;&#10;&#9;pose = &quot;Dancing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFallingDown()&#13;&#10;&#9;pose = &quot;FallingDown&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onSeated()&#13;&#10;&#9;isSeated = true&#13;&#10;&#9;pose = &quot;Seated&quot;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function moveJump()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFreeFall()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1&#13;&#10;&#9;LeftShoulder.DesiredAngle = -1&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFloat()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = -1.57&#13;&#10;end&#13;&#10;&#13;&#10;function moveBoogy()&#13;&#10;while pose==&quot;Boogy&quot; do&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 1.57&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;function moveZombie()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function movePunch()&#13;&#10;&#9;script.Parent.Torso.Anchored=true&#13;&#10;&#9;RightShoulder.MaxVelocity = 60&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;script.Parent.Torso.Anchored=false&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveKick()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveFly()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function moveClimb()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveSit()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;RightHip.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftHip.DesiredAngle = -3.14 /2&#13;&#10;end&#13;&#10;&#13;&#10;function getTool()&#13;&#10;&#9;&#13;&#10;&#9;kidTable = Figure:children()&#13;&#10;&#9;if (kidTable ~= nil) then&#13;&#10;&#9;&#9;numKids = #kidTable&#13;&#10;&#9;&#9;for i=1,numKids do&#13;&#10;&#9;&#9;&#9;if (kidTable[i].className == &quot;Tool&quot;) then return kidTable[i] end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;c = tool:children()&#13;&#10;&#9;for i=1,#c do&#13;&#10;&#9;&#9;if (c[i].Name == &quot;toolanim&quot; and c[i].className == &quot;StringValue&quot;) then&#13;&#10;&#9;&#9;&#9;return c[i]&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function animateTool()&#13;&#10;&#9;&#13;&#10;&#9;if (toolAnim == &quot;None&quot;) then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Slash&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Lunge&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 1.0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 1.0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function move(time)&#13;&#10;&#9;local amplitude&#13;&#10;&#9;local frequency&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Jumping&quot;) then&#13;&#10;&#9;&#9;moveJump()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Zombie&quot;) then&#13;&#10;&#9;&#9;moveZombie()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Boogy&quot;) then&#13;&#10;&#9;&#9;moveBoogy()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Float&quot;) then&#13;&#10;&#9;&#9;moveFloat()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Punch&quot;) then&#13;&#10;&#9;&#9;movePunch()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Kick&quot;) then&#13;&#10;&#9;&#9;moveKick()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Fly&quot;) then&#13;&#10;&#9;&#9;moveFly()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;FreeFall&quot;) then&#13;&#10;&#9;&#9;moveFreeFall()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Climbing&quot;) then&#13;&#10;&#9;&#9;moveClimb()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Seated&quot;) then&#13;&#10;&#9;&#9;moveSit()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;amplitude = 0.1&#13;&#10;&#9;&#9;frequency = 1&#13;&#10;&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;if (pose == &quot;Running&quot;) then&#13;&#10;&#9;&#9;amplitude = 1&#13;&#10;&#9;&#9;frequency = 9&#13;&#10;&#9;elseif (pose == &quot;Dancing&quot;) then&#13;&#10;&#9;&#9;amplitude = 2&#13;&#10;&#9;&#9;frequency = 16&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#13;&#10;&#9;desiredAngle = amplitude * math.sin(time*frequency)&#13;&#10;&#9;if pose~=&quot;Dancing&quot; then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;else&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;end&#13;&#10;&#9;&#9;&#13;&#10;&#13;&#10;&#13;&#10;&#9;local tool = getTool()&#13;&#10;&#13;&#10;&#9;if tool ~= nil then&#13;&#10;&#9;&#13;&#10;&#9;&#9;animStringValueObject = getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;&#9;if animStringValueObject ~= nil then&#13;&#10;&#9;&#9;&#9;toolAnim = animStringValueObject.Value&#13;&#10;&#9;&#9;&#9;-- message recieved, delete StringValue&#13;&#10;&#9;&#9;&#9;animStringValueObject.Parent = nil&#13;&#10;&#9;&#9;&#9;toolAnimTime = time + .3&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if time &gt; toolAnimTime then&#13;&#10;&#9;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;animateTool()&#13;&#10;&#13;&#10;&#9;&#9;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;-- connect events&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;function unequip()&#13;&#10;&#9;local items=script.Parent:children()&#13;&#10;&#9;for i=1, #items do&#13;&#10;&#9;&#9;if items[i].className==&quot;Tool&quot; then items[i]:remove() end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onChatted(msg, recipient) &#13;&#10;&#9;msg = string.lower(msg)&#13;&#10;&#13;&#10;&#9;if string.match(msg, string.lower(script.Parent.Name))~=nil or string.match(msg, &quot;everyone&quot;) then&#13;&#10;&#9;&#9;if string.match(msg, &quot;equip&quot;) then &#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;Hub&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;if string.match(msg, &quot;rocket&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Rocket:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;slingshot&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Slingshot:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;sword&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Sword:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;pbg&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.PBG:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;superball&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Superball:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;trowel&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Trowel:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;bomb&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Bomb:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;unequip&quot;) then unequip() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;run&quot;) then onRunning(1) end&#13;&#10;&#9;&#9;if string.match(msg, &quot;climb&quot;) then onClimbing() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;jump&quot;) then onJumping() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;zombie&quot;) then pose=&quot;Zombie&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;disco&quot;) then pose=&quot;Boogy&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;float&quot;) then pose=&quot;Float&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;punch&quot;) then pose=&quot;Punch&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kick&quot;) then pose=&quot;Kick&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;fly&quot;) then pose=&quot;Fly&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;heal&quot;) then script.Parent.Humanoid.Health=script.Parent.Humanoid.MaxHealth end&#13;&#10;&#9;&#9;if string.match(msg, &quot;defend&quot;) then defence() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;stop&quot;) then pose=&quot;Standing&quot;; proxkill=false; following=false; stopmoving() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;go home&quot;) then following=false; gohome() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;follow&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;followany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;follow(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kill&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;attackany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;attack(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if game.Players.NumPlayers&gt;1 then&#13;&#10;&#9;x=game.Players:children()&#13;&#10;&#9;&#13;&#10;&#9;for i=1, #x do&#13;&#10;&#9;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function onPlayerEntered(Player) &#13;&#10;&#9;while Player.Name==nil do&#13;&#10;&#9;&#9;wait(2)&#13;&#10;&#9;end&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;end&#13;&#10;&#9;else&#13;&#10;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;game.Players.ChildAdded:connect(onPlayerEntered) &#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;dist=20&#13;&#10;&#13;&#10;function followany()&#13;&#10;following=true&#13;&#10;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 6 do&#13;&#10;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then stopmoving() else&#9;wait(0.5) end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function gohome()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(Vector3.new(0,0,0), game.Workspace.Bases.Base)&#13;&#10;end&#13;&#10;function stopmoving()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(script.Parent.Torso.Position, script.Parent.Torso)&#13;&#10;end&#13;&#10;&#13;&#10;function follow(name)&#13;&#10;&#9;following=true&#13;&#10;&#13;&#10;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;if p==nil then return end&#13;&#10;&#9;while following==true do&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attack(name)&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#9;&#9;following=true&#13;&#10;&#9;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;&#9;if p==nil then return end&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#9;local l=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((l.x-q.x)^2)+((l.y-q.y)^2)+((l.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;if (q.y-l.y)&gt;3 and (q.y-l.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attackany()&#13;&#10;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#13;&#10;&#9;following=true&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;slash()&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;if target.Parent==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then &#13;&#10;&#9;&#9;&#9;&#9;&#9;stopmoving() &#13;&#10;&#9;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=target.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if (q.y-p.y)&gt;3 and (q.y-p.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function patrol()&#13;&#10;&#9;if points==nil then&#13;&#10;&#9;&#9;points=0&#13;&#10;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp1&quot;)~=nil then&#13;&#10;&#9;&#9;pp1=game.Workspace:findFirstChild(&quot;pp1&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp2&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;pp2=game.Workspace:findFirstChild(&quot;pp2&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp3&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;pp3=game.Workspace:findFirstChild(&quot;pp3&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp4&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;pp4=game.Workspace:findFirstChild(&quot;pp4&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp5&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;pp5=game.Workspace:findFirstChild(&quot;pp5&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp6&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp6=game.Workspace:findFirstChild(&quot;pp6&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp7&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp7=game.Workspace:findFirstChild(&quot;pp7&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp8&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp8=game.Workspace:findFirstChild(&quot;pp8&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp9&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp9=game.Workspace:findFirstChild(&quot;pp9&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if points&lt;1 then return end&#13;&#10;&#9;patrolling=true&#13;&#10;&#9;local time=2&#13;&#10;&#9;if points==1 then return end&#13;&#10;&#9;if points&gt;1 then&#13;&#10;&#9;&#9;while patrolling==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp1.Position, pp1)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp2.Position, pp2)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;if points&gt;2 then&#13;&#10;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp3.Position, pp3)&#13;&#10;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;if points&gt;3 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp4.Position, pp4)&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;if points&gt;4 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp5.Position, pp5)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;5 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp6.Position, pp6)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;6 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp7.Position, pp7)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp8.Position, pp8)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp9.Position, pp9)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function goto(pos,part)&#13;&#10;while true do&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function slash()&#13;&#10;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;wait(.3)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -2.14&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;&#9;wait(.2)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function defence()&#13;&#10;&#9;proxkill=true&#13;&#10;&#9;while proxkill==true do&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local p=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if p~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local p=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;dist and d&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local ex=Instance.new(&quot;Explosion&quot;)&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Position=p&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Parent=game.Workspace&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#9;&#9;&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;wait(1)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(onJumping)&#13;&#10;Humanoid.Climbing:connect(onClimbing)&#13;&#10;Humanoid.GettingUp:connect(onGettingUp)&#13;&#10;Humanoid.FreeFalling:connect(onFreeFall)&#13;&#10;Humanoid.FallingDown:connect(onFallingDown)&#13;&#10;Humanoid.Seated:connect(onSeated)&#13;&#10;&#13;&#10;&#13;&#10;--[[&#13;&#10;&#13;&#10;function newSound(id)&#13;&#10;&#9;local sound = Instance.new(&quot;Sound&quot;)&#13;&#10;&#9;sound.SoundId = id&#13;&#10;&#9;sound.Parent = script.Parent.Head&#13;&#10;&#9;return sound&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;local sDied = newSound(&quot;rbxasset://sounds/uuhhh.wav&quot;)&#13;&#10;local sFallingDown = newSound(&quot;rbxasset://sounds/splat.wav&quot;)&#13;&#10;local sFreeFalling = newSound(&quot;rbxasset://sounds/swoosh.wav&quot;)&#13;&#10;local sGettingUp = newSound(&quot;rbxasset://sounds/hit.wav&quot;)&#13;&#10;local sJumping = newSound(&quot;rbxasset://sounds/button.wav&quot;)&#13;&#10;local sRunning = newSound(&quot;rbxasset://sounds/bfsl-minifigfoots1.mp3&quot;)&#13;&#10;sRunning.Looped = true&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;sDied:play()&#13;&#10;end&#13;&#10;&#13;&#10;function onState(state, sound)&#13;&#10;&#9;if state then&#13;&#10;&#9;&#9;sound:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sound:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;sRunning:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sRunning:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(function(state) onState(state, sJumping) end)&#13;&#10;Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end)&#13;&#10;Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end)&#13;&#10;Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end)&#13;&#10;--]]&#13;&#10;&#13;&#10;local nextTime = 0&#13;&#10;local runService = game:service(&quot;RunService&quot;);&#13;&#10;&#13;&#10;while Figure.Parent~=nil do&#13;&#10;&#9;time = runService.Stepped:wait()&#13;&#10;&#9;if time &gt; nextTime then&#13;&#10;&#9;&#9;move(time)&#13;&#10;&#9;&#9;nextTime = time + 0.1&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX428">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Follow</string>
					<string name="Source">local larm = script.Parent:FindFirstChild(&quot;Left Arm&quot;)&#13;&#10;local rarm = script.Parent:FindFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;function findNearestTorso(pos)&#13;&#10;&#9;local list = game.Workspace:children()&#13;&#10;&#9;local torso = nil&#13;&#10;&#9;local dist = 25&#13;&#10;&#9;local temp = nil&#13;&#10;&#9;local human = nil&#13;&#10;&#9;local temp2 = nil&#13;&#10;&#9;for x = 1, #list do&#13;&#10;&#9;&#9;temp2 = list[x]&#13;&#10;&#9;&#9;if (temp2.className == &quot;Model&quot;) and (temp2 ~= script.Parent) then&#13;&#10;&#9;&#9;&#9;temp = temp2:findFirstChild(&quot;Torso&quot;)&#13;&#10;&#9;&#9;&#9;human = temp2:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;&#9;&#9;if (temp ~= nil) and (human ~= nil) and (human.Health &gt; 0) then&#13;&#10;&#9;&#9;&#9;&#9;if (temp.Position - pos).magnitude &lt; dist then&#13;&#10;&#9;&#9;&#9;&#9;&#9;torso = temp&#13;&#10;&#9;&#9;&#9;&#9;&#9;dist = (temp.Position - pos).magnitude&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return torso&#13;&#10;end&#13;&#10;&#13;&#10;while true do&#13;&#10;&#9;wait(0.1)&#13;&#10;&#9;local target = findNearestTorso(script.Parent.Torso.Position)&#13;&#10;&#9;if target ~= nil then&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#9;end&#13;&#10;end</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Model" referent="RBX429">
			<Properties>
				<token name="Controller">7</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">Warrior</string>
				<Ref name="PrimaryPart">null</Ref>
				<bool name="archivable">true</bool>
			</Properties>
			<Item class="Humanoid" referent="RBX430">
				<Properties>
					<float name="Health">0</float>
					<bool name="Jump">false</bool>
					<float name="MaxHealth">100</float>
					<string name="Name">Humanoid</string>
					<bool name="Sit">false</bool>
					<Vector3 name="TargetPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<Vector3 name="WalkDirection">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<float name="WalkRotationalVelocity">0</float>
					<Ref name="WalkToPart">null</Ref>
					<Vector3 name="WalkToPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX431">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Health</string>
					<string name="Source">function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;-- declarations&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;Humanoid.Health=500&#13;&#10;-- regeneration&#13;&#10;while true do&#13;&#10;&#9;local s = wait(4)&#13;&#10;&#9;local health = Humanoid.Health&#13;&#10;&#9;if health &gt; 0 and health &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;health = health + 0.08 * s * Humanoid.MaxHealth&#13;&#10;&#9;&#9;if health * 1.05 &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;&#9;Humanoid.Health = health&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;Humanoid.Health = Humanoid.MaxHealth&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="BodyColors" referent="RBX432">
				<Properties>
					<int name="HeadColor">24</int>
					<int name="LeftArmColor">28</int>
					<int name="LeftLegColor">28</int>
					<string name="Name">Body Colors</string>
					<int name="RightArmColor">28</int>
					<int name="RightLegColor">28</int>
					<int name="TorsoColor">28</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="IntValue" referent="RBX433">
				<Properties>
					<string name="Name">Value</string>
					<int name="Value">0</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX434">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Robot</string>
					<string name="Source">------------------&#13;&#10;--SPAWNING--&#13;&#10;------------------&#13;&#10;&#13;&#10;miked=script.Parent&#13;&#10;&#13;&#10;itlh=miked.Torso:findFirstChild(&quot;Left Hip&quot;)&#13;&#10;itlh.Part0=miked.Torso&#13;&#10;itlh.Part1=miked:findFirstChild(&quot;Left Leg&quot;)&#13;&#10;itlh.C0=CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;&#13;&#10;itrh=miked.Torso:findFirstChild(&quot;Right Hip&quot;)&#13;&#10;itrh.Part0=miked.Torso&#13;&#10;itrh.Part1=miked:findFirstChild(&quot;Right Leg&quot;)&#13;&#10;itrh.C0=CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;&#13;&#10;itls=miked.Torso:findFirstChild(&quot;Left Shoulder&quot;)&#13;&#10;itls.Part1=miked.Torso&#13;&#10;itls.C0=CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;itls.Part0=miked:findFirstChild(&quot;Left Arm&quot;)&#13;&#10;&#13;&#10;itrs=miked.Torso:findFirstChild(&quot;Right Shoulder&quot;)&#13;&#10;itrs.Part1=miked.Torso&#13;&#10;itrs.C0=CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;itrs.Part0=miked:findFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;miked.Head:makeJoints()&#13;&#10;------------------&#13;&#10;------------------&#13;&#10;&#13;&#10;&#13;&#10;function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Torso = waitForChild(Figure, &quot;Torso&quot;)&#13;&#10;local RightShoulder = waitForChild(Torso, &quot;Right Shoulder&quot;)&#13;&#10;local LeftShoulder = waitForChild(Torso, &quot;Left Shoulder&quot;)&#13;&#10;local RightHip = waitForChild(Torso, &quot;Right Hip&quot;)&#13;&#10;local LeftHip = waitForChild(Torso, &quot;Left Hip&quot;)&#13;&#10;local Neck = waitForChild(Torso, &quot;Neck&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;local pose = &quot;Standing&quot;&#13;&#10;&#13;&#10;local toolAnim = &quot;None&quot;&#13;&#10;local toolAnimTime = 0&#13;&#10;&#13;&#10;local isSeated = false&#13;&#10;&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if isSeated then return end&#13;&#10;&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;pose = &quot;Running&quot;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;pose = &quot;Standing&quot;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;pose = &quot;Dead&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onJumping()&#13;&#10;&#9;isSeated = false&#13;&#10;&#9;pose = &quot;Jumping&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onClimbing()&#13;&#10;&#9;pose = &quot;Climbing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onGettingUp()&#13;&#10;&#9;pose = &quot;GettingUp&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFreeFall()&#13;&#10;&#9;pose = &quot;FreeFall&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onDancing()&#13;&#10;&#9;pose = &quot;Dancing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFallingDown()&#13;&#10;&#9;pose = &quot;FallingDown&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onSeated()&#13;&#10;&#9;isSeated = true&#13;&#10;&#9;pose = &quot;Seated&quot;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function moveJump()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFreeFall()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1&#13;&#10;&#9;LeftShoulder.DesiredAngle = -1&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFloat()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = -1.57&#13;&#10;end&#13;&#10;&#13;&#10;function moveBoogy()&#13;&#10;while pose==&quot;Boogy&quot; do&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 1.57&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;function moveZombie()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function movePunch()&#13;&#10;&#9;script.Parent.Torso.Anchored=true&#13;&#10;&#9;RightShoulder.MaxVelocity = 60&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;script.Parent.Torso.Anchored=false&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveKick()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveFly()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function moveClimb()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveSit()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;RightHip.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftHip.DesiredAngle = -3.14 /2&#13;&#10;end&#13;&#10;&#13;&#10;function getTool()&#13;&#10;&#9;&#13;&#10;&#9;kidTable = Figure:children()&#13;&#10;&#9;if (kidTable ~= nil) then&#13;&#10;&#9;&#9;numKids = #kidTable&#13;&#10;&#9;&#9;for i=1,numKids do&#13;&#10;&#9;&#9;&#9;if (kidTable[i].className == &quot;Tool&quot;) then return kidTable[i] end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;c = tool:children()&#13;&#10;&#9;for i=1,#c do&#13;&#10;&#9;&#9;if (c[i].Name == &quot;toolanim&quot; and c[i].className == &quot;StringValue&quot;) then&#13;&#10;&#9;&#9;&#9;return c[i]&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function animateTool()&#13;&#10;&#9;&#13;&#10;&#9;if (toolAnim == &quot;None&quot;) then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Slash&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Lunge&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 1.0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 1.0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function move(time)&#13;&#10;&#9;local amplitude&#13;&#10;&#9;local frequency&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Jumping&quot;) then&#13;&#10;&#9;&#9;moveJump()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Zombie&quot;) then&#13;&#10;&#9;&#9;moveZombie()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Boogy&quot;) then&#13;&#10;&#9;&#9;moveBoogy()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Float&quot;) then&#13;&#10;&#9;&#9;moveFloat()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Punch&quot;) then&#13;&#10;&#9;&#9;movePunch()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Kick&quot;) then&#13;&#10;&#9;&#9;moveKick()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Fly&quot;) then&#13;&#10;&#9;&#9;moveFly()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;FreeFall&quot;) then&#13;&#10;&#9;&#9;moveFreeFall()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Climbing&quot;) then&#13;&#10;&#9;&#9;moveClimb()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Seated&quot;) then&#13;&#10;&#9;&#9;moveSit()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;amplitude = 0.1&#13;&#10;&#9;&#9;frequency = 1&#13;&#10;&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;if (pose == &quot;Running&quot;) then&#13;&#10;&#9;&#9;amplitude = 1&#13;&#10;&#9;&#9;frequency = 9&#13;&#10;&#9;elseif (pose == &quot;Dancing&quot;) then&#13;&#10;&#9;&#9;amplitude = 2&#13;&#10;&#9;&#9;frequency = 16&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#13;&#10;&#9;desiredAngle = amplitude * math.sin(time*frequency)&#13;&#10;&#9;if pose~=&quot;Dancing&quot; then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;else&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;end&#13;&#10;&#9;&#9;&#13;&#10;&#13;&#10;&#13;&#10;&#9;local tool = getTool()&#13;&#10;&#13;&#10;&#9;if tool ~= nil then&#13;&#10;&#9;&#13;&#10;&#9;&#9;animStringValueObject = getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;&#9;if animStringValueObject ~= nil then&#13;&#10;&#9;&#9;&#9;toolAnim = animStringValueObject.Value&#13;&#10;&#9;&#9;&#9;-- message recieved, delete StringValue&#13;&#10;&#9;&#9;&#9;animStringValueObject.Parent = nil&#13;&#10;&#9;&#9;&#9;toolAnimTime = time + .3&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if time &gt; toolAnimTime then&#13;&#10;&#9;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;animateTool()&#13;&#10;&#13;&#10;&#9;&#9;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;-- connect events&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;function unequip()&#13;&#10;&#9;local items=script.Parent:children()&#13;&#10;&#9;for i=1, #items do&#13;&#10;&#9;&#9;if items[i].className==&quot;Tool&quot; then items[i]:remove() end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onChatted(msg, recipient) &#13;&#10;&#9;msg = string.lower(msg)&#13;&#10;&#13;&#10;&#9;if string.match(msg, string.lower(script.Parent.Name))~=nil or string.match(msg, &quot;everyone&quot;) then&#13;&#10;&#9;&#9;if string.match(msg, &quot;equip&quot;) then &#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;Hub&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;if string.match(msg, &quot;rocket&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Rocket:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;slingshot&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Slingshot:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;sword&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Sword:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;pbg&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.PBG:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;superball&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Superball:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;trowel&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Trowel:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;bomb&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Bomb:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;unequip&quot;) then unequip() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;run&quot;) then onRunning(1) end&#13;&#10;&#9;&#9;if string.match(msg, &quot;climb&quot;) then onClimbing() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;jump&quot;) then onJumping() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;zombie&quot;) then pose=&quot;Zombie&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;disco&quot;) then pose=&quot;Boogy&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;float&quot;) then pose=&quot;Float&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;punch&quot;) then pose=&quot;Punch&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kick&quot;) then pose=&quot;Kick&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;fly&quot;) then pose=&quot;Fly&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;heal&quot;) then script.Parent.Humanoid.Health=script.Parent.Humanoid.MaxHealth end&#13;&#10;&#9;&#9;if string.match(msg, &quot;defend&quot;) then defence() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;stop&quot;) then pose=&quot;Standing&quot;; proxkill=false; following=false; stopmoving() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;go home&quot;) then following=false; gohome() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;follow&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;followany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;follow(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kill&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;attackany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;attack(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if game.Players.NumPlayers&gt;1 then&#13;&#10;&#9;x=game.Players:children()&#13;&#10;&#9;&#13;&#10;&#9;for i=1, #x do&#13;&#10;&#9;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function onPlayerEntered(Player) &#13;&#10;&#9;while Player.Name==nil do&#13;&#10;&#9;&#9;wait(2)&#13;&#10;&#9;end&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;end&#13;&#10;&#9;else&#13;&#10;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;game.Players.ChildAdded:connect(onPlayerEntered) &#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;dist=20&#13;&#10;&#13;&#10;function followany()&#13;&#10;following=true&#13;&#10;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 6 do&#13;&#10;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then stopmoving() else&#9;wait(0.5) end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function gohome()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(Vector3.new(0,0,0), game.Workspace.Bases.Base)&#13;&#10;end&#13;&#10;function stopmoving()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(script.Parent.Torso.Position, script.Parent.Torso)&#13;&#10;end&#13;&#10;&#13;&#10;function follow(name)&#13;&#10;&#9;following=true&#13;&#10;&#13;&#10;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;if p==nil then return end&#13;&#10;&#9;while following==true do&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attack(name)&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#9;&#9;following=true&#13;&#10;&#9;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;&#9;if p==nil then return end&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#9;local l=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((l.x-q.x)^2)+((l.y-q.y)^2)+((l.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;if (q.y-l.y)&gt;3 and (q.y-l.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attackany()&#13;&#10;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#13;&#10;&#9;following=true&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;slash()&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;if target.Parent==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then &#13;&#10;&#9;&#9;&#9;&#9;&#9;stopmoving() &#13;&#10;&#9;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=target.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if (q.y-p.y)&gt;3 and (q.y-p.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function patrol()&#13;&#10;&#9;if points==nil then&#13;&#10;&#9;&#9;points=0&#13;&#10;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp1&quot;)~=nil then&#13;&#10;&#9;&#9;pp1=game.Workspace:findFirstChild(&quot;pp1&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp2&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;pp2=game.Workspace:findFirstChild(&quot;pp2&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp3&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;pp3=game.Workspace:findFirstChild(&quot;pp3&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp4&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;pp4=game.Workspace:findFirstChild(&quot;pp4&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp5&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;pp5=game.Workspace:findFirstChild(&quot;pp5&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp6&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp6=game.Workspace:findFirstChild(&quot;pp6&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp7&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp7=game.Workspace:findFirstChild(&quot;pp7&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp8&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp8=game.Workspace:findFirstChild(&quot;pp8&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp9&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp9=game.Workspace:findFirstChild(&quot;pp9&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if points&lt;1 then return end&#13;&#10;&#9;patrolling=true&#13;&#10;&#9;local time=2&#13;&#10;&#9;if points==1 then return end&#13;&#10;&#9;if points&gt;1 then&#13;&#10;&#9;&#9;while patrolling==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp1.Position, pp1)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp2.Position, pp2)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;if points&gt;2 then&#13;&#10;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp3.Position, pp3)&#13;&#10;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;if points&gt;3 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp4.Position, pp4)&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;if points&gt;4 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp5.Position, pp5)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;5 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp6.Position, pp6)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;6 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp7.Position, pp7)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp8.Position, pp8)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp9.Position, pp9)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function goto(pos,part)&#13;&#10;while true do&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function slash()&#13;&#10;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;wait(.3)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -2.14&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;&#9;wait(.2)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function defence()&#13;&#10;&#9;proxkill=true&#13;&#10;&#9;while proxkill==true do&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local p=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if p~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local p=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;dist and d&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local ex=Instance.new(&quot;Explosion&quot;)&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Position=p&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Parent=game.Workspace&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#9;&#9;&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;wait(1)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(onJumping)&#13;&#10;Humanoid.Climbing:connect(onClimbing)&#13;&#10;Humanoid.GettingUp:connect(onGettingUp)&#13;&#10;Humanoid.FreeFalling:connect(onFreeFall)&#13;&#10;Humanoid.FallingDown:connect(onFallingDown)&#13;&#10;Humanoid.Seated:connect(onSeated)&#13;&#10;&#13;&#10;&#13;&#10;--[[&#13;&#10;&#13;&#10;function newSound(id)&#13;&#10;&#9;local sound = Instance.new(&quot;Sound&quot;)&#13;&#10;&#9;sound.SoundId = id&#13;&#10;&#9;sound.Parent = script.Parent.Head&#13;&#10;&#9;return sound&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;local sDied = newSound(&quot;rbxasset://sounds/uuhhh.wav&quot;)&#13;&#10;local sFallingDown = newSound(&quot;rbxasset://sounds/splat.wav&quot;)&#13;&#10;local sFreeFalling = newSound(&quot;rbxasset://sounds/swoosh.wav&quot;)&#13;&#10;local sGettingUp = newSound(&quot;rbxasset://sounds/hit.wav&quot;)&#13;&#10;local sJumping = newSound(&quot;rbxasset://sounds/button.wav&quot;)&#13;&#10;local sRunning = newSound(&quot;rbxasset://sounds/bfsl-minifigfoots1.mp3&quot;)&#13;&#10;sRunning.Looped = true&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;sDied:play()&#13;&#10;end&#13;&#10;&#13;&#10;function onState(state, sound)&#13;&#10;&#9;if state then&#13;&#10;&#9;&#9;sound:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sound:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;sRunning:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sRunning:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(function(state) onState(state, sJumping) end)&#13;&#10;Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end)&#13;&#10;Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end)&#13;&#10;Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end)&#13;&#10;--]]&#13;&#10;&#13;&#10;local nextTime = 0&#13;&#10;local runService = game:service(&quot;RunService&quot;);&#13;&#10;&#13;&#10;while Figure.Parent~=nil do&#13;&#10;&#9;time = runService.Stepped:wait()&#13;&#10;&#9;if time &gt; nextTime then&#13;&#10;&#9;&#9;move(time)&#13;&#10;&#9;&#9;nextTime = time + 0.1&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX435">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Follow</string>
					<string name="Source">local larm = script.Parent:FindFirstChild(&quot;Left Arm&quot;)&#13;&#10;local rarm = script.Parent:FindFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;function findNearestTorso(pos)&#13;&#10;&#9;local list = game.Workspace:children()&#13;&#10;&#9;local torso = nil&#13;&#10;&#9;local dist = 25&#13;&#10;&#9;local temp = nil&#13;&#10;&#9;local human = nil&#13;&#10;&#9;local temp2 = nil&#13;&#10;&#9;for x = 1, #list do&#13;&#10;&#9;&#9;temp2 = list[x]&#13;&#10;&#9;&#9;if (temp2.className == &quot;Model&quot;) and (temp2 ~= script.Parent) then&#13;&#10;&#9;&#9;&#9;temp = temp2:findFirstChild(&quot;Torso&quot;)&#13;&#10;&#9;&#9;&#9;human = temp2:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;&#9;&#9;if (temp ~= nil) and (human ~= nil) and (human.Health &gt; 0) then&#13;&#10;&#9;&#9;&#9;&#9;if (temp.Position - pos).magnitude &lt; dist then&#13;&#10;&#9;&#9;&#9;&#9;&#9;torso = temp&#13;&#10;&#9;&#9;&#9;&#9;&#9;dist = (temp.Position - pos).magnitude&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return torso&#13;&#10;end&#13;&#10;&#13;&#10;while true do&#13;&#10;&#9;wait(0.1)&#13;&#10;&#9;local target = findNearestTorso(script.Parent.Torso.Position)&#13;&#10;&#9;if target ~= nil then&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#9;end&#13;&#10;end</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Model" referent="RBX436">
			<Properties>
				<token name="Controller">7</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">Warrior</string>
				<Ref name="PrimaryPart">null</Ref>
				<bool name="archivable">true</bool>
			</Properties>
			<Item class="Humanoid" referent="RBX437">
				<Properties>
					<float name="Health">0</float>
					<bool name="Jump">false</bool>
					<float name="MaxHealth">100</float>
					<string name="Name">Humanoid</string>
					<bool name="Sit">false</bool>
					<Vector3 name="TargetPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<Vector3 name="WalkDirection">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<float name="WalkRotationalVelocity">0</float>
					<Ref name="WalkToPart">null</Ref>
					<Vector3 name="WalkToPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX438">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Health</string>
					<string name="Source">function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;-- declarations&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;Humanoid.Health=500&#13;&#10;-- regeneration&#13;&#10;while true do&#13;&#10;&#9;local s = wait(4)&#13;&#10;&#9;local health = Humanoid.Health&#13;&#10;&#9;if health &gt; 0 and health &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;health = health + 0.08 * s * Humanoid.MaxHealth&#13;&#10;&#9;&#9;if health * 1.05 &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;&#9;Humanoid.Health = health&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;Humanoid.Health = Humanoid.MaxHealth&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="BodyColors" referent="RBX439">
				<Properties>
					<int name="HeadColor">24</int>
					<int name="LeftArmColor">28</int>
					<int name="LeftLegColor">28</int>
					<string name="Name">Body Colors</string>
					<int name="RightArmColor">28</int>
					<int name="RightLegColor">28</int>
					<int name="TorsoColor">28</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="IntValue" referent="RBX440">
				<Properties>
					<string name="Name">Value</string>
					<int name="Value">0</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX441">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Robot</string>
					<string name="Source">------------------&#13;&#10;--SPAWNING--&#13;&#10;------------------&#13;&#10;&#13;&#10;miked=script.Parent&#13;&#10;&#13;&#10;itlh=miked.Torso:findFirstChild(&quot;Left Hip&quot;)&#13;&#10;itlh.Part0=miked.Torso&#13;&#10;itlh.Part1=miked:findFirstChild(&quot;Left Leg&quot;)&#13;&#10;itlh.C0=CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;&#13;&#10;itrh=miked.Torso:findFirstChild(&quot;Right Hip&quot;)&#13;&#10;itrh.Part0=miked.Torso&#13;&#10;itrh.Part1=miked:findFirstChild(&quot;Right Leg&quot;)&#13;&#10;itrh.C0=CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;&#13;&#10;itls=miked.Torso:findFirstChild(&quot;Left Shoulder&quot;)&#13;&#10;itls.Part1=miked.Torso&#13;&#10;itls.C0=CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;itls.Part0=miked:findFirstChild(&quot;Left Arm&quot;)&#13;&#10;&#13;&#10;itrs=miked.Torso:findFirstChild(&quot;Right Shoulder&quot;)&#13;&#10;itrs.Part1=miked.Torso&#13;&#10;itrs.C0=CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;itrs.Part0=miked:findFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;miked.Head:makeJoints()&#13;&#10;------------------&#13;&#10;------------------&#13;&#10;&#13;&#10;&#13;&#10;function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Torso = waitForChild(Figure, &quot;Torso&quot;)&#13;&#10;local RightShoulder = waitForChild(Torso, &quot;Right Shoulder&quot;)&#13;&#10;local LeftShoulder = waitForChild(Torso, &quot;Left Shoulder&quot;)&#13;&#10;local RightHip = waitForChild(Torso, &quot;Right Hip&quot;)&#13;&#10;local LeftHip = waitForChild(Torso, &quot;Left Hip&quot;)&#13;&#10;local Neck = waitForChild(Torso, &quot;Neck&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;local pose = &quot;Standing&quot;&#13;&#10;&#13;&#10;local toolAnim = &quot;None&quot;&#13;&#10;local toolAnimTime = 0&#13;&#10;&#13;&#10;local isSeated = false&#13;&#10;&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if isSeated then return end&#13;&#10;&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;pose = &quot;Running&quot;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;pose = &quot;Standing&quot;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;pose = &quot;Dead&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onJumping()&#13;&#10;&#9;isSeated = false&#13;&#10;&#9;pose = &quot;Jumping&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onClimbing()&#13;&#10;&#9;pose = &quot;Climbing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onGettingUp()&#13;&#10;&#9;pose = &quot;GettingUp&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFreeFall()&#13;&#10;&#9;pose = &quot;FreeFall&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onDancing()&#13;&#10;&#9;pose = &quot;Dancing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFallingDown()&#13;&#10;&#9;pose = &quot;FallingDown&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onSeated()&#13;&#10;&#9;isSeated = true&#13;&#10;&#9;pose = &quot;Seated&quot;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function moveJump()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFreeFall()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1&#13;&#10;&#9;LeftShoulder.DesiredAngle = -1&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFloat()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = -1.57&#13;&#10;end&#13;&#10;&#13;&#10;function moveBoogy()&#13;&#10;while pose==&quot;Boogy&quot; do&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 1.57&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;function moveZombie()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function movePunch()&#13;&#10;&#9;script.Parent.Torso.Anchored=true&#13;&#10;&#9;RightShoulder.MaxVelocity = 60&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;script.Parent.Torso.Anchored=false&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveKick()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveFly()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function moveClimb()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveSit()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;RightHip.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftHip.DesiredAngle = -3.14 /2&#13;&#10;end&#13;&#10;&#13;&#10;function getTool()&#13;&#10;&#9;&#13;&#10;&#9;kidTable = Figure:children()&#13;&#10;&#9;if (kidTable ~= nil) then&#13;&#10;&#9;&#9;numKids = #kidTable&#13;&#10;&#9;&#9;for i=1,numKids do&#13;&#10;&#9;&#9;&#9;if (kidTable[i].className == &quot;Tool&quot;) then return kidTable[i] end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;c = tool:children()&#13;&#10;&#9;for i=1,#c do&#13;&#10;&#9;&#9;if (c[i].Name == &quot;toolanim&quot; and c[i].className == &quot;StringValue&quot;) then&#13;&#10;&#9;&#9;&#9;return c[i]&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function animateTool()&#13;&#10;&#9;&#13;&#10;&#9;if (toolAnim == &quot;None&quot;) then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Slash&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Lunge&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 1.0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 1.0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function move(time)&#13;&#10;&#9;local amplitude&#13;&#10;&#9;local frequency&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Jumping&quot;) then&#13;&#10;&#9;&#9;moveJump()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Zombie&quot;) then&#13;&#10;&#9;&#9;moveZombie()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Boogy&quot;) then&#13;&#10;&#9;&#9;moveBoogy()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Float&quot;) then&#13;&#10;&#9;&#9;moveFloat()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Punch&quot;) then&#13;&#10;&#9;&#9;movePunch()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Kick&quot;) then&#13;&#10;&#9;&#9;moveKick()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Fly&quot;) then&#13;&#10;&#9;&#9;moveFly()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;FreeFall&quot;) then&#13;&#10;&#9;&#9;moveFreeFall()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Climbing&quot;) then&#13;&#10;&#9;&#9;moveClimb()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Seated&quot;) then&#13;&#10;&#9;&#9;moveSit()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;amplitude = 0.1&#13;&#10;&#9;&#9;frequency = 1&#13;&#10;&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;if (pose == &quot;Running&quot;) then&#13;&#10;&#9;&#9;amplitude = 1&#13;&#10;&#9;&#9;frequency = 9&#13;&#10;&#9;elseif (pose == &quot;Dancing&quot;) then&#13;&#10;&#9;&#9;amplitude = 2&#13;&#10;&#9;&#9;frequency = 16&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#13;&#10;&#9;desiredAngle = amplitude * math.sin(time*frequency)&#13;&#10;&#9;if pose~=&quot;Dancing&quot; then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;else&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;end&#13;&#10;&#9;&#9;&#13;&#10;&#13;&#10;&#13;&#10;&#9;local tool = getTool()&#13;&#10;&#13;&#10;&#9;if tool ~= nil then&#13;&#10;&#9;&#13;&#10;&#9;&#9;animStringValueObject = getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;&#9;if animStringValueObject ~= nil then&#13;&#10;&#9;&#9;&#9;toolAnim = animStringValueObject.Value&#13;&#10;&#9;&#9;&#9;-- message recieved, delete StringValue&#13;&#10;&#9;&#9;&#9;animStringValueObject.Parent = nil&#13;&#10;&#9;&#9;&#9;toolAnimTime = time + .3&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if time &gt; toolAnimTime then&#13;&#10;&#9;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;animateTool()&#13;&#10;&#13;&#10;&#9;&#9;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;-- connect events&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;function unequip()&#13;&#10;&#9;local items=script.Parent:children()&#13;&#10;&#9;for i=1, #items do&#13;&#10;&#9;&#9;if items[i].className==&quot;Tool&quot; then items[i]:remove() end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onChatted(msg, recipient) &#13;&#10;&#9;msg = string.lower(msg)&#13;&#10;&#13;&#10;&#9;if string.match(msg, string.lower(script.Parent.Name))~=nil or string.match(msg, &quot;everyone&quot;) then&#13;&#10;&#9;&#9;if string.match(msg, &quot;equip&quot;) then &#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;Hub&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;if string.match(msg, &quot;rocket&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Rocket:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;slingshot&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Slingshot:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;sword&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Sword:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;pbg&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.PBG:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;superball&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Superball:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;trowel&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Trowel:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;bomb&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Bomb:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;unequip&quot;) then unequip() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;run&quot;) then onRunning(1) end&#13;&#10;&#9;&#9;if string.match(msg, &quot;climb&quot;) then onClimbing() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;jump&quot;) then onJumping() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;zombie&quot;) then pose=&quot;Zombie&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;disco&quot;) then pose=&quot;Boogy&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;float&quot;) then pose=&quot;Float&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;punch&quot;) then pose=&quot;Punch&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kick&quot;) then pose=&quot;Kick&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;fly&quot;) then pose=&quot;Fly&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;heal&quot;) then script.Parent.Humanoid.Health=script.Parent.Humanoid.MaxHealth end&#13;&#10;&#9;&#9;if string.match(msg, &quot;defend&quot;) then defence() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;stop&quot;) then pose=&quot;Standing&quot;; proxkill=false; following=false; stopmoving() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;go home&quot;) then following=false; gohome() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;follow&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;followany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;follow(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kill&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;attackany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;attack(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if game.Players.NumPlayers&gt;1 then&#13;&#10;&#9;x=game.Players:children()&#13;&#10;&#9;&#13;&#10;&#9;for i=1, #x do&#13;&#10;&#9;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function onPlayerEntered(Player) &#13;&#10;&#9;while Player.Name==nil do&#13;&#10;&#9;&#9;wait(2)&#13;&#10;&#9;end&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;end&#13;&#10;&#9;else&#13;&#10;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;game.Players.ChildAdded:connect(onPlayerEntered) &#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;dist=20&#13;&#10;&#13;&#10;function followany()&#13;&#10;following=true&#13;&#10;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 6 do&#13;&#10;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then stopmoving() else&#9;wait(0.5) end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function gohome()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(Vector3.new(0,0,0), game.Workspace.Bases.Base)&#13;&#10;end&#13;&#10;function stopmoving()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(script.Parent.Torso.Position, script.Parent.Torso)&#13;&#10;end&#13;&#10;&#13;&#10;function follow(name)&#13;&#10;&#9;following=true&#13;&#10;&#13;&#10;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;if p==nil then return end&#13;&#10;&#9;while following==true do&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attack(name)&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#9;&#9;following=true&#13;&#10;&#9;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;&#9;if p==nil then return end&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#9;local l=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((l.x-q.x)^2)+((l.y-q.y)^2)+((l.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;if (q.y-l.y)&gt;3 and (q.y-l.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attackany()&#13;&#10;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#13;&#10;&#9;following=true&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;slash()&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;if target.Parent==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then &#13;&#10;&#9;&#9;&#9;&#9;&#9;stopmoving() &#13;&#10;&#9;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=target.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if (q.y-p.y)&gt;3 and (q.y-p.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function patrol()&#13;&#10;&#9;if points==nil then&#13;&#10;&#9;&#9;points=0&#13;&#10;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp1&quot;)~=nil then&#13;&#10;&#9;&#9;pp1=game.Workspace:findFirstChild(&quot;pp1&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp2&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;pp2=game.Workspace:findFirstChild(&quot;pp2&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp3&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;pp3=game.Workspace:findFirstChild(&quot;pp3&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp4&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;pp4=game.Workspace:findFirstChild(&quot;pp4&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp5&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;pp5=game.Workspace:findFirstChild(&quot;pp5&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp6&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp6=game.Workspace:findFirstChild(&quot;pp6&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp7&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp7=game.Workspace:findFirstChild(&quot;pp7&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp8&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp8=game.Workspace:findFirstChild(&quot;pp8&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp9&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp9=game.Workspace:findFirstChild(&quot;pp9&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if points&lt;1 then return end&#13;&#10;&#9;patrolling=true&#13;&#10;&#9;local time=2&#13;&#10;&#9;if points==1 then return end&#13;&#10;&#9;if points&gt;1 then&#13;&#10;&#9;&#9;while patrolling==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp1.Position, pp1)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp2.Position, pp2)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;if points&gt;2 then&#13;&#10;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp3.Position, pp3)&#13;&#10;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;if points&gt;3 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp4.Position, pp4)&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;if points&gt;4 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp5.Position, pp5)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;5 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp6.Position, pp6)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;6 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp7.Position, pp7)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp8.Position, pp8)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp9.Position, pp9)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function goto(pos,part)&#13;&#10;while true do&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function slash()&#13;&#10;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;wait(.3)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -2.14&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;&#9;wait(.2)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function defence()&#13;&#10;&#9;proxkill=true&#13;&#10;&#9;while proxkill==true do&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local p=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if p~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local p=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;dist and d&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local ex=Instance.new(&quot;Explosion&quot;)&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Position=p&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Parent=game.Workspace&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#9;&#9;&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;wait(1)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(onJumping)&#13;&#10;Humanoid.Climbing:connect(onClimbing)&#13;&#10;Humanoid.GettingUp:connect(onGettingUp)&#13;&#10;Humanoid.FreeFalling:connect(onFreeFall)&#13;&#10;Humanoid.FallingDown:connect(onFallingDown)&#13;&#10;Humanoid.Seated:connect(onSeated)&#13;&#10;&#13;&#10;&#13;&#10;--[[&#13;&#10;&#13;&#10;function newSound(id)&#13;&#10;&#9;local sound = Instance.new(&quot;Sound&quot;)&#13;&#10;&#9;sound.SoundId = id&#13;&#10;&#9;sound.Parent = script.Parent.Head&#13;&#10;&#9;return sound&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;local sDied = newSound(&quot;rbxasset://sounds/uuhhh.wav&quot;)&#13;&#10;local sFallingDown = newSound(&quot;rbxasset://sounds/splat.wav&quot;)&#13;&#10;local sFreeFalling = newSound(&quot;rbxasset://sounds/swoosh.wav&quot;)&#13;&#10;local sGettingUp = newSound(&quot;rbxasset://sounds/hit.wav&quot;)&#13;&#10;local sJumping = newSound(&quot;rbxasset://sounds/button.wav&quot;)&#13;&#10;local sRunning = newSound(&quot;rbxasset://sounds/bfsl-minifigfoots1.mp3&quot;)&#13;&#10;sRunning.Looped = true&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;sDied:play()&#13;&#10;end&#13;&#10;&#13;&#10;function onState(state, sound)&#13;&#10;&#9;if state then&#13;&#10;&#9;&#9;sound:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sound:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;sRunning:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sRunning:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(function(state) onState(state, sJumping) end)&#13;&#10;Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end)&#13;&#10;Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end)&#13;&#10;Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end)&#13;&#10;--]]&#13;&#10;&#13;&#10;local nextTime = 0&#13;&#10;local runService = game:service(&quot;RunService&quot;);&#13;&#10;&#13;&#10;while Figure.Parent~=nil do&#13;&#10;&#9;time = runService.Stepped:wait()&#13;&#10;&#9;if time &gt; nextTime then&#13;&#10;&#9;&#9;move(time)&#13;&#10;&#9;&#9;nextTime = time + 0.1&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX442">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Follow</string>
					<string name="Source">local larm = script.Parent:FindFirstChild(&quot;Left Arm&quot;)&#13;&#10;local rarm = script.Parent:FindFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;function findNearestTorso(pos)&#13;&#10;&#9;local list = game.Workspace:children()&#13;&#10;&#9;local torso = nil&#13;&#10;&#9;local dist = 25&#13;&#10;&#9;local temp = nil&#13;&#10;&#9;local human = nil&#13;&#10;&#9;local temp2 = nil&#13;&#10;&#9;for x = 1, #list do&#13;&#10;&#9;&#9;temp2 = list[x]&#13;&#10;&#9;&#9;if (temp2.className == &quot;Model&quot;) and (temp2 ~= script.Parent) then&#13;&#10;&#9;&#9;&#9;temp = temp2:findFirstChild(&quot;Torso&quot;)&#13;&#10;&#9;&#9;&#9;human = temp2:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;&#9;&#9;if (temp ~= nil) and (human ~= nil) and (human.Health &gt; 0) then&#13;&#10;&#9;&#9;&#9;&#9;if (temp.Position - pos).magnitude &lt; dist then&#13;&#10;&#9;&#9;&#9;&#9;&#9;torso = temp&#13;&#10;&#9;&#9;&#9;&#9;&#9;dist = (temp.Position - pos).magnitude&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return torso&#13;&#10;end&#13;&#10;&#13;&#10;while true do&#13;&#10;&#9;wait(0.1)&#13;&#10;&#9;local target = findNearestTorso(script.Parent.Torso.Position)&#13;&#10;&#9;if target ~= nil then&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#9;end&#13;&#10;end</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Model" referent="RBX443">
			<Properties>
				<token name="Controller">7</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">Warrior</string>
				<Ref name="PrimaryPart">null</Ref>
				<bool name="archivable">true</bool>
			</Properties>
			<Item class="Humanoid" referent="RBX444">
				<Properties>
					<float name="Health">0</float>
					<bool name="Jump">false</bool>
					<float name="MaxHealth">100</float>
					<string name="Name">Humanoid</string>
					<bool name="Sit">false</bool>
					<Vector3 name="TargetPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<Vector3 name="WalkDirection">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<float name="WalkRotationalVelocity">0</float>
					<Ref name="WalkToPart">null</Ref>
					<Vector3 name="WalkToPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX445">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Health</string>
					<string name="Source">function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;-- declarations&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;Humanoid.Health=500&#13;&#10;-- regeneration&#13;&#10;while true do&#13;&#10;&#9;local s = wait(4)&#13;&#10;&#9;local health = Humanoid.Health&#13;&#10;&#9;if health &gt; 0 and health &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;health = health + 0.08 * s * Humanoid.MaxHealth&#13;&#10;&#9;&#9;if health * 1.05 &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;&#9;Humanoid.Health = health&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;Humanoid.Health = Humanoid.MaxHealth&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="BodyColors" referent="RBX446">
				<Properties>
					<int name="HeadColor">24</int>
					<int name="LeftArmColor">28</int>
					<int name="LeftLegColor">28</int>
					<string name="Name">Body Colors</string>
					<int name="RightArmColor">28</int>
					<int name="RightLegColor">28</int>
					<int name="TorsoColor">28</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="IntValue" referent="RBX447">
				<Properties>
					<string name="Name">Value</string>
					<int name="Value">0</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX448">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Robot</string>
					<string name="Source">------------------&#13;&#10;--SPAWNING--&#13;&#10;------------------&#13;&#10;&#13;&#10;miked=script.Parent&#13;&#10;&#13;&#10;itlh=miked.Torso:findFirstChild(&quot;Left Hip&quot;)&#13;&#10;itlh.Part0=miked.Torso&#13;&#10;itlh.Part1=miked:findFirstChild(&quot;Left Leg&quot;)&#13;&#10;itlh.C0=CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;&#13;&#10;itrh=miked.Torso:findFirstChild(&quot;Right Hip&quot;)&#13;&#10;itrh.Part0=miked.Torso&#13;&#10;itrh.Part1=miked:findFirstChild(&quot;Right Leg&quot;)&#13;&#10;itrh.C0=CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;&#13;&#10;itls=miked.Torso:findFirstChild(&quot;Left Shoulder&quot;)&#13;&#10;itls.Part1=miked.Torso&#13;&#10;itls.C0=CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;itls.Part0=miked:findFirstChild(&quot;Left Arm&quot;)&#13;&#10;&#13;&#10;itrs=miked.Torso:findFirstChild(&quot;Right Shoulder&quot;)&#13;&#10;itrs.Part1=miked.Torso&#13;&#10;itrs.C0=CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;itrs.Part0=miked:findFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;miked.Head:makeJoints()&#13;&#10;------------------&#13;&#10;------------------&#13;&#10;&#13;&#10;&#13;&#10;function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Torso = waitForChild(Figure, &quot;Torso&quot;)&#13;&#10;local RightShoulder = waitForChild(Torso, &quot;Right Shoulder&quot;)&#13;&#10;local LeftShoulder = waitForChild(Torso, &quot;Left Shoulder&quot;)&#13;&#10;local RightHip = waitForChild(Torso, &quot;Right Hip&quot;)&#13;&#10;local LeftHip = waitForChild(Torso, &quot;Left Hip&quot;)&#13;&#10;local Neck = waitForChild(Torso, &quot;Neck&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;local pose = &quot;Standing&quot;&#13;&#10;&#13;&#10;local toolAnim = &quot;None&quot;&#13;&#10;local toolAnimTime = 0&#13;&#10;&#13;&#10;local isSeated = false&#13;&#10;&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if isSeated then return end&#13;&#10;&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;pose = &quot;Running&quot;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;pose = &quot;Standing&quot;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;pose = &quot;Dead&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onJumping()&#13;&#10;&#9;isSeated = false&#13;&#10;&#9;pose = &quot;Jumping&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onClimbing()&#13;&#10;&#9;pose = &quot;Climbing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onGettingUp()&#13;&#10;&#9;pose = &quot;GettingUp&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFreeFall()&#13;&#10;&#9;pose = &quot;FreeFall&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onDancing()&#13;&#10;&#9;pose = &quot;Dancing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFallingDown()&#13;&#10;&#9;pose = &quot;FallingDown&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onSeated()&#13;&#10;&#9;isSeated = true&#13;&#10;&#9;pose = &quot;Seated&quot;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function moveJump()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFreeFall()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1&#13;&#10;&#9;LeftShoulder.DesiredAngle = -1&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFloat()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = -1.57&#13;&#10;end&#13;&#10;&#13;&#10;function moveBoogy()&#13;&#10;while pose==&quot;Boogy&quot; do&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 1.57&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;function moveZombie()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function movePunch()&#13;&#10;&#9;script.Parent.Torso.Anchored=true&#13;&#10;&#9;RightShoulder.MaxVelocity = 60&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;script.Parent.Torso.Anchored=false&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveKick()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveFly()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function moveClimb()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveSit()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;RightHip.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftHip.DesiredAngle = -3.14 /2&#13;&#10;end&#13;&#10;&#13;&#10;function getTool()&#13;&#10;&#9;&#13;&#10;&#9;kidTable = Figure:children()&#13;&#10;&#9;if (kidTable ~= nil) then&#13;&#10;&#9;&#9;numKids = #kidTable&#13;&#10;&#9;&#9;for i=1,numKids do&#13;&#10;&#9;&#9;&#9;if (kidTable[i].className == &quot;Tool&quot;) then return kidTable[i] end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;c = tool:children()&#13;&#10;&#9;for i=1,#c do&#13;&#10;&#9;&#9;if (c[i].Name == &quot;toolanim&quot; and c[i].className == &quot;StringValue&quot;) then&#13;&#10;&#9;&#9;&#9;return c[i]&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function animateTool()&#13;&#10;&#9;&#13;&#10;&#9;if (toolAnim == &quot;None&quot;) then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Slash&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Lunge&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 1.0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 1.0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function move(time)&#13;&#10;&#9;local amplitude&#13;&#10;&#9;local frequency&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Jumping&quot;) then&#13;&#10;&#9;&#9;moveJump()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Zombie&quot;) then&#13;&#10;&#9;&#9;moveZombie()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Boogy&quot;) then&#13;&#10;&#9;&#9;moveBoogy()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Float&quot;) then&#13;&#10;&#9;&#9;moveFloat()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Punch&quot;) then&#13;&#10;&#9;&#9;movePunch()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Kick&quot;) then&#13;&#10;&#9;&#9;moveKick()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Fly&quot;) then&#13;&#10;&#9;&#9;moveFly()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;FreeFall&quot;) then&#13;&#10;&#9;&#9;moveFreeFall()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Climbing&quot;) then&#13;&#10;&#9;&#9;moveClimb()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Seated&quot;) then&#13;&#10;&#9;&#9;moveSit()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;amplitude = 0.1&#13;&#10;&#9;&#9;frequency = 1&#13;&#10;&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;if (pose == &quot;Running&quot;) then&#13;&#10;&#9;&#9;amplitude = 1&#13;&#10;&#9;&#9;frequency = 9&#13;&#10;&#9;elseif (pose == &quot;Dancing&quot;) then&#13;&#10;&#9;&#9;amplitude = 2&#13;&#10;&#9;&#9;frequency = 16&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#13;&#10;&#9;desiredAngle = amplitude * math.sin(time*frequency)&#13;&#10;&#9;if pose~=&quot;Dancing&quot; then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;else&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;end&#13;&#10;&#9;&#9;&#13;&#10;&#13;&#10;&#13;&#10;&#9;local tool = getTool()&#13;&#10;&#13;&#10;&#9;if tool ~= nil then&#13;&#10;&#9;&#13;&#10;&#9;&#9;animStringValueObject = getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;&#9;if animStringValueObject ~= nil then&#13;&#10;&#9;&#9;&#9;toolAnim = animStringValueObject.Value&#13;&#10;&#9;&#9;&#9;-- message recieved, delete StringValue&#13;&#10;&#9;&#9;&#9;animStringValueObject.Parent = nil&#13;&#10;&#9;&#9;&#9;toolAnimTime = time + .3&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if time &gt; toolAnimTime then&#13;&#10;&#9;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;animateTool()&#13;&#10;&#13;&#10;&#9;&#9;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;-- connect events&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;function unequip()&#13;&#10;&#9;local items=script.Parent:children()&#13;&#10;&#9;for i=1, #items do&#13;&#10;&#9;&#9;if items[i].className==&quot;Tool&quot; then items[i]:remove() end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onChatted(msg, recipient) &#13;&#10;&#9;msg = string.lower(msg)&#13;&#10;&#13;&#10;&#9;if string.match(msg, string.lower(script.Parent.Name))~=nil or string.match(msg, &quot;everyone&quot;) then&#13;&#10;&#9;&#9;if string.match(msg, &quot;equip&quot;) then &#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;Hub&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;if string.match(msg, &quot;rocket&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Rocket:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;slingshot&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Slingshot:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;sword&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Sword:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;pbg&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.PBG:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;superball&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Superball:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;trowel&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Trowel:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;bomb&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Bomb:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;unequip&quot;) then unequip() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;run&quot;) then onRunning(1) end&#13;&#10;&#9;&#9;if string.match(msg, &quot;climb&quot;) then onClimbing() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;jump&quot;) then onJumping() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;zombie&quot;) then pose=&quot;Zombie&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;disco&quot;) then pose=&quot;Boogy&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;float&quot;) then pose=&quot;Float&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;punch&quot;) then pose=&quot;Punch&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kick&quot;) then pose=&quot;Kick&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;fly&quot;) then pose=&quot;Fly&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;heal&quot;) then script.Parent.Humanoid.Health=script.Parent.Humanoid.MaxHealth end&#13;&#10;&#9;&#9;if string.match(msg, &quot;defend&quot;) then defence() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;stop&quot;) then pose=&quot;Standing&quot;; proxkill=false; following=false; stopmoving() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;go home&quot;) then following=false; gohome() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;follow&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;followany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;follow(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kill&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;attackany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;attack(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if game.Players.NumPlayers&gt;1 then&#13;&#10;&#9;x=game.Players:children()&#13;&#10;&#9;&#13;&#10;&#9;for i=1, #x do&#13;&#10;&#9;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function onPlayerEntered(Player) &#13;&#10;&#9;while Player.Name==nil do&#13;&#10;&#9;&#9;wait(2)&#13;&#10;&#9;end&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;end&#13;&#10;&#9;else&#13;&#10;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;game.Players.ChildAdded:connect(onPlayerEntered) &#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;dist=20&#13;&#10;&#13;&#10;function followany()&#13;&#10;following=true&#13;&#10;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 6 do&#13;&#10;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then stopmoving() else&#9;wait(0.5) end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function gohome()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(Vector3.new(0,0,0), game.Workspace.Bases.Base)&#13;&#10;end&#13;&#10;function stopmoving()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(script.Parent.Torso.Position, script.Parent.Torso)&#13;&#10;end&#13;&#10;&#13;&#10;function follow(name)&#13;&#10;&#9;following=true&#13;&#10;&#13;&#10;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;if p==nil then return end&#13;&#10;&#9;while following==true do&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attack(name)&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#9;&#9;following=true&#13;&#10;&#9;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;&#9;if p==nil then return end&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#9;local l=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((l.x-q.x)^2)+((l.y-q.y)^2)+((l.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;if (q.y-l.y)&gt;3 and (q.y-l.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attackany()&#13;&#10;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#13;&#10;&#9;following=true&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;slash()&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;if target.Parent==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then &#13;&#10;&#9;&#9;&#9;&#9;&#9;stopmoving() &#13;&#10;&#9;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=target.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if (q.y-p.y)&gt;3 and (q.y-p.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function patrol()&#13;&#10;&#9;if points==nil then&#13;&#10;&#9;&#9;points=0&#13;&#10;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp1&quot;)~=nil then&#13;&#10;&#9;&#9;pp1=game.Workspace:findFirstChild(&quot;pp1&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp2&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;pp2=game.Workspace:findFirstChild(&quot;pp2&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp3&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;pp3=game.Workspace:findFirstChild(&quot;pp3&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp4&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;pp4=game.Workspace:findFirstChild(&quot;pp4&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp5&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;pp5=game.Workspace:findFirstChild(&quot;pp5&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp6&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp6=game.Workspace:findFirstChild(&quot;pp6&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp7&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp7=game.Workspace:findFirstChild(&quot;pp7&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp8&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp8=game.Workspace:findFirstChild(&quot;pp8&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp9&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp9=game.Workspace:findFirstChild(&quot;pp9&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if points&lt;1 then return end&#13;&#10;&#9;patrolling=true&#13;&#10;&#9;local time=2&#13;&#10;&#9;if points==1 then return end&#13;&#10;&#9;if points&gt;1 then&#13;&#10;&#9;&#9;while patrolling==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp1.Position, pp1)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp2.Position, pp2)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;if points&gt;2 then&#13;&#10;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp3.Position, pp3)&#13;&#10;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;if points&gt;3 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp4.Position, pp4)&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;if points&gt;4 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp5.Position, pp5)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;5 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp6.Position, pp6)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;6 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp7.Position, pp7)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp8.Position, pp8)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp9.Position, pp9)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function goto(pos,part)&#13;&#10;while true do&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function slash()&#13;&#10;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;wait(.3)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -2.14&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;&#9;wait(.2)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function defence()&#13;&#10;&#9;proxkill=true&#13;&#10;&#9;while proxkill==true do&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local p=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if p~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local p=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;dist and d&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local ex=Instance.new(&quot;Explosion&quot;)&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Position=p&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Parent=game.Workspace&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#9;&#9;&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;wait(1)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(onJumping)&#13;&#10;Humanoid.Climbing:connect(onClimbing)&#13;&#10;Humanoid.GettingUp:connect(onGettingUp)&#13;&#10;Humanoid.FreeFalling:connect(onFreeFall)&#13;&#10;Humanoid.FallingDown:connect(onFallingDown)&#13;&#10;Humanoid.Seated:connect(onSeated)&#13;&#10;&#13;&#10;&#13;&#10;--[[&#13;&#10;&#13;&#10;function newSound(id)&#13;&#10;&#9;local sound = Instance.new(&quot;Sound&quot;)&#13;&#10;&#9;sound.SoundId = id&#13;&#10;&#9;sound.Parent = script.Parent.Head&#13;&#10;&#9;return sound&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;local sDied = newSound(&quot;rbxasset://sounds/uuhhh.wav&quot;)&#13;&#10;local sFallingDown = newSound(&quot;rbxasset://sounds/splat.wav&quot;)&#13;&#10;local sFreeFalling = newSound(&quot;rbxasset://sounds/swoosh.wav&quot;)&#13;&#10;local sGettingUp = newSound(&quot;rbxasset://sounds/hit.wav&quot;)&#13;&#10;local sJumping = newSound(&quot;rbxasset://sounds/button.wav&quot;)&#13;&#10;local sRunning = newSound(&quot;rbxasset://sounds/bfsl-minifigfoots1.mp3&quot;)&#13;&#10;sRunning.Looped = true&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;sDied:play()&#13;&#10;end&#13;&#10;&#13;&#10;function onState(state, sound)&#13;&#10;&#9;if state then&#13;&#10;&#9;&#9;sound:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sound:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;sRunning:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sRunning:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(function(state) onState(state, sJumping) end)&#13;&#10;Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end)&#13;&#10;Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end)&#13;&#10;Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end)&#13;&#10;--]]&#13;&#10;&#13;&#10;local nextTime = 0&#13;&#10;local runService = game:service(&quot;RunService&quot;);&#13;&#10;&#13;&#10;while Figure.Parent~=nil do&#13;&#10;&#9;time = runService.Stepped:wait()&#13;&#10;&#9;if time &gt; nextTime then&#13;&#10;&#9;&#9;move(time)&#13;&#10;&#9;&#9;nextTime = time + 0.1&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX449">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Follow</string>
					<string name="Source">local larm = script.Parent:FindFirstChild(&quot;Left Arm&quot;)&#13;&#10;local rarm = script.Parent:FindFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;function findNearestTorso(pos)&#13;&#10;&#9;local list = game.Workspace:children()&#13;&#10;&#9;local torso = nil&#13;&#10;&#9;local dist = 25&#13;&#10;&#9;local temp = nil&#13;&#10;&#9;local human = nil&#13;&#10;&#9;local temp2 = nil&#13;&#10;&#9;for x = 1, #list do&#13;&#10;&#9;&#9;temp2 = list[x]&#13;&#10;&#9;&#9;if (temp2.className == &quot;Model&quot;) and (temp2 ~= script.Parent) then&#13;&#10;&#9;&#9;&#9;temp = temp2:findFirstChild(&quot;Torso&quot;)&#13;&#10;&#9;&#9;&#9;human = temp2:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;&#9;&#9;if (temp ~= nil) and (human ~= nil) and (human.Health &gt; 0) then&#13;&#10;&#9;&#9;&#9;&#9;if (temp.Position - pos).magnitude &lt; dist then&#13;&#10;&#9;&#9;&#9;&#9;&#9;torso = temp&#13;&#10;&#9;&#9;&#9;&#9;&#9;dist = (temp.Position - pos).magnitude&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return torso&#13;&#10;end&#13;&#10;&#13;&#10;while true do&#13;&#10;&#9;wait(0.1)&#13;&#10;&#9;local target = findNearestTorso(script.Parent.Torso.Position)&#13;&#10;&#9;if target ~= nil then&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#9;end&#13;&#10;end</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Model" referent="RBX450">
			<Properties>
				<token name="Controller">7</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">Warrior</string>
				<Ref name="PrimaryPart">null</Ref>
				<bool name="archivable">true</bool>
			</Properties>
			<Item class="Humanoid" referent="RBX451">
				<Properties>
					<float name="Health">0</float>
					<bool name="Jump">false</bool>
					<float name="MaxHealth">100</float>
					<string name="Name">Humanoid</string>
					<bool name="Sit">false</bool>
					<Vector3 name="TargetPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<Vector3 name="WalkDirection">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<float name="WalkRotationalVelocity">0</float>
					<Ref name="WalkToPart">null</Ref>
					<Vector3 name="WalkToPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX452">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Health</string>
					<string name="Source">function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;-- declarations&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;Humanoid.Health=500&#13;&#10;-- regeneration&#13;&#10;while true do&#13;&#10;&#9;local s = wait(4)&#13;&#10;&#9;local health = Humanoid.Health&#13;&#10;&#9;if health &gt; 0 and health &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;health = health + 0.08 * s * Humanoid.MaxHealth&#13;&#10;&#9;&#9;if health * 1.05 &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;&#9;Humanoid.Health = health&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;Humanoid.Health = Humanoid.MaxHealth&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="BodyColors" referent="RBX453">
				<Properties>
					<int name="HeadColor">24</int>
					<int name="LeftArmColor">28</int>
					<int name="LeftLegColor">28</int>
					<string name="Name">Body Colors</string>
					<int name="RightArmColor">28</int>
					<int name="RightLegColor">28</int>
					<int name="TorsoColor">28</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="IntValue" referent="RBX454">
				<Properties>
					<string name="Name">Value</string>
					<int name="Value">0</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX455">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Robot</string>
					<string name="Source">------------------&#13;&#10;--SPAWNING--&#13;&#10;------------------&#13;&#10;&#13;&#10;miked=script.Parent&#13;&#10;&#13;&#10;itlh=miked.Torso:findFirstChild(&quot;Left Hip&quot;)&#13;&#10;itlh.Part0=miked.Torso&#13;&#10;itlh.Part1=miked:findFirstChild(&quot;Left Leg&quot;)&#13;&#10;itlh.C0=CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;&#13;&#10;itrh=miked.Torso:findFirstChild(&quot;Right Hip&quot;)&#13;&#10;itrh.Part0=miked.Torso&#13;&#10;itrh.Part1=miked:findFirstChild(&quot;Right Leg&quot;)&#13;&#10;itrh.C0=CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;&#13;&#10;itls=miked.Torso:findFirstChild(&quot;Left Shoulder&quot;)&#13;&#10;itls.Part1=miked.Torso&#13;&#10;itls.C0=CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;itls.Part0=miked:findFirstChild(&quot;Left Arm&quot;)&#13;&#10;&#13;&#10;itrs=miked.Torso:findFirstChild(&quot;Right Shoulder&quot;)&#13;&#10;itrs.Part1=miked.Torso&#13;&#10;itrs.C0=CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;itrs.Part0=miked:findFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;miked.Head:makeJoints()&#13;&#10;------------------&#13;&#10;------------------&#13;&#10;&#13;&#10;&#13;&#10;function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Torso = waitForChild(Figure, &quot;Torso&quot;)&#13;&#10;local RightShoulder = waitForChild(Torso, &quot;Right Shoulder&quot;)&#13;&#10;local LeftShoulder = waitForChild(Torso, &quot;Left Shoulder&quot;)&#13;&#10;local RightHip = waitForChild(Torso, &quot;Right Hip&quot;)&#13;&#10;local LeftHip = waitForChild(Torso, &quot;Left Hip&quot;)&#13;&#10;local Neck = waitForChild(Torso, &quot;Neck&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;local pose = &quot;Standing&quot;&#13;&#10;&#13;&#10;local toolAnim = &quot;None&quot;&#13;&#10;local toolAnimTime = 0&#13;&#10;&#13;&#10;local isSeated = false&#13;&#10;&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if isSeated then return end&#13;&#10;&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;pose = &quot;Running&quot;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;pose = &quot;Standing&quot;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;pose = &quot;Dead&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onJumping()&#13;&#10;&#9;isSeated = false&#13;&#10;&#9;pose = &quot;Jumping&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onClimbing()&#13;&#10;&#9;pose = &quot;Climbing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onGettingUp()&#13;&#10;&#9;pose = &quot;GettingUp&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFreeFall()&#13;&#10;&#9;pose = &quot;FreeFall&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onDancing()&#13;&#10;&#9;pose = &quot;Dancing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFallingDown()&#13;&#10;&#9;pose = &quot;FallingDown&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onSeated()&#13;&#10;&#9;isSeated = true&#13;&#10;&#9;pose = &quot;Seated&quot;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function moveJump()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFreeFall()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1&#13;&#10;&#9;LeftShoulder.DesiredAngle = -1&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFloat()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = -1.57&#13;&#10;end&#13;&#10;&#13;&#10;function moveBoogy()&#13;&#10;while pose==&quot;Boogy&quot; do&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 1.57&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;function moveZombie()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function movePunch()&#13;&#10;&#9;script.Parent.Torso.Anchored=true&#13;&#10;&#9;RightShoulder.MaxVelocity = 60&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;script.Parent.Torso.Anchored=false&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveKick()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveFly()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function moveClimb()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveSit()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;RightHip.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftHip.DesiredAngle = -3.14 /2&#13;&#10;end&#13;&#10;&#13;&#10;function getTool()&#13;&#10;&#9;&#13;&#10;&#9;kidTable = Figure:children()&#13;&#10;&#9;if (kidTable ~= nil) then&#13;&#10;&#9;&#9;numKids = #kidTable&#13;&#10;&#9;&#9;for i=1,numKids do&#13;&#10;&#9;&#9;&#9;if (kidTable[i].className == &quot;Tool&quot;) then return kidTable[i] end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;c = tool:children()&#13;&#10;&#9;for i=1,#c do&#13;&#10;&#9;&#9;if (c[i].Name == &quot;toolanim&quot; and c[i].className == &quot;StringValue&quot;) then&#13;&#10;&#9;&#9;&#9;return c[i]&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function animateTool()&#13;&#10;&#9;&#13;&#10;&#9;if (toolAnim == &quot;None&quot;) then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Slash&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Lunge&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 1.0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 1.0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function move(time)&#13;&#10;&#9;local amplitude&#13;&#10;&#9;local frequency&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Jumping&quot;) then&#13;&#10;&#9;&#9;moveJump()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Zombie&quot;) then&#13;&#10;&#9;&#9;moveZombie()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Boogy&quot;) then&#13;&#10;&#9;&#9;moveBoogy()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Float&quot;) then&#13;&#10;&#9;&#9;moveFloat()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Punch&quot;) then&#13;&#10;&#9;&#9;movePunch()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Kick&quot;) then&#13;&#10;&#9;&#9;moveKick()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Fly&quot;) then&#13;&#10;&#9;&#9;moveFly()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;FreeFall&quot;) then&#13;&#10;&#9;&#9;moveFreeFall()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Climbing&quot;) then&#13;&#10;&#9;&#9;moveClimb()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Seated&quot;) then&#13;&#10;&#9;&#9;moveSit()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;amplitude = 0.1&#13;&#10;&#9;&#9;frequency = 1&#13;&#10;&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;if (pose == &quot;Running&quot;) then&#13;&#10;&#9;&#9;amplitude = 1&#13;&#10;&#9;&#9;frequency = 9&#13;&#10;&#9;elseif (pose == &quot;Dancing&quot;) then&#13;&#10;&#9;&#9;amplitude = 2&#13;&#10;&#9;&#9;frequency = 16&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#13;&#10;&#9;desiredAngle = amplitude * math.sin(time*frequency)&#13;&#10;&#9;if pose~=&quot;Dancing&quot; then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;else&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;end&#13;&#10;&#9;&#9;&#13;&#10;&#13;&#10;&#13;&#10;&#9;local tool = getTool()&#13;&#10;&#13;&#10;&#9;if tool ~= nil then&#13;&#10;&#9;&#13;&#10;&#9;&#9;animStringValueObject = getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;&#9;if animStringValueObject ~= nil then&#13;&#10;&#9;&#9;&#9;toolAnim = animStringValueObject.Value&#13;&#10;&#9;&#9;&#9;-- message recieved, delete StringValue&#13;&#10;&#9;&#9;&#9;animStringValueObject.Parent = nil&#13;&#10;&#9;&#9;&#9;toolAnimTime = time + .3&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if time &gt; toolAnimTime then&#13;&#10;&#9;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;animateTool()&#13;&#10;&#13;&#10;&#9;&#9;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;-- connect events&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;function unequip()&#13;&#10;&#9;local items=script.Parent:children()&#13;&#10;&#9;for i=1, #items do&#13;&#10;&#9;&#9;if items[i].className==&quot;Tool&quot; then items[i]:remove() end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onChatted(msg, recipient) &#13;&#10;&#9;msg = string.lower(msg)&#13;&#10;&#13;&#10;&#9;if string.match(msg, string.lower(script.Parent.Name))~=nil or string.match(msg, &quot;everyone&quot;) then&#13;&#10;&#9;&#9;if string.match(msg, &quot;equip&quot;) then &#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;Hub&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;if string.match(msg, &quot;rocket&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Rocket:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;slingshot&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Slingshot:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;sword&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Sword:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;pbg&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.PBG:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;superball&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Superball:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;trowel&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Trowel:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;bomb&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Bomb:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;unequip&quot;) then unequip() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;run&quot;) then onRunning(1) end&#13;&#10;&#9;&#9;if string.match(msg, &quot;climb&quot;) then onClimbing() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;jump&quot;) then onJumping() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;zombie&quot;) then pose=&quot;Zombie&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;disco&quot;) then pose=&quot;Boogy&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;float&quot;) then pose=&quot;Float&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;punch&quot;) then pose=&quot;Punch&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kick&quot;) then pose=&quot;Kick&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;fly&quot;) then pose=&quot;Fly&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;heal&quot;) then script.Parent.Humanoid.Health=script.Parent.Humanoid.MaxHealth end&#13;&#10;&#9;&#9;if string.match(msg, &quot;defend&quot;) then defence() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;stop&quot;) then pose=&quot;Standing&quot;; proxkill=false; following=false; stopmoving() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;go home&quot;) then following=false; gohome() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;follow&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;followany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;follow(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kill&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;attackany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;attack(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if game.Players.NumPlayers&gt;1 then&#13;&#10;&#9;x=game.Players:children()&#13;&#10;&#9;&#13;&#10;&#9;for i=1, #x do&#13;&#10;&#9;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function onPlayerEntered(Player) &#13;&#10;&#9;while Player.Name==nil do&#13;&#10;&#9;&#9;wait(2)&#13;&#10;&#9;end&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;end&#13;&#10;&#9;else&#13;&#10;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;game.Players.ChildAdded:connect(onPlayerEntered) &#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;dist=20&#13;&#10;&#13;&#10;function followany()&#13;&#10;following=true&#13;&#10;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 6 do&#13;&#10;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then stopmoving() else&#9;wait(0.5) end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function gohome()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(Vector3.new(0,0,0), game.Workspace.Bases.Base)&#13;&#10;end&#13;&#10;function stopmoving()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(script.Parent.Torso.Position, script.Parent.Torso)&#13;&#10;end&#13;&#10;&#13;&#10;function follow(name)&#13;&#10;&#9;following=true&#13;&#10;&#13;&#10;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;if p==nil then return end&#13;&#10;&#9;while following==true do&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attack(name)&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#9;&#9;following=true&#13;&#10;&#9;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;&#9;if p==nil then return end&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#9;local l=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((l.x-q.x)^2)+((l.y-q.y)^2)+((l.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;if (q.y-l.y)&gt;3 and (q.y-l.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attackany()&#13;&#10;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#13;&#10;&#9;following=true&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;slash()&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;if target.Parent==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then &#13;&#10;&#9;&#9;&#9;&#9;&#9;stopmoving() &#13;&#10;&#9;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=target.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if (q.y-p.y)&gt;3 and (q.y-p.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function patrol()&#13;&#10;&#9;if points==nil then&#13;&#10;&#9;&#9;points=0&#13;&#10;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp1&quot;)~=nil then&#13;&#10;&#9;&#9;pp1=game.Workspace:findFirstChild(&quot;pp1&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp2&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;pp2=game.Workspace:findFirstChild(&quot;pp2&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp3&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;pp3=game.Workspace:findFirstChild(&quot;pp3&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp4&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;pp4=game.Workspace:findFirstChild(&quot;pp4&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp5&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;pp5=game.Workspace:findFirstChild(&quot;pp5&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp6&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp6=game.Workspace:findFirstChild(&quot;pp6&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp7&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp7=game.Workspace:findFirstChild(&quot;pp7&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp8&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp8=game.Workspace:findFirstChild(&quot;pp8&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp9&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp9=game.Workspace:findFirstChild(&quot;pp9&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if points&lt;1 then return end&#13;&#10;&#9;patrolling=true&#13;&#10;&#9;local time=2&#13;&#10;&#9;if points==1 then return end&#13;&#10;&#9;if points&gt;1 then&#13;&#10;&#9;&#9;while patrolling==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp1.Position, pp1)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp2.Position, pp2)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;if points&gt;2 then&#13;&#10;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp3.Position, pp3)&#13;&#10;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;if points&gt;3 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp4.Position, pp4)&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;if points&gt;4 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp5.Position, pp5)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;5 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp6.Position, pp6)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;6 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp7.Position, pp7)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp8.Position, pp8)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp9.Position, pp9)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function goto(pos,part)&#13;&#10;while true do&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function slash()&#13;&#10;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;wait(.3)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -2.14&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;&#9;wait(.2)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function defence()&#13;&#10;&#9;proxkill=true&#13;&#10;&#9;while proxkill==true do&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local p=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if p~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local p=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;dist and d&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local ex=Instance.new(&quot;Explosion&quot;)&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Position=p&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Parent=game.Workspace&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#9;&#9;&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;wait(1)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(onJumping)&#13;&#10;Humanoid.Climbing:connect(onClimbing)&#13;&#10;Humanoid.GettingUp:connect(onGettingUp)&#13;&#10;Humanoid.FreeFalling:connect(onFreeFall)&#13;&#10;Humanoid.FallingDown:connect(onFallingDown)&#13;&#10;Humanoid.Seated:connect(onSeated)&#13;&#10;&#13;&#10;&#13;&#10;--[[&#13;&#10;&#13;&#10;function newSound(id)&#13;&#10;&#9;local sound = Instance.new(&quot;Sound&quot;)&#13;&#10;&#9;sound.SoundId = id&#13;&#10;&#9;sound.Parent = script.Parent.Head&#13;&#10;&#9;return sound&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;local sDied = newSound(&quot;rbxasset://sounds/uuhhh.wav&quot;)&#13;&#10;local sFallingDown = newSound(&quot;rbxasset://sounds/splat.wav&quot;)&#13;&#10;local sFreeFalling = newSound(&quot;rbxasset://sounds/swoosh.wav&quot;)&#13;&#10;local sGettingUp = newSound(&quot;rbxasset://sounds/hit.wav&quot;)&#13;&#10;local sJumping = newSound(&quot;rbxasset://sounds/button.wav&quot;)&#13;&#10;local sRunning = newSound(&quot;rbxasset://sounds/bfsl-minifigfoots1.mp3&quot;)&#13;&#10;sRunning.Looped = true&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;sDied:play()&#13;&#10;end&#13;&#10;&#13;&#10;function onState(state, sound)&#13;&#10;&#9;if state then&#13;&#10;&#9;&#9;sound:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sound:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;sRunning:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sRunning:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(function(state) onState(state, sJumping) end)&#13;&#10;Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end)&#13;&#10;Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end)&#13;&#10;Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end)&#13;&#10;--]]&#13;&#10;&#13;&#10;local nextTime = 0&#13;&#10;local runService = game:service(&quot;RunService&quot;);&#13;&#10;&#13;&#10;while Figure.Parent~=nil do&#13;&#10;&#9;time = runService.Stepped:wait()&#13;&#10;&#9;if time &gt; nextTime then&#13;&#10;&#9;&#9;move(time)&#13;&#10;&#9;&#9;nextTime = time + 0.1&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX456">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Follow</string>
					<string name="Source">local larm = script.Parent:FindFirstChild(&quot;Left Arm&quot;)&#13;&#10;local rarm = script.Parent:FindFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;function findNearestTorso(pos)&#13;&#10;&#9;local list = game.Workspace:children()&#13;&#10;&#9;local torso = nil&#13;&#10;&#9;local dist = 25&#13;&#10;&#9;local temp = nil&#13;&#10;&#9;local human = nil&#13;&#10;&#9;local temp2 = nil&#13;&#10;&#9;for x = 1, #list do&#13;&#10;&#9;&#9;temp2 = list[x]&#13;&#10;&#9;&#9;if (temp2.className == &quot;Model&quot;) and (temp2 ~= script.Parent) then&#13;&#10;&#9;&#9;&#9;temp = temp2:findFirstChild(&quot;Torso&quot;)&#13;&#10;&#9;&#9;&#9;human = temp2:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;&#9;&#9;if (temp ~= nil) and (human ~= nil) and (human.Health &gt; 0) then&#13;&#10;&#9;&#9;&#9;&#9;if (temp.Position - pos).magnitude &lt; dist then&#13;&#10;&#9;&#9;&#9;&#9;&#9;torso = temp&#13;&#10;&#9;&#9;&#9;&#9;&#9;dist = (temp.Position - pos).magnitude&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return torso&#13;&#10;end&#13;&#10;&#13;&#10;while true do&#13;&#10;&#9;wait(0.1)&#13;&#10;&#9;local target = findNearestTorso(script.Parent.Torso.Position)&#13;&#10;&#9;if target ~= nil then&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#9;end&#13;&#10;end</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Model" referent="RBX457">
			<Properties>
				<token name="Controller">7</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">Warrior</string>
				<Ref name="PrimaryPart">null</Ref>
				<bool name="archivable">true</bool>
			</Properties>
			<Item class="Humanoid" referent="RBX458">
				<Properties>
					<float name="Health">0</float>
					<bool name="Jump">false</bool>
					<float name="MaxHealth">100</float>
					<string name="Name">Humanoid</string>
					<bool name="Sit">false</bool>
					<Vector3 name="TargetPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<Vector3 name="WalkDirection">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<float name="WalkRotationalVelocity">0</float>
					<Ref name="WalkToPart">null</Ref>
					<Vector3 name="WalkToPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX459">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Health</string>
					<string name="Source">function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;-- declarations&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;Humanoid.Health=500&#13;&#10;-- regeneration&#13;&#10;while true do&#13;&#10;&#9;local s = wait(4)&#13;&#10;&#9;local health = Humanoid.Health&#13;&#10;&#9;if health &gt; 0 and health &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;health = health + 0.08 * s * Humanoid.MaxHealth&#13;&#10;&#9;&#9;if health * 1.05 &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;&#9;Humanoid.Health = health&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;Humanoid.Health = Humanoid.MaxHealth&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="BodyColors" referent="RBX460">
				<Properties>
					<int name="HeadColor">24</int>
					<int name="LeftArmColor">28</int>
					<int name="LeftLegColor">28</int>
					<string name="Name">Body Colors</string>
					<int name="RightArmColor">28</int>
					<int name="RightLegColor">28</int>
					<int name="TorsoColor">28</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="IntValue" referent="RBX461">
				<Properties>
					<string name="Name">Value</string>
					<int name="Value">0</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX462">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Robot</string>
					<string name="Source">------------------&#13;&#10;--SPAWNING--&#13;&#10;------------------&#13;&#10;&#13;&#10;miked=script.Parent&#13;&#10;&#13;&#10;itlh=miked.Torso:findFirstChild(&quot;Left Hip&quot;)&#13;&#10;itlh.Part0=miked.Torso&#13;&#10;itlh.Part1=miked:findFirstChild(&quot;Left Leg&quot;)&#13;&#10;itlh.C0=CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;&#13;&#10;itrh=miked.Torso:findFirstChild(&quot;Right Hip&quot;)&#13;&#10;itrh.Part0=miked.Torso&#13;&#10;itrh.Part1=miked:findFirstChild(&quot;Right Leg&quot;)&#13;&#10;itrh.C0=CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;&#13;&#10;itls=miked.Torso:findFirstChild(&quot;Left Shoulder&quot;)&#13;&#10;itls.Part1=miked.Torso&#13;&#10;itls.C0=CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;itls.Part0=miked:findFirstChild(&quot;Left Arm&quot;)&#13;&#10;&#13;&#10;itrs=miked.Torso:findFirstChild(&quot;Right Shoulder&quot;)&#13;&#10;itrs.Part1=miked.Torso&#13;&#10;itrs.C0=CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;itrs.Part0=miked:findFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;miked.Head:makeJoints()&#13;&#10;------------------&#13;&#10;------------------&#13;&#10;&#13;&#10;&#13;&#10;function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Torso = waitForChild(Figure, &quot;Torso&quot;)&#13;&#10;local RightShoulder = waitForChild(Torso, &quot;Right Shoulder&quot;)&#13;&#10;local LeftShoulder = waitForChild(Torso, &quot;Left Shoulder&quot;)&#13;&#10;local RightHip = waitForChild(Torso, &quot;Right Hip&quot;)&#13;&#10;local LeftHip = waitForChild(Torso, &quot;Left Hip&quot;)&#13;&#10;local Neck = waitForChild(Torso, &quot;Neck&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;local pose = &quot;Standing&quot;&#13;&#10;&#13;&#10;local toolAnim = &quot;None&quot;&#13;&#10;local toolAnimTime = 0&#13;&#10;&#13;&#10;local isSeated = false&#13;&#10;&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if isSeated then return end&#13;&#10;&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;pose = &quot;Running&quot;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;pose = &quot;Standing&quot;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;pose = &quot;Dead&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onJumping()&#13;&#10;&#9;isSeated = false&#13;&#10;&#9;pose = &quot;Jumping&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onClimbing()&#13;&#10;&#9;pose = &quot;Climbing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onGettingUp()&#13;&#10;&#9;pose = &quot;GettingUp&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFreeFall()&#13;&#10;&#9;pose = &quot;FreeFall&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onDancing()&#13;&#10;&#9;pose = &quot;Dancing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFallingDown()&#13;&#10;&#9;pose = &quot;FallingDown&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onSeated()&#13;&#10;&#9;isSeated = true&#13;&#10;&#9;pose = &quot;Seated&quot;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function moveJump()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFreeFall()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1&#13;&#10;&#9;LeftShoulder.DesiredAngle = -1&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFloat()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = -1.57&#13;&#10;end&#13;&#10;&#13;&#10;function moveBoogy()&#13;&#10;while pose==&quot;Boogy&quot; do&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 1.57&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;function moveZombie()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function movePunch()&#13;&#10;&#9;script.Parent.Torso.Anchored=true&#13;&#10;&#9;RightShoulder.MaxVelocity = 60&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;script.Parent.Torso.Anchored=false&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveKick()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveFly()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function moveClimb()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveSit()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;RightHip.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftHip.DesiredAngle = -3.14 /2&#13;&#10;end&#13;&#10;&#13;&#10;function getTool()&#13;&#10;&#9;&#13;&#10;&#9;kidTable = Figure:children()&#13;&#10;&#9;if (kidTable ~= nil) then&#13;&#10;&#9;&#9;numKids = #kidTable&#13;&#10;&#9;&#9;for i=1,numKids do&#13;&#10;&#9;&#9;&#9;if (kidTable[i].className == &quot;Tool&quot;) then return kidTable[i] end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;c = tool:children()&#13;&#10;&#9;for i=1,#c do&#13;&#10;&#9;&#9;if (c[i].Name == &quot;toolanim&quot; and c[i].className == &quot;StringValue&quot;) then&#13;&#10;&#9;&#9;&#9;return c[i]&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function animateTool()&#13;&#10;&#9;&#13;&#10;&#9;if (toolAnim == &quot;None&quot;) then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Slash&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Lunge&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 1.0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 1.0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function move(time)&#13;&#10;&#9;local amplitude&#13;&#10;&#9;local frequency&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Jumping&quot;) then&#13;&#10;&#9;&#9;moveJump()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Zombie&quot;) then&#13;&#10;&#9;&#9;moveZombie()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Boogy&quot;) then&#13;&#10;&#9;&#9;moveBoogy()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Float&quot;) then&#13;&#10;&#9;&#9;moveFloat()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Punch&quot;) then&#13;&#10;&#9;&#9;movePunch()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Kick&quot;) then&#13;&#10;&#9;&#9;moveKick()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Fly&quot;) then&#13;&#10;&#9;&#9;moveFly()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;FreeFall&quot;) then&#13;&#10;&#9;&#9;moveFreeFall()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Climbing&quot;) then&#13;&#10;&#9;&#9;moveClimb()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Seated&quot;) then&#13;&#10;&#9;&#9;moveSit()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;amplitude = 0.1&#13;&#10;&#9;&#9;frequency = 1&#13;&#10;&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;if (pose == &quot;Running&quot;) then&#13;&#10;&#9;&#9;amplitude = 1&#13;&#10;&#9;&#9;frequency = 9&#13;&#10;&#9;elseif (pose == &quot;Dancing&quot;) then&#13;&#10;&#9;&#9;amplitude = 2&#13;&#10;&#9;&#9;frequency = 16&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#13;&#10;&#9;desiredAngle = amplitude * math.sin(time*frequency)&#13;&#10;&#9;if pose~=&quot;Dancing&quot; then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;else&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;end&#13;&#10;&#9;&#9;&#13;&#10;&#13;&#10;&#13;&#10;&#9;local tool = getTool()&#13;&#10;&#13;&#10;&#9;if tool ~= nil then&#13;&#10;&#9;&#13;&#10;&#9;&#9;animStringValueObject = getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;&#9;if animStringValueObject ~= nil then&#13;&#10;&#9;&#9;&#9;toolAnim = animStringValueObject.Value&#13;&#10;&#9;&#9;&#9;-- message recieved, delete StringValue&#13;&#10;&#9;&#9;&#9;animStringValueObject.Parent = nil&#13;&#10;&#9;&#9;&#9;toolAnimTime = time + .3&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if time &gt; toolAnimTime then&#13;&#10;&#9;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;animateTool()&#13;&#10;&#13;&#10;&#9;&#9;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;-- connect events&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;function unequip()&#13;&#10;&#9;local items=script.Parent:children()&#13;&#10;&#9;for i=1, #items do&#13;&#10;&#9;&#9;if items[i].className==&quot;Tool&quot; then items[i]:remove() end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onChatted(msg, recipient) &#13;&#10;&#9;msg = string.lower(msg)&#13;&#10;&#13;&#10;&#9;if string.match(msg, string.lower(script.Parent.Name))~=nil or string.match(msg, &quot;everyone&quot;) then&#13;&#10;&#9;&#9;if string.match(msg, &quot;equip&quot;) then &#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;Hub&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;if string.match(msg, &quot;rocket&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Rocket:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;slingshot&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Slingshot:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;sword&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Sword:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;pbg&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.PBG:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;superball&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Superball:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;trowel&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Trowel:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;bomb&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Bomb:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;unequip&quot;) then unequip() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;run&quot;) then onRunning(1) end&#13;&#10;&#9;&#9;if string.match(msg, &quot;climb&quot;) then onClimbing() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;jump&quot;) then onJumping() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;zombie&quot;) then pose=&quot;Zombie&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;disco&quot;) then pose=&quot;Boogy&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;float&quot;) then pose=&quot;Float&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;punch&quot;) then pose=&quot;Punch&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kick&quot;) then pose=&quot;Kick&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;fly&quot;) then pose=&quot;Fly&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;heal&quot;) then script.Parent.Humanoid.Health=script.Parent.Humanoid.MaxHealth end&#13;&#10;&#9;&#9;if string.match(msg, &quot;defend&quot;) then defence() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;stop&quot;) then pose=&quot;Standing&quot;; proxkill=false; following=false; stopmoving() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;go home&quot;) then following=false; gohome() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;follow&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;followany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;follow(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kill&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;attackany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;attack(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if game.Players.NumPlayers&gt;1 then&#13;&#10;&#9;x=game.Players:children()&#13;&#10;&#9;&#13;&#10;&#9;for i=1, #x do&#13;&#10;&#9;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function onPlayerEntered(Player) &#13;&#10;&#9;while Player.Name==nil do&#13;&#10;&#9;&#9;wait(2)&#13;&#10;&#9;end&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;end&#13;&#10;&#9;else&#13;&#10;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;game.Players.ChildAdded:connect(onPlayerEntered) &#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;dist=20&#13;&#10;&#13;&#10;function followany()&#13;&#10;following=true&#13;&#10;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 6 do&#13;&#10;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then stopmoving() else&#9;wait(0.5) end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function gohome()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(Vector3.new(0,0,0), game.Workspace.Bases.Base)&#13;&#10;end&#13;&#10;function stopmoving()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(script.Parent.Torso.Position, script.Parent.Torso)&#13;&#10;end&#13;&#10;&#13;&#10;function follow(name)&#13;&#10;&#9;following=true&#13;&#10;&#13;&#10;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;if p==nil then return end&#13;&#10;&#9;while following==true do&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attack(name)&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#9;&#9;following=true&#13;&#10;&#9;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;&#9;if p==nil then return end&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#9;local l=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((l.x-q.x)^2)+((l.y-q.y)^2)+((l.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;if (q.y-l.y)&gt;3 and (q.y-l.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attackany()&#13;&#10;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#13;&#10;&#9;following=true&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;slash()&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;if target.Parent==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then &#13;&#10;&#9;&#9;&#9;&#9;&#9;stopmoving() &#13;&#10;&#9;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=target.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if (q.y-p.y)&gt;3 and (q.y-p.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function patrol()&#13;&#10;&#9;if points==nil then&#13;&#10;&#9;&#9;points=0&#13;&#10;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp1&quot;)~=nil then&#13;&#10;&#9;&#9;pp1=game.Workspace:findFirstChild(&quot;pp1&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp2&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;pp2=game.Workspace:findFirstChild(&quot;pp2&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp3&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;pp3=game.Workspace:findFirstChild(&quot;pp3&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp4&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;pp4=game.Workspace:findFirstChild(&quot;pp4&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp5&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;pp5=game.Workspace:findFirstChild(&quot;pp5&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp6&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp6=game.Workspace:findFirstChild(&quot;pp6&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp7&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp7=game.Workspace:findFirstChild(&quot;pp7&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp8&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp8=game.Workspace:findFirstChild(&quot;pp8&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp9&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp9=game.Workspace:findFirstChild(&quot;pp9&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if points&lt;1 then return end&#13;&#10;&#9;patrolling=true&#13;&#10;&#9;local time=2&#13;&#10;&#9;if points==1 then return end&#13;&#10;&#9;if points&gt;1 then&#13;&#10;&#9;&#9;while patrolling==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp1.Position, pp1)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp2.Position, pp2)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;if points&gt;2 then&#13;&#10;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp3.Position, pp3)&#13;&#10;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;if points&gt;3 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp4.Position, pp4)&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;if points&gt;4 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp5.Position, pp5)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;5 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp6.Position, pp6)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;6 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp7.Position, pp7)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp8.Position, pp8)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp9.Position, pp9)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function goto(pos,part)&#13;&#10;while true do&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function slash()&#13;&#10;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;wait(.3)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -2.14&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;&#9;wait(.2)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function defence()&#13;&#10;&#9;proxkill=true&#13;&#10;&#9;while proxkill==true do&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local p=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if p~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local p=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;dist and d&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local ex=Instance.new(&quot;Explosion&quot;)&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Position=p&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Parent=game.Workspace&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#9;&#9;&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;wait(1)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(onJumping)&#13;&#10;Humanoid.Climbing:connect(onClimbing)&#13;&#10;Humanoid.GettingUp:connect(onGettingUp)&#13;&#10;Humanoid.FreeFalling:connect(onFreeFall)&#13;&#10;Humanoid.FallingDown:connect(onFallingDown)&#13;&#10;Humanoid.Seated:connect(onSeated)&#13;&#10;&#13;&#10;&#13;&#10;--[[&#13;&#10;&#13;&#10;function newSound(id)&#13;&#10;&#9;local sound = Instance.new(&quot;Sound&quot;)&#13;&#10;&#9;sound.SoundId = id&#13;&#10;&#9;sound.Parent = script.Parent.Head&#13;&#10;&#9;return sound&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;local sDied = newSound(&quot;rbxasset://sounds/uuhhh.wav&quot;)&#13;&#10;local sFallingDown = newSound(&quot;rbxasset://sounds/splat.wav&quot;)&#13;&#10;local sFreeFalling = newSound(&quot;rbxasset://sounds/swoosh.wav&quot;)&#13;&#10;local sGettingUp = newSound(&quot;rbxasset://sounds/hit.wav&quot;)&#13;&#10;local sJumping = newSound(&quot;rbxasset://sounds/button.wav&quot;)&#13;&#10;local sRunning = newSound(&quot;rbxasset://sounds/bfsl-minifigfoots1.mp3&quot;)&#13;&#10;sRunning.Looped = true&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;sDied:play()&#13;&#10;end&#13;&#10;&#13;&#10;function onState(state, sound)&#13;&#10;&#9;if state then&#13;&#10;&#9;&#9;sound:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sound:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;sRunning:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sRunning:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(function(state) onState(state, sJumping) end)&#13;&#10;Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end)&#13;&#10;Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end)&#13;&#10;Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end)&#13;&#10;--]]&#13;&#10;&#13;&#10;local nextTime = 0&#13;&#10;local runService = game:service(&quot;RunService&quot;);&#13;&#10;&#13;&#10;while Figure.Parent~=nil do&#13;&#10;&#9;time = runService.Stepped:wait()&#13;&#10;&#9;if time &gt; nextTime then&#13;&#10;&#9;&#9;move(time)&#13;&#10;&#9;&#9;nextTime = time + 0.1&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX463">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Follow</string>
					<string name="Source">local larm = script.Parent:FindFirstChild(&quot;Left Arm&quot;)&#13;&#10;local rarm = script.Parent:FindFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;function findNearestTorso(pos)&#13;&#10;&#9;local list = game.Workspace:children()&#13;&#10;&#9;local torso = nil&#13;&#10;&#9;local dist = 25&#13;&#10;&#9;local temp = nil&#13;&#10;&#9;local human = nil&#13;&#10;&#9;local temp2 = nil&#13;&#10;&#9;for x = 1, #list do&#13;&#10;&#9;&#9;temp2 = list[x]&#13;&#10;&#9;&#9;if (temp2.className == &quot;Model&quot;) and (temp2 ~= script.Parent) then&#13;&#10;&#9;&#9;&#9;temp = temp2:findFirstChild(&quot;Torso&quot;)&#13;&#10;&#9;&#9;&#9;human = temp2:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;&#9;&#9;if (temp ~= nil) and (human ~= nil) and (human.Health &gt; 0) then&#13;&#10;&#9;&#9;&#9;&#9;if (temp.Position - pos).magnitude &lt; dist then&#13;&#10;&#9;&#9;&#9;&#9;&#9;torso = temp&#13;&#10;&#9;&#9;&#9;&#9;&#9;dist = (temp.Position - pos).magnitude&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return torso&#13;&#10;end&#13;&#10;&#13;&#10;while true do&#13;&#10;&#9;wait(0.1)&#13;&#10;&#9;local target = findNearestTorso(script.Parent.Torso.Position)&#13;&#10;&#9;if target ~= nil then&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#9;end&#13;&#10;end</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Model" referent="RBX464">
			<Properties>
				<token name="Controller">7</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">Warrior</string>
				<Ref name="PrimaryPart">null</Ref>
				<bool name="archivable">true</bool>
			</Properties>
			<Item class="Humanoid" referent="RBX465">
				<Properties>
					<float name="Health">0</float>
					<bool name="Jump">false</bool>
					<float name="MaxHealth">100</float>
					<string name="Name">Humanoid</string>
					<bool name="Sit">false</bool>
					<Vector3 name="TargetPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<Vector3 name="WalkDirection">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<float name="WalkRotationalVelocity">0</float>
					<Ref name="WalkToPart">null</Ref>
					<Vector3 name="WalkToPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX466">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Health</string>
					<string name="Source">function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;-- declarations&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;Humanoid.Health=500&#13;&#10;-- regeneration&#13;&#10;while true do&#13;&#10;&#9;local s = wait(4)&#13;&#10;&#9;local health = Humanoid.Health&#13;&#10;&#9;if health &gt; 0 and health &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;health = health + 0.08 * s * Humanoid.MaxHealth&#13;&#10;&#9;&#9;if health * 1.05 &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;&#9;Humanoid.Health = health&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;Humanoid.Health = Humanoid.MaxHealth&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="BodyColors" referent="RBX467">
				<Properties>
					<int name="HeadColor">24</int>
					<int name="LeftArmColor">28</int>
					<int name="LeftLegColor">28</int>
					<string name="Name">Body Colors</string>
					<int name="RightArmColor">28</int>
					<int name="RightLegColor">28</int>
					<int name="TorsoColor">28</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="IntValue" referent="RBX468">
				<Properties>
					<string name="Name">Value</string>
					<int name="Value">0</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX469">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Robot</string>
					<string name="Source">------------------&#13;&#10;--SPAWNING--&#13;&#10;------------------&#13;&#10;&#13;&#10;miked=script.Parent&#13;&#10;&#13;&#10;itlh=miked.Torso:findFirstChild(&quot;Left Hip&quot;)&#13;&#10;itlh.Part0=miked.Torso&#13;&#10;itlh.Part1=miked:findFirstChild(&quot;Left Leg&quot;)&#13;&#10;itlh.C0=CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;&#13;&#10;itrh=miked.Torso:findFirstChild(&quot;Right Hip&quot;)&#13;&#10;itrh.Part0=miked.Torso&#13;&#10;itrh.Part1=miked:findFirstChild(&quot;Right Leg&quot;)&#13;&#10;itrh.C0=CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;&#13;&#10;itls=miked.Torso:findFirstChild(&quot;Left Shoulder&quot;)&#13;&#10;itls.Part1=miked.Torso&#13;&#10;itls.C0=CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;itls.Part0=miked:findFirstChild(&quot;Left Arm&quot;)&#13;&#10;&#13;&#10;itrs=miked.Torso:findFirstChild(&quot;Right Shoulder&quot;)&#13;&#10;itrs.Part1=miked.Torso&#13;&#10;itrs.C0=CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;itrs.Part0=miked:findFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;miked.Head:makeJoints()&#13;&#10;------------------&#13;&#10;------------------&#13;&#10;&#13;&#10;&#13;&#10;function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Torso = waitForChild(Figure, &quot;Torso&quot;)&#13;&#10;local RightShoulder = waitForChild(Torso, &quot;Right Shoulder&quot;)&#13;&#10;local LeftShoulder = waitForChild(Torso, &quot;Left Shoulder&quot;)&#13;&#10;local RightHip = waitForChild(Torso, &quot;Right Hip&quot;)&#13;&#10;local LeftHip = waitForChild(Torso, &quot;Left Hip&quot;)&#13;&#10;local Neck = waitForChild(Torso, &quot;Neck&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;local pose = &quot;Standing&quot;&#13;&#10;&#13;&#10;local toolAnim = &quot;None&quot;&#13;&#10;local toolAnimTime = 0&#13;&#10;&#13;&#10;local isSeated = false&#13;&#10;&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if isSeated then return end&#13;&#10;&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;pose = &quot;Running&quot;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;pose = &quot;Standing&quot;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;pose = &quot;Dead&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onJumping()&#13;&#10;&#9;isSeated = false&#13;&#10;&#9;pose = &quot;Jumping&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onClimbing()&#13;&#10;&#9;pose = &quot;Climbing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onGettingUp()&#13;&#10;&#9;pose = &quot;GettingUp&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFreeFall()&#13;&#10;&#9;pose = &quot;FreeFall&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onDancing()&#13;&#10;&#9;pose = &quot;Dancing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFallingDown()&#13;&#10;&#9;pose = &quot;FallingDown&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onSeated()&#13;&#10;&#9;isSeated = true&#13;&#10;&#9;pose = &quot;Seated&quot;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function moveJump()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFreeFall()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1&#13;&#10;&#9;LeftShoulder.DesiredAngle = -1&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFloat()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = -1.57&#13;&#10;end&#13;&#10;&#13;&#10;function moveBoogy()&#13;&#10;while pose==&quot;Boogy&quot; do&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 1.57&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;function moveZombie()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function movePunch()&#13;&#10;&#9;script.Parent.Torso.Anchored=true&#13;&#10;&#9;RightShoulder.MaxVelocity = 60&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;script.Parent.Torso.Anchored=false&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveKick()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveFly()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function moveClimb()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveSit()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;RightHip.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftHip.DesiredAngle = -3.14 /2&#13;&#10;end&#13;&#10;&#13;&#10;function getTool()&#13;&#10;&#9;&#13;&#10;&#9;kidTable = Figure:children()&#13;&#10;&#9;if (kidTable ~= nil) then&#13;&#10;&#9;&#9;numKids = #kidTable&#13;&#10;&#9;&#9;for i=1,numKids do&#13;&#10;&#9;&#9;&#9;if (kidTable[i].className == &quot;Tool&quot;) then return kidTable[i] end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;c = tool:children()&#13;&#10;&#9;for i=1,#c do&#13;&#10;&#9;&#9;if (c[i].Name == &quot;toolanim&quot; and c[i].className == &quot;StringValue&quot;) then&#13;&#10;&#9;&#9;&#9;return c[i]&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function animateTool()&#13;&#10;&#9;&#13;&#10;&#9;if (toolAnim == &quot;None&quot;) then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Slash&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Lunge&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 1.0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 1.0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function move(time)&#13;&#10;&#9;local amplitude&#13;&#10;&#9;local frequency&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Jumping&quot;) then&#13;&#10;&#9;&#9;moveJump()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Zombie&quot;) then&#13;&#10;&#9;&#9;moveZombie()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Boogy&quot;) then&#13;&#10;&#9;&#9;moveBoogy()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Float&quot;) then&#13;&#10;&#9;&#9;moveFloat()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Punch&quot;) then&#13;&#10;&#9;&#9;movePunch()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Kick&quot;) then&#13;&#10;&#9;&#9;moveKick()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Fly&quot;) then&#13;&#10;&#9;&#9;moveFly()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;FreeFall&quot;) then&#13;&#10;&#9;&#9;moveFreeFall()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Climbing&quot;) then&#13;&#10;&#9;&#9;moveClimb()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Seated&quot;) then&#13;&#10;&#9;&#9;moveSit()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;amplitude = 0.1&#13;&#10;&#9;&#9;frequency = 1&#13;&#10;&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;if (pose == &quot;Running&quot;) then&#13;&#10;&#9;&#9;amplitude = 1&#13;&#10;&#9;&#9;frequency = 9&#13;&#10;&#9;elseif (pose == &quot;Dancing&quot;) then&#13;&#10;&#9;&#9;amplitude = 2&#13;&#10;&#9;&#9;frequency = 16&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#13;&#10;&#9;desiredAngle = amplitude * math.sin(time*frequency)&#13;&#10;&#9;if pose~=&quot;Dancing&quot; then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;else&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;end&#13;&#10;&#9;&#9;&#13;&#10;&#13;&#10;&#13;&#10;&#9;local tool = getTool()&#13;&#10;&#13;&#10;&#9;if tool ~= nil then&#13;&#10;&#9;&#13;&#10;&#9;&#9;animStringValueObject = getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;&#9;if animStringValueObject ~= nil then&#13;&#10;&#9;&#9;&#9;toolAnim = animStringValueObject.Value&#13;&#10;&#9;&#9;&#9;-- message recieved, delete StringValue&#13;&#10;&#9;&#9;&#9;animStringValueObject.Parent = nil&#13;&#10;&#9;&#9;&#9;toolAnimTime = time + .3&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if time &gt; toolAnimTime then&#13;&#10;&#9;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;animateTool()&#13;&#10;&#13;&#10;&#9;&#9;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;-- connect events&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;function unequip()&#13;&#10;&#9;local items=script.Parent:children()&#13;&#10;&#9;for i=1, #items do&#13;&#10;&#9;&#9;if items[i].className==&quot;Tool&quot; then items[i]:remove() end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onChatted(msg, recipient) &#13;&#10;&#9;msg = string.lower(msg)&#13;&#10;&#13;&#10;&#9;if string.match(msg, string.lower(script.Parent.Name))~=nil or string.match(msg, &quot;everyone&quot;) then&#13;&#10;&#9;&#9;if string.match(msg, &quot;equip&quot;) then &#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;Hub&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;if string.match(msg, &quot;rocket&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Rocket:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;slingshot&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Slingshot:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;sword&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Sword:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;pbg&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.PBG:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;superball&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Superball:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;trowel&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Trowel:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;bomb&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Bomb:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;unequip&quot;) then unequip() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;run&quot;) then onRunning(1) end&#13;&#10;&#9;&#9;if string.match(msg, &quot;climb&quot;) then onClimbing() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;jump&quot;) then onJumping() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;zombie&quot;) then pose=&quot;Zombie&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;disco&quot;) then pose=&quot;Boogy&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;float&quot;) then pose=&quot;Float&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;punch&quot;) then pose=&quot;Punch&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kick&quot;) then pose=&quot;Kick&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;fly&quot;) then pose=&quot;Fly&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;heal&quot;) then script.Parent.Humanoid.Health=script.Parent.Humanoid.MaxHealth end&#13;&#10;&#9;&#9;if string.match(msg, &quot;defend&quot;) then defence() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;stop&quot;) then pose=&quot;Standing&quot;; proxkill=false; following=false; stopmoving() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;go home&quot;) then following=false; gohome() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;follow&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;followany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;follow(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kill&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;attackany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;attack(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if game.Players.NumPlayers&gt;1 then&#13;&#10;&#9;x=game.Players:children()&#13;&#10;&#9;&#13;&#10;&#9;for i=1, #x do&#13;&#10;&#9;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function onPlayerEntered(Player) &#13;&#10;&#9;while Player.Name==nil do&#13;&#10;&#9;&#9;wait(2)&#13;&#10;&#9;end&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;end&#13;&#10;&#9;else&#13;&#10;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;game.Players.ChildAdded:connect(onPlayerEntered) &#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;dist=20&#13;&#10;&#13;&#10;function followany()&#13;&#10;following=true&#13;&#10;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 6 do&#13;&#10;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then stopmoving() else&#9;wait(0.5) end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function gohome()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(Vector3.new(0,0,0), game.Workspace.Bases.Base)&#13;&#10;end&#13;&#10;function stopmoving()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(script.Parent.Torso.Position, script.Parent.Torso)&#13;&#10;end&#13;&#10;&#13;&#10;function follow(name)&#13;&#10;&#9;following=true&#13;&#10;&#13;&#10;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;if p==nil then return end&#13;&#10;&#9;while following==true do&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attack(name)&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#9;&#9;following=true&#13;&#10;&#9;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;&#9;if p==nil then return end&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#9;local l=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((l.x-q.x)^2)+((l.y-q.y)^2)+((l.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;if (q.y-l.y)&gt;3 and (q.y-l.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attackany()&#13;&#10;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#13;&#10;&#9;following=true&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;slash()&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;if target.Parent==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then &#13;&#10;&#9;&#9;&#9;&#9;&#9;stopmoving() &#13;&#10;&#9;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=target.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if (q.y-p.y)&gt;3 and (q.y-p.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function patrol()&#13;&#10;&#9;if points==nil then&#13;&#10;&#9;&#9;points=0&#13;&#10;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp1&quot;)~=nil then&#13;&#10;&#9;&#9;pp1=game.Workspace:findFirstChild(&quot;pp1&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp2&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;pp2=game.Workspace:findFirstChild(&quot;pp2&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp3&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;pp3=game.Workspace:findFirstChild(&quot;pp3&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp4&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;pp4=game.Workspace:findFirstChild(&quot;pp4&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp5&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;pp5=game.Workspace:findFirstChild(&quot;pp5&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp6&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp6=game.Workspace:findFirstChild(&quot;pp6&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp7&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp7=game.Workspace:findFirstChild(&quot;pp7&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp8&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp8=game.Workspace:findFirstChild(&quot;pp8&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp9&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp9=game.Workspace:findFirstChild(&quot;pp9&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if points&lt;1 then return end&#13;&#10;&#9;patrolling=true&#13;&#10;&#9;local time=2&#13;&#10;&#9;if points==1 then return end&#13;&#10;&#9;if points&gt;1 then&#13;&#10;&#9;&#9;while patrolling==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp1.Position, pp1)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp2.Position, pp2)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;if points&gt;2 then&#13;&#10;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp3.Position, pp3)&#13;&#10;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;if points&gt;3 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp4.Position, pp4)&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;if points&gt;4 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp5.Position, pp5)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;5 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp6.Position, pp6)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;6 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp7.Position, pp7)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp8.Position, pp8)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp9.Position, pp9)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function goto(pos,part)&#13;&#10;while true do&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function slash()&#13;&#10;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;wait(.3)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -2.14&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;&#9;wait(.2)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function defence()&#13;&#10;&#9;proxkill=true&#13;&#10;&#9;while proxkill==true do&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local p=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if p~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local p=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;dist and d&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local ex=Instance.new(&quot;Explosion&quot;)&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Position=p&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Parent=game.Workspace&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#9;&#9;&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;wait(1)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(onJumping)&#13;&#10;Humanoid.Climbing:connect(onClimbing)&#13;&#10;Humanoid.GettingUp:connect(onGettingUp)&#13;&#10;Humanoid.FreeFalling:connect(onFreeFall)&#13;&#10;Humanoid.FallingDown:connect(onFallingDown)&#13;&#10;Humanoid.Seated:connect(onSeated)&#13;&#10;&#13;&#10;&#13;&#10;--[[&#13;&#10;&#13;&#10;function newSound(id)&#13;&#10;&#9;local sound = Instance.new(&quot;Sound&quot;)&#13;&#10;&#9;sound.SoundId = id&#13;&#10;&#9;sound.Parent = script.Parent.Head&#13;&#10;&#9;return sound&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;local sDied = newSound(&quot;rbxasset://sounds/uuhhh.wav&quot;)&#13;&#10;local sFallingDown = newSound(&quot;rbxasset://sounds/splat.wav&quot;)&#13;&#10;local sFreeFalling = newSound(&quot;rbxasset://sounds/swoosh.wav&quot;)&#13;&#10;local sGettingUp = newSound(&quot;rbxasset://sounds/hit.wav&quot;)&#13;&#10;local sJumping = newSound(&quot;rbxasset://sounds/button.wav&quot;)&#13;&#10;local sRunning = newSound(&quot;rbxasset://sounds/bfsl-minifigfoots1.mp3&quot;)&#13;&#10;sRunning.Looped = true&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;sDied:play()&#13;&#10;end&#13;&#10;&#13;&#10;function onState(state, sound)&#13;&#10;&#9;if state then&#13;&#10;&#9;&#9;sound:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sound:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;sRunning:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sRunning:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(function(state) onState(state, sJumping) end)&#13;&#10;Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end)&#13;&#10;Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end)&#13;&#10;Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end)&#13;&#10;--]]&#13;&#10;&#13;&#10;local nextTime = 0&#13;&#10;local runService = game:service(&quot;RunService&quot;);&#13;&#10;&#13;&#10;while Figure.Parent~=nil do&#13;&#10;&#9;time = runService.Stepped:wait()&#13;&#10;&#9;if time &gt; nextTime then&#13;&#10;&#9;&#9;move(time)&#13;&#10;&#9;&#9;nextTime = time + 0.1&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX470">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Follow</string>
					<string name="Source">local larm = script.Parent:FindFirstChild(&quot;Left Arm&quot;)&#13;&#10;local rarm = script.Parent:FindFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;function findNearestTorso(pos)&#13;&#10;&#9;local list = game.Workspace:children()&#13;&#10;&#9;local torso = nil&#13;&#10;&#9;local dist = 25&#13;&#10;&#9;local temp = nil&#13;&#10;&#9;local human = nil&#13;&#10;&#9;local temp2 = nil&#13;&#10;&#9;for x = 1, #list do&#13;&#10;&#9;&#9;temp2 = list[x]&#13;&#10;&#9;&#9;if (temp2.className == &quot;Model&quot;) and (temp2 ~= script.Parent) then&#13;&#10;&#9;&#9;&#9;temp = temp2:findFirstChild(&quot;Torso&quot;)&#13;&#10;&#9;&#9;&#9;human = temp2:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;&#9;&#9;if (temp ~= nil) and (human ~= nil) and (human.Health &gt; 0) then&#13;&#10;&#9;&#9;&#9;&#9;if (temp.Position - pos).magnitude &lt; dist then&#13;&#10;&#9;&#9;&#9;&#9;&#9;torso = temp&#13;&#10;&#9;&#9;&#9;&#9;&#9;dist = (temp.Position - pos).magnitude&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return torso&#13;&#10;end&#13;&#10;&#13;&#10;while true do&#13;&#10;&#9;wait(0.1)&#13;&#10;&#9;local target = findNearestTorso(script.Parent.Torso.Position)&#13;&#10;&#9;if target ~= nil then&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#9;end&#13;&#10;end</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Model" referent="RBX471">
			<Properties>
				<token name="Controller">7</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">Warrior</string>
				<Ref name="PrimaryPart">null</Ref>
				<bool name="archivable">true</bool>
			</Properties>
			<Item class="Humanoid" referent="RBX472">
				<Properties>
					<float name="Health">0</float>
					<bool name="Jump">false</bool>
					<float name="MaxHealth">100</float>
					<string name="Name">Humanoid</string>
					<bool name="Sit">false</bool>
					<Vector3 name="TargetPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<Vector3 name="WalkDirection">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<float name="WalkRotationalVelocity">0</float>
					<Ref name="WalkToPart">null</Ref>
					<Vector3 name="WalkToPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX473">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Health</string>
					<string name="Source">function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;-- declarations&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;Humanoid.Health=500&#13;&#10;-- regeneration&#13;&#10;while true do&#13;&#10;&#9;local s = wait(4)&#13;&#10;&#9;local health = Humanoid.Health&#13;&#10;&#9;if health &gt; 0 and health &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;health = health + 0.08 * s * Humanoid.MaxHealth&#13;&#10;&#9;&#9;if health * 1.05 &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;&#9;Humanoid.Health = health&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;Humanoid.Health = Humanoid.MaxHealth&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="BodyColors" referent="RBX474">
				<Properties>
					<int name="HeadColor">24</int>
					<int name="LeftArmColor">28</int>
					<int name="LeftLegColor">28</int>
					<string name="Name">Body Colors</string>
					<int name="RightArmColor">28</int>
					<int name="RightLegColor">28</int>
					<int name="TorsoColor">28</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="IntValue" referent="RBX475">
				<Properties>
					<string name="Name">Value</string>
					<int name="Value">0</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX476">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Robot</string>
					<string name="Source">------------------&#13;&#10;--SPAWNING--&#13;&#10;------------------&#13;&#10;&#13;&#10;miked=script.Parent&#13;&#10;&#13;&#10;itlh=miked.Torso:findFirstChild(&quot;Left Hip&quot;)&#13;&#10;itlh.Part0=miked.Torso&#13;&#10;itlh.Part1=miked:findFirstChild(&quot;Left Leg&quot;)&#13;&#10;itlh.C0=CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;&#13;&#10;itrh=miked.Torso:findFirstChild(&quot;Right Hip&quot;)&#13;&#10;itrh.Part0=miked.Torso&#13;&#10;itrh.Part1=miked:findFirstChild(&quot;Right Leg&quot;)&#13;&#10;itrh.C0=CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;&#13;&#10;itls=miked.Torso:findFirstChild(&quot;Left Shoulder&quot;)&#13;&#10;itls.Part1=miked.Torso&#13;&#10;itls.C0=CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;itls.Part0=miked:findFirstChild(&quot;Left Arm&quot;)&#13;&#10;&#13;&#10;itrs=miked.Torso:findFirstChild(&quot;Right Shoulder&quot;)&#13;&#10;itrs.Part1=miked.Torso&#13;&#10;itrs.C0=CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;itrs.Part0=miked:findFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;miked.Head:makeJoints()&#13;&#10;------------------&#13;&#10;------------------&#13;&#10;&#13;&#10;&#13;&#10;function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Torso = waitForChild(Figure, &quot;Torso&quot;)&#13;&#10;local RightShoulder = waitForChild(Torso, &quot;Right Shoulder&quot;)&#13;&#10;local LeftShoulder = waitForChild(Torso, &quot;Left Shoulder&quot;)&#13;&#10;local RightHip = waitForChild(Torso, &quot;Right Hip&quot;)&#13;&#10;local LeftHip = waitForChild(Torso, &quot;Left Hip&quot;)&#13;&#10;local Neck = waitForChild(Torso, &quot;Neck&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;local pose = &quot;Standing&quot;&#13;&#10;&#13;&#10;local toolAnim = &quot;None&quot;&#13;&#10;local toolAnimTime = 0&#13;&#10;&#13;&#10;local isSeated = false&#13;&#10;&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if isSeated then return end&#13;&#10;&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;pose = &quot;Running&quot;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;pose = &quot;Standing&quot;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;pose = &quot;Dead&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onJumping()&#13;&#10;&#9;isSeated = false&#13;&#10;&#9;pose = &quot;Jumping&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onClimbing()&#13;&#10;&#9;pose = &quot;Climbing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onGettingUp()&#13;&#10;&#9;pose = &quot;GettingUp&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFreeFall()&#13;&#10;&#9;pose = &quot;FreeFall&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onDancing()&#13;&#10;&#9;pose = &quot;Dancing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFallingDown()&#13;&#10;&#9;pose = &quot;FallingDown&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onSeated()&#13;&#10;&#9;isSeated = true&#13;&#10;&#9;pose = &quot;Seated&quot;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function moveJump()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFreeFall()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1&#13;&#10;&#9;LeftShoulder.DesiredAngle = -1&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFloat()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = -1.57&#13;&#10;end&#13;&#10;&#13;&#10;function moveBoogy()&#13;&#10;while pose==&quot;Boogy&quot; do&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 1.57&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;function moveZombie()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function movePunch()&#13;&#10;&#9;script.Parent.Torso.Anchored=true&#13;&#10;&#9;RightShoulder.MaxVelocity = 60&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;script.Parent.Torso.Anchored=false&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveKick()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveFly()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function moveClimb()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveSit()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;RightHip.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftHip.DesiredAngle = -3.14 /2&#13;&#10;end&#13;&#10;&#13;&#10;function getTool()&#13;&#10;&#9;&#13;&#10;&#9;kidTable = Figure:children()&#13;&#10;&#9;if (kidTable ~= nil) then&#13;&#10;&#9;&#9;numKids = #kidTable&#13;&#10;&#9;&#9;for i=1,numKids do&#13;&#10;&#9;&#9;&#9;if (kidTable[i].className == &quot;Tool&quot;) then return kidTable[i] end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;c = tool:children()&#13;&#10;&#9;for i=1,#c do&#13;&#10;&#9;&#9;if (c[i].Name == &quot;toolanim&quot; and c[i].className == &quot;StringValue&quot;) then&#13;&#10;&#9;&#9;&#9;return c[i]&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function animateTool()&#13;&#10;&#9;&#13;&#10;&#9;if (toolAnim == &quot;None&quot;) then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Slash&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Lunge&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 1.0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 1.0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function move(time)&#13;&#10;&#9;local amplitude&#13;&#10;&#9;local frequency&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Jumping&quot;) then&#13;&#10;&#9;&#9;moveJump()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Zombie&quot;) then&#13;&#10;&#9;&#9;moveZombie()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Boogy&quot;) then&#13;&#10;&#9;&#9;moveBoogy()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Float&quot;) then&#13;&#10;&#9;&#9;moveFloat()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Punch&quot;) then&#13;&#10;&#9;&#9;movePunch()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Kick&quot;) then&#13;&#10;&#9;&#9;moveKick()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Fly&quot;) then&#13;&#10;&#9;&#9;moveFly()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;FreeFall&quot;) then&#13;&#10;&#9;&#9;moveFreeFall()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Climbing&quot;) then&#13;&#10;&#9;&#9;moveClimb()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Seated&quot;) then&#13;&#10;&#9;&#9;moveSit()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;amplitude = 0.1&#13;&#10;&#9;&#9;frequency = 1&#13;&#10;&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;if (pose == &quot;Running&quot;) then&#13;&#10;&#9;&#9;amplitude = 1&#13;&#10;&#9;&#9;frequency = 9&#13;&#10;&#9;elseif (pose == &quot;Dancing&quot;) then&#13;&#10;&#9;&#9;amplitude = 2&#13;&#10;&#9;&#9;frequency = 16&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#13;&#10;&#9;desiredAngle = amplitude * math.sin(time*frequency)&#13;&#10;&#9;if pose~=&quot;Dancing&quot; then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;else&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;end&#13;&#10;&#9;&#9;&#13;&#10;&#13;&#10;&#13;&#10;&#9;local tool = getTool()&#13;&#10;&#13;&#10;&#9;if tool ~= nil then&#13;&#10;&#9;&#13;&#10;&#9;&#9;animStringValueObject = getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;&#9;if animStringValueObject ~= nil then&#13;&#10;&#9;&#9;&#9;toolAnim = animStringValueObject.Value&#13;&#10;&#9;&#9;&#9;-- message recieved, delete StringValue&#13;&#10;&#9;&#9;&#9;animStringValueObject.Parent = nil&#13;&#10;&#9;&#9;&#9;toolAnimTime = time + .3&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if time &gt; toolAnimTime then&#13;&#10;&#9;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;animateTool()&#13;&#10;&#13;&#10;&#9;&#9;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;-- connect events&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;function unequip()&#13;&#10;&#9;local items=script.Parent:children()&#13;&#10;&#9;for i=1, #items do&#13;&#10;&#9;&#9;if items[i].className==&quot;Tool&quot; then items[i]:remove() end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onChatted(msg, recipient) &#13;&#10;&#9;msg = string.lower(msg)&#13;&#10;&#13;&#10;&#9;if string.match(msg, string.lower(script.Parent.Name))~=nil or string.match(msg, &quot;everyone&quot;) then&#13;&#10;&#9;&#9;if string.match(msg, &quot;equip&quot;) then &#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;Hub&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;if string.match(msg, &quot;rocket&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Rocket:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;slingshot&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Slingshot:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;sword&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Sword:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;pbg&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.PBG:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;superball&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Superball:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;trowel&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Trowel:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;bomb&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Bomb:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;unequip&quot;) then unequip() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;run&quot;) then onRunning(1) end&#13;&#10;&#9;&#9;if string.match(msg, &quot;climb&quot;) then onClimbing() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;jump&quot;) then onJumping() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;zombie&quot;) then pose=&quot;Zombie&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;disco&quot;) then pose=&quot;Boogy&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;float&quot;) then pose=&quot;Float&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;punch&quot;) then pose=&quot;Punch&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kick&quot;) then pose=&quot;Kick&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;fly&quot;) then pose=&quot;Fly&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;heal&quot;) then script.Parent.Humanoid.Health=script.Parent.Humanoid.MaxHealth end&#13;&#10;&#9;&#9;if string.match(msg, &quot;defend&quot;) then defence() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;stop&quot;) then pose=&quot;Standing&quot;; proxkill=false; following=false; stopmoving() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;go home&quot;) then following=false; gohome() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;follow&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;followany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;follow(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kill&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;attackany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;attack(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if game.Players.NumPlayers&gt;1 then&#13;&#10;&#9;x=game.Players:children()&#13;&#10;&#9;&#13;&#10;&#9;for i=1, #x do&#13;&#10;&#9;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function onPlayerEntered(Player) &#13;&#10;&#9;while Player.Name==nil do&#13;&#10;&#9;&#9;wait(2)&#13;&#10;&#9;end&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;end&#13;&#10;&#9;else&#13;&#10;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;game.Players.ChildAdded:connect(onPlayerEntered) &#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;dist=20&#13;&#10;&#13;&#10;function followany()&#13;&#10;following=true&#13;&#10;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 6 do&#13;&#10;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then stopmoving() else&#9;wait(0.5) end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function gohome()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(Vector3.new(0,0,0), game.Workspace.Bases.Base)&#13;&#10;end&#13;&#10;function stopmoving()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(script.Parent.Torso.Position, script.Parent.Torso)&#13;&#10;end&#13;&#10;&#13;&#10;function follow(name)&#13;&#10;&#9;following=true&#13;&#10;&#13;&#10;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;if p==nil then return end&#13;&#10;&#9;while following==true do&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attack(name)&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#9;&#9;following=true&#13;&#10;&#9;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;&#9;if p==nil then return end&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#9;local l=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((l.x-q.x)^2)+((l.y-q.y)^2)+((l.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;if (q.y-l.y)&gt;3 and (q.y-l.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attackany()&#13;&#10;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#13;&#10;&#9;following=true&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;slash()&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;if target.Parent==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then &#13;&#10;&#9;&#9;&#9;&#9;&#9;stopmoving() &#13;&#10;&#9;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=target.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if (q.y-p.y)&gt;3 and (q.y-p.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function patrol()&#13;&#10;&#9;if points==nil then&#13;&#10;&#9;&#9;points=0&#13;&#10;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp1&quot;)~=nil then&#13;&#10;&#9;&#9;pp1=game.Workspace:findFirstChild(&quot;pp1&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp2&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;pp2=game.Workspace:findFirstChild(&quot;pp2&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp3&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;pp3=game.Workspace:findFirstChild(&quot;pp3&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp4&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;pp4=game.Workspace:findFirstChild(&quot;pp4&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp5&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;pp5=game.Workspace:findFirstChild(&quot;pp5&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp6&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp6=game.Workspace:findFirstChild(&quot;pp6&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp7&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp7=game.Workspace:findFirstChild(&quot;pp7&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp8&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp8=game.Workspace:findFirstChild(&quot;pp8&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp9&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp9=game.Workspace:findFirstChild(&quot;pp9&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if points&lt;1 then return end&#13;&#10;&#9;patrolling=true&#13;&#10;&#9;local time=2&#13;&#10;&#9;if points==1 then return end&#13;&#10;&#9;if points&gt;1 then&#13;&#10;&#9;&#9;while patrolling==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp1.Position, pp1)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp2.Position, pp2)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;if points&gt;2 then&#13;&#10;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp3.Position, pp3)&#13;&#10;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;if points&gt;3 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp4.Position, pp4)&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;if points&gt;4 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp5.Position, pp5)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;5 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp6.Position, pp6)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;6 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp7.Position, pp7)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp8.Position, pp8)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp9.Position, pp9)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function goto(pos,part)&#13;&#10;while true do&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function slash()&#13;&#10;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;wait(.3)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -2.14&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;&#9;wait(.2)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function defence()&#13;&#10;&#9;proxkill=true&#13;&#10;&#9;while proxkill==true do&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local p=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if p~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local p=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;dist and d&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local ex=Instance.new(&quot;Explosion&quot;)&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Position=p&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Parent=game.Workspace&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#9;&#9;&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;wait(1)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(onJumping)&#13;&#10;Humanoid.Climbing:connect(onClimbing)&#13;&#10;Humanoid.GettingUp:connect(onGettingUp)&#13;&#10;Humanoid.FreeFalling:connect(onFreeFall)&#13;&#10;Humanoid.FallingDown:connect(onFallingDown)&#13;&#10;Humanoid.Seated:connect(onSeated)&#13;&#10;&#13;&#10;&#13;&#10;--[[&#13;&#10;&#13;&#10;function newSound(id)&#13;&#10;&#9;local sound = Instance.new(&quot;Sound&quot;)&#13;&#10;&#9;sound.SoundId = id&#13;&#10;&#9;sound.Parent = script.Parent.Head&#13;&#10;&#9;return sound&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;local sDied = newSound(&quot;rbxasset://sounds/uuhhh.wav&quot;)&#13;&#10;local sFallingDown = newSound(&quot;rbxasset://sounds/splat.wav&quot;)&#13;&#10;local sFreeFalling = newSound(&quot;rbxasset://sounds/swoosh.wav&quot;)&#13;&#10;local sGettingUp = newSound(&quot;rbxasset://sounds/hit.wav&quot;)&#13;&#10;local sJumping = newSound(&quot;rbxasset://sounds/button.wav&quot;)&#13;&#10;local sRunning = newSound(&quot;rbxasset://sounds/bfsl-minifigfoots1.mp3&quot;)&#13;&#10;sRunning.Looped = true&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;sDied:play()&#13;&#10;end&#13;&#10;&#13;&#10;function onState(state, sound)&#13;&#10;&#9;if state then&#13;&#10;&#9;&#9;sound:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sound:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;sRunning:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sRunning:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(function(state) onState(state, sJumping) end)&#13;&#10;Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end)&#13;&#10;Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end)&#13;&#10;Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end)&#13;&#10;--]]&#13;&#10;&#13;&#10;local nextTime = 0&#13;&#10;local runService = game:service(&quot;RunService&quot;);&#13;&#10;&#13;&#10;while Figure.Parent~=nil do&#13;&#10;&#9;time = runService.Stepped:wait()&#13;&#10;&#9;if time &gt; nextTime then&#13;&#10;&#9;&#9;move(time)&#13;&#10;&#9;&#9;nextTime = time + 0.1&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX477">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Follow</string>
					<string name="Source">local larm = script.Parent:FindFirstChild(&quot;Left Arm&quot;)&#13;&#10;local rarm = script.Parent:FindFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;function findNearestTorso(pos)&#13;&#10;&#9;local list = game.Workspace:children()&#13;&#10;&#9;local torso = nil&#13;&#10;&#9;local dist = 25&#13;&#10;&#9;local temp = nil&#13;&#10;&#9;local human = nil&#13;&#10;&#9;local temp2 = nil&#13;&#10;&#9;for x = 1, #list do&#13;&#10;&#9;&#9;temp2 = list[x]&#13;&#10;&#9;&#9;if (temp2.className == &quot;Model&quot;) and (temp2 ~= script.Parent) then&#13;&#10;&#9;&#9;&#9;temp = temp2:findFirstChild(&quot;Torso&quot;)&#13;&#10;&#9;&#9;&#9;human = temp2:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;&#9;&#9;if (temp ~= nil) and (human ~= nil) and (human.Health &gt; 0) then&#13;&#10;&#9;&#9;&#9;&#9;if (temp.Position - pos).magnitude &lt; dist then&#13;&#10;&#9;&#9;&#9;&#9;&#9;torso = temp&#13;&#10;&#9;&#9;&#9;&#9;&#9;dist = (temp.Position - pos).magnitude&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return torso&#13;&#10;end&#13;&#10;&#13;&#10;while true do&#13;&#10;&#9;wait(0.1)&#13;&#10;&#9;local target = findNearestTorso(script.Parent.Torso.Position)&#13;&#10;&#9;if target ~= nil then&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#9;end&#13;&#10;end</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Model" referent="RBX478">
			<Properties>
				<token name="Controller">7</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">Warrior</string>
				<Ref name="PrimaryPart">null</Ref>
				<bool name="archivable">true</bool>
			</Properties>
			<Item class="Humanoid" referent="RBX479">
				<Properties>
					<float name="Health">0</float>
					<bool name="Jump">false</bool>
					<float name="MaxHealth">100</float>
					<string name="Name">Humanoid</string>
					<bool name="Sit">false</bool>
					<Vector3 name="TargetPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<Vector3 name="WalkDirection">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<float name="WalkRotationalVelocity">0</float>
					<Ref name="WalkToPart">null</Ref>
					<Vector3 name="WalkToPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX480">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Health</string>
					<string name="Source">function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;-- declarations&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;Humanoid.Health=500&#13;&#10;-- regeneration&#13;&#10;while true do&#13;&#10;&#9;local s = wait(4)&#13;&#10;&#9;local health = Humanoid.Health&#13;&#10;&#9;if health &gt; 0 and health &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;health = health + 0.08 * s * Humanoid.MaxHealth&#13;&#10;&#9;&#9;if health * 1.05 &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;&#9;Humanoid.Health = health&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;Humanoid.Health = Humanoid.MaxHealth&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="BodyColors" referent="RBX481">
				<Properties>
					<int name="HeadColor">24</int>
					<int name="LeftArmColor">28</int>
					<int name="LeftLegColor">28</int>
					<string name="Name">Body Colors</string>
					<int name="RightArmColor">28</int>
					<int name="RightLegColor">28</int>
					<int name="TorsoColor">28</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="IntValue" referent="RBX482">
				<Properties>
					<string name="Name">Value</string>
					<int name="Value">0</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX483">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Robot</string>
					<string name="Source">------------------&#13;&#10;--SPAWNING--&#13;&#10;------------------&#13;&#10;&#13;&#10;miked=script.Parent&#13;&#10;&#13;&#10;itlh=miked.Torso:findFirstChild(&quot;Left Hip&quot;)&#13;&#10;itlh.Part0=miked.Torso&#13;&#10;itlh.Part1=miked:findFirstChild(&quot;Left Leg&quot;)&#13;&#10;itlh.C0=CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;&#13;&#10;itrh=miked.Torso:findFirstChild(&quot;Right Hip&quot;)&#13;&#10;itrh.Part0=miked.Torso&#13;&#10;itrh.Part1=miked:findFirstChild(&quot;Right Leg&quot;)&#13;&#10;itrh.C0=CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;&#13;&#10;itls=miked.Torso:findFirstChild(&quot;Left Shoulder&quot;)&#13;&#10;itls.Part1=miked.Torso&#13;&#10;itls.C0=CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;itls.Part0=miked:findFirstChild(&quot;Left Arm&quot;)&#13;&#10;&#13;&#10;itrs=miked.Torso:findFirstChild(&quot;Right Shoulder&quot;)&#13;&#10;itrs.Part1=miked.Torso&#13;&#10;itrs.C0=CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;itrs.Part0=miked:findFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;miked.Head:makeJoints()&#13;&#10;------------------&#13;&#10;------------------&#13;&#10;&#13;&#10;&#13;&#10;function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Torso = waitForChild(Figure, &quot;Torso&quot;)&#13;&#10;local RightShoulder = waitForChild(Torso, &quot;Right Shoulder&quot;)&#13;&#10;local LeftShoulder = waitForChild(Torso, &quot;Left Shoulder&quot;)&#13;&#10;local RightHip = waitForChild(Torso, &quot;Right Hip&quot;)&#13;&#10;local LeftHip = waitForChild(Torso, &quot;Left Hip&quot;)&#13;&#10;local Neck = waitForChild(Torso, &quot;Neck&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;local pose = &quot;Standing&quot;&#13;&#10;&#13;&#10;local toolAnim = &quot;None&quot;&#13;&#10;local toolAnimTime = 0&#13;&#10;&#13;&#10;local isSeated = false&#13;&#10;&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if isSeated then return end&#13;&#10;&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;pose = &quot;Running&quot;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;pose = &quot;Standing&quot;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;pose = &quot;Dead&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onJumping()&#13;&#10;&#9;isSeated = false&#13;&#10;&#9;pose = &quot;Jumping&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onClimbing()&#13;&#10;&#9;pose = &quot;Climbing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onGettingUp()&#13;&#10;&#9;pose = &quot;GettingUp&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFreeFall()&#13;&#10;&#9;pose = &quot;FreeFall&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onDancing()&#13;&#10;&#9;pose = &quot;Dancing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFallingDown()&#13;&#10;&#9;pose = &quot;FallingDown&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onSeated()&#13;&#10;&#9;isSeated = true&#13;&#10;&#9;pose = &quot;Seated&quot;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function moveJump()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFreeFall()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1&#13;&#10;&#9;LeftShoulder.DesiredAngle = -1&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFloat()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = -1.57&#13;&#10;end&#13;&#10;&#13;&#10;function moveBoogy()&#13;&#10;while pose==&quot;Boogy&quot; do&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 1.57&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;function moveZombie()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function movePunch()&#13;&#10;&#9;script.Parent.Torso.Anchored=true&#13;&#10;&#9;RightShoulder.MaxVelocity = 60&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;script.Parent.Torso.Anchored=false&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveKick()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveFly()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function moveClimb()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveSit()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;RightHip.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftHip.DesiredAngle = -3.14 /2&#13;&#10;end&#13;&#10;&#13;&#10;function getTool()&#13;&#10;&#9;&#13;&#10;&#9;kidTable = Figure:children()&#13;&#10;&#9;if (kidTable ~= nil) then&#13;&#10;&#9;&#9;numKids = #kidTable&#13;&#10;&#9;&#9;for i=1,numKids do&#13;&#10;&#9;&#9;&#9;if (kidTable[i].className == &quot;Tool&quot;) then return kidTable[i] end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;c = tool:children()&#13;&#10;&#9;for i=1,#c do&#13;&#10;&#9;&#9;if (c[i].Name == &quot;toolanim&quot; and c[i].className == &quot;StringValue&quot;) then&#13;&#10;&#9;&#9;&#9;return c[i]&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function animateTool()&#13;&#10;&#9;&#13;&#10;&#9;if (toolAnim == &quot;None&quot;) then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Slash&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Lunge&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 1.0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 1.0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function move(time)&#13;&#10;&#9;local amplitude&#13;&#10;&#9;local frequency&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Jumping&quot;) then&#13;&#10;&#9;&#9;moveJump()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Zombie&quot;) then&#13;&#10;&#9;&#9;moveZombie()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Boogy&quot;) then&#13;&#10;&#9;&#9;moveBoogy()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Float&quot;) then&#13;&#10;&#9;&#9;moveFloat()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Punch&quot;) then&#13;&#10;&#9;&#9;movePunch()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Kick&quot;) then&#13;&#10;&#9;&#9;moveKick()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Fly&quot;) then&#13;&#10;&#9;&#9;moveFly()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;FreeFall&quot;) then&#13;&#10;&#9;&#9;moveFreeFall()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Climbing&quot;) then&#13;&#10;&#9;&#9;moveClimb()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Seated&quot;) then&#13;&#10;&#9;&#9;moveSit()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;amplitude = 0.1&#13;&#10;&#9;&#9;frequency = 1&#13;&#10;&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;if (pose == &quot;Running&quot;) then&#13;&#10;&#9;&#9;amplitude = 1&#13;&#10;&#9;&#9;frequency = 9&#13;&#10;&#9;elseif (pose == &quot;Dancing&quot;) then&#13;&#10;&#9;&#9;amplitude = 2&#13;&#10;&#9;&#9;frequency = 16&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#13;&#10;&#9;desiredAngle = amplitude * math.sin(time*frequency)&#13;&#10;&#9;if pose~=&quot;Dancing&quot; then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;else&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;end&#13;&#10;&#9;&#9;&#13;&#10;&#13;&#10;&#13;&#10;&#9;local tool = getTool()&#13;&#10;&#13;&#10;&#9;if tool ~= nil then&#13;&#10;&#9;&#13;&#10;&#9;&#9;animStringValueObject = getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;&#9;if animStringValueObject ~= nil then&#13;&#10;&#9;&#9;&#9;toolAnim = animStringValueObject.Value&#13;&#10;&#9;&#9;&#9;-- message recieved, delete StringValue&#13;&#10;&#9;&#9;&#9;animStringValueObject.Parent = nil&#13;&#10;&#9;&#9;&#9;toolAnimTime = time + .3&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if time &gt; toolAnimTime then&#13;&#10;&#9;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;animateTool()&#13;&#10;&#13;&#10;&#9;&#9;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;-- connect events&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;function unequip()&#13;&#10;&#9;local items=script.Parent:children()&#13;&#10;&#9;for i=1, #items do&#13;&#10;&#9;&#9;if items[i].className==&quot;Tool&quot; then items[i]:remove() end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onChatted(msg, recipient) &#13;&#10;&#9;msg = string.lower(msg)&#13;&#10;&#13;&#10;&#9;if string.match(msg, string.lower(script.Parent.Name))~=nil or string.match(msg, &quot;everyone&quot;) then&#13;&#10;&#9;&#9;if string.match(msg, &quot;equip&quot;) then &#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;Hub&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;if string.match(msg, &quot;rocket&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Rocket:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;slingshot&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Slingshot:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;sword&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Sword:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;pbg&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.PBG:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;superball&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Superball:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;trowel&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Trowel:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;bomb&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Bomb:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;unequip&quot;) then unequip() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;run&quot;) then onRunning(1) end&#13;&#10;&#9;&#9;if string.match(msg, &quot;climb&quot;) then onClimbing() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;jump&quot;) then onJumping() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;zombie&quot;) then pose=&quot;Zombie&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;disco&quot;) then pose=&quot;Boogy&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;float&quot;) then pose=&quot;Float&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;punch&quot;) then pose=&quot;Punch&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kick&quot;) then pose=&quot;Kick&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;fly&quot;) then pose=&quot;Fly&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;heal&quot;) then script.Parent.Humanoid.Health=script.Parent.Humanoid.MaxHealth end&#13;&#10;&#9;&#9;if string.match(msg, &quot;defend&quot;) then defence() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;stop&quot;) then pose=&quot;Standing&quot;; proxkill=false; following=false; stopmoving() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;go home&quot;) then following=false; gohome() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;follow&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;followany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;follow(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kill&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;attackany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;attack(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if game.Players.NumPlayers&gt;1 then&#13;&#10;&#9;x=game.Players:children()&#13;&#10;&#9;&#13;&#10;&#9;for i=1, #x do&#13;&#10;&#9;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function onPlayerEntered(Player) &#13;&#10;&#9;while Player.Name==nil do&#13;&#10;&#9;&#9;wait(2)&#13;&#10;&#9;end&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;end&#13;&#10;&#9;else&#13;&#10;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;game.Players.ChildAdded:connect(onPlayerEntered) &#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;dist=20&#13;&#10;&#13;&#10;function followany()&#13;&#10;following=true&#13;&#10;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 6 do&#13;&#10;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then stopmoving() else&#9;wait(0.5) end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function gohome()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(Vector3.new(0,0,0), game.Workspace.Bases.Base)&#13;&#10;end&#13;&#10;function stopmoving()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(script.Parent.Torso.Position, script.Parent.Torso)&#13;&#10;end&#13;&#10;&#13;&#10;function follow(name)&#13;&#10;&#9;following=true&#13;&#10;&#13;&#10;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;if p==nil then return end&#13;&#10;&#9;while following==true do&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attack(name)&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#9;&#9;following=true&#13;&#10;&#9;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;&#9;if p==nil then return end&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#9;local l=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((l.x-q.x)^2)+((l.y-q.y)^2)+((l.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;if (q.y-l.y)&gt;3 and (q.y-l.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attackany()&#13;&#10;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#13;&#10;&#9;following=true&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;slash()&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;if target.Parent==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then &#13;&#10;&#9;&#9;&#9;&#9;&#9;stopmoving() &#13;&#10;&#9;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=target.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if (q.y-p.y)&gt;3 and (q.y-p.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function patrol()&#13;&#10;&#9;if points==nil then&#13;&#10;&#9;&#9;points=0&#13;&#10;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp1&quot;)~=nil then&#13;&#10;&#9;&#9;pp1=game.Workspace:findFirstChild(&quot;pp1&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp2&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;pp2=game.Workspace:findFirstChild(&quot;pp2&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp3&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;pp3=game.Workspace:findFirstChild(&quot;pp3&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp4&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;pp4=game.Workspace:findFirstChild(&quot;pp4&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp5&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;pp5=game.Workspace:findFirstChild(&quot;pp5&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp6&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp6=game.Workspace:findFirstChild(&quot;pp6&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp7&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp7=game.Workspace:findFirstChild(&quot;pp7&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp8&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp8=game.Workspace:findFirstChild(&quot;pp8&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp9&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp9=game.Workspace:findFirstChild(&quot;pp9&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if points&lt;1 then return end&#13;&#10;&#9;patrolling=true&#13;&#10;&#9;local time=2&#13;&#10;&#9;if points==1 then return end&#13;&#10;&#9;if points&gt;1 then&#13;&#10;&#9;&#9;while patrolling==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp1.Position, pp1)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp2.Position, pp2)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;if points&gt;2 then&#13;&#10;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp3.Position, pp3)&#13;&#10;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;if points&gt;3 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp4.Position, pp4)&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;if points&gt;4 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp5.Position, pp5)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;5 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp6.Position, pp6)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;6 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp7.Position, pp7)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp8.Position, pp8)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp9.Position, pp9)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function goto(pos,part)&#13;&#10;while true do&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function slash()&#13;&#10;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;wait(.3)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -2.14&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;&#9;wait(.2)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function defence()&#13;&#10;&#9;proxkill=true&#13;&#10;&#9;while proxkill==true do&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local p=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if p~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local p=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;dist and d&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local ex=Instance.new(&quot;Explosion&quot;)&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Position=p&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Parent=game.Workspace&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#9;&#9;&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;wait(1)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(onJumping)&#13;&#10;Humanoid.Climbing:connect(onClimbing)&#13;&#10;Humanoid.GettingUp:connect(onGettingUp)&#13;&#10;Humanoid.FreeFalling:connect(onFreeFall)&#13;&#10;Humanoid.FallingDown:connect(onFallingDown)&#13;&#10;Humanoid.Seated:connect(onSeated)&#13;&#10;&#13;&#10;&#13;&#10;--[[&#13;&#10;&#13;&#10;function newSound(id)&#13;&#10;&#9;local sound = Instance.new(&quot;Sound&quot;)&#13;&#10;&#9;sound.SoundId = id&#13;&#10;&#9;sound.Parent = script.Parent.Head&#13;&#10;&#9;return sound&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;local sDied = newSound(&quot;rbxasset://sounds/uuhhh.wav&quot;)&#13;&#10;local sFallingDown = newSound(&quot;rbxasset://sounds/splat.wav&quot;)&#13;&#10;local sFreeFalling = newSound(&quot;rbxasset://sounds/swoosh.wav&quot;)&#13;&#10;local sGettingUp = newSound(&quot;rbxasset://sounds/hit.wav&quot;)&#13;&#10;local sJumping = newSound(&quot;rbxasset://sounds/button.wav&quot;)&#13;&#10;local sRunning = newSound(&quot;rbxasset://sounds/bfsl-minifigfoots1.mp3&quot;)&#13;&#10;sRunning.Looped = true&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;sDied:play()&#13;&#10;end&#13;&#10;&#13;&#10;function onState(state, sound)&#13;&#10;&#9;if state then&#13;&#10;&#9;&#9;sound:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sound:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;sRunning:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sRunning:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(function(state) onState(state, sJumping) end)&#13;&#10;Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end)&#13;&#10;Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end)&#13;&#10;Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end)&#13;&#10;--]]&#13;&#10;&#13;&#10;local nextTime = 0&#13;&#10;local runService = game:service(&quot;RunService&quot;);&#13;&#10;&#13;&#10;while Figure.Parent~=nil do&#13;&#10;&#9;time = runService.Stepped:wait()&#13;&#10;&#9;if time &gt; nextTime then&#13;&#10;&#9;&#9;move(time)&#13;&#10;&#9;&#9;nextTime = time + 0.1&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX484">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Follow</string>
					<string name="Source">local larm = script.Parent:FindFirstChild(&quot;Left Arm&quot;)&#13;&#10;local rarm = script.Parent:FindFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;function findNearestTorso(pos)&#13;&#10;&#9;local list = game.Workspace:children()&#13;&#10;&#9;local torso = nil&#13;&#10;&#9;local dist = 25&#13;&#10;&#9;local temp = nil&#13;&#10;&#9;local human = nil&#13;&#10;&#9;local temp2 = nil&#13;&#10;&#9;for x = 1, #list do&#13;&#10;&#9;&#9;temp2 = list[x]&#13;&#10;&#9;&#9;if (temp2.className == &quot;Model&quot;) and (temp2 ~= script.Parent) then&#13;&#10;&#9;&#9;&#9;temp = temp2:findFirstChild(&quot;Torso&quot;)&#13;&#10;&#9;&#9;&#9;human = temp2:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;&#9;&#9;if (temp ~= nil) and (human ~= nil) and (human.Health &gt; 0) then&#13;&#10;&#9;&#9;&#9;&#9;if (temp.Position - pos).magnitude &lt; dist then&#13;&#10;&#9;&#9;&#9;&#9;&#9;torso = temp&#13;&#10;&#9;&#9;&#9;&#9;&#9;dist = (temp.Position - pos).magnitude&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return torso&#13;&#10;end&#13;&#10;&#13;&#10;while true do&#13;&#10;&#9;wait(0.1)&#13;&#10;&#9;local target = findNearestTorso(script.Parent.Torso.Position)&#13;&#10;&#9;if target ~= nil then&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#9;end&#13;&#10;end</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Model" referent="RBX485">
			<Properties>
				<token name="Controller">7</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">Warrior</string>
				<Ref name="PrimaryPart">RBX486</Ref>
				<bool name="archivable">true</bool>
			</Properties>
			<Item class="Part" referent="RBX486">
				<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">4</token>
					<token name="BottomSurfaceInput">0</token>
					<int name="BrickColor">217</int>
					<CoordinateFrame name="CFrame">
						<X>165.611893</X>
						<Y>0.889991522</Y>
						<Z>163.126282</Z>
						<R00>-0.720480263</R00>
						<R01>-0.693475246</R01>
						<R02>-1.85510999e-005</R02>
						<R10>-2.41926209e-005</R10>
						<R11>5.19587156e-005</R11>
						<R12>-0.999999881</R12>
						<R20>0.693475246</R20>
						<R21>-0.720480323</R21>
						<R22>-5.40537803e-005</R22>
					</CoordinateFrame>
					<bool name="CanCollide">true</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">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">Head</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>2</X>
						<Y>1</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
				<Item class="SpecialMesh" referent="RBX487">
					<Properties>
						<Content name="MeshId"><null></null></Content>
						<token name="MeshType">0</token>
						<string name="Name">Mesh</string>
						<Vector3 name="Scale">
							<X>1.25</X>
							<Y>1.25</Y>
							<Z>1.25</Z>
						</Vector3>
						<Content name="TextureId"><null></null></Content>
						<Vector3 name="VertexColor">
							<X>1</X>
							<Y>1</Y>
							<Z>1</Z>
						</Vector3>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX488">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX489">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">0</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX490">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX491">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">0</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX492">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX493">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX494">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX495">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX496">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX497">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX498">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX499">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX500">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX501">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX502">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX503">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX504">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX505">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX506">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX507">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX508">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX509">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX510">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX511">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX512">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX513">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX514">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX515">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX516">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX517">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX518">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX519">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX520">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX521">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX522">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX523">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX524">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX525">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX526">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX527">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX528">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX529">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX530">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX531">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX532">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX533">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX534">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX535">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX536">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX537">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX538">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX539">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX540">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX541">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX542">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX543">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX544">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX545">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX546">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX547">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX548">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX549">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX550">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX551">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX552">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX553">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX554">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX555">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX556">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX557">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX558">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX559">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX560">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX561">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX562">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX563">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX564">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX565">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX566">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX567">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX568">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX569">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX570">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX571">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX572">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX573">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX574">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX575">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX576">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX577">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX578">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX579">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX580">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX581">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX582">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX583">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX584">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX585">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX586">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX587">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX588">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX589">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX590">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX591">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX592">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX593">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX594">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX595">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX596">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX597">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX598">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX599">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX600">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX601">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX602">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX603">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX604">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX605">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX606">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX607">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX608">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX609">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX610">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX611">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX612">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX613">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX614">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX615">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">0</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX616">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX617">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">0</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX618">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX619">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX620">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX621">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX622">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX623">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX624">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX625">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX626">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX627">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX628">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX629">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX630">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX631">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Decal" referent="RBX632">
					<Properties>
						<token name="Face">5</token>
						<string name="Name">face</string>
						<float name="Shiny">20</float>
						<float name="Specular">0</float>
						<Content name="Texture"><hash>b0c3fd281c77535b29d7d191d47d580e</hash></Content>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Weld" referent="RBX633">
					<Properties>
						<CoordinateFrame name="C0">
							<X>0</X>
							<Y>0.5</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="C1">
							<X>0</X>
							<Y>0.5</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">HeadWeld</string>
						<Ref name="Part0">RBX486</Ref>
						<Ref name="Part1">null</Ref>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Script" referent="RBX634">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">DoorScript2</string>
						<string name="Source">print(&quot;Omg a team door! Goodbye spawnkilling!&quot;) -- {made by:yourit12 modeled by:NintendoZACHERY}&#13;&#10;&#13;&#10;Door = script.Parent &#13;&#10;------------------------------------&#13;&#10;modelname=&quot;Admins&quot; -- Put the EXACT name of the team here&#13;&#10;------------------------------------&#13;&#10; &#13;&#10;function onTouched(hit) &#13;&#10;        print(&quot;Door Hit&quot;) &#13;&#10;        local human = hit.Parent:FindFirstChild(&quot;Humanoid&quot;) &#13;&#10;        if (human ~= nil ) then&#13;&#10;                if game.Players:playerFromCharacter(hit.Parent).TeamColor==game.Teams:findFirstChild(modelname).TeamColor then&#13;&#10;                        Door.CanCollide = false &#13;&#10;                        Door.Transparency = 0&#13;&#10;                        wait(1) &#13;&#10;                        Door.CanCollide = true &#13;&#10;                        Door.Transparency = 0 &#13;&#10;                        print(&quot;Human touched door&quot;) &#13;&#10;                else&#13;&#10;                        human.Health = 0&#13;&#10;                end&#13;&#10; &#13;&#10;        end &#13;&#10;end &#13;&#10; &#13;&#10;connection = Door.Touched:connect(onTouched)</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Script" referent="RBX635">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">Script</string>
						<string name="Source">function onTouched(hit)&#13;&#10;if hit.Name ~= &quot;tray&quot; then hit:remove() end&#13;&#10;end&#13;&#10;&#13;&#10;connection = script.Parent.Touched:connect(onTouched)&#13;&#10;</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Script" referent="RBX636">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">Script</string>
						<string name="Source">&#13;&#10;function onTouched(hit)&#13;&#10;&#9;local human = hit.Parent:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;if (human ~= nil) then&#13;&#10;&#9;&#9;human.Health = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if (script.Parent ~= nil) and (script.Parent.className == &quot;Part&quot;) then --Work if in a block&#13;&#10;&#9;connection = script.Parent.Touched:connect(onTouched)&#13;&#10;end&#13;&#10;</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
			</Item>
			<Item class="Humanoid" referent="RBX637">
				<Properties>
					<float name="Health">100</float>
					<bool name="Jump">false</bool>
					<float name="MaxHealth">100</float>
					<string name="Name">Humanoid</string>
					<bool name="Sit">false</bool>
					<Vector3 name="TargetPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<Vector3 name="WalkDirection">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<float name="WalkRotationalVelocity">0</float>
					<Ref name="WalkToPart">null</Ref>
					<Vector3 name="WalkToPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX638">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Health</string>
					<string name="Source">function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;-- declarations&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;Humanoid.Health=500&#13;&#10;-- regeneration&#13;&#10;while true do&#13;&#10;&#9;local s = wait(4)&#13;&#10;&#9;local health = Humanoid.Health&#13;&#10;&#9;if health &gt; 0 and health &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;health = health + 0.08 * s * Humanoid.MaxHealth&#13;&#10;&#9;&#9;if health * 1.05 &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;&#9;Humanoid.Health = health&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;Humanoid.Health = Humanoid.MaxHealth&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="BodyColors" referent="RBX639">
				<Properties>
					<int name="HeadColor">24</int>
					<int name="LeftArmColor">28</int>
					<int name="LeftLegColor">28</int>
					<string name="Name">Body Colors</string>
					<int name="RightArmColor">28</int>
					<int name="RightLegColor">28</int>
					<int name="TorsoColor">28</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="IntValue" referent="RBX640">
				<Properties>
					<string name="Name">Value</string>
					<int name="Value">0</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX641">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Robot</string>
					<string name="Source">------------------&#13;&#10;--SPAWNING--&#13;&#10;------------------&#13;&#10;&#13;&#10;miked=script.Parent&#13;&#10;&#13;&#10;itlh=miked.Torso:findFirstChild(&quot;Left Hip&quot;)&#13;&#10;itlh.Part0=miked.Torso&#13;&#10;itlh.Part1=miked:findFirstChild(&quot;Left Leg&quot;)&#13;&#10;itlh.C0=CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;&#13;&#10;itrh=miked.Torso:findFirstChild(&quot;Right Hip&quot;)&#13;&#10;itrh.Part0=miked.Torso&#13;&#10;itrh.Part1=miked:findFirstChild(&quot;Right Leg&quot;)&#13;&#10;itrh.C0=CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;&#13;&#10;itls=miked.Torso:findFirstChild(&quot;Left Shoulder&quot;)&#13;&#10;itls.Part1=miked.Torso&#13;&#10;itls.C0=CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;itls.Part0=miked:findFirstChild(&quot;Left Arm&quot;)&#13;&#10;&#13;&#10;itrs=miked.Torso:findFirstChild(&quot;Right Shoulder&quot;)&#13;&#10;itrs.Part1=miked.Torso&#13;&#10;itrs.C0=CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;itrs.Part0=miked:findFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;miked.Head:makeJoints()&#13;&#10;------------------&#13;&#10;------------------&#13;&#10;&#13;&#10;&#13;&#10;function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Torso = waitForChild(Figure, &quot;Torso&quot;)&#13;&#10;local RightShoulder = waitForChild(Torso, &quot;Right Shoulder&quot;)&#13;&#10;local LeftShoulder = waitForChild(Torso, &quot;Left Shoulder&quot;)&#13;&#10;local RightHip = waitForChild(Torso, &quot;Right Hip&quot;)&#13;&#10;local LeftHip = waitForChild(Torso, &quot;Left Hip&quot;)&#13;&#10;local Neck = waitForChild(Torso, &quot;Neck&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;local pose = &quot;Standing&quot;&#13;&#10;&#13;&#10;local toolAnim = &quot;None&quot;&#13;&#10;local toolAnimTime = 0&#13;&#10;&#13;&#10;local isSeated = false&#13;&#10;&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if isSeated then return end&#13;&#10;&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;pose = &quot;Running&quot;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;pose = &quot;Standing&quot;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;pose = &quot;Dead&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onJumping()&#13;&#10;&#9;isSeated = false&#13;&#10;&#9;pose = &quot;Jumping&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onClimbing()&#13;&#10;&#9;pose = &quot;Climbing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onGettingUp()&#13;&#10;&#9;pose = &quot;GettingUp&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFreeFall()&#13;&#10;&#9;pose = &quot;FreeFall&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onDancing()&#13;&#10;&#9;pose = &quot;Dancing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFallingDown()&#13;&#10;&#9;pose = &quot;FallingDown&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onSeated()&#13;&#10;&#9;isSeated = true&#13;&#10;&#9;pose = &quot;Seated&quot;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function moveJump()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFreeFall()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1&#13;&#10;&#9;LeftShoulder.DesiredAngle = -1&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFloat()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = -1.57&#13;&#10;end&#13;&#10;&#13;&#10;function moveBoogy()&#13;&#10;while pose==&quot;Boogy&quot; do&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 1.57&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;function moveZombie()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function movePunch()&#13;&#10;&#9;script.Parent.Torso.Anchored=true&#13;&#10;&#9;RightShoulder.MaxVelocity = 60&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;script.Parent.Torso.Anchored=false&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveKick()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveFly()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function moveClimb()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveSit()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;RightHip.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftHip.DesiredAngle = -3.14 /2&#13;&#10;end&#13;&#10;&#13;&#10;function getTool()&#13;&#10;&#9;&#13;&#10;&#9;kidTable = Figure:children()&#13;&#10;&#9;if (kidTable ~= nil) then&#13;&#10;&#9;&#9;numKids = #kidTable&#13;&#10;&#9;&#9;for i=1,numKids do&#13;&#10;&#9;&#9;&#9;if (kidTable[i].className == &quot;Tool&quot;) then return kidTable[i] end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;c = tool:children()&#13;&#10;&#9;for i=1,#c do&#13;&#10;&#9;&#9;if (c[i].Name == &quot;toolanim&quot; and c[i].className == &quot;StringValue&quot;) then&#13;&#10;&#9;&#9;&#9;return c[i]&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function animateTool()&#13;&#10;&#9;&#13;&#10;&#9;if (toolAnim == &quot;None&quot;) then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Slash&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Lunge&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 1.0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 1.0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function move(time)&#13;&#10;&#9;local amplitude&#13;&#10;&#9;local frequency&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Jumping&quot;) then&#13;&#10;&#9;&#9;moveJump()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Zombie&quot;) then&#13;&#10;&#9;&#9;moveZombie()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Boogy&quot;) then&#13;&#10;&#9;&#9;moveBoogy()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Float&quot;) then&#13;&#10;&#9;&#9;moveFloat()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Punch&quot;) then&#13;&#10;&#9;&#9;movePunch()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Kick&quot;) then&#13;&#10;&#9;&#9;moveKick()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Fly&quot;) then&#13;&#10;&#9;&#9;moveFly()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;FreeFall&quot;) then&#13;&#10;&#9;&#9;moveFreeFall()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Climbing&quot;) then&#13;&#10;&#9;&#9;moveClimb()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Seated&quot;) then&#13;&#10;&#9;&#9;moveSit()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;amplitude = 0.1&#13;&#10;&#9;&#9;frequency = 1&#13;&#10;&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;if (pose == &quot;Running&quot;) then&#13;&#10;&#9;&#9;amplitude = 1&#13;&#10;&#9;&#9;frequency = 9&#13;&#10;&#9;elseif (pose == &quot;Dancing&quot;) then&#13;&#10;&#9;&#9;amplitude = 2&#13;&#10;&#9;&#9;frequency = 16&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#13;&#10;&#9;desiredAngle = amplitude * math.sin(time*frequency)&#13;&#10;&#9;if pose~=&quot;Dancing&quot; then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;else&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;end&#13;&#10;&#9;&#9;&#13;&#10;&#13;&#10;&#13;&#10;&#9;local tool = getTool()&#13;&#10;&#13;&#10;&#9;if tool ~= nil then&#13;&#10;&#9;&#13;&#10;&#9;&#9;animStringValueObject = getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;&#9;if animStringValueObject ~= nil then&#13;&#10;&#9;&#9;&#9;toolAnim = animStringValueObject.Value&#13;&#10;&#9;&#9;&#9;-- message recieved, delete StringValue&#13;&#10;&#9;&#9;&#9;animStringValueObject.Parent = nil&#13;&#10;&#9;&#9;&#9;toolAnimTime = time + .3&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if time &gt; toolAnimTime then&#13;&#10;&#9;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;animateTool()&#13;&#10;&#13;&#10;&#9;&#9;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;-- connect events&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;function unequip()&#13;&#10;&#9;local items=script.Parent:children()&#13;&#10;&#9;for i=1, #items do&#13;&#10;&#9;&#9;if items[i].className==&quot;Tool&quot; then items[i]:remove() end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onChatted(msg, recipient) &#13;&#10;&#9;msg = string.lower(msg)&#13;&#10;&#13;&#10;&#9;if string.match(msg, string.lower(script.Parent.Name))~=nil or string.match(msg, &quot;everyone&quot;) then&#13;&#10;&#9;&#9;if string.match(msg, &quot;equip&quot;) then &#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;Hub&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;if string.match(msg, &quot;rocket&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Rocket:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;slingshot&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Slingshot:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;sword&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Sword:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;pbg&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.PBG:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;superball&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Superball:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;trowel&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Trowel:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;bomb&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Bomb:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;unequip&quot;) then unequip() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;run&quot;) then onRunning(1) end&#13;&#10;&#9;&#9;if string.match(msg, &quot;climb&quot;) then onClimbing() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;jump&quot;) then onJumping() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;zombie&quot;) then pose=&quot;Zombie&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;disco&quot;) then pose=&quot;Boogy&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;float&quot;) then pose=&quot;Float&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;punch&quot;) then pose=&quot;Punch&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kick&quot;) then pose=&quot;Kick&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;fly&quot;) then pose=&quot;Fly&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;heal&quot;) then script.Parent.Humanoid.Health=script.Parent.Humanoid.MaxHealth end&#13;&#10;&#9;&#9;if string.match(msg, &quot;defend&quot;) then defence() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;stop&quot;) then pose=&quot;Standing&quot;; proxkill=false; following=false; stopmoving() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;go home&quot;) then following=false; gohome() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;follow&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;followany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;follow(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kill&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;attackany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;attack(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if game.Players.NumPlayers&gt;1 then&#13;&#10;&#9;x=game.Players:children()&#13;&#10;&#9;&#13;&#10;&#9;for i=1, #x do&#13;&#10;&#9;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function onPlayerEntered(Player) &#13;&#10;&#9;while Player.Name==nil do&#13;&#10;&#9;&#9;wait(2)&#13;&#10;&#9;end&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;end&#13;&#10;&#9;else&#13;&#10;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;game.Players.ChildAdded:connect(onPlayerEntered) &#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;dist=20&#13;&#10;&#13;&#10;function followany()&#13;&#10;following=true&#13;&#10;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 6 do&#13;&#10;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then stopmoving() else&#9;wait(0.5) end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function gohome()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(Vector3.new(0,0,0), game.Workspace.Bases.Base)&#13;&#10;end&#13;&#10;function stopmoving()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(script.Parent.Torso.Position, script.Parent.Torso)&#13;&#10;end&#13;&#10;&#13;&#10;function follow(name)&#13;&#10;&#9;following=true&#13;&#10;&#13;&#10;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;if p==nil then return end&#13;&#10;&#9;while following==true do&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attack(name)&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#9;&#9;following=true&#13;&#10;&#9;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;&#9;if p==nil then return end&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#9;local l=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((l.x-q.x)^2)+((l.y-q.y)^2)+((l.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;if (q.y-l.y)&gt;3 and (q.y-l.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attackany()&#13;&#10;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#13;&#10;&#9;following=true&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;slash()&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;if target.Parent==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then &#13;&#10;&#9;&#9;&#9;&#9;&#9;stopmoving() &#13;&#10;&#9;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=target.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if (q.y-p.y)&gt;3 and (q.y-p.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function patrol()&#13;&#10;&#9;if points==nil then&#13;&#10;&#9;&#9;points=0&#13;&#10;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp1&quot;)~=nil then&#13;&#10;&#9;&#9;pp1=game.Workspace:findFirstChild(&quot;pp1&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp2&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;pp2=game.Workspace:findFirstChild(&quot;pp2&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp3&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;pp3=game.Workspace:findFirstChild(&quot;pp3&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp4&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;pp4=game.Workspace:findFirstChild(&quot;pp4&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp5&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;pp5=game.Workspace:findFirstChild(&quot;pp5&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp6&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp6=game.Workspace:findFirstChild(&quot;pp6&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp7&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp7=game.Workspace:findFirstChild(&quot;pp7&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp8&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp8=game.Workspace:findFirstChild(&quot;pp8&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp9&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp9=game.Workspace:findFirstChild(&quot;pp9&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if points&lt;1 then return end&#13;&#10;&#9;patrolling=true&#13;&#10;&#9;local time=2&#13;&#10;&#9;if points==1 then return end&#13;&#10;&#9;if points&gt;1 then&#13;&#10;&#9;&#9;while patrolling==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp1.Position, pp1)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp2.Position, pp2)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;if points&gt;2 then&#13;&#10;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp3.Position, pp3)&#13;&#10;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;if points&gt;3 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp4.Position, pp4)&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;if points&gt;4 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp5.Position, pp5)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;5 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp6.Position, pp6)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;6 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp7.Position, pp7)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp8.Position, pp8)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp9.Position, pp9)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function goto(pos,part)&#13;&#10;while true do&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function slash()&#13;&#10;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;wait(.3)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -2.14&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;&#9;wait(.2)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function defence()&#13;&#10;&#9;proxkill=true&#13;&#10;&#9;while proxkill==true do&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local p=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if p~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local p=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;dist and d&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local ex=Instance.new(&quot;Explosion&quot;)&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Position=p&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Parent=game.Workspace&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#9;&#9;&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;wait(1)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(onJumping)&#13;&#10;Humanoid.Climbing:connect(onClimbing)&#13;&#10;Humanoid.GettingUp:connect(onGettingUp)&#13;&#10;Humanoid.FreeFalling:connect(onFreeFall)&#13;&#10;Humanoid.FallingDown:connect(onFallingDown)&#13;&#10;Humanoid.Seated:connect(onSeated)&#13;&#10;&#13;&#10;&#13;&#10;--[[&#13;&#10;&#13;&#10;function newSound(id)&#13;&#10;&#9;local sound = Instance.new(&quot;Sound&quot;)&#13;&#10;&#9;sound.SoundId = id&#13;&#10;&#9;sound.Parent = script.Parent.Head&#13;&#10;&#9;return sound&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;local sDied = newSound(&quot;rbxasset://sounds/uuhhh.wav&quot;)&#13;&#10;local sFallingDown = newSound(&quot;rbxasset://sounds/splat.wav&quot;)&#13;&#10;local sFreeFalling = newSound(&quot;rbxasset://sounds/swoosh.wav&quot;)&#13;&#10;local sGettingUp = newSound(&quot;rbxasset://sounds/hit.wav&quot;)&#13;&#10;local sJumping = newSound(&quot;rbxasset://sounds/button.wav&quot;)&#13;&#10;local sRunning = newSound(&quot;rbxasset://sounds/bfsl-minifigfoots1.mp3&quot;)&#13;&#10;sRunning.Looped = true&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;sDied:play()&#13;&#10;end&#13;&#10;&#13;&#10;function onState(state, sound)&#13;&#10;&#9;if state then&#13;&#10;&#9;&#9;sound:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sound:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;sRunning:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sRunning:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(function(state) onState(state, sJumping) end)&#13;&#10;Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end)&#13;&#10;Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end)&#13;&#10;Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end)&#13;&#10;--]]&#13;&#10;&#13;&#10;local nextTime = 0&#13;&#10;local runService = game:service(&quot;RunService&quot;);&#13;&#10;&#13;&#10;while Figure.Parent~=nil do&#13;&#10;&#9;time = runService.Stepped:wait()&#13;&#10;&#9;if time &gt; nextTime then&#13;&#10;&#9;&#9;move(time)&#13;&#10;&#9;&#9;nextTime = time + 0.1&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX642">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Follow</string>
					<string name="Source">local larm = script.Parent:FindFirstChild(&quot;Left Arm&quot;)&#13;&#10;local rarm = script.Parent:FindFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;function findNearestTorso(pos)&#13;&#10;&#9;local list = game.Workspace:children()&#13;&#10;&#9;local torso = nil&#13;&#10;&#9;local dist = 25&#13;&#10;&#9;local temp = nil&#13;&#10;&#9;local human = nil&#13;&#10;&#9;local temp2 = nil&#13;&#10;&#9;for x = 1, #list do&#13;&#10;&#9;&#9;temp2 = list[x]&#13;&#10;&#9;&#9;if (temp2.className == &quot;Model&quot;) and (temp2 ~= script.Parent) then&#13;&#10;&#9;&#9;&#9;temp = temp2:findFirstChild(&quot;Torso&quot;)&#13;&#10;&#9;&#9;&#9;human = temp2:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;&#9;&#9;if (temp ~= nil) and (human ~= nil) and (human.Health &gt; 0) then&#13;&#10;&#9;&#9;&#9;&#9;if (temp.Position - pos).magnitude &lt; dist then&#13;&#10;&#9;&#9;&#9;&#9;&#9;torso = temp&#13;&#10;&#9;&#9;&#9;&#9;&#9;dist = (temp.Position - pos).magnitude&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return torso&#13;&#10;end&#13;&#10;&#13;&#10;while true do&#13;&#10;&#9;wait(0.1)&#13;&#10;&#9;local target = findNearestTorso(script.Parent.Torso.Position)&#13;&#10;&#9;if target ~= nil then&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#9;end&#13;&#10;end</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Model" referent="RBX643">
			<Properties>
				<token name="Controller">7</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">Warrior</string>
				<Ref name="PrimaryPart">RBX644</Ref>
				<bool name="archivable">true</bool>
			</Properties>
			<Item class="Humanoid" referent="RBX645">
				<Properties>
					<float name="Health">0</float>
					<bool name="Jump">false</bool>
					<float name="MaxHealth">100</float>
					<string name="Name">Humanoid</string>
					<bool name="Sit">false</bool>
					<Vector3 name="TargetPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<Vector3 name="WalkDirection">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<float name="WalkRotationalVelocity">0</float>
					<Ref name="WalkToPart">null</Ref>
					<Vector3 name="WalkToPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX646">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Health</string>
					<string name="Source">function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;-- declarations&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;Humanoid.Health=500&#13;&#10;-- regeneration&#13;&#10;while true do&#13;&#10;&#9;local s = wait(4)&#13;&#10;&#9;local health = Humanoid.Health&#13;&#10;&#9;if health &gt; 0 and health &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;health = health + 0.08 * s * Humanoid.MaxHealth&#13;&#10;&#9;&#9;if health * 1.05 &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;&#9;Humanoid.Health = health&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;Humanoid.Health = Humanoid.MaxHealth&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="BodyColors" referent="RBX647">
				<Properties>
					<int name="HeadColor">24</int>
					<int name="LeftArmColor">28</int>
					<int name="LeftLegColor">28</int>
					<string name="Name">Body Colors</string>
					<int name="RightArmColor">28</int>
					<int name="RightLegColor">28</int>
					<int name="TorsoColor">28</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="IntValue" referent="RBX648">
				<Properties>
					<string name="Name">Value</string>
					<int name="Value">0</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Part" referent="RBX644">
				<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">4</token>
					<token name="BottomSurfaceInput">0</token>
					<int name="BrickColor">141</int>
					<CoordinateFrame name="CFrame">
						<X>186.367004</X>
						<Y>0.89003402</Y>
						<Z>176.050598</Z>
						<R00>-0.999943614</R00>
						<R01>0.0106043518</R01>
						<R02>4.55808622e-005</R02>
						<R10>4.5393248e-005</R10>
						<R11>-1.78651499e-005</R11>
						<R12>0.99999994</R12>
						<R20>0.0106043527</R20>
						<R21>0.999943674</R21>
						<R22>1.75339064e-005</R22>
					</CoordinateFrame>
					<bool name="CanCollide">true</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">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">Right Arm</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>1</X>
						<Y>2</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
				<Item class="Script" referent="RBX649">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">DoorScript2</string>
						<string name="Source">print(&quot;Omg a team door! Goodbye spawnkilling!&quot;) -- {made by:yourit12 modeled by:NintendoZACHERY}&#13;&#10;&#13;&#10;Door = script.Parent &#13;&#10;------------------------------------&#13;&#10;modelname=&quot;Admins&quot; -- Put the EXACT name of the team here&#13;&#10;------------------------------------&#13;&#10; &#13;&#10;function onTouched(hit) &#13;&#10;        print(&quot;Door Hit&quot;) &#13;&#10;        local human = hit.Parent:FindFirstChild(&quot;Humanoid&quot;) &#13;&#10;        if (human ~= nil ) then&#13;&#10;                if game.Players:playerFromCharacter(hit.Parent).TeamColor==game.Teams:findFirstChild(modelname).TeamColor then&#13;&#10;                        Door.CanCollide = false &#13;&#10;                        Door.Transparency = 0&#13;&#10;                        wait(1) &#13;&#10;                        Door.CanCollide = true &#13;&#10;                        Door.Transparency = 0 &#13;&#10;                        print(&quot;Human touched door&quot;) &#13;&#10;                else&#13;&#10;                        human.Health = 0&#13;&#10;                end&#13;&#10; &#13;&#10;        end &#13;&#10;end &#13;&#10; &#13;&#10;connection = Door.Touched:connect(onTouched)</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Script" referent="RBX650">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">Script</string>
						<string name="Source">function onTouched(hit)&#13;&#10;if hit.Name ~= &quot;tray&quot; then hit:remove() end&#13;&#10;end&#13;&#10;&#13;&#10;connection = script.Parent.Touched:connect(onTouched)&#13;&#10;</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Script" referent="RBX651">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">Script</string>
						<string name="Source">&#13;&#10;function onTouched(hit)&#13;&#10;&#9;local human = hit.Parent:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;if (human ~= nil) then&#13;&#10;&#9;&#9;human.Health = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if (script.Parent ~= nil) and (script.Parent.className == &quot;Part&quot;) then --Work if in a block&#13;&#10;&#9;connection = script.Parent.Touched:connect(onTouched)&#13;&#10;end&#13;&#10;</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
			</Item>
			<Item class="Script" referent="RBX652">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Robot</string>
					<string name="Source">------------------&#13;&#10;--SPAWNING--&#13;&#10;------------------&#13;&#10;&#13;&#10;miked=script.Parent&#13;&#10;&#13;&#10;itlh=miked.Torso:findFirstChild(&quot;Left Hip&quot;)&#13;&#10;itlh.Part0=miked.Torso&#13;&#10;itlh.Part1=miked:findFirstChild(&quot;Left Leg&quot;)&#13;&#10;itlh.C0=CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;&#13;&#10;itrh=miked.Torso:findFirstChild(&quot;Right Hip&quot;)&#13;&#10;itrh.Part0=miked.Torso&#13;&#10;itrh.Part1=miked:findFirstChild(&quot;Right Leg&quot;)&#13;&#10;itrh.C0=CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;&#13;&#10;itls=miked.Torso:findFirstChild(&quot;Left Shoulder&quot;)&#13;&#10;itls.Part1=miked.Torso&#13;&#10;itls.C0=CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;itls.Part0=miked:findFirstChild(&quot;Left Arm&quot;)&#13;&#10;&#13;&#10;itrs=miked.Torso:findFirstChild(&quot;Right Shoulder&quot;)&#13;&#10;itrs.Part1=miked.Torso&#13;&#10;itrs.C0=CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;itrs.Part0=miked:findFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;miked.Head:makeJoints()&#13;&#10;------------------&#13;&#10;------------------&#13;&#10;&#13;&#10;&#13;&#10;function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Torso = waitForChild(Figure, &quot;Torso&quot;)&#13;&#10;local RightShoulder = waitForChild(Torso, &quot;Right Shoulder&quot;)&#13;&#10;local LeftShoulder = waitForChild(Torso, &quot;Left Shoulder&quot;)&#13;&#10;local RightHip = waitForChild(Torso, &quot;Right Hip&quot;)&#13;&#10;local LeftHip = waitForChild(Torso, &quot;Left Hip&quot;)&#13;&#10;local Neck = waitForChild(Torso, &quot;Neck&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;local pose = &quot;Standing&quot;&#13;&#10;&#13;&#10;local toolAnim = &quot;None&quot;&#13;&#10;local toolAnimTime = 0&#13;&#10;&#13;&#10;local isSeated = false&#13;&#10;&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if isSeated then return end&#13;&#10;&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;pose = &quot;Running&quot;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;pose = &quot;Standing&quot;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;pose = &quot;Dead&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onJumping()&#13;&#10;&#9;isSeated = false&#13;&#10;&#9;pose = &quot;Jumping&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onClimbing()&#13;&#10;&#9;pose = &quot;Climbing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onGettingUp()&#13;&#10;&#9;pose = &quot;GettingUp&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFreeFall()&#13;&#10;&#9;pose = &quot;FreeFall&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onDancing()&#13;&#10;&#9;pose = &quot;Dancing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFallingDown()&#13;&#10;&#9;pose = &quot;FallingDown&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onSeated()&#13;&#10;&#9;isSeated = true&#13;&#10;&#9;pose = &quot;Seated&quot;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function moveJump()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFreeFall()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1&#13;&#10;&#9;LeftShoulder.DesiredAngle = -1&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFloat()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = -1.57&#13;&#10;end&#13;&#10;&#13;&#10;function moveBoogy()&#13;&#10;while pose==&quot;Boogy&quot; do&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 1.57&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;function moveZombie()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function movePunch()&#13;&#10;&#9;script.Parent.Torso.Anchored=true&#13;&#10;&#9;RightShoulder.MaxVelocity = 60&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;script.Parent.Torso.Anchored=false&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveKick()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveFly()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function moveClimb()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveSit()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;RightHip.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftHip.DesiredAngle = -3.14 /2&#13;&#10;end&#13;&#10;&#13;&#10;function getTool()&#13;&#10;&#9;&#13;&#10;&#9;kidTable = Figure:children()&#13;&#10;&#9;if (kidTable ~= nil) then&#13;&#10;&#9;&#9;numKids = #kidTable&#13;&#10;&#9;&#9;for i=1,numKids do&#13;&#10;&#9;&#9;&#9;if (kidTable[i].className == &quot;Tool&quot;) then return kidTable[i] end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;c = tool:children()&#13;&#10;&#9;for i=1,#c do&#13;&#10;&#9;&#9;if (c[i].Name == &quot;toolanim&quot; and c[i].className == &quot;StringValue&quot;) then&#13;&#10;&#9;&#9;&#9;return c[i]&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function animateTool()&#13;&#10;&#9;&#13;&#10;&#9;if (toolAnim == &quot;None&quot;) then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Slash&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Lunge&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 1.0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 1.0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function move(time)&#13;&#10;&#9;local amplitude&#13;&#10;&#9;local frequency&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Jumping&quot;) then&#13;&#10;&#9;&#9;moveJump()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Zombie&quot;) then&#13;&#10;&#9;&#9;moveZombie()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Boogy&quot;) then&#13;&#10;&#9;&#9;moveBoogy()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Float&quot;) then&#13;&#10;&#9;&#9;moveFloat()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Punch&quot;) then&#13;&#10;&#9;&#9;movePunch()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Kick&quot;) then&#13;&#10;&#9;&#9;moveKick()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Fly&quot;) then&#13;&#10;&#9;&#9;moveFly()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;FreeFall&quot;) then&#13;&#10;&#9;&#9;moveFreeFall()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Climbing&quot;) then&#13;&#10;&#9;&#9;moveClimb()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Seated&quot;) then&#13;&#10;&#9;&#9;moveSit()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;amplitude = 0.1&#13;&#10;&#9;&#9;frequency = 1&#13;&#10;&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;if (pose == &quot;Running&quot;) then&#13;&#10;&#9;&#9;amplitude = 1&#13;&#10;&#9;&#9;frequency = 9&#13;&#10;&#9;elseif (pose == &quot;Dancing&quot;) then&#13;&#10;&#9;&#9;amplitude = 2&#13;&#10;&#9;&#9;frequency = 16&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#13;&#10;&#9;desiredAngle = amplitude * math.sin(time*frequency)&#13;&#10;&#9;if pose~=&quot;Dancing&quot; then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;else&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;end&#13;&#10;&#9;&#9;&#13;&#10;&#13;&#10;&#13;&#10;&#9;local tool = getTool()&#13;&#10;&#13;&#10;&#9;if tool ~= nil then&#13;&#10;&#9;&#13;&#10;&#9;&#9;animStringValueObject = getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;&#9;if animStringValueObject ~= nil then&#13;&#10;&#9;&#9;&#9;toolAnim = animStringValueObject.Value&#13;&#10;&#9;&#9;&#9;-- message recieved, delete StringValue&#13;&#10;&#9;&#9;&#9;animStringValueObject.Parent = nil&#13;&#10;&#9;&#9;&#9;toolAnimTime = time + .3&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if time &gt; toolAnimTime then&#13;&#10;&#9;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;animateTool()&#13;&#10;&#13;&#10;&#9;&#9;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;-- connect events&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;function unequip()&#13;&#10;&#9;local items=script.Parent:children()&#13;&#10;&#9;for i=1, #items do&#13;&#10;&#9;&#9;if items[i].className==&quot;Tool&quot; then items[i]:remove() end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onChatted(msg, recipient) &#13;&#10;&#9;msg = string.lower(msg)&#13;&#10;&#13;&#10;&#9;if string.match(msg, string.lower(script.Parent.Name))~=nil or string.match(msg, &quot;everyone&quot;) then&#13;&#10;&#9;&#9;if string.match(msg, &quot;equip&quot;) then &#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;Hub&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;if string.match(msg, &quot;rocket&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Rocket:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;slingshot&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Slingshot:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;sword&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Sword:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;pbg&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.PBG:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;superball&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Superball:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;trowel&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Trowel:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;bomb&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Bomb:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;unequip&quot;) then unequip() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;run&quot;) then onRunning(1) end&#13;&#10;&#9;&#9;if string.match(msg, &quot;climb&quot;) then onClimbing() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;jump&quot;) then onJumping() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;zombie&quot;) then pose=&quot;Zombie&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;disco&quot;) then pose=&quot;Boogy&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;float&quot;) then pose=&quot;Float&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;punch&quot;) then pose=&quot;Punch&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kick&quot;) then pose=&quot;Kick&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;fly&quot;) then pose=&quot;Fly&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;heal&quot;) then script.Parent.Humanoid.Health=script.Parent.Humanoid.MaxHealth end&#13;&#10;&#9;&#9;if string.match(msg, &quot;defend&quot;) then defence() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;stop&quot;) then pose=&quot;Standing&quot;; proxkill=false; following=false; stopmoving() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;go home&quot;) then following=false; gohome() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;follow&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;followany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;follow(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kill&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;attackany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;attack(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if game.Players.NumPlayers&gt;1 then&#13;&#10;&#9;x=game.Players:children()&#13;&#10;&#9;&#13;&#10;&#9;for i=1, #x do&#13;&#10;&#9;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function onPlayerEntered(Player) &#13;&#10;&#9;while Player.Name==nil do&#13;&#10;&#9;&#9;wait(2)&#13;&#10;&#9;end&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;end&#13;&#10;&#9;else&#13;&#10;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;game.Players.ChildAdded:connect(onPlayerEntered) &#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;dist=20&#13;&#10;&#13;&#10;function followany()&#13;&#10;following=true&#13;&#10;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 6 do&#13;&#10;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then stopmoving() else&#9;wait(0.5) end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function gohome()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(Vector3.new(0,0,0), game.Workspace.Bases.Base)&#13;&#10;end&#13;&#10;function stopmoving()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(script.Parent.Torso.Position, script.Parent.Torso)&#13;&#10;end&#13;&#10;&#13;&#10;function follow(name)&#13;&#10;&#9;following=true&#13;&#10;&#13;&#10;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;if p==nil then return end&#13;&#10;&#9;while following==true do&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attack(name)&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#9;&#9;following=true&#13;&#10;&#9;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;&#9;if p==nil then return end&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#9;local l=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((l.x-q.x)^2)+((l.y-q.y)^2)+((l.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;if (q.y-l.y)&gt;3 and (q.y-l.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attackany()&#13;&#10;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#13;&#10;&#9;following=true&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;slash()&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;if target.Parent==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then &#13;&#10;&#9;&#9;&#9;&#9;&#9;stopmoving() &#13;&#10;&#9;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=target.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if (q.y-p.y)&gt;3 and (q.y-p.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function patrol()&#13;&#10;&#9;if points==nil then&#13;&#10;&#9;&#9;points=0&#13;&#10;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp1&quot;)~=nil then&#13;&#10;&#9;&#9;pp1=game.Workspace:findFirstChild(&quot;pp1&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp2&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;pp2=game.Workspace:findFirstChild(&quot;pp2&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp3&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;pp3=game.Workspace:findFirstChild(&quot;pp3&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp4&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;pp4=game.Workspace:findFirstChild(&quot;pp4&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp5&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;pp5=game.Workspace:findFirstChild(&quot;pp5&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp6&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp6=game.Workspace:findFirstChild(&quot;pp6&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp7&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp7=game.Workspace:findFirstChild(&quot;pp7&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp8&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp8=game.Workspace:findFirstChild(&quot;pp8&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp9&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp9=game.Workspace:findFirstChild(&quot;pp9&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if points&lt;1 then return end&#13;&#10;&#9;patrolling=true&#13;&#10;&#9;local time=2&#13;&#10;&#9;if points==1 then return end&#13;&#10;&#9;if points&gt;1 then&#13;&#10;&#9;&#9;while patrolling==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp1.Position, pp1)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp2.Position, pp2)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;if points&gt;2 then&#13;&#10;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp3.Position, pp3)&#13;&#10;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;if points&gt;3 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp4.Position, pp4)&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;if points&gt;4 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp5.Position, pp5)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;5 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp6.Position, pp6)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;6 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp7.Position, pp7)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp8.Position, pp8)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp9.Position, pp9)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function goto(pos,part)&#13;&#10;while true do&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function slash()&#13;&#10;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;wait(.3)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -2.14&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;&#9;wait(.2)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function defence()&#13;&#10;&#9;proxkill=true&#13;&#10;&#9;while proxkill==true do&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local p=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if p~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local p=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;dist and d&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local ex=Instance.new(&quot;Explosion&quot;)&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Position=p&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Parent=game.Workspace&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#9;&#9;&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;wait(1)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(onJumping)&#13;&#10;Humanoid.Climbing:connect(onClimbing)&#13;&#10;Humanoid.GettingUp:connect(onGettingUp)&#13;&#10;Humanoid.FreeFalling:connect(onFreeFall)&#13;&#10;Humanoid.FallingDown:connect(onFallingDown)&#13;&#10;Humanoid.Seated:connect(onSeated)&#13;&#10;&#13;&#10;&#13;&#10;--[[&#13;&#10;&#13;&#10;function newSound(id)&#13;&#10;&#9;local sound = Instance.new(&quot;Sound&quot;)&#13;&#10;&#9;sound.SoundId = id&#13;&#10;&#9;sound.Parent = script.Parent.Head&#13;&#10;&#9;return sound&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;local sDied = newSound(&quot;rbxasset://sounds/uuhhh.wav&quot;)&#13;&#10;local sFallingDown = newSound(&quot;rbxasset://sounds/splat.wav&quot;)&#13;&#10;local sFreeFalling = newSound(&quot;rbxasset://sounds/swoosh.wav&quot;)&#13;&#10;local sGettingUp = newSound(&quot;rbxasset://sounds/hit.wav&quot;)&#13;&#10;local sJumping = newSound(&quot;rbxasset://sounds/button.wav&quot;)&#13;&#10;local sRunning = newSound(&quot;rbxasset://sounds/bfsl-minifigfoots1.mp3&quot;)&#13;&#10;sRunning.Looped = true&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;sDied:play()&#13;&#10;end&#13;&#10;&#13;&#10;function onState(state, sound)&#13;&#10;&#9;if state then&#13;&#10;&#9;&#9;sound:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sound:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;sRunning:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sRunning:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(function(state) onState(state, sJumping) end)&#13;&#10;Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end)&#13;&#10;Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end)&#13;&#10;Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end)&#13;&#10;--]]&#13;&#10;&#13;&#10;local nextTime = 0&#13;&#10;local runService = game:service(&quot;RunService&quot;);&#13;&#10;&#13;&#10;while Figure.Parent~=nil do&#13;&#10;&#9;time = runService.Stepped:wait()&#13;&#10;&#9;if time &gt; nextTime then&#13;&#10;&#9;&#9;move(time)&#13;&#10;&#9;&#9;nextTime = time + 0.1&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX653">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Follow</string>
					<string name="Source">local larm = script.Parent:FindFirstChild(&quot;Left Arm&quot;)&#13;&#10;local rarm = script.Parent:FindFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;function findNearestTorso(pos)&#13;&#10;&#9;local list = game.Workspace:children()&#13;&#10;&#9;local torso = nil&#13;&#10;&#9;local dist = 25&#13;&#10;&#9;local temp = nil&#13;&#10;&#9;local human = nil&#13;&#10;&#9;local temp2 = nil&#13;&#10;&#9;for x = 1, #list do&#13;&#10;&#9;&#9;temp2 = list[x]&#13;&#10;&#9;&#9;if (temp2.className == &quot;Model&quot;) and (temp2 ~= script.Parent) then&#13;&#10;&#9;&#9;&#9;temp = temp2:findFirstChild(&quot;Torso&quot;)&#13;&#10;&#9;&#9;&#9;human = temp2:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;&#9;&#9;if (temp ~= nil) and (human ~= nil) and (human.Health &gt; 0) then&#13;&#10;&#9;&#9;&#9;&#9;if (temp.Position - pos).magnitude &lt; dist then&#13;&#10;&#9;&#9;&#9;&#9;&#9;torso = temp&#13;&#10;&#9;&#9;&#9;&#9;&#9;dist = (temp.Position - pos).magnitude&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return torso&#13;&#10;end&#13;&#10;&#13;&#10;while true do&#13;&#10;&#9;wait(0.1)&#13;&#10;&#9;local target = findNearestTorso(script.Parent.Torso.Position)&#13;&#10;&#9;if target ~= nil then&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#9;end&#13;&#10;end</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Model" referent="RBX654">
			<Properties>
				<token name="Controller">7</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">Warrior</string>
				<Ref name="PrimaryPart">RBX655</Ref>
				<bool name="archivable">true</bool>
			</Properties>
			<Item class="Part" referent="RBX655">
				<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">4</token>
					<token name="BottomSurfaceInput">0</token>
					<int name="BrickColor">217</int>
					<CoordinateFrame name="CFrame">
						<X>142.001465</X>
						<Y>0.890022397</Y>
						<Z>144.400467</Z>
						<R00>0.974618495</R00>
						<R01>-0.223872155</R01>
						<R02>8.48931086e-006</R02>
						<R10>-1.7037848e-005</R10>
						<R11>-3.62580613e-005</R11>
						<R12>1</R12>
						<R20>-0.22387217</R20>
						<R21>-0.974618554</R21>
						<R22>-3.9151797e-005</R22>
					</CoordinateFrame>
					<bool name="CanCollide">true</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">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">Head</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>2</X>
						<Y>1</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
				<Item class="SpecialMesh" referent="RBX656">
					<Properties>
						<Content name="MeshId"><null></null></Content>
						<token name="MeshType">0</token>
						<string name="Name">Mesh</string>
						<Vector3 name="Scale">
							<X>1.25</X>
							<Y>1.25</Y>
							<Z>1.25</Z>
						</Vector3>
						<Content name="TextureId"><null></null></Content>
						<Vector3 name="VertexColor">
							<X>1</X>
							<Y>1</Y>
							<Z>1</Z>
						</Vector3>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX657">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX658">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">0</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX659">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX660">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">0</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX661">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX662">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX663">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX664">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX665">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX666">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX667">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX668">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX669">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX670">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX671">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX672">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX673">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX674">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX675">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX676">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX677">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX678">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX679">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX680">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX681">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX682">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX683">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX684">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX685">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX686">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX687">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX688">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX689">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX690">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX691">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX692">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX693">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX694">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX695">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX696">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX697">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX698">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX699">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX700">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX701">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX702">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX703">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX704">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX705">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX706">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX707">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX708">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX709">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX710">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX711">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX712">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX713">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX714">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX715">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX716">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX717">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX718">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX719">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX720">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX721">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX722">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX723">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX724">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX725">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX726">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX727">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX728">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX729">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX730">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX731">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX732">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX733">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX734">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX735">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX736">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX737">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX738">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX739">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX740">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX741">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX742">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX743">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX744">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX745">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX746">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX747">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX748">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX749">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX750">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX751">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX752">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX753">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX754">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX755">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX756">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX757">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX758">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX759">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX760">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX761">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX762">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX763">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX764">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX765">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX766">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX767">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX768">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX769">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX770">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX771">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX772">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX773">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX774">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX775">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX776">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX777">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX778">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX779">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX780">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX781">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX782">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX783">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX784">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">0</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX785">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX786">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">0</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX787">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX788">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX789">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX790">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX791">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX792">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX793">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX794">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX795">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX796">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX797">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX798">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX799">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX800">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Decal" referent="RBX801">
					<Properties>
						<token name="Face">5</token>
						<string name="Name">face</string>
						<float name="Shiny">20</float>
						<float name="Specular">0</float>
						<Content name="Texture"><hash>b0c3fd281c77535b29d7d191d47d580e</hash></Content>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Weld" referent="RBX802">
					<Properties>
						<CoordinateFrame name="C0">
							<X>0</X>
							<Y>0.5</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="C1">
							<X>0</X>
							<Y>0.5</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">HeadWeld</string>
						<Ref name="Part0">RBX655</Ref>
						<Ref name="Part1">null</Ref>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Script" referent="RBX803">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">DoorScript2</string>
						<string name="Source">print(&quot;Omg a team door! Goodbye spawnkilling!&quot;) -- {made by:yourit12 modeled by:NintendoZACHERY}&#13;&#10;&#13;&#10;Door = script.Parent &#13;&#10;------------------------------------&#13;&#10;modelname=&quot;Admins&quot; -- Put the EXACT name of the team here&#13;&#10;------------------------------------&#13;&#10; &#13;&#10;function onTouched(hit) &#13;&#10;        print(&quot;Door Hit&quot;) &#13;&#10;        local human = hit.Parent:FindFirstChild(&quot;Humanoid&quot;) &#13;&#10;        if (human ~= nil ) then&#13;&#10;                if game.Players:playerFromCharacter(hit.Parent).TeamColor==game.Teams:findFirstChild(modelname).TeamColor then&#13;&#10;                        Door.CanCollide = false &#13;&#10;                        Door.Transparency = 0&#13;&#10;                        wait(1) &#13;&#10;                        Door.CanCollide = true &#13;&#10;                        Door.Transparency = 0 &#13;&#10;                        print(&quot;Human touched door&quot;) &#13;&#10;                else&#13;&#10;                        human.Health = 0&#13;&#10;                end&#13;&#10; &#13;&#10;        end &#13;&#10;end &#13;&#10; &#13;&#10;connection = Door.Touched:connect(onTouched)</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Script" referent="RBX804">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">Script</string>
						<string name="Source">function onTouched(hit)&#13;&#10;if hit.Name ~= &quot;tray&quot; then hit:remove() end&#13;&#10;end&#13;&#10;&#13;&#10;connection = script.Parent.Touched:connect(onTouched)&#13;&#10;</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Script" referent="RBX805">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">Script</string>
						<string name="Source">&#13;&#10;function onTouched(hit)&#13;&#10;&#9;local human = hit.Parent:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;if (human ~= nil) then&#13;&#10;&#9;&#9;human.Health = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if (script.Parent ~= nil) and (script.Parent.className == &quot;Part&quot;) then --Work if in a block&#13;&#10;&#9;connection = script.Parent.Touched:connect(onTouched)&#13;&#10;end&#13;&#10;</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
			</Item>
			<Item class="Humanoid" referent="RBX806">
				<Properties>
					<float name="Health">100</float>
					<bool name="Jump">false</bool>
					<float name="MaxHealth">100</float>
					<string name="Name">Humanoid</string>
					<bool name="Sit">false</bool>
					<Vector3 name="TargetPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<Vector3 name="WalkDirection">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<float name="WalkRotationalVelocity">0</float>
					<Ref name="WalkToPart">null</Ref>
					<Vector3 name="WalkToPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX807">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Health</string>
					<string name="Source">function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;-- declarations&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;Humanoid.Health=500&#13;&#10;-- regeneration&#13;&#10;while true do&#13;&#10;&#9;local s = wait(4)&#13;&#10;&#9;local health = Humanoid.Health&#13;&#10;&#9;if health &gt; 0 and health &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;health = health + 0.08 * s * Humanoid.MaxHealth&#13;&#10;&#9;&#9;if health * 1.05 &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;&#9;Humanoid.Health = health&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;Humanoid.Health = Humanoid.MaxHealth&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="BodyColors" referent="RBX808">
				<Properties>
					<int name="HeadColor">24</int>
					<int name="LeftArmColor">28</int>
					<int name="LeftLegColor">28</int>
					<string name="Name">Body Colors</string>
					<int name="RightArmColor">28</int>
					<int name="RightLegColor">28</int>
					<int name="TorsoColor">28</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="IntValue" referent="RBX809">
				<Properties>
					<string name="Name">Value</string>
					<int name="Value">0</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX810">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Robot</string>
					<string name="Source">------------------&#13;&#10;--SPAWNING--&#13;&#10;------------------&#13;&#10;&#13;&#10;miked=script.Parent&#13;&#10;&#13;&#10;itlh=miked.Torso:findFirstChild(&quot;Left Hip&quot;)&#13;&#10;itlh.Part0=miked.Torso&#13;&#10;itlh.Part1=miked:findFirstChild(&quot;Left Leg&quot;)&#13;&#10;itlh.C0=CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;&#13;&#10;itrh=miked.Torso:findFirstChild(&quot;Right Hip&quot;)&#13;&#10;itrh.Part0=miked.Torso&#13;&#10;itrh.Part1=miked:findFirstChild(&quot;Right Leg&quot;)&#13;&#10;itrh.C0=CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;&#13;&#10;itls=miked.Torso:findFirstChild(&quot;Left Shoulder&quot;)&#13;&#10;itls.Part1=miked.Torso&#13;&#10;itls.C0=CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;itls.Part0=miked:findFirstChild(&quot;Left Arm&quot;)&#13;&#10;&#13;&#10;itrs=miked.Torso:findFirstChild(&quot;Right Shoulder&quot;)&#13;&#10;itrs.Part1=miked.Torso&#13;&#10;itrs.C0=CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;itrs.Part0=miked:findFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;miked.Head:makeJoints()&#13;&#10;------------------&#13;&#10;------------------&#13;&#10;&#13;&#10;&#13;&#10;function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Torso = waitForChild(Figure, &quot;Torso&quot;)&#13;&#10;local RightShoulder = waitForChild(Torso, &quot;Right Shoulder&quot;)&#13;&#10;local LeftShoulder = waitForChild(Torso, &quot;Left Shoulder&quot;)&#13;&#10;local RightHip = waitForChild(Torso, &quot;Right Hip&quot;)&#13;&#10;local LeftHip = waitForChild(Torso, &quot;Left Hip&quot;)&#13;&#10;local Neck = waitForChild(Torso, &quot;Neck&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;local pose = &quot;Standing&quot;&#13;&#10;&#13;&#10;local toolAnim = &quot;None&quot;&#13;&#10;local toolAnimTime = 0&#13;&#10;&#13;&#10;local isSeated = false&#13;&#10;&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if isSeated then return end&#13;&#10;&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;pose = &quot;Running&quot;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;pose = &quot;Standing&quot;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;pose = &quot;Dead&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onJumping()&#13;&#10;&#9;isSeated = false&#13;&#10;&#9;pose = &quot;Jumping&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onClimbing()&#13;&#10;&#9;pose = &quot;Climbing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onGettingUp()&#13;&#10;&#9;pose = &quot;GettingUp&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFreeFall()&#13;&#10;&#9;pose = &quot;FreeFall&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onDancing()&#13;&#10;&#9;pose = &quot;Dancing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFallingDown()&#13;&#10;&#9;pose = &quot;FallingDown&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onSeated()&#13;&#10;&#9;isSeated = true&#13;&#10;&#9;pose = &quot;Seated&quot;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function moveJump()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFreeFall()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1&#13;&#10;&#9;LeftShoulder.DesiredAngle = -1&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFloat()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = -1.57&#13;&#10;end&#13;&#10;&#13;&#10;function moveBoogy()&#13;&#10;while pose==&quot;Boogy&quot; do&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 1.57&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;function moveZombie()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function movePunch()&#13;&#10;&#9;script.Parent.Torso.Anchored=true&#13;&#10;&#9;RightShoulder.MaxVelocity = 60&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;script.Parent.Torso.Anchored=false&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveKick()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveFly()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function moveClimb()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveSit()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;RightHip.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftHip.DesiredAngle = -3.14 /2&#13;&#10;end&#13;&#10;&#13;&#10;function getTool()&#13;&#10;&#9;&#13;&#10;&#9;kidTable = Figure:children()&#13;&#10;&#9;if (kidTable ~= nil) then&#13;&#10;&#9;&#9;numKids = #kidTable&#13;&#10;&#9;&#9;for i=1,numKids do&#13;&#10;&#9;&#9;&#9;if (kidTable[i].className == &quot;Tool&quot;) then return kidTable[i] end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;c = tool:children()&#13;&#10;&#9;for i=1,#c do&#13;&#10;&#9;&#9;if (c[i].Name == &quot;toolanim&quot; and c[i].className == &quot;StringValue&quot;) then&#13;&#10;&#9;&#9;&#9;return c[i]&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function animateTool()&#13;&#10;&#9;&#13;&#10;&#9;if (toolAnim == &quot;None&quot;) then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Slash&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Lunge&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 1.0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 1.0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function move(time)&#13;&#10;&#9;local amplitude&#13;&#10;&#9;local frequency&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Jumping&quot;) then&#13;&#10;&#9;&#9;moveJump()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Zombie&quot;) then&#13;&#10;&#9;&#9;moveZombie()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Boogy&quot;) then&#13;&#10;&#9;&#9;moveBoogy()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Float&quot;) then&#13;&#10;&#9;&#9;moveFloat()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Punch&quot;) then&#13;&#10;&#9;&#9;movePunch()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Kick&quot;) then&#13;&#10;&#9;&#9;moveKick()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Fly&quot;) then&#13;&#10;&#9;&#9;moveFly()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;FreeFall&quot;) then&#13;&#10;&#9;&#9;moveFreeFall()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Climbing&quot;) then&#13;&#10;&#9;&#9;moveClimb()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Seated&quot;) then&#13;&#10;&#9;&#9;moveSit()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;amplitude = 0.1&#13;&#10;&#9;&#9;frequency = 1&#13;&#10;&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;if (pose == &quot;Running&quot;) then&#13;&#10;&#9;&#9;amplitude = 1&#13;&#10;&#9;&#9;frequency = 9&#13;&#10;&#9;elseif (pose == &quot;Dancing&quot;) then&#13;&#10;&#9;&#9;amplitude = 2&#13;&#10;&#9;&#9;frequency = 16&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#13;&#10;&#9;desiredAngle = amplitude * math.sin(time*frequency)&#13;&#10;&#9;if pose~=&quot;Dancing&quot; then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;else&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;end&#13;&#10;&#9;&#9;&#13;&#10;&#13;&#10;&#13;&#10;&#9;local tool = getTool()&#13;&#10;&#13;&#10;&#9;if tool ~= nil then&#13;&#10;&#9;&#13;&#10;&#9;&#9;animStringValueObject = getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;&#9;if animStringValueObject ~= nil then&#13;&#10;&#9;&#9;&#9;toolAnim = animStringValueObject.Value&#13;&#10;&#9;&#9;&#9;-- message recieved, delete StringValue&#13;&#10;&#9;&#9;&#9;animStringValueObject.Parent = nil&#13;&#10;&#9;&#9;&#9;toolAnimTime = time + .3&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if time &gt; toolAnimTime then&#13;&#10;&#9;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;animateTool()&#13;&#10;&#13;&#10;&#9;&#9;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;-- connect events&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;function unequip()&#13;&#10;&#9;local items=script.Parent:children()&#13;&#10;&#9;for i=1, #items do&#13;&#10;&#9;&#9;if items[i].className==&quot;Tool&quot; then items[i]:remove() end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onChatted(msg, recipient) &#13;&#10;&#9;msg = string.lower(msg)&#13;&#10;&#13;&#10;&#9;if string.match(msg, string.lower(script.Parent.Name))~=nil or string.match(msg, &quot;everyone&quot;) then&#13;&#10;&#9;&#9;if string.match(msg, &quot;equip&quot;) then &#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;Hub&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;if string.match(msg, &quot;rocket&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Rocket:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;slingshot&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Slingshot:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;sword&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Sword:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;pbg&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.PBG:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;superball&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Superball:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;trowel&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Trowel:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;bomb&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Bomb:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;unequip&quot;) then unequip() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;run&quot;) then onRunning(1) end&#13;&#10;&#9;&#9;if string.match(msg, &quot;climb&quot;) then onClimbing() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;jump&quot;) then onJumping() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;zombie&quot;) then pose=&quot;Zombie&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;disco&quot;) then pose=&quot;Boogy&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;float&quot;) then pose=&quot;Float&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;punch&quot;) then pose=&quot;Punch&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kick&quot;) then pose=&quot;Kick&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;fly&quot;) then pose=&quot;Fly&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;heal&quot;) then script.Parent.Humanoid.Health=script.Parent.Humanoid.MaxHealth end&#13;&#10;&#9;&#9;if string.match(msg, &quot;defend&quot;) then defence() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;stop&quot;) then pose=&quot;Standing&quot;; proxkill=false; following=false; stopmoving() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;go home&quot;) then following=false; gohome() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;follow&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;followany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;follow(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kill&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;attackany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;attack(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if game.Players.NumPlayers&gt;1 then&#13;&#10;&#9;x=game.Players:children()&#13;&#10;&#9;&#13;&#10;&#9;for i=1, #x do&#13;&#10;&#9;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function onPlayerEntered(Player) &#13;&#10;&#9;while Player.Name==nil do&#13;&#10;&#9;&#9;wait(2)&#13;&#10;&#9;end&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;end&#13;&#10;&#9;else&#13;&#10;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;game.Players.ChildAdded:connect(onPlayerEntered) &#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;dist=20&#13;&#10;&#13;&#10;function followany()&#13;&#10;following=true&#13;&#10;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 6 do&#13;&#10;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then stopmoving() else&#9;wait(0.5) end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function gohome()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(Vector3.new(0,0,0), game.Workspace.Bases.Base)&#13;&#10;end&#13;&#10;function stopmoving()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(script.Parent.Torso.Position, script.Parent.Torso)&#13;&#10;end&#13;&#10;&#13;&#10;function follow(name)&#13;&#10;&#9;following=true&#13;&#10;&#13;&#10;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;if p==nil then return end&#13;&#10;&#9;while following==true do&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attack(name)&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#9;&#9;following=true&#13;&#10;&#9;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;&#9;if p==nil then return end&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#9;local l=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((l.x-q.x)^2)+((l.y-q.y)^2)+((l.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;if (q.y-l.y)&gt;3 and (q.y-l.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attackany()&#13;&#10;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#13;&#10;&#9;following=true&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;slash()&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;if target.Parent==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then &#13;&#10;&#9;&#9;&#9;&#9;&#9;stopmoving() &#13;&#10;&#9;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=target.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if (q.y-p.y)&gt;3 and (q.y-p.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function patrol()&#13;&#10;&#9;if points==nil then&#13;&#10;&#9;&#9;points=0&#13;&#10;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp1&quot;)~=nil then&#13;&#10;&#9;&#9;pp1=game.Workspace:findFirstChild(&quot;pp1&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp2&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;pp2=game.Workspace:findFirstChild(&quot;pp2&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp3&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;pp3=game.Workspace:findFirstChild(&quot;pp3&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp4&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;pp4=game.Workspace:findFirstChild(&quot;pp4&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp5&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;pp5=game.Workspace:findFirstChild(&quot;pp5&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp6&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp6=game.Workspace:findFirstChild(&quot;pp6&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp7&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp7=game.Workspace:findFirstChild(&quot;pp7&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp8&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp8=game.Workspace:findFirstChild(&quot;pp8&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp9&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp9=game.Workspace:findFirstChild(&quot;pp9&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if points&lt;1 then return end&#13;&#10;&#9;patrolling=true&#13;&#10;&#9;local time=2&#13;&#10;&#9;if points==1 then return end&#13;&#10;&#9;if points&gt;1 then&#13;&#10;&#9;&#9;while patrolling==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp1.Position, pp1)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp2.Position, pp2)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;if points&gt;2 then&#13;&#10;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp3.Position, pp3)&#13;&#10;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;if points&gt;3 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp4.Position, pp4)&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;if points&gt;4 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp5.Position, pp5)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;5 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp6.Position, pp6)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;6 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp7.Position, pp7)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp8.Position, pp8)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp9.Position, pp9)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function goto(pos,part)&#13;&#10;while true do&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function slash()&#13;&#10;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;wait(.3)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -2.14&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;&#9;wait(.2)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function defence()&#13;&#10;&#9;proxkill=true&#13;&#10;&#9;while proxkill==true do&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local p=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if p~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local p=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;dist and d&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local ex=Instance.new(&quot;Explosion&quot;)&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Position=p&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Parent=game.Workspace&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#9;&#9;&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;wait(1)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(onJumping)&#13;&#10;Humanoid.Climbing:connect(onClimbing)&#13;&#10;Humanoid.GettingUp:connect(onGettingUp)&#13;&#10;Humanoid.FreeFalling:connect(onFreeFall)&#13;&#10;Humanoid.FallingDown:connect(onFallingDown)&#13;&#10;Humanoid.Seated:connect(onSeated)&#13;&#10;&#13;&#10;&#13;&#10;--[[&#13;&#10;&#13;&#10;function newSound(id)&#13;&#10;&#9;local sound = Instance.new(&quot;Sound&quot;)&#13;&#10;&#9;sound.SoundId = id&#13;&#10;&#9;sound.Parent = script.Parent.Head&#13;&#10;&#9;return sound&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;local sDied = newSound(&quot;rbxasset://sounds/uuhhh.wav&quot;)&#13;&#10;local sFallingDown = newSound(&quot;rbxasset://sounds/splat.wav&quot;)&#13;&#10;local sFreeFalling = newSound(&quot;rbxasset://sounds/swoosh.wav&quot;)&#13;&#10;local sGettingUp = newSound(&quot;rbxasset://sounds/hit.wav&quot;)&#13;&#10;local sJumping = newSound(&quot;rbxasset://sounds/button.wav&quot;)&#13;&#10;local sRunning = newSound(&quot;rbxasset://sounds/bfsl-minifigfoots1.mp3&quot;)&#13;&#10;sRunning.Looped = true&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;sDied:play()&#13;&#10;end&#13;&#10;&#13;&#10;function onState(state, sound)&#13;&#10;&#9;if state then&#13;&#10;&#9;&#9;sound:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sound:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;sRunning:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sRunning:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(function(state) onState(state, sJumping) end)&#13;&#10;Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end)&#13;&#10;Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end)&#13;&#10;Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end)&#13;&#10;--]]&#13;&#10;&#13;&#10;local nextTime = 0&#13;&#10;local runService = game:service(&quot;RunService&quot;);&#13;&#10;&#13;&#10;while Figure.Parent~=nil do&#13;&#10;&#9;time = runService.Stepped:wait()&#13;&#10;&#9;if time &gt; nextTime then&#13;&#10;&#9;&#9;move(time)&#13;&#10;&#9;&#9;nextTime = time + 0.1&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX811">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Follow</string>
					<string name="Source">local larm = script.Parent:FindFirstChild(&quot;Left Arm&quot;)&#13;&#10;local rarm = script.Parent:FindFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;function findNearestTorso(pos)&#13;&#10;&#9;local list = game.Workspace:children()&#13;&#10;&#9;local torso = nil&#13;&#10;&#9;local dist = 25&#13;&#10;&#9;local temp = nil&#13;&#10;&#9;local human = nil&#13;&#10;&#9;local temp2 = nil&#13;&#10;&#9;for x = 1, #list do&#13;&#10;&#9;&#9;temp2 = list[x]&#13;&#10;&#9;&#9;if (temp2.className == &quot;Model&quot;) and (temp2 ~= script.Parent) then&#13;&#10;&#9;&#9;&#9;temp = temp2:findFirstChild(&quot;Torso&quot;)&#13;&#10;&#9;&#9;&#9;human = temp2:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;&#9;&#9;if (temp ~= nil) and (human ~= nil) and (human.Health &gt; 0) then&#13;&#10;&#9;&#9;&#9;&#9;if (temp.Position - pos).magnitude &lt; dist then&#13;&#10;&#9;&#9;&#9;&#9;&#9;torso = temp&#13;&#10;&#9;&#9;&#9;&#9;&#9;dist = (temp.Position - pos).magnitude&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return torso&#13;&#10;end&#13;&#10;&#13;&#10;while true do&#13;&#10;&#9;wait(0.1)&#13;&#10;&#9;local target = findNearestTorso(script.Parent.Torso.Position)&#13;&#10;&#9;if target ~= nil then&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#9;end&#13;&#10;end</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Model" referent="RBX812">
			<Properties>
				<token name="Controller">7</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">Warrior</string>
				<Ref name="PrimaryPart">RBX813</Ref>
				<bool name="archivable">true</bool>
			</Properties>
			<Item class="Humanoid" referent="RBX814">
				<Properties>
					<float name="Health">0</float>
					<bool name="Jump">false</bool>
					<float name="MaxHealth">100</float>
					<string name="Name">Humanoid</string>
					<bool name="Sit">false</bool>
					<Vector3 name="TargetPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<Vector3 name="WalkDirection">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<float name="WalkRotationalVelocity">0</float>
					<Ref name="WalkToPart">null</Ref>
					<Vector3 name="WalkToPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX815">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Health</string>
					<string name="Source">function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;-- declarations&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;Humanoid.Health=500&#13;&#10;-- regeneration&#13;&#10;while true do&#13;&#10;&#9;local s = wait(4)&#13;&#10;&#9;local health = Humanoid.Health&#13;&#10;&#9;if health &gt; 0 and health &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;health = health + 0.08 * s * Humanoid.MaxHealth&#13;&#10;&#9;&#9;if health * 1.05 &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;&#9;Humanoid.Health = health&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;Humanoid.Health = Humanoid.MaxHealth&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="BodyColors" referent="RBX816">
				<Properties>
					<int name="HeadColor">24</int>
					<int name="LeftArmColor">28</int>
					<int name="LeftLegColor">28</int>
					<string name="Name">Body Colors</string>
					<int name="RightArmColor">28</int>
					<int name="RightLegColor">28</int>
					<int name="TorsoColor">28</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="IntValue" referent="RBX817">
				<Properties>
					<string name="Name">Value</string>
					<int name="Value">0</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Part" referent="RBX813">
				<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">4</token>
					<token name="BottomSurfaceInput">0</token>
					<int name="BrickColor">141</int>
					<CoordinateFrame name="CFrame">
						<X>167.325455</X>
						<Y>0.889992774</Y>
						<Z>192.793137</Z>
						<R00>-2.69095053e-005</R00>
						<R01>-0.760167301</R01>
						<R02>-0.649727345</R02>
						<R10>0.99999994</R10>
						<R11>1.6215854e-006</R11>
						<R12>-4.3335378e-005</R12>
						<R20>3.39988655e-005</R20>
						<R21>-0.649727345</R21>
						<R22>0.760167301</R22>
					</CoordinateFrame>
					<bool name="CanCollide">true</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">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">Right Arm</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>1</X>
						<Y>2</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
				<Item class="Script" referent="RBX818">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">DoorScript2</string>
						<string name="Source">print(&quot;Omg a team door! Goodbye spawnkilling!&quot;) -- {made by:yourit12 modeled by:NintendoZACHERY}&#13;&#10;&#13;&#10;Door = script.Parent &#13;&#10;------------------------------------&#13;&#10;modelname=&quot;Admins&quot; -- Put the EXACT name of the team here&#13;&#10;------------------------------------&#13;&#10; &#13;&#10;function onTouched(hit) &#13;&#10;        print(&quot;Door Hit&quot;) &#13;&#10;        local human = hit.Parent:FindFirstChild(&quot;Humanoid&quot;) &#13;&#10;        if (human ~= nil ) then&#13;&#10;                if game.Players:playerFromCharacter(hit.Parent).TeamColor==game.Teams:findFirstChild(modelname).TeamColor then&#13;&#10;                        Door.CanCollide = false &#13;&#10;                        Door.Transparency = 0&#13;&#10;                        wait(1) &#13;&#10;                        Door.CanCollide = true &#13;&#10;                        Door.Transparency = 0 &#13;&#10;                        print(&quot;Human touched door&quot;) &#13;&#10;                else&#13;&#10;                        human.Health = 0&#13;&#10;                end&#13;&#10; &#13;&#10;        end &#13;&#10;end &#13;&#10; &#13;&#10;connection = Door.Touched:connect(onTouched)</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Script" referent="RBX819">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">Script</string>
						<string name="Source">function onTouched(hit)&#13;&#10;if hit.Name ~= &quot;tray&quot; then hit:remove() end&#13;&#10;end&#13;&#10;&#13;&#10;connection = script.Parent.Touched:connect(onTouched)&#13;&#10;</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Script" referent="RBX820">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">Script</string>
						<string name="Source">&#13;&#10;function onTouched(hit)&#13;&#10;&#9;local human = hit.Parent:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;if (human ~= nil) then&#13;&#10;&#9;&#9;human.Health = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if (script.Parent ~= nil) and (script.Parent.className == &quot;Part&quot;) then --Work if in a block&#13;&#10;&#9;connection = script.Parent.Touched:connect(onTouched)&#13;&#10;end&#13;&#10;</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
			</Item>
			<Item class="Script" referent="RBX821">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Robot</string>
					<string name="Source">------------------&#13;&#10;--SPAWNING--&#13;&#10;------------------&#13;&#10;&#13;&#10;miked=script.Parent&#13;&#10;&#13;&#10;itlh=miked.Torso:findFirstChild(&quot;Left Hip&quot;)&#13;&#10;itlh.Part0=miked.Torso&#13;&#10;itlh.Part1=miked:findFirstChild(&quot;Left Leg&quot;)&#13;&#10;itlh.C0=CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;&#13;&#10;itrh=miked.Torso:findFirstChild(&quot;Right Hip&quot;)&#13;&#10;itrh.Part0=miked.Torso&#13;&#10;itrh.Part1=miked:findFirstChild(&quot;Right Leg&quot;)&#13;&#10;itrh.C0=CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;&#13;&#10;itls=miked.Torso:findFirstChild(&quot;Left Shoulder&quot;)&#13;&#10;itls.Part1=miked.Torso&#13;&#10;itls.C0=CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;itls.Part0=miked:findFirstChild(&quot;Left Arm&quot;)&#13;&#10;&#13;&#10;itrs=miked.Torso:findFirstChild(&quot;Right Shoulder&quot;)&#13;&#10;itrs.Part1=miked.Torso&#13;&#10;itrs.C0=CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;itrs.Part0=miked:findFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;miked.Head:makeJoints()&#13;&#10;------------------&#13;&#10;------------------&#13;&#10;&#13;&#10;&#13;&#10;function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Torso = waitForChild(Figure, &quot;Torso&quot;)&#13;&#10;local RightShoulder = waitForChild(Torso, &quot;Right Shoulder&quot;)&#13;&#10;local LeftShoulder = waitForChild(Torso, &quot;Left Shoulder&quot;)&#13;&#10;local RightHip = waitForChild(Torso, &quot;Right Hip&quot;)&#13;&#10;local LeftHip = waitForChild(Torso, &quot;Left Hip&quot;)&#13;&#10;local Neck = waitForChild(Torso, &quot;Neck&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;local pose = &quot;Standing&quot;&#13;&#10;&#13;&#10;local toolAnim = &quot;None&quot;&#13;&#10;local toolAnimTime = 0&#13;&#10;&#13;&#10;local isSeated = false&#13;&#10;&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if isSeated then return end&#13;&#10;&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;pose = &quot;Running&quot;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;pose = &quot;Standing&quot;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;pose = &quot;Dead&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onJumping()&#13;&#10;&#9;isSeated = false&#13;&#10;&#9;pose = &quot;Jumping&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onClimbing()&#13;&#10;&#9;pose = &quot;Climbing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onGettingUp()&#13;&#10;&#9;pose = &quot;GettingUp&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFreeFall()&#13;&#10;&#9;pose = &quot;FreeFall&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onDancing()&#13;&#10;&#9;pose = &quot;Dancing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFallingDown()&#13;&#10;&#9;pose = &quot;FallingDown&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onSeated()&#13;&#10;&#9;isSeated = true&#13;&#10;&#9;pose = &quot;Seated&quot;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function moveJump()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFreeFall()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1&#13;&#10;&#9;LeftShoulder.DesiredAngle = -1&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFloat()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = -1.57&#13;&#10;end&#13;&#10;&#13;&#10;function moveBoogy()&#13;&#10;while pose==&quot;Boogy&quot; do&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 1.57&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;function moveZombie()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function movePunch()&#13;&#10;&#9;script.Parent.Torso.Anchored=true&#13;&#10;&#9;RightShoulder.MaxVelocity = 60&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;script.Parent.Torso.Anchored=false&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveKick()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveFly()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function moveClimb()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveSit()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;RightHip.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftHip.DesiredAngle = -3.14 /2&#13;&#10;end&#13;&#10;&#13;&#10;function getTool()&#13;&#10;&#9;&#13;&#10;&#9;kidTable = Figure:children()&#13;&#10;&#9;if (kidTable ~= nil) then&#13;&#10;&#9;&#9;numKids = #kidTable&#13;&#10;&#9;&#9;for i=1,numKids do&#13;&#10;&#9;&#9;&#9;if (kidTable[i].className == &quot;Tool&quot;) then return kidTable[i] end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;c = tool:children()&#13;&#10;&#9;for i=1,#c do&#13;&#10;&#9;&#9;if (c[i].Name == &quot;toolanim&quot; and c[i].className == &quot;StringValue&quot;) then&#13;&#10;&#9;&#9;&#9;return c[i]&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function animateTool()&#13;&#10;&#9;&#13;&#10;&#9;if (toolAnim == &quot;None&quot;) then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Slash&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Lunge&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 1.0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 1.0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function move(time)&#13;&#10;&#9;local amplitude&#13;&#10;&#9;local frequency&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Jumping&quot;) then&#13;&#10;&#9;&#9;moveJump()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Zombie&quot;) then&#13;&#10;&#9;&#9;moveZombie()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Boogy&quot;) then&#13;&#10;&#9;&#9;moveBoogy()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Float&quot;) then&#13;&#10;&#9;&#9;moveFloat()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Punch&quot;) then&#13;&#10;&#9;&#9;movePunch()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Kick&quot;) then&#13;&#10;&#9;&#9;moveKick()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Fly&quot;) then&#13;&#10;&#9;&#9;moveFly()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;FreeFall&quot;) then&#13;&#10;&#9;&#9;moveFreeFall()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Climbing&quot;) then&#13;&#10;&#9;&#9;moveClimb()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Seated&quot;) then&#13;&#10;&#9;&#9;moveSit()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;amplitude = 0.1&#13;&#10;&#9;&#9;frequency = 1&#13;&#10;&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;if (pose == &quot;Running&quot;) then&#13;&#10;&#9;&#9;amplitude = 1&#13;&#10;&#9;&#9;frequency = 9&#13;&#10;&#9;elseif (pose == &quot;Dancing&quot;) then&#13;&#10;&#9;&#9;amplitude = 2&#13;&#10;&#9;&#9;frequency = 16&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#13;&#10;&#9;desiredAngle = amplitude * math.sin(time*frequency)&#13;&#10;&#9;if pose~=&quot;Dancing&quot; then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;else&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;end&#13;&#10;&#9;&#9;&#13;&#10;&#13;&#10;&#13;&#10;&#9;local tool = getTool()&#13;&#10;&#13;&#10;&#9;if tool ~= nil then&#13;&#10;&#9;&#13;&#10;&#9;&#9;animStringValueObject = getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;&#9;if animStringValueObject ~= nil then&#13;&#10;&#9;&#9;&#9;toolAnim = animStringValueObject.Value&#13;&#10;&#9;&#9;&#9;-- message recieved, delete StringValue&#13;&#10;&#9;&#9;&#9;animStringValueObject.Parent = nil&#13;&#10;&#9;&#9;&#9;toolAnimTime = time + .3&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if time &gt; toolAnimTime then&#13;&#10;&#9;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;animateTool()&#13;&#10;&#13;&#10;&#9;&#9;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;-- connect events&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;function unequip()&#13;&#10;&#9;local items=script.Parent:children()&#13;&#10;&#9;for i=1, #items do&#13;&#10;&#9;&#9;if items[i].className==&quot;Tool&quot; then items[i]:remove() end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onChatted(msg, recipient) &#13;&#10;&#9;msg = string.lower(msg)&#13;&#10;&#13;&#10;&#9;if string.match(msg, string.lower(script.Parent.Name))~=nil or string.match(msg, &quot;everyone&quot;) then&#13;&#10;&#9;&#9;if string.match(msg, &quot;equip&quot;) then &#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;Hub&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;if string.match(msg, &quot;rocket&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Rocket:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;slingshot&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Slingshot:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;sword&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Sword:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;pbg&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.PBG:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;superball&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Superball:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;trowel&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Trowel:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;bomb&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Bomb:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;unequip&quot;) then unequip() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;run&quot;) then onRunning(1) end&#13;&#10;&#9;&#9;if string.match(msg, &quot;climb&quot;) then onClimbing() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;jump&quot;) then onJumping() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;zombie&quot;) then pose=&quot;Zombie&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;disco&quot;) then pose=&quot;Boogy&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;float&quot;) then pose=&quot;Float&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;punch&quot;) then pose=&quot;Punch&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kick&quot;) then pose=&quot;Kick&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;fly&quot;) then pose=&quot;Fly&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;heal&quot;) then script.Parent.Humanoid.Health=script.Parent.Humanoid.MaxHealth end&#13;&#10;&#9;&#9;if string.match(msg, &quot;defend&quot;) then defence() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;stop&quot;) then pose=&quot;Standing&quot;; proxkill=false; following=false; stopmoving() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;go home&quot;) then following=false; gohome() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;follow&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;followany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;follow(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kill&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;attackany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;attack(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if game.Players.NumPlayers&gt;1 then&#13;&#10;&#9;x=game.Players:children()&#13;&#10;&#9;&#13;&#10;&#9;for i=1, #x do&#13;&#10;&#9;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function onPlayerEntered(Player) &#13;&#10;&#9;while Player.Name==nil do&#13;&#10;&#9;&#9;wait(2)&#13;&#10;&#9;end&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;end&#13;&#10;&#9;else&#13;&#10;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;game.Players.ChildAdded:connect(onPlayerEntered) &#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;dist=20&#13;&#10;&#13;&#10;function followany()&#13;&#10;following=true&#13;&#10;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 6 do&#13;&#10;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then stopmoving() else&#9;wait(0.5) end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function gohome()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(Vector3.new(0,0,0), game.Workspace.Bases.Base)&#13;&#10;end&#13;&#10;function stopmoving()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(script.Parent.Torso.Position, script.Parent.Torso)&#13;&#10;end&#13;&#10;&#13;&#10;function follow(name)&#13;&#10;&#9;following=true&#13;&#10;&#13;&#10;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;if p==nil then return end&#13;&#10;&#9;while following==true do&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attack(name)&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#9;&#9;following=true&#13;&#10;&#9;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;&#9;if p==nil then return end&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#9;local l=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((l.x-q.x)^2)+((l.y-q.y)^2)+((l.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;if (q.y-l.y)&gt;3 and (q.y-l.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attackany()&#13;&#10;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#13;&#10;&#9;following=true&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;slash()&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;if target.Parent==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then &#13;&#10;&#9;&#9;&#9;&#9;&#9;stopmoving() &#13;&#10;&#9;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=target.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if (q.y-p.y)&gt;3 and (q.y-p.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function patrol()&#13;&#10;&#9;if points==nil then&#13;&#10;&#9;&#9;points=0&#13;&#10;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp1&quot;)~=nil then&#13;&#10;&#9;&#9;pp1=game.Workspace:findFirstChild(&quot;pp1&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp2&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;pp2=game.Workspace:findFirstChild(&quot;pp2&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp3&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;pp3=game.Workspace:findFirstChild(&quot;pp3&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp4&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;pp4=game.Workspace:findFirstChild(&quot;pp4&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp5&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;pp5=game.Workspace:findFirstChild(&quot;pp5&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp6&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp6=game.Workspace:findFirstChild(&quot;pp6&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp7&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp7=game.Workspace:findFirstChild(&quot;pp7&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp8&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp8=game.Workspace:findFirstChild(&quot;pp8&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp9&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp9=game.Workspace:findFirstChild(&quot;pp9&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if points&lt;1 then return end&#13;&#10;&#9;patrolling=true&#13;&#10;&#9;local time=2&#13;&#10;&#9;if points==1 then return end&#13;&#10;&#9;if points&gt;1 then&#13;&#10;&#9;&#9;while patrolling==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp1.Position, pp1)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp2.Position, pp2)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;if points&gt;2 then&#13;&#10;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp3.Position, pp3)&#13;&#10;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;if points&gt;3 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp4.Position, pp4)&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;if points&gt;4 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp5.Position, pp5)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;5 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp6.Position, pp6)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;6 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp7.Position, pp7)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp8.Position, pp8)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp9.Position, pp9)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function goto(pos,part)&#13;&#10;while true do&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function slash()&#13;&#10;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;wait(.3)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -2.14&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;&#9;wait(.2)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function defence()&#13;&#10;&#9;proxkill=true&#13;&#10;&#9;while proxkill==true do&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local p=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if p~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local p=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;dist and d&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local ex=Instance.new(&quot;Explosion&quot;)&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Position=p&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Parent=game.Workspace&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#9;&#9;&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;wait(1)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(onJumping)&#13;&#10;Humanoid.Climbing:connect(onClimbing)&#13;&#10;Humanoid.GettingUp:connect(onGettingUp)&#13;&#10;Humanoid.FreeFalling:connect(onFreeFall)&#13;&#10;Humanoid.FallingDown:connect(onFallingDown)&#13;&#10;Humanoid.Seated:connect(onSeated)&#13;&#10;&#13;&#10;&#13;&#10;--[[&#13;&#10;&#13;&#10;function newSound(id)&#13;&#10;&#9;local sound = Instance.new(&quot;Sound&quot;)&#13;&#10;&#9;sound.SoundId = id&#13;&#10;&#9;sound.Parent = script.Parent.Head&#13;&#10;&#9;return sound&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;local sDied = newSound(&quot;rbxasset://sounds/uuhhh.wav&quot;)&#13;&#10;local sFallingDown = newSound(&quot;rbxasset://sounds/splat.wav&quot;)&#13;&#10;local sFreeFalling = newSound(&quot;rbxasset://sounds/swoosh.wav&quot;)&#13;&#10;local sGettingUp = newSound(&quot;rbxasset://sounds/hit.wav&quot;)&#13;&#10;local sJumping = newSound(&quot;rbxasset://sounds/button.wav&quot;)&#13;&#10;local sRunning = newSound(&quot;rbxasset://sounds/bfsl-minifigfoots1.mp3&quot;)&#13;&#10;sRunning.Looped = true&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;sDied:play()&#13;&#10;end&#13;&#10;&#13;&#10;function onState(state, sound)&#13;&#10;&#9;if state then&#13;&#10;&#9;&#9;sound:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sound:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;sRunning:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sRunning:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(function(state) onState(state, sJumping) end)&#13;&#10;Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end)&#13;&#10;Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end)&#13;&#10;Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end)&#13;&#10;--]]&#13;&#10;&#13;&#10;local nextTime = 0&#13;&#10;local runService = game:service(&quot;RunService&quot;);&#13;&#10;&#13;&#10;while Figure.Parent~=nil do&#13;&#10;&#9;time = runService.Stepped:wait()&#13;&#10;&#9;if time &gt; nextTime then&#13;&#10;&#9;&#9;move(time)&#13;&#10;&#9;&#9;nextTime = time + 0.1&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX822">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Follow</string>
					<string name="Source">local larm = script.Parent:FindFirstChild(&quot;Left Arm&quot;)&#13;&#10;local rarm = script.Parent:FindFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;function findNearestTorso(pos)&#13;&#10;&#9;local list = game.Workspace:children()&#13;&#10;&#9;local torso = nil&#13;&#10;&#9;local dist = 25&#13;&#10;&#9;local temp = nil&#13;&#10;&#9;local human = nil&#13;&#10;&#9;local temp2 = nil&#13;&#10;&#9;for x = 1, #list do&#13;&#10;&#9;&#9;temp2 = list[x]&#13;&#10;&#9;&#9;if (temp2.className == &quot;Model&quot;) and (temp2 ~= script.Parent) then&#13;&#10;&#9;&#9;&#9;temp = temp2:findFirstChild(&quot;Torso&quot;)&#13;&#10;&#9;&#9;&#9;human = temp2:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;&#9;&#9;if (temp ~= nil) and (human ~= nil) and (human.Health &gt; 0) then&#13;&#10;&#9;&#9;&#9;&#9;if (temp.Position - pos).magnitude &lt; dist then&#13;&#10;&#9;&#9;&#9;&#9;&#9;torso = temp&#13;&#10;&#9;&#9;&#9;&#9;&#9;dist = (temp.Position - pos).magnitude&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return torso&#13;&#10;end&#13;&#10;&#13;&#10;while true do&#13;&#10;&#9;wait(0.1)&#13;&#10;&#9;local target = findNearestTorso(script.Parent.Torso.Position)&#13;&#10;&#9;if target ~= nil then&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#9;end&#13;&#10;end</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Model" referent="RBX823">
			<Properties>
				<token name="Controller">7</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">Warrior</string>
				<Ref name="PrimaryPart">null</Ref>
				<bool name="archivable">true</bool>
			</Properties>
			<Item class="Humanoid" referent="RBX824">
				<Properties>
					<float name="Health">0</float>
					<bool name="Jump">false</bool>
					<float name="MaxHealth">100</float>
					<string name="Name">Humanoid</string>
					<bool name="Sit">false</bool>
					<Vector3 name="TargetPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<Vector3 name="WalkDirection">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<float name="WalkRotationalVelocity">0</float>
					<Ref name="WalkToPart">null</Ref>
					<Vector3 name="WalkToPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX825">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Health</string>
					<string name="Source">function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;-- declarations&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;Humanoid.Health=500&#13;&#10;-- regeneration&#13;&#10;while true do&#13;&#10;&#9;local s = wait(4)&#13;&#10;&#9;local health = Humanoid.Health&#13;&#10;&#9;if health &gt; 0 and health &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;health = health + 0.08 * s * Humanoid.MaxHealth&#13;&#10;&#9;&#9;if health * 1.05 &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;&#9;Humanoid.Health = health&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;Humanoid.Health = Humanoid.MaxHealth&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="BodyColors" referent="RBX826">
				<Properties>
					<int name="HeadColor">24</int>
					<int name="LeftArmColor">28</int>
					<int name="LeftLegColor">28</int>
					<string name="Name">Body Colors</string>
					<int name="RightArmColor">28</int>
					<int name="RightLegColor">28</int>
					<int name="TorsoColor">28</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="IntValue" referent="RBX827">
				<Properties>
					<string name="Name">Value</string>
					<int name="Value">0</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX828">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Robot</string>
					<string name="Source">------------------&#13;&#10;--SPAWNING--&#13;&#10;------------------&#13;&#10;&#13;&#10;miked=script.Parent&#13;&#10;&#13;&#10;itlh=miked.Torso:findFirstChild(&quot;Left Hip&quot;)&#13;&#10;itlh.Part0=miked.Torso&#13;&#10;itlh.Part1=miked:findFirstChild(&quot;Left Leg&quot;)&#13;&#10;itlh.C0=CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;&#13;&#10;itrh=miked.Torso:findFirstChild(&quot;Right Hip&quot;)&#13;&#10;itrh.Part0=miked.Torso&#13;&#10;itrh.Part1=miked:findFirstChild(&quot;Right Leg&quot;)&#13;&#10;itrh.C0=CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;&#13;&#10;itls=miked.Torso:findFirstChild(&quot;Left Shoulder&quot;)&#13;&#10;itls.Part1=miked.Torso&#13;&#10;itls.C0=CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;itls.Part0=miked:findFirstChild(&quot;Left Arm&quot;)&#13;&#10;&#13;&#10;itrs=miked.Torso:findFirstChild(&quot;Right Shoulder&quot;)&#13;&#10;itrs.Part1=miked.Torso&#13;&#10;itrs.C0=CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;itrs.Part0=miked:findFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;miked.Head:makeJoints()&#13;&#10;------------------&#13;&#10;------------------&#13;&#10;&#13;&#10;&#13;&#10;function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Torso = waitForChild(Figure, &quot;Torso&quot;)&#13;&#10;local RightShoulder = waitForChild(Torso, &quot;Right Shoulder&quot;)&#13;&#10;local LeftShoulder = waitForChild(Torso, &quot;Left Shoulder&quot;)&#13;&#10;local RightHip = waitForChild(Torso, &quot;Right Hip&quot;)&#13;&#10;local LeftHip = waitForChild(Torso, &quot;Left Hip&quot;)&#13;&#10;local Neck = waitForChild(Torso, &quot;Neck&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;local pose = &quot;Standing&quot;&#13;&#10;&#13;&#10;local toolAnim = &quot;None&quot;&#13;&#10;local toolAnimTime = 0&#13;&#10;&#13;&#10;local isSeated = false&#13;&#10;&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if isSeated then return end&#13;&#10;&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;pose = &quot;Running&quot;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;pose = &quot;Standing&quot;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;pose = &quot;Dead&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onJumping()&#13;&#10;&#9;isSeated = false&#13;&#10;&#9;pose = &quot;Jumping&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onClimbing()&#13;&#10;&#9;pose = &quot;Climbing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onGettingUp()&#13;&#10;&#9;pose = &quot;GettingUp&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFreeFall()&#13;&#10;&#9;pose = &quot;FreeFall&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onDancing()&#13;&#10;&#9;pose = &quot;Dancing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFallingDown()&#13;&#10;&#9;pose = &quot;FallingDown&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onSeated()&#13;&#10;&#9;isSeated = true&#13;&#10;&#9;pose = &quot;Seated&quot;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function moveJump()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFreeFall()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1&#13;&#10;&#9;LeftShoulder.DesiredAngle = -1&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFloat()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = -1.57&#13;&#10;end&#13;&#10;&#13;&#10;function moveBoogy()&#13;&#10;while pose==&quot;Boogy&quot; do&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 1.57&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;function moveZombie()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function movePunch()&#13;&#10;&#9;script.Parent.Torso.Anchored=true&#13;&#10;&#9;RightShoulder.MaxVelocity = 60&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;script.Parent.Torso.Anchored=false&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveKick()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveFly()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function moveClimb()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveSit()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;RightHip.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftHip.DesiredAngle = -3.14 /2&#13;&#10;end&#13;&#10;&#13;&#10;function getTool()&#13;&#10;&#9;&#13;&#10;&#9;kidTable = Figure:children()&#13;&#10;&#9;if (kidTable ~= nil) then&#13;&#10;&#9;&#9;numKids = #kidTable&#13;&#10;&#9;&#9;for i=1,numKids do&#13;&#10;&#9;&#9;&#9;if (kidTable[i].className == &quot;Tool&quot;) then return kidTable[i] end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;c = tool:children()&#13;&#10;&#9;for i=1,#c do&#13;&#10;&#9;&#9;if (c[i].Name == &quot;toolanim&quot; and c[i].className == &quot;StringValue&quot;) then&#13;&#10;&#9;&#9;&#9;return c[i]&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function animateTool()&#13;&#10;&#9;&#13;&#10;&#9;if (toolAnim == &quot;None&quot;) then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Slash&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Lunge&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 1.0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 1.0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function move(time)&#13;&#10;&#9;local amplitude&#13;&#10;&#9;local frequency&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Jumping&quot;) then&#13;&#10;&#9;&#9;moveJump()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Zombie&quot;) then&#13;&#10;&#9;&#9;moveZombie()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Boogy&quot;) then&#13;&#10;&#9;&#9;moveBoogy()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Float&quot;) then&#13;&#10;&#9;&#9;moveFloat()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Punch&quot;) then&#13;&#10;&#9;&#9;movePunch()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Kick&quot;) then&#13;&#10;&#9;&#9;moveKick()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Fly&quot;) then&#13;&#10;&#9;&#9;moveFly()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;FreeFall&quot;) then&#13;&#10;&#9;&#9;moveFreeFall()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Climbing&quot;) then&#13;&#10;&#9;&#9;moveClimb()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Seated&quot;) then&#13;&#10;&#9;&#9;moveSit()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;amplitude = 0.1&#13;&#10;&#9;&#9;frequency = 1&#13;&#10;&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;if (pose == &quot;Running&quot;) then&#13;&#10;&#9;&#9;amplitude = 1&#13;&#10;&#9;&#9;frequency = 9&#13;&#10;&#9;elseif (pose == &quot;Dancing&quot;) then&#13;&#10;&#9;&#9;amplitude = 2&#13;&#10;&#9;&#9;frequency = 16&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#13;&#10;&#9;desiredAngle = amplitude * math.sin(time*frequency)&#13;&#10;&#9;if pose~=&quot;Dancing&quot; then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;else&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;end&#13;&#10;&#9;&#9;&#13;&#10;&#13;&#10;&#13;&#10;&#9;local tool = getTool()&#13;&#10;&#13;&#10;&#9;if tool ~= nil then&#13;&#10;&#9;&#13;&#10;&#9;&#9;animStringValueObject = getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;&#9;if animStringValueObject ~= nil then&#13;&#10;&#9;&#9;&#9;toolAnim = animStringValueObject.Value&#13;&#10;&#9;&#9;&#9;-- message recieved, delete StringValue&#13;&#10;&#9;&#9;&#9;animStringValueObject.Parent = nil&#13;&#10;&#9;&#9;&#9;toolAnimTime = time + .3&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if time &gt; toolAnimTime then&#13;&#10;&#9;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;animateTool()&#13;&#10;&#13;&#10;&#9;&#9;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;-- connect events&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;function unequip()&#13;&#10;&#9;local items=script.Parent:children()&#13;&#10;&#9;for i=1, #items do&#13;&#10;&#9;&#9;if items[i].className==&quot;Tool&quot; then items[i]:remove() end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onChatted(msg, recipient) &#13;&#10;&#9;msg = string.lower(msg)&#13;&#10;&#13;&#10;&#9;if string.match(msg, string.lower(script.Parent.Name))~=nil or string.match(msg, &quot;everyone&quot;) then&#13;&#10;&#9;&#9;if string.match(msg, &quot;equip&quot;) then &#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;Hub&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;if string.match(msg, &quot;rocket&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Rocket:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;slingshot&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Slingshot:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;sword&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Sword:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;pbg&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.PBG:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;superball&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Superball:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;trowel&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Trowel:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;bomb&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Bomb:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;unequip&quot;) then unequip() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;run&quot;) then onRunning(1) end&#13;&#10;&#9;&#9;if string.match(msg, &quot;climb&quot;) then onClimbing() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;jump&quot;) then onJumping() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;zombie&quot;) then pose=&quot;Zombie&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;disco&quot;) then pose=&quot;Boogy&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;float&quot;) then pose=&quot;Float&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;punch&quot;) then pose=&quot;Punch&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kick&quot;) then pose=&quot;Kick&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;fly&quot;) then pose=&quot;Fly&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;heal&quot;) then script.Parent.Humanoid.Health=script.Parent.Humanoid.MaxHealth end&#13;&#10;&#9;&#9;if string.match(msg, &quot;defend&quot;) then defence() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;stop&quot;) then pose=&quot;Standing&quot;; proxkill=false; following=false; stopmoving() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;go home&quot;) then following=false; gohome() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;follow&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;followany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;follow(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kill&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;attackany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;attack(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if game.Players.NumPlayers&gt;1 then&#13;&#10;&#9;x=game.Players:children()&#13;&#10;&#9;&#13;&#10;&#9;for i=1, #x do&#13;&#10;&#9;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function onPlayerEntered(Player) &#13;&#10;&#9;while Player.Name==nil do&#13;&#10;&#9;&#9;wait(2)&#13;&#10;&#9;end&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;end&#13;&#10;&#9;else&#13;&#10;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;game.Players.ChildAdded:connect(onPlayerEntered) &#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;dist=20&#13;&#10;&#13;&#10;function followany()&#13;&#10;following=true&#13;&#10;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 6 do&#13;&#10;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then stopmoving() else&#9;wait(0.5) end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function gohome()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(Vector3.new(0,0,0), game.Workspace.Bases.Base)&#13;&#10;end&#13;&#10;function stopmoving()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(script.Parent.Torso.Position, script.Parent.Torso)&#13;&#10;end&#13;&#10;&#13;&#10;function follow(name)&#13;&#10;&#9;following=true&#13;&#10;&#13;&#10;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;if p==nil then return end&#13;&#10;&#9;while following==true do&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attack(name)&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#9;&#9;following=true&#13;&#10;&#9;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;&#9;if p==nil then return end&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#9;local l=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((l.x-q.x)^2)+((l.y-q.y)^2)+((l.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;if (q.y-l.y)&gt;3 and (q.y-l.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attackany()&#13;&#10;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#13;&#10;&#9;following=true&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;slash()&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;if target.Parent==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then &#13;&#10;&#9;&#9;&#9;&#9;&#9;stopmoving() &#13;&#10;&#9;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=target.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if (q.y-p.y)&gt;3 and (q.y-p.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function patrol()&#13;&#10;&#9;if points==nil then&#13;&#10;&#9;&#9;points=0&#13;&#10;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp1&quot;)~=nil then&#13;&#10;&#9;&#9;pp1=game.Workspace:findFirstChild(&quot;pp1&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp2&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;pp2=game.Workspace:findFirstChild(&quot;pp2&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp3&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;pp3=game.Workspace:findFirstChild(&quot;pp3&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp4&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;pp4=game.Workspace:findFirstChild(&quot;pp4&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp5&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;pp5=game.Workspace:findFirstChild(&quot;pp5&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp6&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp6=game.Workspace:findFirstChild(&quot;pp6&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp7&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp7=game.Workspace:findFirstChild(&quot;pp7&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp8&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp8=game.Workspace:findFirstChild(&quot;pp8&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp9&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp9=game.Workspace:findFirstChild(&quot;pp9&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if points&lt;1 then return end&#13;&#10;&#9;patrolling=true&#13;&#10;&#9;local time=2&#13;&#10;&#9;if points==1 then return end&#13;&#10;&#9;if points&gt;1 then&#13;&#10;&#9;&#9;while patrolling==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp1.Position, pp1)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp2.Position, pp2)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;if points&gt;2 then&#13;&#10;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp3.Position, pp3)&#13;&#10;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;if points&gt;3 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp4.Position, pp4)&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;if points&gt;4 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp5.Position, pp5)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;5 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp6.Position, pp6)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;6 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp7.Position, pp7)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp8.Position, pp8)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp9.Position, pp9)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function goto(pos,part)&#13;&#10;while true do&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function slash()&#13;&#10;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;wait(.3)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -2.14&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;&#9;wait(.2)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function defence()&#13;&#10;&#9;proxkill=true&#13;&#10;&#9;while proxkill==true do&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local p=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if p~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local p=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;dist and d&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local ex=Instance.new(&quot;Explosion&quot;)&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Position=p&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Parent=game.Workspace&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#9;&#9;&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;wait(1)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(onJumping)&#13;&#10;Humanoid.Climbing:connect(onClimbing)&#13;&#10;Humanoid.GettingUp:connect(onGettingUp)&#13;&#10;Humanoid.FreeFalling:connect(onFreeFall)&#13;&#10;Humanoid.FallingDown:connect(onFallingDown)&#13;&#10;Humanoid.Seated:connect(onSeated)&#13;&#10;&#13;&#10;&#13;&#10;--[[&#13;&#10;&#13;&#10;function newSound(id)&#13;&#10;&#9;local sound = Instance.new(&quot;Sound&quot;)&#13;&#10;&#9;sound.SoundId = id&#13;&#10;&#9;sound.Parent = script.Parent.Head&#13;&#10;&#9;return sound&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;local sDied = newSound(&quot;rbxasset://sounds/uuhhh.wav&quot;)&#13;&#10;local sFallingDown = newSound(&quot;rbxasset://sounds/splat.wav&quot;)&#13;&#10;local sFreeFalling = newSound(&quot;rbxasset://sounds/swoosh.wav&quot;)&#13;&#10;local sGettingUp = newSound(&quot;rbxasset://sounds/hit.wav&quot;)&#13;&#10;local sJumping = newSound(&quot;rbxasset://sounds/button.wav&quot;)&#13;&#10;local sRunning = newSound(&quot;rbxasset://sounds/bfsl-minifigfoots1.mp3&quot;)&#13;&#10;sRunning.Looped = true&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;sDied:play()&#13;&#10;end&#13;&#10;&#13;&#10;function onState(state, sound)&#13;&#10;&#9;if state then&#13;&#10;&#9;&#9;sound:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sound:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;sRunning:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sRunning:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(function(state) onState(state, sJumping) end)&#13;&#10;Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end)&#13;&#10;Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end)&#13;&#10;Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end)&#13;&#10;--]]&#13;&#10;&#13;&#10;local nextTime = 0&#13;&#10;local runService = game:service(&quot;RunService&quot;);&#13;&#10;&#13;&#10;while Figure.Parent~=nil do&#13;&#10;&#9;time = runService.Stepped:wait()&#13;&#10;&#9;if time &gt; nextTime then&#13;&#10;&#9;&#9;move(time)&#13;&#10;&#9;&#9;nextTime = time + 0.1&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX829">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Follow</string>
					<string name="Source">local larm = script.Parent:FindFirstChild(&quot;Left Arm&quot;)&#13;&#10;local rarm = script.Parent:FindFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;function findNearestTorso(pos)&#13;&#10;&#9;local list = game.Workspace:children()&#13;&#10;&#9;local torso = nil&#13;&#10;&#9;local dist = 25&#13;&#10;&#9;local temp = nil&#13;&#10;&#9;local human = nil&#13;&#10;&#9;local temp2 = nil&#13;&#10;&#9;for x = 1, #list do&#13;&#10;&#9;&#9;temp2 = list[x]&#13;&#10;&#9;&#9;if (temp2.className == &quot;Model&quot;) and (temp2 ~= script.Parent) then&#13;&#10;&#9;&#9;&#9;temp = temp2:findFirstChild(&quot;Torso&quot;)&#13;&#10;&#9;&#9;&#9;human = temp2:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;&#9;&#9;if (temp ~= nil) and (human ~= nil) and (human.Health &gt; 0) then&#13;&#10;&#9;&#9;&#9;&#9;if (temp.Position - pos).magnitude &lt; dist then&#13;&#10;&#9;&#9;&#9;&#9;&#9;torso = temp&#13;&#10;&#9;&#9;&#9;&#9;&#9;dist = (temp.Position - pos).magnitude&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return torso&#13;&#10;end&#13;&#10;&#13;&#10;while true do&#13;&#10;&#9;wait(0.1)&#13;&#10;&#9;local target = findNearestTorso(script.Parent.Torso.Position)&#13;&#10;&#9;if target ~= nil then&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#9;end&#13;&#10;end</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Model" referent="RBX830">
			<Properties>
				<token name="Controller">7</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">Warrior</string>
				<Ref name="PrimaryPart">RBX831</Ref>
				<bool name="archivable">true</bool>
			</Properties>
			<Item class="Humanoid" referent="RBX832">
				<Properties>
					<float name="Health">0</float>
					<bool name="Jump">false</bool>
					<float name="MaxHealth">100</float>
					<string name="Name">Humanoid</string>
					<bool name="Sit">false</bool>
					<Vector3 name="TargetPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<Vector3 name="WalkDirection">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<float name="WalkRotationalVelocity">0</float>
					<Ref name="WalkToPart">null</Ref>
					<Vector3 name="WalkToPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX833">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Health</string>
					<string name="Source">function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;-- declarations&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;Humanoid.Health=500&#13;&#10;-- regeneration&#13;&#10;while true do&#13;&#10;&#9;local s = wait(4)&#13;&#10;&#9;local health = Humanoid.Health&#13;&#10;&#9;if health &gt; 0 and health &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;health = health + 0.08 * s * Humanoid.MaxHealth&#13;&#10;&#9;&#9;if health * 1.05 &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;&#9;Humanoid.Health = health&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;Humanoid.Health = Humanoid.MaxHealth&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="BodyColors" referent="RBX834">
				<Properties>
					<int name="HeadColor">24</int>
					<int name="LeftArmColor">28</int>
					<int name="LeftLegColor">28</int>
					<string name="Name">Body Colors</string>
					<int name="RightArmColor">28</int>
					<int name="RightLegColor">28</int>
					<int name="TorsoColor">28</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="IntValue" referent="RBX835">
				<Properties>
					<string name="Name">Value</string>
					<int name="Value">0</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Part" referent="RBX831">
				<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">4</token>
					<token name="BottomSurfaceInput">0</token>
					<int name="BrickColor">141</int>
					<CoordinateFrame name="CFrame">
						<X>157.809586</X>
						<Y>0.890000641</Y>
						<Z>163.241013</Z>
						<R00>1.44609419e-006</R00>
						<R01>-0.999964535</R01>
						<R02>-0.00842237473</R02>
						<R10>-1</R10>
						<R11>-1.58845148e-006</R11>
						<R12>1.72138716e-005</R12>
						<R20>-1.72265172e-005</R20>
						<R21>0.00842237473</R21>
						<R22>-0.999964535</R22>
					</CoordinateFrame>
					<bool name="CanCollide">true</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">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">Right Arm</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>1</X>
						<Y>2</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
				<Item class="Script" referent="RBX836">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">DoorScript2</string>
						<string name="Source">print(&quot;Omg a team door! Goodbye spawnkilling!&quot;) -- {made by:yourit12 modeled by:NintendoZACHERY}&#13;&#10;&#13;&#10;Door = script.Parent &#13;&#10;------------------------------------&#13;&#10;modelname=&quot;Admins&quot; -- Put the EXACT name of the team here&#13;&#10;------------------------------------&#13;&#10; &#13;&#10;function onTouched(hit) &#13;&#10;        print(&quot;Door Hit&quot;) &#13;&#10;        local human = hit.Parent:FindFirstChild(&quot;Humanoid&quot;) &#13;&#10;        if (human ~= nil ) then&#13;&#10;                if game.Players:playerFromCharacter(hit.Parent).TeamColor==game.Teams:findFirstChild(modelname).TeamColor then&#13;&#10;                        Door.CanCollide = false &#13;&#10;                        Door.Transparency = 0&#13;&#10;                        wait(1) &#13;&#10;                        Door.CanCollide = true &#13;&#10;                        Door.Transparency = 0 &#13;&#10;                        print(&quot;Human touched door&quot;) &#13;&#10;                else&#13;&#10;                        human.Health = 0&#13;&#10;                end&#13;&#10; &#13;&#10;        end &#13;&#10;end &#13;&#10; &#13;&#10;connection = Door.Touched:connect(onTouched)</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Script" referent="RBX837">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">Script</string>
						<string name="Source">function onTouched(hit)&#13;&#10;if hit.Name ~= &quot;tray&quot; then hit:remove() end&#13;&#10;end&#13;&#10;&#13;&#10;connection = script.Parent.Touched:connect(onTouched)&#13;&#10;</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Script" referent="RBX838">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">Script</string>
						<string name="Source">&#13;&#10;function onTouched(hit)&#13;&#10;&#9;local human = hit.Parent:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;if (human ~= nil) then&#13;&#10;&#9;&#9;human.Health = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if (script.Parent ~= nil) and (script.Parent.className == &quot;Part&quot;) then --Work if in a block&#13;&#10;&#9;connection = script.Parent.Touched:connect(onTouched)&#13;&#10;end&#13;&#10;</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
			</Item>
			<Item class="Script" referent="RBX839">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Robot</string>
					<string name="Source">------------------&#13;&#10;--SPAWNING--&#13;&#10;------------------&#13;&#10;&#13;&#10;miked=script.Parent&#13;&#10;&#13;&#10;itlh=miked.Torso:findFirstChild(&quot;Left Hip&quot;)&#13;&#10;itlh.Part0=miked.Torso&#13;&#10;itlh.Part1=miked:findFirstChild(&quot;Left Leg&quot;)&#13;&#10;itlh.C0=CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;&#13;&#10;itrh=miked.Torso:findFirstChild(&quot;Right Hip&quot;)&#13;&#10;itrh.Part0=miked.Torso&#13;&#10;itrh.Part1=miked:findFirstChild(&quot;Right Leg&quot;)&#13;&#10;itrh.C0=CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;&#13;&#10;itls=miked.Torso:findFirstChild(&quot;Left Shoulder&quot;)&#13;&#10;itls.Part1=miked.Torso&#13;&#10;itls.C0=CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;itls.Part0=miked:findFirstChild(&quot;Left Arm&quot;)&#13;&#10;&#13;&#10;itrs=miked.Torso:findFirstChild(&quot;Right Shoulder&quot;)&#13;&#10;itrs.Part1=miked.Torso&#13;&#10;itrs.C0=CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;itrs.Part0=miked:findFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;miked.Head:makeJoints()&#13;&#10;------------------&#13;&#10;------------------&#13;&#10;&#13;&#10;&#13;&#10;function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Torso = waitForChild(Figure, &quot;Torso&quot;)&#13;&#10;local RightShoulder = waitForChild(Torso, &quot;Right Shoulder&quot;)&#13;&#10;local LeftShoulder = waitForChild(Torso, &quot;Left Shoulder&quot;)&#13;&#10;local RightHip = waitForChild(Torso, &quot;Right Hip&quot;)&#13;&#10;local LeftHip = waitForChild(Torso, &quot;Left Hip&quot;)&#13;&#10;local Neck = waitForChild(Torso, &quot;Neck&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;local pose = &quot;Standing&quot;&#13;&#10;&#13;&#10;local toolAnim = &quot;None&quot;&#13;&#10;local toolAnimTime = 0&#13;&#10;&#13;&#10;local isSeated = false&#13;&#10;&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if isSeated then return end&#13;&#10;&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;pose = &quot;Running&quot;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;pose = &quot;Standing&quot;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;pose = &quot;Dead&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onJumping()&#13;&#10;&#9;isSeated = false&#13;&#10;&#9;pose = &quot;Jumping&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onClimbing()&#13;&#10;&#9;pose = &quot;Climbing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onGettingUp()&#13;&#10;&#9;pose = &quot;GettingUp&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFreeFall()&#13;&#10;&#9;pose = &quot;FreeFall&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onDancing()&#13;&#10;&#9;pose = &quot;Dancing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFallingDown()&#13;&#10;&#9;pose = &quot;FallingDown&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onSeated()&#13;&#10;&#9;isSeated = true&#13;&#10;&#9;pose = &quot;Seated&quot;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function moveJump()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFreeFall()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1&#13;&#10;&#9;LeftShoulder.DesiredAngle = -1&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFloat()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = -1.57&#13;&#10;end&#13;&#10;&#13;&#10;function moveBoogy()&#13;&#10;while pose==&quot;Boogy&quot; do&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 1.57&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;function moveZombie()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function movePunch()&#13;&#10;&#9;script.Parent.Torso.Anchored=true&#13;&#10;&#9;RightShoulder.MaxVelocity = 60&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;script.Parent.Torso.Anchored=false&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveKick()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveFly()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function moveClimb()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveSit()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;RightHip.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftHip.DesiredAngle = -3.14 /2&#13;&#10;end&#13;&#10;&#13;&#10;function getTool()&#13;&#10;&#9;&#13;&#10;&#9;kidTable = Figure:children()&#13;&#10;&#9;if (kidTable ~= nil) then&#13;&#10;&#9;&#9;numKids = #kidTable&#13;&#10;&#9;&#9;for i=1,numKids do&#13;&#10;&#9;&#9;&#9;if (kidTable[i].className == &quot;Tool&quot;) then return kidTable[i] end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;c = tool:children()&#13;&#10;&#9;for i=1,#c do&#13;&#10;&#9;&#9;if (c[i].Name == &quot;toolanim&quot; and c[i].className == &quot;StringValue&quot;) then&#13;&#10;&#9;&#9;&#9;return c[i]&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function animateTool()&#13;&#10;&#9;&#13;&#10;&#9;if (toolAnim == &quot;None&quot;) then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Slash&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Lunge&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 1.0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 1.0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function move(time)&#13;&#10;&#9;local amplitude&#13;&#10;&#9;local frequency&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Jumping&quot;) then&#13;&#10;&#9;&#9;moveJump()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Zombie&quot;) then&#13;&#10;&#9;&#9;moveZombie()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Boogy&quot;) then&#13;&#10;&#9;&#9;moveBoogy()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Float&quot;) then&#13;&#10;&#9;&#9;moveFloat()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Punch&quot;) then&#13;&#10;&#9;&#9;movePunch()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Kick&quot;) then&#13;&#10;&#9;&#9;moveKick()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Fly&quot;) then&#13;&#10;&#9;&#9;moveFly()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;FreeFall&quot;) then&#13;&#10;&#9;&#9;moveFreeFall()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Climbing&quot;) then&#13;&#10;&#9;&#9;moveClimb()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Seated&quot;) then&#13;&#10;&#9;&#9;moveSit()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;amplitude = 0.1&#13;&#10;&#9;&#9;frequency = 1&#13;&#10;&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;if (pose == &quot;Running&quot;) then&#13;&#10;&#9;&#9;amplitude = 1&#13;&#10;&#9;&#9;frequency = 9&#13;&#10;&#9;elseif (pose == &quot;Dancing&quot;) then&#13;&#10;&#9;&#9;amplitude = 2&#13;&#10;&#9;&#9;frequency = 16&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#13;&#10;&#9;desiredAngle = amplitude * math.sin(time*frequency)&#13;&#10;&#9;if pose~=&quot;Dancing&quot; then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;else&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;end&#13;&#10;&#9;&#9;&#13;&#10;&#13;&#10;&#13;&#10;&#9;local tool = getTool()&#13;&#10;&#13;&#10;&#9;if tool ~= nil then&#13;&#10;&#9;&#13;&#10;&#9;&#9;animStringValueObject = getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;&#9;if animStringValueObject ~= nil then&#13;&#10;&#9;&#9;&#9;toolAnim = animStringValueObject.Value&#13;&#10;&#9;&#9;&#9;-- message recieved, delete StringValue&#13;&#10;&#9;&#9;&#9;animStringValueObject.Parent = nil&#13;&#10;&#9;&#9;&#9;toolAnimTime = time + .3&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if time &gt; toolAnimTime then&#13;&#10;&#9;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;animateTool()&#13;&#10;&#13;&#10;&#9;&#9;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;-- connect events&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;function unequip()&#13;&#10;&#9;local items=script.Parent:children()&#13;&#10;&#9;for i=1, #items do&#13;&#10;&#9;&#9;if items[i].className==&quot;Tool&quot; then items[i]:remove() end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onChatted(msg, recipient) &#13;&#10;&#9;msg = string.lower(msg)&#13;&#10;&#13;&#10;&#9;if string.match(msg, string.lower(script.Parent.Name))~=nil or string.match(msg, &quot;everyone&quot;) then&#13;&#10;&#9;&#9;if string.match(msg, &quot;equip&quot;) then &#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;Hub&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;if string.match(msg, &quot;rocket&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Rocket:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;slingshot&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Slingshot:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;sword&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Sword:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;pbg&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.PBG:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;superball&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Superball:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;trowel&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Trowel:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;bomb&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Bomb:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;unequip&quot;) then unequip() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;run&quot;) then onRunning(1) end&#13;&#10;&#9;&#9;if string.match(msg, &quot;climb&quot;) then onClimbing() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;jump&quot;) then onJumping() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;zombie&quot;) then pose=&quot;Zombie&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;disco&quot;) then pose=&quot;Boogy&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;float&quot;) then pose=&quot;Float&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;punch&quot;) then pose=&quot;Punch&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kick&quot;) then pose=&quot;Kick&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;fly&quot;) then pose=&quot;Fly&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;heal&quot;) then script.Parent.Humanoid.Health=script.Parent.Humanoid.MaxHealth end&#13;&#10;&#9;&#9;if string.match(msg, &quot;defend&quot;) then defence() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;stop&quot;) then pose=&quot;Standing&quot;; proxkill=false; following=false; stopmoving() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;go home&quot;) then following=false; gohome() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;follow&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;followany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;follow(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kill&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;attackany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;attack(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if game.Players.NumPlayers&gt;1 then&#13;&#10;&#9;x=game.Players:children()&#13;&#10;&#9;&#13;&#10;&#9;for i=1, #x do&#13;&#10;&#9;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function onPlayerEntered(Player) &#13;&#10;&#9;while Player.Name==nil do&#13;&#10;&#9;&#9;wait(2)&#13;&#10;&#9;end&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;end&#13;&#10;&#9;else&#13;&#10;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;game.Players.ChildAdded:connect(onPlayerEntered) &#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;dist=20&#13;&#10;&#13;&#10;function followany()&#13;&#10;following=true&#13;&#10;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 6 do&#13;&#10;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then stopmoving() else&#9;wait(0.5) end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function gohome()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(Vector3.new(0,0,0), game.Workspace.Bases.Base)&#13;&#10;end&#13;&#10;function stopmoving()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(script.Parent.Torso.Position, script.Parent.Torso)&#13;&#10;end&#13;&#10;&#13;&#10;function follow(name)&#13;&#10;&#9;following=true&#13;&#10;&#13;&#10;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;if p==nil then return end&#13;&#10;&#9;while following==true do&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attack(name)&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#9;&#9;following=true&#13;&#10;&#9;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;&#9;if p==nil then return end&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#9;local l=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((l.x-q.x)^2)+((l.y-q.y)^2)+((l.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;if (q.y-l.y)&gt;3 and (q.y-l.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attackany()&#13;&#10;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#13;&#10;&#9;following=true&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;slash()&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;if target.Parent==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then &#13;&#10;&#9;&#9;&#9;&#9;&#9;stopmoving() &#13;&#10;&#9;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=target.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if (q.y-p.y)&gt;3 and (q.y-p.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function patrol()&#13;&#10;&#9;if points==nil then&#13;&#10;&#9;&#9;points=0&#13;&#10;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp1&quot;)~=nil then&#13;&#10;&#9;&#9;pp1=game.Workspace:findFirstChild(&quot;pp1&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp2&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;pp2=game.Workspace:findFirstChild(&quot;pp2&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp3&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;pp3=game.Workspace:findFirstChild(&quot;pp3&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp4&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;pp4=game.Workspace:findFirstChild(&quot;pp4&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp5&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;pp5=game.Workspace:findFirstChild(&quot;pp5&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp6&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp6=game.Workspace:findFirstChild(&quot;pp6&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp7&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp7=game.Workspace:findFirstChild(&quot;pp7&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp8&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp8=game.Workspace:findFirstChild(&quot;pp8&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp9&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp9=game.Workspace:findFirstChild(&quot;pp9&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if points&lt;1 then return end&#13;&#10;&#9;patrolling=true&#13;&#10;&#9;local time=2&#13;&#10;&#9;if points==1 then return end&#13;&#10;&#9;if points&gt;1 then&#13;&#10;&#9;&#9;while patrolling==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp1.Position, pp1)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp2.Position, pp2)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;if points&gt;2 then&#13;&#10;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp3.Position, pp3)&#13;&#10;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;if points&gt;3 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp4.Position, pp4)&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;if points&gt;4 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp5.Position, pp5)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;5 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp6.Position, pp6)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;6 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp7.Position, pp7)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp8.Position, pp8)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp9.Position, pp9)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function goto(pos,part)&#13;&#10;while true do&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function slash()&#13;&#10;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;wait(.3)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -2.14&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;&#9;wait(.2)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function defence()&#13;&#10;&#9;proxkill=true&#13;&#10;&#9;while proxkill==true do&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local p=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if p~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local p=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;dist and d&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local ex=Instance.new(&quot;Explosion&quot;)&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Position=p&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Parent=game.Workspace&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#9;&#9;&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;wait(1)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(onJumping)&#13;&#10;Humanoid.Climbing:connect(onClimbing)&#13;&#10;Humanoid.GettingUp:connect(onGettingUp)&#13;&#10;Humanoid.FreeFalling:connect(onFreeFall)&#13;&#10;Humanoid.FallingDown:connect(onFallingDown)&#13;&#10;Humanoid.Seated:connect(onSeated)&#13;&#10;&#13;&#10;&#13;&#10;--[[&#13;&#10;&#13;&#10;function newSound(id)&#13;&#10;&#9;local sound = Instance.new(&quot;Sound&quot;)&#13;&#10;&#9;sound.SoundId = id&#13;&#10;&#9;sound.Parent = script.Parent.Head&#13;&#10;&#9;return sound&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;local sDied = newSound(&quot;rbxasset://sounds/uuhhh.wav&quot;)&#13;&#10;local sFallingDown = newSound(&quot;rbxasset://sounds/splat.wav&quot;)&#13;&#10;local sFreeFalling = newSound(&quot;rbxasset://sounds/swoosh.wav&quot;)&#13;&#10;local sGettingUp = newSound(&quot;rbxasset://sounds/hit.wav&quot;)&#13;&#10;local sJumping = newSound(&quot;rbxasset://sounds/button.wav&quot;)&#13;&#10;local sRunning = newSound(&quot;rbxasset://sounds/bfsl-minifigfoots1.mp3&quot;)&#13;&#10;sRunning.Looped = true&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;sDied:play()&#13;&#10;end&#13;&#10;&#13;&#10;function onState(state, sound)&#13;&#10;&#9;if state then&#13;&#10;&#9;&#9;sound:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sound:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;sRunning:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sRunning:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(function(state) onState(state, sJumping) end)&#13;&#10;Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end)&#13;&#10;Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end)&#13;&#10;Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end)&#13;&#10;--]]&#13;&#10;&#13;&#10;local nextTime = 0&#13;&#10;local runService = game:service(&quot;RunService&quot;);&#13;&#10;&#13;&#10;while Figure.Parent~=nil do&#13;&#10;&#9;time = runService.Stepped:wait()&#13;&#10;&#9;if time &gt; nextTime then&#13;&#10;&#9;&#9;move(time)&#13;&#10;&#9;&#9;nextTime = time + 0.1&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX840">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Follow</string>
					<string name="Source">local larm = script.Parent:FindFirstChild(&quot;Left Arm&quot;)&#13;&#10;local rarm = script.Parent:FindFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;function findNearestTorso(pos)&#13;&#10;&#9;local list = game.Workspace:children()&#13;&#10;&#9;local torso = nil&#13;&#10;&#9;local dist = 25&#13;&#10;&#9;local temp = nil&#13;&#10;&#9;local human = nil&#13;&#10;&#9;local temp2 = nil&#13;&#10;&#9;for x = 1, #list do&#13;&#10;&#9;&#9;temp2 = list[x]&#13;&#10;&#9;&#9;if (temp2.className == &quot;Model&quot;) and (temp2 ~= script.Parent) then&#13;&#10;&#9;&#9;&#9;temp = temp2:findFirstChild(&quot;Torso&quot;)&#13;&#10;&#9;&#9;&#9;human = temp2:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;&#9;&#9;if (temp ~= nil) and (human ~= nil) and (human.Health &gt; 0) then&#13;&#10;&#9;&#9;&#9;&#9;if (temp.Position - pos).magnitude &lt; dist then&#13;&#10;&#9;&#9;&#9;&#9;&#9;torso = temp&#13;&#10;&#9;&#9;&#9;&#9;&#9;dist = (temp.Position - pos).magnitude&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return torso&#13;&#10;end&#13;&#10;&#13;&#10;while true do&#13;&#10;&#9;wait(0.1)&#13;&#10;&#9;local target = findNearestTorso(script.Parent.Torso.Position)&#13;&#10;&#9;if target ~= nil then&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#9;end&#13;&#10;end</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Model" referent="RBX841">
			<Properties>
				<token name="Controller">7</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">Warrior</string>
				<Ref name="PrimaryPart">null</Ref>
				<bool name="archivable">true</bool>
			</Properties>
			<Item class="Humanoid" referent="RBX842">
				<Properties>
					<float name="Health">0</float>
					<bool name="Jump">false</bool>
					<float name="MaxHealth">100</float>
					<string name="Name">Humanoid</string>
					<bool name="Sit">false</bool>
					<Vector3 name="TargetPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<Vector3 name="WalkDirection">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<float name="WalkRotationalVelocity">0</float>
					<Ref name="WalkToPart">null</Ref>
					<Vector3 name="WalkToPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX843">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Health</string>
					<string name="Source">function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;-- declarations&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;Humanoid.Health=500&#13;&#10;-- regeneration&#13;&#10;while true do&#13;&#10;&#9;local s = wait(4)&#13;&#10;&#9;local health = Humanoid.Health&#13;&#10;&#9;if health &gt; 0 and health &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;health = health + 0.08 * s * Humanoid.MaxHealth&#13;&#10;&#9;&#9;if health * 1.05 &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;&#9;Humanoid.Health = health&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;Humanoid.Health = Humanoid.MaxHealth&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="BodyColors" referent="RBX844">
				<Properties>
					<int name="HeadColor">24</int>
					<int name="LeftArmColor">28</int>
					<int name="LeftLegColor">28</int>
					<string name="Name">Body Colors</string>
					<int name="RightArmColor">28</int>
					<int name="RightLegColor">28</int>
					<int name="TorsoColor">28</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="IntValue" referent="RBX845">
				<Properties>
					<string name="Name">Value</string>
					<int name="Value">0</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX846">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Robot</string>
					<string name="Source">------------------&#13;&#10;--SPAWNING--&#13;&#10;------------------&#13;&#10;&#13;&#10;miked=script.Parent&#13;&#10;&#13;&#10;itlh=miked.Torso:findFirstChild(&quot;Left Hip&quot;)&#13;&#10;itlh.Part0=miked.Torso&#13;&#10;itlh.Part1=miked:findFirstChild(&quot;Left Leg&quot;)&#13;&#10;itlh.C0=CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;&#13;&#10;itrh=miked.Torso:findFirstChild(&quot;Right Hip&quot;)&#13;&#10;itrh.Part0=miked.Torso&#13;&#10;itrh.Part1=miked:findFirstChild(&quot;Right Leg&quot;)&#13;&#10;itrh.C0=CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;&#13;&#10;itls=miked.Torso:findFirstChild(&quot;Left Shoulder&quot;)&#13;&#10;itls.Part1=miked.Torso&#13;&#10;itls.C0=CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;itls.Part0=miked:findFirstChild(&quot;Left Arm&quot;)&#13;&#10;&#13;&#10;itrs=miked.Torso:findFirstChild(&quot;Right Shoulder&quot;)&#13;&#10;itrs.Part1=miked.Torso&#13;&#10;itrs.C0=CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;itrs.Part0=miked:findFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;miked.Head:makeJoints()&#13;&#10;------------------&#13;&#10;------------------&#13;&#10;&#13;&#10;&#13;&#10;function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Torso = waitForChild(Figure, &quot;Torso&quot;)&#13;&#10;local RightShoulder = waitForChild(Torso, &quot;Right Shoulder&quot;)&#13;&#10;local LeftShoulder = waitForChild(Torso, &quot;Left Shoulder&quot;)&#13;&#10;local RightHip = waitForChild(Torso, &quot;Right Hip&quot;)&#13;&#10;local LeftHip = waitForChild(Torso, &quot;Left Hip&quot;)&#13;&#10;local Neck = waitForChild(Torso, &quot;Neck&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;local pose = &quot;Standing&quot;&#13;&#10;&#13;&#10;local toolAnim = &quot;None&quot;&#13;&#10;local toolAnimTime = 0&#13;&#10;&#13;&#10;local isSeated = false&#13;&#10;&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if isSeated then return end&#13;&#10;&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;pose = &quot;Running&quot;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;pose = &quot;Standing&quot;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;pose = &quot;Dead&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onJumping()&#13;&#10;&#9;isSeated = false&#13;&#10;&#9;pose = &quot;Jumping&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onClimbing()&#13;&#10;&#9;pose = &quot;Climbing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onGettingUp()&#13;&#10;&#9;pose = &quot;GettingUp&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFreeFall()&#13;&#10;&#9;pose = &quot;FreeFall&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onDancing()&#13;&#10;&#9;pose = &quot;Dancing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFallingDown()&#13;&#10;&#9;pose = &quot;FallingDown&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onSeated()&#13;&#10;&#9;isSeated = true&#13;&#10;&#9;pose = &quot;Seated&quot;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function moveJump()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFreeFall()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1&#13;&#10;&#9;LeftShoulder.DesiredAngle = -1&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFloat()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = -1.57&#13;&#10;end&#13;&#10;&#13;&#10;function moveBoogy()&#13;&#10;while pose==&quot;Boogy&quot; do&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 1.57&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;function moveZombie()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function movePunch()&#13;&#10;&#9;script.Parent.Torso.Anchored=true&#13;&#10;&#9;RightShoulder.MaxVelocity = 60&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;script.Parent.Torso.Anchored=false&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveKick()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveFly()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function moveClimb()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveSit()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;RightHip.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftHip.DesiredAngle = -3.14 /2&#13;&#10;end&#13;&#10;&#13;&#10;function getTool()&#13;&#10;&#9;&#13;&#10;&#9;kidTable = Figure:children()&#13;&#10;&#9;if (kidTable ~= nil) then&#13;&#10;&#9;&#9;numKids = #kidTable&#13;&#10;&#9;&#9;for i=1,numKids do&#13;&#10;&#9;&#9;&#9;if (kidTable[i].className == &quot;Tool&quot;) then return kidTable[i] end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;c = tool:children()&#13;&#10;&#9;for i=1,#c do&#13;&#10;&#9;&#9;if (c[i].Name == &quot;toolanim&quot; and c[i].className == &quot;StringValue&quot;) then&#13;&#10;&#9;&#9;&#9;return c[i]&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function animateTool()&#13;&#10;&#9;&#13;&#10;&#9;if (toolAnim == &quot;None&quot;) then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Slash&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Lunge&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 1.0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 1.0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function move(time)&#13;&#10;&#9;local amplitude&#13;&#10;&#9;local frequency&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Jumping&quot;) then&#13;&#10;&#9;&#9;moveJump()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Zombie&quot;) then&#13;&#10;&#9;&#9;moveZombie()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Boogy&quot;) then&#13;&#10;&#9;&#9;moveBoogy()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Float&quot;) then&#13;&#10;&#9;&#9;moveFloat()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Punch&quot;) then&#13;&#10;&#9;&#9;movePunch()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Kick&quot;) then&#13;&#10;&#9;&#9;moveKick()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Fly&quot;) then&#13;&#10;&#9;&#9;moveFly()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;FreeFall&quot;) then&#13;&#10;&#9;&#9;moveFreeFall()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Climbing&quot;) then&#13;&#10;&#9;&#9;moveClimb()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Seated&quot;) then&#13;&#10;&#9;&#9;moveSit()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;amplitude = 0.1&#13;&#10;&#9;&#9;frequency = 1&#13;&#10;&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;if (pose == &quot;Running&quot;) then&#13;&#10;&#9;&#9;amplitude = 1&#13;&#10;&#9;&#9;frequency = 9&#13;&#10;&#9;elseif (pose == &quot;Dancing&quot;) then&#13;&#10;&#9;&#9;amplitude = 2&#13;&#10;&#9;&#9;frequency = 16&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#13;&#10;&#9;desiredAngle = amplitude * math.sin(time*frequency)&#13;&#10;&#9;if pose~=&quot;Dancing&quot; then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;else&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;end&#13;&#10;&#9;&#9;&#13;&#10;&#13;&#10;&#13;&#10;&#9;local tool = getTool()&#13;&#10;&#13;&#10;&#9;if tool ~= nil then&#13;&#10;&#9;&#13;&#10;&#9;&#9;animStringValueObject = getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;&#9;if animStringValueObject ~= nil then&#13;&#10;&#9;&#9;&#9;toolAnim = animStringValueObject.Value&#13;&#10;&#9;&#9;&#9;-- message recieved, delete StringValue&#13;&#10;&#9;&#9;&#9;animStringValueObject.Parent = nil&#13;&#10;&#9;&#9;&#9;toolAnimTime = time + .3&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if time &gt; toolAnimTime then&#13;&#10;&#9;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;animateTool()&#13;&#10;&#13;&#10;&#9;&#9;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;-- connect events&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;function unequip()&#13;&#10;&#9;local items=script.Parent:children()&#13;&#10;&#9;for i=1, #items do&#13;&#10;&#9;&#9;if items[i].className==&quot;Tool&quot; then items[i]:remove() end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onChatted(msg, recipient) &#13;&#10;&#9;msg = string.lower(msg)&#13;&#10;&#13;&#10;&#9;if string.match(msg, string.lower(script.Parent.Name))~=nil or string.match(msg, &quot;everyone&quot;) then&#13;&#10;&#9;&#9;if string.match(msg, &quot;equip&quot;) then &#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;Hub&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;if string.match(msg, &quot;rocket&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Rocket:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;slingshot&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Slingshot:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;sword&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Sword:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;pbg&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.PBG:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;superball&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Superball:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;trowel&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Trowel:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;bomb&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Bomb:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;unequip&quot;) then unequip() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;run&quot;) then onRunning(1) end&#13;&#10;&#9;&#9;if string.match(msg, &quot;climb&quot;) then onClimbing() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;jump&quot;) then onJumping() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;zombie&quot;) then pose=&quot;Zombie&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;disco&quot;) then pose=&quot;Boogy&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;float&quot;) then pose=&quot;Float&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;punch&quot;) then pose=&quot;Punch&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kick&quot;) then pose=&quot;Kick&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;fly&quot;) then pose=&quot;Fly&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;heal&quot;) then script.Parent.Humanoid.Health=script.Parent.Humanoid.MaxHealth end&#13;&#10;&#9;&#9;if string.match(msg, &quot;defend&quot;) then defence() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;stop&quot;) then pose=&quot;Standing&quot;; proxkill=false; following=false; stopmoving() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;go home&quot;) then following=false; gohome() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;follow&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;followany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;follow(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kill&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;attackany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;attack(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if game.Players.NumPlayers&gt;1 then&#13;&#10;&#9;x=game.Players:children()&#13;&#10;&#9;&#13;&#10;&#9;for i=1, #x do&#13;&#10;&#9;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function onPlayerEntered(Player) &#13;&#10;&#9;while Player.Name==nil do&#13;&#10;&#9;&#9;wait(2)&#13;&#10;&#9;end&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;end&#13;&#10;&#9;else&#13;&#10;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;game.Players.ChildAdded:connect(onPlayerEntered) &#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;dist=20&#13;&#10;&#13;&#10;function followany()&#13;&#10;following=true&#13;&#10;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 6 do&#13;&#10;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then stopmoving() else&#9;wait(0.5) end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function gohome()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(Vector3.new(0,0,0), game.Workspace.Bases.Base)&#13;&#10;end&#13;&#10;function stopmoving()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(script.Parent.Torso.Position, script.Parent.Torso)&#13;&#10;end&#13;&#10;&#13;&#10;function follow(name)&#13;&#10;&#9;following=true&#13;&#10;&#13;&#10;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;if p==nil then return end&#13;&#10;&#9;while following==true do&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attack(name)&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#9;&#9;following=true&#13;&#10;&#9;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;&#9;if p==nil then return end&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#9;local l=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((l.x-q.x)^2)+((l.y-q.y)^2)+((l.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;if (q.y-l.y)&gt;3 and (q.y-l.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attackany()&#13;&#10;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#13;&#10;&#9;following=true&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;slash()&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;if target.Parent==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then &#13;&#10;&#9;&#9;&#9;&#9;&#9;stopmoving() &#13;&#10;&#9;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=target.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if (q.y-p.y)&gt;3 and (q.y-p.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function patrol()&#13;&#10;&#9;if points==nil then&#13;&#10;&#9;&#9;points=0&#13;&#10;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp1&quot;)~=nil then&#13;&#10;&#9;&#9;pp1=game.Workspace:findFirstChild(&quot;pp1&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp2&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;pp2=game.Workspace:findFirstChild(&quot;pp2&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp3&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;pp3=game.Workspace:findFirstChild(&quot;pp3&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp4&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;pp4=game.Workspace:findFirstChild(&quot;pp4&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp5&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;pp5=game.Workspace:findFirstChild(&quot;pp5&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp6&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp6=game.Workspace:findFirstChild(&quot;pp6&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp7&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp7=game.Workspace:findFirstChild(&quot;pp7&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp8&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp8=game.Workspace:findFirstChild(&quot;pp8&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp9&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp9=game.Workspace:findFirstChild(&quot;pp9&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if points&lt;1 then return end&#13;&#10;&#9;patrolling=true&#13;&#10;&#9;local time=2&#13;&#10;&#9;if points==1 then return end&#13;&#10;&#9;if points&gt;1 then&#13;&#10;&#9;&#9;while patrolling==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp1.Position, pp1)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp2.Position, pp2)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;if points&gt;2 then&#13;&#10;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp3.Position, pp3)&#13;&#10;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;if points&gt;3 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp4.Position, pp4)&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;if points&gt;4 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp5.Position, pp5)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;5 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp6.Position, pp6)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;6 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp7.Position, pp7)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp8.Position, pp8)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp9.Position, pp9)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function goto(pos,part)&#13;&#10;while true do&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function slash()&#13;&#10;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;wait(.3)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -2.14&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;&#9;wait(.2)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function defence()&#13;&#10;&#9;proxkill=true&#13;&#10;&#9;while proxkill==true do&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local p=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if p~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local p=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;dist and d&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local ex=Instance.new(&quot;Explosion&quot;)&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Position=p&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Parent=game.Workspace&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#9;&#9;&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;wait(1)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(onJumping)&#13;&#10;Humanoid.Climbing:connect(onClimbing)&#13;&#10;Humanoid.GettingUp:connect(onGettingUp)&#13;&#10;Humanoid.FreeFalling:connect(onFreeFall)&#13;&#10;Humanoid.FallingDown:connect(onFallingDown)&#13;&#10;Humanoid.Seated:connect(onSeated)&#13;&#10;&#13;&#10;&#13;&#10;--[[&#13;&#10;&#13;&#10;function newSound(id)&#13;&#10;&#9;local sound = Instance.new(&quot;Sound&quot;)&#13;&#10;&#9;sound.SoundId = id&#13;&#10;&#9;sound.Parent = script.Parent.Head&#13;&#10;&#9;return sound&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;local sDied = newSound(&quot;rbxasset://sounds/uuhhh.wav&quot;)&#13;&#10;local sFallingDown = newSound(&quot;rbxasset://sounds/splat.wav&quot;)&#13;&#10;local sFreeFalling = newSound(&quot;rbxasset://sounds/swoosh.wav&quot;)&#13;&#10;local sGettingUp = newSound(&quot;rbxasset://sounds/hit.wav&quot;)&#13;&#10;local sJumping = newSound(&quot;rbxasset://sounds/button.wav&quot;)&#13;&#10;local sRunning = newSound(&quot;rbxasset://sounds/bfsl-minifigfoots1.mp3&quot;)&#13;&#10;sRunning.Looped = true&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;sDied:play()&#13;&#10;end&#13;&#10;&#13;&#10;function onState(state, sound)&#13;&#10;&#9;if state then&#13;&#10;&#9;&#9;sound:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sound:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;sRunning:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sRunning:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(function(state) onState(state, sJumping) end)&#13;&#10;Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end)&#13;&#10;Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end)&#13;&#10;Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end)&#13;&#10;--]]&#13;&#10;&#13;&#10;local nextTime = 0&#13;&#10;local runService = game:service(&quot;RunService&quot;);&#13;&#10;&#13;&#10;while Figure.Parent~=nil do&#13;&#10;&#9;time = runService.Stepped:wait()&#13;&#10;&#9;if time &gt; nextTime then&#13;&#10;&#9;&#9;move(time)&#13;&#10;&#9;&#9;nextTime = time + 0.1&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX847">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Follow</string>
					<string name="Source">local larm = script.Parent:FindFirstChild(&quot;Left Arm&quot;)&#13;&#10;local rarm = script.Parent:FindFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;function findNearestTorso(pos)&#13;&#10;&#9;local list = game.Workspace:children()&#13;&#10;&#9;local torso = nil&#13;&#10;&#9;local dist = 25&#13;&#10;&#9;local temp = nil&#13;&#10;&#9;local human = nil&#13;&#10;&#9;local temp2 = nil&#13;&#10;&#9;for x = 1, #list do&#13;&#10;&#9;&#9;temp2 = list[x]&#13;&#10;&#9;&#9;if (temp2.className == &quot;Model&quot;) and (temp2 ~= script.Parent) then&#13;&#10;&#9;&#9;&#9;temp = temp2:findFirstChild(&quot;Torso&quot;)&#13;&#10;&#9;&#9;&#9;human = temp2:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;&#9;&#9;if (temp ~= nil) and (human ~= nil) and (human.Health &gt; 0) then&#13;&#10;&#9;&#9;&#9;&#9;if (temp.Position - pos).magnitude &lt; dist then&#13;&#10;&#9;&#9;&#9;&#9;&#9;torso = temp&#13;&#10;&#9;&#9;&#9;&#9;&#9;dist = (temp.Position - pos).magnitude&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return torso&#13;&#10;end&#13;&#10;&#13;&#10;while true do&#13;&#10;&#9;wait(0.1)&#13;&#10;&#9;local target = findNearestTorso(script.Parent.Torso.Position)&#13;&#10;&#9;if target ~= nil then&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#9;end&#13;&#10;end</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Model" referent="RBX848">
			<Properties>
				<token name="Controller">7</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">Warrior</string>
				<Ref name="PrimaryPart">RBX849</Ref>
				<bool name="archivable">true</bool>
			</Properties>
			<Item class="Part" referent="RBX849">
				<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">4</token>
					<token name="BottomSurfaceInput">0</token>
					<int name="BrickColor">217</int>
					<CoordinateFrame name="CFrame">
						<X>172.771912</X>
						<Y>0.890009701</Y>
						<Z>179.93634</Z>
						<R00>0.450693876</R00>
						<R01>-0.892678559</R01>
						<R02>-7.34037894e-005</R02>
						<R10>4.48097262e-006</R10>
						<R11>-7.99355839e-005</R11>
						<R12>1</R12>
						<R20>-0.892678559</R20>
						<R21>-0.450693816</R21>
						<R22>-3.20011532e-005</R22>
					</CoordinateFrame>
					<bool name="CanCollide">true</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">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">Head</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>2</X>
						<Y>1</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
				<Item class="SpecialMesh" referent="RBX850">
					<Properties>
						<Content name="MeshId"><null></null></Content>
						<token name="MeshType">0</token>
						<string name="Name">Mesh</string>
						<Vector3 name="Scale">
							<X>1.25</X>
							<Y>1.25</Y>
							<Z>1.25</Z>
						</Vector3>
						<Content name="TextureId"><null></null></Content>
						<Vector3 name="VertexColor">
							<X>1</X>
							<Y>1</Y>
							<Z>1</Z>
						</Vector3>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX851">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX852">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">0</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX853">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX854">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">0</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX855">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX856">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX857">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX858">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX859">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX860">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX861">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX862">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX863">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX864">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX865">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX866">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX867">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX868">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX869">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX870">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX871">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX872">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX873">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX874">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX875">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX876">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX877">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX878">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX879">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX880">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX881">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX882">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX883">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX884">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX885">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX886">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX887">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX888">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX889">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX890">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX891">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX892">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX893">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX894">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX895">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX896">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX897">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX898">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX899">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX900">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX901">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX902">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX903">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX904">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX905">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX906">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX907">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX908">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX909">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX910">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX911">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX912">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX913">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX914">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX915">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX916">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX917">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX918">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX919">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX920">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX921">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX922">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX923">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX924">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX925">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX926">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX927">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX928">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX929">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX930">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX931">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX932">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX933">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX934">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX935">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX936">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX937">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX938">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX939">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX940">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX941">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX942">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX943">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX944">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX945">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX946">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX947">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX948">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX949">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX950">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX951">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX952">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX953">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX954">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX955">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX956">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX957">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX958">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX959">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX960">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX961">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX962">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX963">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX964">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX965">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX966">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX967">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX968">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX969">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX970">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX971">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX972">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX973">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX974">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX975">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX976">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX977">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX978">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">0</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX979">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX980">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">0</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX981">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX982">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX983">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX984">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX985">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX986">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX987">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX988">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX989">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX990">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX991">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX992">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX993">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX994">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Decal" referent="RBX995">
					<Properties>
						<token name="Face">5</token>
						<string name="Name">face</string>
						<float name="Shiny">20</float>
						<float name="Specular">0</float>
						<Content name="Texture"><hash>b0c3fd281c77535b29d7d191d47d580e</hash></Content>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Weld" referent="RBX996">
					<Properties>
						<CoordinateFrame name="C0">
							<X>0</X>
							<Y>0.5</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="C1">
							<X>0</X>
							<Y>0.5</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">HeadWeld</string>
						<Ref name="Part0">RBX849</Ref>
						<Ref name="Part1">null</Ref>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Script" referent="RBX997">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">DoorScript2</string>
						<string name="Source">print(&quot;Omg a team door! Goodbye spawnkilling!&quot;) -- {made by:yourit12 modeled by:NintendoZACHERY}&#13;&#10;&#13;&#10;Door = script.Parent &#13;&#10;------------------------------------&#13;&#10;modelname=&quot;Admins&quot; -- Put the EXACT name of the team here&#13;&#10;------------------------------------&#13;&#10; &#13;&#10;function onTouched(hit) &#13;&#10;        print(&quot;Door Hit&quot;) &#13;&#10;        local human = hit.Parent:FindFirstChild(&quot;Humanoid&quot;) &#13;&#10;        if (human ~= nil ) then&#13;&#10;                if game.Players:playerFromCharacter(hit.Parent).TeamColor==game.Teams:findFirstChild(modelname).TeamColor then&#13;&#10;                        Door.CanCollide = false &#13;&#10;                        Door.Transparency = 0&#13;&#10;                        wait(1) &#13;&#10;                        Door.CanCollide = true &#13;&#10;                        Door.Transparency = 0 &#13;&#10;                        print(&quot;Human touched door&quot;) &#13;&#10;                else&#13;&#10;                        human.Health = 0&#13;&#10;                end&#13;&#10; &#13;&#10;        end &#13;&#10;end &#13;&#10; &#13;&#10;connection = Door.Touched:connect(onTouched)</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Script" referent="RBX998">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">Script</string>
						<string name="Source">function onTouched(hit)&#13;&#10;if hit.Name ~= &quot;tray&quot; then hit:remove() end&#13;&#10;end&#13;&#10;&#13;&#10;connection = script.Parent.Touched:connect(onTouched)&#13;&#10;</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Script" referent="RBX999">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">Script</string>
						<string name="Source">&#13;&#10;function onTouched(hit)&#13;&#10;&#9;local human = hit.Parent:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;if (human ~= nil) then&#13;&#10;&#9;&#9;human.Health = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if (script.Parent ~= nil) and (script.Parent.className == &quot;Part&quot;) then --Work if in a block&#13;&#10;&#9;connection = script.Parent.Touched:connect(onTouched)&#13;&#10;end&#13;&#10;</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
			</Item>
			<Item class="Humanoid" referent="RBX1000">
				<Properties>
					<float name="Health">100</float>
					<bool name="Jump">false</bool>
					<float name="MaxHealth">100</float>
					<string name="Name">Humanoid</string>
					<bool name="Sit">false</bool>
					<Vector3 name="TargetPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<Vector3 name="WalkDirection">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<float name="WalkRotationalVelocity">0</float>
					<Ref name="WalkToPart">null</Ref>
					<Vector3 name="WalkToPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX1001">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Health</string>
					<string name="Source">function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;-- declarations&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;Humanoid.Health=500&#13;&#10;-- regeneration&#13;&#10;while true do&#13;&#10;&#9;local s = wait(4)&#13;&#10;&#9;local health = Humanoid.Health&#13;&#10;&#9;if health &gt; 0 and health &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;health = health + 0.08 * s * Humanoid.MaxHealth&#13;&#10;&#9;&#9;if health * 1.05 &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;&#9;Humanoid.Health = health&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;Humanoid.Health = Humanoid.MaxHealth&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="BodyColors" referent="RBX1002">
				<Properties>
					<int name="HeadColor">24</int>
					<int name="LeftArmColor">28</int>
					<int name="LeftLegColor">28</int>
					<string name="Name">Body Colors</string>
					<int name="RightArmColor">28</int>
					<int name="RightLegColor">28</int>
					<int name="TorsoColor">28</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="IntValue" referent="RBX1003">
				<Properties>
					<string name="Name">Value</string>
					<int name="Value">0</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX1004">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Robot</string>
					<string name="Source">------------------&#13;&#10;--SPAWNING--&#13;&#10;------------------&#13;&#10;&#13;&#10;miked=script.Parent&#13;&#10;&#13;&#10;itlh=miked.Torso:findFirstChild(&quot;Left Hip&quot;)&#13;&#10;itlh.Part0=miked.Torso&#13;&#10;itlh.Part1=miked:findFirstChild(&quot;Left Leg&quot;)&#13;&#10;itlh.C0=CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;&#13;&#10;itrh=miked.Torso:findFirstChild(&quot;Right Hip&quot;)&#13;&#10;itrh.Part0=miked.Torso&#13;&#10;itrh.Part1=miked:findFirstChild(&quot;Right Leg&quot;)&#13;&#10;itrh.C0=CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;&#13;&#10;itls=miked.Torso:findFirstChild(&quot;Left Shoulder&quot;)&#13;&#10;itls.Part1=miked.Torso&#13;&#10;itls.C0=CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;itls.Part0=miked:findFirstChild(&quot;Left Arm&quot;)&#13;&#10;&#13;&#10;itrs=miked.Torso:findFirstChild(&quot;Right Shoulder&quot;)&#13;&#10;itrs.Part1=miked.Torso&#13;&#10;itrs.C0=CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;itrs.Part0=miked:findFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;miked.Head:makeJoints()&#13;&#10;------------------&#13;&#10;------------------&#13;&#10;&#13;&#10;&#13;&#10;function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Torso = waitForChild(Figure, &quot;Torso&quot;)&#13;&#10;local RightShoulder = waitForChild(Torso, &quot;Right Shoulder&quot;)&#13;&#10;local LeftShoulder = waitForChild(Torso, &quot;Left Shoulder&quot;)&#13;&#10;local RightHip = waitForChild(Torso, &quot;Right Hip&quot;)&#13;&#10;local LeftHip = waitForChild(Torso, &quot;Left Hip&quot;)&#13;&#10;local Neck = waitForChild(Torso, &quot;Neck&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;local pose = &quot;Standing&quot;&#13;&#10;&#13;&#10;local toolAnim = &quot;None&quot;&#13;&#10;local toolAnimTime = 0&#13;&#10;&#13;&#10;local isSeated = false&#13;&#10;&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if isSeated then return end&#13;&#10;&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;pose = &quot;Running&quot;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;pose = &quot;Standing&quot;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;pose = &quot;Dead&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onJumping()&#13;&#10;&#9;isSeated = false&#13;&#10;&#9;pose = &quot;Jumping&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onClimbing()&#13;&#10;&#9;pose = &quot;Climbing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onGettingUp()&#13;&#10;&#9;pose = &quot;GettingUp&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFreeFall()&#13;&#10;&#9;pose = &quot;FreeFall&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onDancing()&#13;&#10;&#9;pose = &quot;Dancing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFallingDown()&#13;&#10;&#9;pose = &quot;FallingDown&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onSeated()&#13;&#10;&#9;isSeated = true&#13;&#10;&#9;pose = &quot;Seated&quot;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function moveJump()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFreeFall()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1&#13;&#10;&#9;LeftShoulder.DesiredAngle = -1&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFloat()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = -1.57&#13;&#10;end&#13;&#10;&#13;&#10;function moveBoogy()&#13;&#10;while pose==&quot;Boogy&quot; do&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 1.57&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;function moveZombie()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function movePunch()&#13;&#10;&#9;script.Parent.Torso.Anchored=true&#13;&#10;&#9;RightShoulder.MaxVelocity = 60&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;script.Parent.Torso.Anchored=false&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveKick()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveFly()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function moveClimb()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveSit()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;RightHip.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftHip.DesiredAngle = -3.14 /2&#13;&#10;end&#13;&#10;&#13;&#10;function getTool()&#13;&#10;&#9;&#13;&#10;&#9;kidTable = Figure:children()&#13;&#10;&#9;if (kidTable ~= nil) then&#13;&#10;&#9;&#9;numKids = #kidTable&#13;&#10;&#9;&#9;for i=1,numKids do&#13;&#10;&#9;&#9;&#9;if (kidTable[i].className == &quot;Tool&quot;) then return kidTable[i] end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;c = tool:children()&#13;&#10;&#9;for i=1,#c do&#13;&#10;&#9;&#9;if (c[i].Name == &quot;toolanim&quot; and c[i].className == &quot;StringValue&quot;) then&#13;&#10;&#9;&#9;&#9;return c[i]&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function animateTool()&#13;&#10;&#9;&#13;&#10;&#9;if (toolAnim == &quot;None&quot;) then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Slash&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Lunge&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 1.0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 1.0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function move(time)&#13;&#10;&#9;local amplitude&#13;&#10;&#9;local frequency&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Jumping&quot;) then&#13;&#10;&#9;&#9;moveJump()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Zombie&quot;) then&#13;&#10;&#9;&#9;moveZombie()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Boogy&quot;) then&#13;&#10;&#9;&#9;moveBoogy()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Float&quot;) then&#13;&#10;&#9;&#9;moveFloat()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Punch&quot;) then&#13;&#10;&#9;&#9;movePunch()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Kick&quot;) then&#13;&#10;&#9;&#9;moveKick()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Fly&quot;) then&#13;&#10;&#9;&#9;moveFly()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;FreeFall&quot;) then&#13;&#10;&#9;&#9;moveFreeFall()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Climbing&quot;) then&#13;&#10;&#9;&#9;moveClimb()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Seated&quot;) then&#13;&#10;&#9;&#9;moveSit()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;amplitude = 0.1&#13;&#10;&#9;&#9;frequency = 1&#13;&#10;&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;if (pose == &quot;Running&quot;) then&#13;&#10;&#9;&#9;amplitude = 1&#13;&#10;&#9;&#9;frequency = 9&#13;&#10;&#9;elseif (pose == &quot;Dancing&quot;) then&#13;&#10;&#9;&#9;amplitude = 2&#13;&#10;&#9;&#9;frequency = 16&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#13;&#10;&#9;desiredAngle = amplitude * math.sin(time*frequency)&#13;&#10;&#9;if pose~=&quot;Dancing&quot; then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;else&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;end&#13;&#10;&#9;&#9;&#13;&#10;&#13;&#10;&#13;&#10;&#9;local tool = getTool()&#13;&#10;&#13;&#10;&#9;if tool ~= nil then&#13;&#10;&#9;&#13;&#10;&#9;&#9;animStringValueObject = getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;&#9;if animStringValueObject ~= nil then&#13;&#10;&#9;&#9;&#9;toolAnim = animStringValueObject.Value&#13;&#10;&#9;&#9;&#9;-- message recieved, delete StringValue&#13;&#10;&#9;&#9;&#9;animStringValueObject.Parent = nil&#13;&#10;&#9;&#9;&#9;toolAnimTime = time + .3&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if time &gt; toolAnimTime then&#13;&#10;&#9;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;animateTool()&#13;&#10;&#13;&#10;&#9;&#9;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;-- connect events&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;function unequip()&#13;&#10;&#9;local items=script.Parent:children()&#13;&#10;&#9;for i=1, #items do&#13;&#10;&#9;&#9;if items[i].className==&quot;Tool&quot; then items[i]:remove() end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onChatted(msg, recipient) &#13;&#10;&#9;msg = string.lower(msg)&#13;&#10;&#13;&#10;&#9;if string.match(msg, string.lower(script.Parent.Name))~=nil or string.match(msg, &quot;everyone&quot;) then&#13;&#10;&#9;&#9;if string.match(msg, &quot;equip&quot;) then &#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;Hub&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;if string.match(msg, &quot;rocket&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Rocket:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;slingshot&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Slingshot:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;sword&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Sword:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;pbg&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.PBG:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;superball&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Superball:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;trowel&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Trowel:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;bomb&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Bomb:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;unequip&quot;) then unequip() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;run&quot;) then onRunning(1) end&#13;&#10;&#9;&#9;if string.match(msg, &quot;climb&quot;) then onClimbing() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;jump&quot;) then onJumping() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;zombie&quot;) then pose=&quot;Zombie&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;disco&quot;) then pose=&quot;Boogy&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;float&quot;) then pose=&quot;Float&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;punch&quot;) then pose=&quot;Punch&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kick&quot;) then pose=&quot;Kick&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;fly&quot;) then pose=&quot;Fly&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;heal&quot;) then script.Parent.Humanoid.Health=script.Parent.Humanoid.MaxHealth end&#13;&#10;&#9;&#9;if string.match(msg, &quot;defend&quot;) then defence() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;stop&quot;) then pose=&quot;Standing&quot;; proxkill=false; following=false; stopmoving() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;go home&quot;) then following=false; gohome() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;follow&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;followany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;follow(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kill&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;attackany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;attack(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if game.Players.NumPlayers&gt;1 then&#13;&#10;&#9;x=game.Players:children()&#13;&#10;&#9;&#13;&#10;&#9;for i=1, #x do&#13;&#10;&#9;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function onPlayerEntered(Player) &#13;&#10;&#9;while Player.Name==nil do&#13;&#10;&#9;&#9;wait(2)&#13;&#10;&#9;end&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;end&#13;&#10;&#9;else&#13;&#10;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;game.Players.ChildAdded:connect(onPlayerEntered) &#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;dist=20&#13;&#10;&#13;&#10;function followany()&#13;&#10;following=true&#13;&#10;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 6 do&#13;&#10;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then stopmoving() else&#9;wait(0.5) end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function gohome()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(Vector3.new(0,0,0), game.Workspace.Bases.Base)&#13;&#10;end&#13;&#10;function stopmoving()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(script.Parent.Torso.Position, script.Parent.Torso)&#13;&#10;end&#13;&#10;&#13;&#10;function follow(name)&#13;&#10;&#9;following=true&#13;&#10;&#13;&#10;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;if p==nil then return end&#13;&#10;&#9;while following==true do&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attack(name)&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#9;&#9;following=true&#13;&#10;&#9;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;&#9;if p==nil then return end&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#9;local l=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((l.x-q.x)^2)+((l.y-q.y)^2)+((l.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;if (q.y-l.y)&gt;3 and (q.y-l.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attackany()&#13;&#10;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#13;&#10;&#9;following=true&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;slash()&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;if target.Parent==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then &#13;&#10;&#9;&#9;&#9;&#9;&#9;stopmoving() &#13;&#10;&#9;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=target.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if (q.y-p.y)&gt;3 and (q.y-p.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function patrol()&#13;&#10;&#9;if points==nil then&#13;&#10;&#9;&#9;points=0&#13;&#10;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp1&quot;)~=nil then&#13;&#10;&#9;&#9;pp1=game.Workspace:findFirstChild(&quot;pp1&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp2&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;pp2=game.Workspace:findFirstChild(&quot;pp2&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp3&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;pp3=game.Workspace:findFirstChild(&quot;pp3&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp4&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;pp4=game.Workspace:findFirstChild(&quot;pp4&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp5&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;pp5=game.Workspace:findFirstChild(&quot;pp5&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp6&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp6=game.Workspace:findFirstChild(&quot;pp6&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp7&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp7=game.Workspace:findFirstChild(&quot;pp7&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp8&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp8=game.Workspace:findFirstChild(&quot;pp8&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp9&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp9=game.Workspace:findFirstChild(&quot;pp9&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if points&lt;1 then return end&#13;&#10;&#9;patrolling=true&#13;&#10;&#9;local time=2&#13;&#10;&#9;if points==1 then return end&#13;&#10;&#9;if points&gt;1 then&#13;&#10;&#9;&#9;while patrolling==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp1.Position, pp1)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp2.Position, pp2)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;if points&gt;2 then&#13;&#10;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp3.Position, pp3)&#13;&#10;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;if points&gt;3 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp4.Position, pp4)&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;if points&gt;4 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp5.Position, pp5)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;5 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp6.Position, pp6)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;6 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp7.Position, pp7)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp8.Position, pp8)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp9.Position, pp9)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function goto(pos,part)&#13;&#10;while true do&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function slash()&#13;&#10;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;wait(.3)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -2.14&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;&#9;wait(.2)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function defence()&#13;&#10;&#9;proxkill=true&#13;&#10;&#9;while proxkill==true do&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local p=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if p~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local p=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;dist and d&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local ex=Instance.new(&quot;Explosion&quot;)&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Position=p&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Parent=game.Workspace&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#9;&#9;&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;wait(1)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(onJumping)&#13;&#10;Humanoid.Climbing:connect(onClimbing)&#13;&#10;Humanoid.GettingUp:connect(onGettingUp)&#13;&#10;Humanoid.FreeFalling:connect(onFreeFall)&#13;&#10;Humanoid.FallingDown:connect(onFallingDown)&#13;&#10;Humanoid.Seated:connect(onSeated)&#13;&#10;&#13;&#10;&#13;&#10;--[[&#13;&#10;&#13;&#10;function newSound(id)&#13;&#10;&#9;local sound = Instance.new(&quot;Sound&quot;)&#13;&#10;&#9;sound.SoundId = id&#13;&#10;&#9;sound.Parent = script.Parent.Head&#13;&#10;&#9;return sound&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;local sDied = newSound(&quot;rbxasset://sounds/uuhhh.wav&quot;)&#13;&#10;local sFallingDown = newSound(&quot;rbxasset://sounds/splat.wav&quot;)&#13;&#10;local sFreeFalling = newSound(&quot;rbxasset://sounds/swoosh.wav&quot;)&#13;&#10;local sGettingUp = newSound(&quot;rbxasset://sounds/hit.wav&quot;)&#13;&#10;local sJumping = newSound(&quot;rbxasset://sounds/button.wav&quot;)&#13;&#10;local sRunning = newSound(&quot;rbxasset://sounds/bfsl-minifigfoots1.mp3&quot;)&#13;&#10;sRunning.Looped = true&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;sDied:play()&#13;&#10;end&#13;&#10;&#13;&#10;function onState(state, sound)&#13;&#10;&#9;if state then&#13;&#10;&#9;&#9;sound:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sound:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;sRunning:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sRunning:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(function(state) onState(state, sJumping) end)&#13;&#10;Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end)&#13;&#10;Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end)&#13;&#10;Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end)&#13;&#10;--]]&#13;&#10;&#13;&#10;local nextTime = 0&#13;&#10;local runService = game:service(&quot;RunService&quot;);&#13;&#10;&#13;&#10;while Figure.Parent~=nil do&#13;&#10;&#9;time = runService.Stepped:wait()&#13;&#10;&#9;if time &gt; nextTime then&#13;&#10;&#9;&#9;move(time)&#13;&#10;&#9;&#9;nextTime = time + 0.1&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX1005">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Follow</string>
					<string name="Source">local larm = script.Parent:FindFirstChild(&quot;Left Arm&quot;)&#13;&#10;local rarm = script.Parent:FindFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;function findNearestTorso(pos)&#13;&#10;&#9;local list = game.Workspace:children()&#13;&#10;&#9;local torso = nil&#13;&#10;&#9;local dist = 25&#13;&#10;&#9;local temp = nil&#13;&#10;&#9;local human = nil&#13;&#10;&#9;local temp2 = nil&#13;&#10;&#9;for x = 1, #list do&#13;&#10;&#9;&#9;temp2 = list[x]&#13;&#10;&#9;&#9;if (temp2.className == &quot;Model&quot;) and (temp2 ~= script.Parent) then&#13;&#10;&#9;&#9;&#9;temp = temp2:findFirstChild(&quot;Torso&quot;)&#13;&#10;&#9;&#9;&#9;human = temp2:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;&#9;&#9;if (temp ~= nil) and (human ~= nil) and (human.Health &gt; 0) then&#13;&#10;&#9;&#9;&#9;&#9;if (temp.Position - pos).magnitude &lt; dist then&#13;&#10;&#9;&#9;&#9;&#9;&#9;torso = temp&#13;&#10;&#9;&#9;&#9;&#9;&#9;dist = (temp.Position - pos).magnitude&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return torso&#13;&#10;end&#13;&#10;&#13;&#10;while true do&#13;&#10;&#9;wait(0.1)&#13;&#10;&#9;local target = findNearestTorso(script.Parent.Torso.Position)&#13;&#10;&#9;if target ~= nil then&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#9;end&#13;&#10;end</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Model" referent="RBX1006">
			<Properties>
				<token name="Controller">7</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">Warrior</string>
				<Ref name="PrimaryPart">RBX1007</Ref>
				<bool name="archivable">true</bool>
			</Properties>
			<Item class="Part" referent="RBX1008">
				<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">38</int>
					<CoordinateFrame name="CFrame">
						<X>168.963287</X>
						<Y>1.31819403</Y>
						<Z>161.994431</Z>
						<R00>0.0267651565</R00>
						<R01>-0.000410648005</R01>
						<R02>-0.999641657</R02>
						<R10>0.00126509508</R10>
						<R11>0.999999106</R11>
						<R12>-0.000376922224</R12>
						<R20>0.999640942</R20>
						<R21>-0.00125455344</R21>
						<R22>0.026765652</R22>
					</CoordinateFrame>
					<bool name="CanCollide">true</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">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">Right Leg</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>1</X>
						<Y>2</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
				<Item class="Script" referent="RBX1009">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">Script</string>
						<string name="Source">function onTouched(hit)&#13;&#10;if hit.Name ~= &quot;tray&quot; then hit:remove() end&#13;&#10;end&#13;&#10;&#13;&#10;connection = script.Parent.Touched:connect(onTouched)&#13;&#10;</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Script" referent="RBX1010">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">Script</string>
						<string name="Source">&#13;&#10;function onTouched(hit)&#13;&#10;&#9;local human = hit.Parent:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;if (human ~= nil) then&#13;&#10;&#9;&#9;human.Health = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if (script.Parent ~= nil) and (script.Parent.className == &quot;Part&quot;) then --Work if in a block&#13;&#10;&#9;connection = script.Parent.Touched:connect(onTouched)&#13;&#10;end&#13;&#10;</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
			</Item>
			<Item class="Humanoid" referent="RBX1011">
				<Properties>
					<float name="Health">0</float>
					<bool name="Jump">false</bool>
					<float name="MaxHealth">100</float>
					<string name="Name">Humanoid</string>
					<bool name="Sit">false</bool>
					<Vector3 name="TargetPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<Vector3 name="WalkDirection">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<float name="WalkRotationalVelocity">0</float>
					<Ref name="WalkToPart">null</Ref>
					<Vector3 name="WalkToPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX1012">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Health</string>
					<string name="Source">function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;-- declarations&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;Humanoid.Health=500&#13;&#10;-- regeneration&#13;&#10;while true do&#13;&#10;&#9;local s = wait(4)&#13;&#10;&#9;local health = Humanoid.Health&#13;&#10;&#9;if health &gt; 0 and health &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;health = health + 0.08 * s * Humanoid.MaxHealth&#13;&#10;&#9;&#9;if health * 1.05 &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;&#9;Humanoid.Health = health&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;Humanoid.Health = Humanoid.MaxHealth&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="BodyColors" referent="RBX1013">
				<Properties>
					<int name="HeadColor">24</int>
					<int name="LeftArmColor">28</int>
					<int name="LeftLegColor">28</int>
					<string name="Name">Body Colors</string>
					<int name="RightArmColor">28</int>
					<int name="RightLegColor">28</int>
					<int name="TorsoColor">28</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="IntValue" referent="RBX1014">
				<Properties>
					<string name="Name">Value</string>
					<int name="Value">0</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Part" referent="RBX1007">
				<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">4</token>
					<token name="BottomSurfaceInput">0</token>
					<int name="BrickColor">141</int>
					<CoordinateFrame name="CFrame">
						<X>151.339478</X>
						<Y>0.890031159</Y>
						<Z>150.583603</Z>
						<R00>-0.829334199</R00>
						<R01>0.558752775</R01>
						<R02>7.60775902e-006</R02>
						<R10>1.10404953e-005</R10>
						<R11>2.81527514e-006</R11>
						<R12>0.99999994</R12>
						<R20>0.558752775</R20>
						<R21>0.829334199</R21>
						<R22>-8.45246632e-006</R22>
					</CoordinateFrame>
					<bool name="CanCollide">true</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">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">Right Arm</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>1</X>
						<Y>2</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
				<Item class="Script" referent="RBX1015">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">DoorScript2</string>
						<string name="Source">print(&quot;Omg a team door! Goodbye spawnkilling!&quot;) -- {made by:yourit12 modeled by:NintendoZACHERY}&#13;&#10;&#13;&#10;Door = script.Parent &#13;&#10;------------------------------------&#13;&#10;modelname=&quot;Admins&quot; -- Put the EXACT name of the team here&#13;&#10;------------------------------------&#13;&#10; &#13;&#10;function onTouched(hit) &#13;&#10;        print(&quot;Door Hit&quot;) &#13;&#10;        local human = hit.Parent:FindFirstChild(&quot;Humanoid&quot;) &#13;&#10;        if (human ~= nil ) then&#13;&#10;                if game.Players:playerFromCharacter(hit.Parent).TeamColor==game.Teams:findFirstChild(modelname).TeamColor then&#13;&#10;                        Door.CanCollide = false &#13;&#10;                        Door.Transparency = 0&#13;&#10;                        wait(1) &#13;&#10;                        Door.CanCollide = true &#13;&#10;                        Door.Transparency = 0 &#13;&#10;                        print(&quot;Human touched door&quot;) &#13;&#10;                else&#13;&#10;                        human.Health = 0&#13;&#10;                end&#13;&#10; &#13;&#10;        end &#13;&#10;end &#13;&#10; &#13;&#10;connection = Door.Touched:connect(onTouched)</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Script" referent="RBX1016">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">Script</string>
						<string name="Source">function onTouched(hit)&#13;&#10;if hit.Name ~= &quot;tray&quot; then hit:remove() end&#13;&#10;end&#13;&#10;&#13;&#10;connection = script.Parent.Touched:connect(onTouched)&#13;&#10;</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Script" referent="RBX1017">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">Script</string>
						<string name="Source">&#13;&#10;function onTouched(hit)&#13;&#10;&#9;local human = hit.Parent:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;if (human ~= nil) then&#13;&#10;&#9;&#9;human.Health = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if (script.Parent ~= nil) and (script.Parent.className == &quot;Part&quot;) then --Work if in a block&#13;&#10;&#9;connection = script.Parent.Touched:connect(onTouched)&#13;&#10;end&#13;&#10;</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
			</Item>
			<Item class="Script" referent="RBX1018">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Robot</string>
					<string name="Source">------------------&#13;&#10;--SPAWNING--&#13;&#10;------------------&#13;&#10;&#13;&#10;miked=script.Parent&#13;&#10;&#13;&#10;itlh=miked.Torso:findFirstChild(&quot;Left Hip&quot;)&#13;&#10;itlh.Part0=miked.Torso&#13;&#10;itlh.Part1=miked:findFirstChild(&quot;Left Leg&quot;)&#13;&#10;itlh.C0=CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;&#13;&#10;itrh=miked.Torso:findFirstChild(&quot;Right Hip&quot;)&#13;&#10;itrh.Part0=miked.Torso&#13;&#10;itrh.Part1=miked:findFirstChild(&quot;Right Leg&quot;)&#13;&#10;itrh.C0=CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;&#13;&#10;itls=miked.Torso:findFirstChild(&quot;Left Shoulder&quot;)&#13;&#10;itls.Part1=miked.Torso&#13;&#10;itls.C0=CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;itls.Part0=miked:findFirstChild(&quot;Left Arm&quot;)&#13;&#10;&#13;&#10;itrs=miked.Torso:findFirstChild(&quot;Right Shoulder&quot;)&#13;&#10;itrs.Part1=miked.Torso&#13;&#10;itrs.C0=CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;itrs.Part0=miked:findFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;miked.Head:makeJoints()&#13;&#10;------------------&#13;&#10;------------------&#13;&#10;&#13;&#10;&#13;&#10;function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Torso = waitForChild(Figure, &quot;Torso&quot;)&#13;&#10;local RightShoulder = waitForChild(Torso, &quot;Right Shoulder&quot;)&#13;&#10;local LeftShoulder = waitForChild(Torso, &quot;Left Shoulder&quot;)&#13;&#10;local RightHip = waitForChild(Torso, &quot;Right Hip&quot;)&#13;&#10;local LeftHip = waitForChild(Torso, &quot;Left Hip&quot;)&#13;&#10;local Neck = waitForChild(Torso, &quot;Neck&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;local pose = &quot;Standing&quot;&#13;&#10;&#13;&#10;local toolAnim = &quot;None&quot;&#13;&#10;local toolAnimTime = 0&#13;&#10;&#13;&#10;local isSeated = false&#13;&#10;&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if isSeated then return end&#13;&#10;&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;pose = &quot;Running&quot;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;pose = &quot;Standing&quot;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;pose = &quot;Dead&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onJumping()&#13;&#10;&#9;isSeated = false&#13;&#10;&#9;pose = &quot;Jumping&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onClimbing()&#13;&#10;&#9;pose = &quot;Climbing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onGettingUp()&#13;&#10;&#9;pose = &quot;GettingUp&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFreeFall()&#13;&#10;&#9;pose = &quot;FreeFall&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onDancing()&#13;&#10;&#9;pose = &quot;Dancing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFallingDown()&#13;&#10;&#9;pose = &quot;FallingDown&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onSeated()&#13;&#10;&#9;isSeated = true&#13;&#10;&#9;pose = &quot;Seated&quot;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function moveJump()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFreeFall()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1&#13;&#10;&#9;LeftShoulder.DesiredAngle = -1&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFloat()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = -1.57&#13;&#10;end&#13;&#10;&#13;&#10;function moveBoogy()&#13;&#10;while pose==&quot;Boogy&quot; do&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 1.57&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;function moveZombie()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function movePunch()&#13;&#10;&#9;script.Parent.Torso.Anchored=true&#13;&#10;&#9;RightShoulder.MaxVelocity = 60&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;script.Parent.Torso.Anchored=false&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveKick()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveFly()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function moveClimb()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveSit()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;RightHip.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftHip.DesiredAngle = -3.14 /2&#13;&#10;end&#13;&#10;&#13;&#10;function getTool()&#13;&#10;&#9;&#13;&#10;&#9;kidTable = Figure:children()&#13;&#10;&#9;if (kidTable ~= nil) then&#13;&#10;&#9;&#9;numKids = #kidTable&#13;&#10;&#9;&#9;for i=1,numKids do&#13;&#10;&#9;&#9;&#9;if (kidTable[i].className == &quot;Tool&quot;) then return kidTable[i] end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;c = tool:children()&#13;&#10;&#9;for i=1,#c do&#13;&#10;&#9;&#9;if (c[i].Name == &quot;toolanim&quot; and c[i].className == &quot;StringValue&quot;) then&#13;&#10;&#9;&#9;&#9;return c[i]&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function animateTool()&#13;&#10;&#9;&#13;&#10;&#9;if (toolAnim == &quot;None&quot;) then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Slash&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Lunge&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 1.0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 1.0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function move(time)&#13;&#10;&#9;local amplitude&#13;&#10;&#9;local frequency&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Jumping&quot;) then&#13;&#10;&#9;&#9;moveJump()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Zombie&quot;) then&#13;&#10;&#9;&#9;moveZombie()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Boogy&quot;) then&#13;&#10;&#9;&#9;moveBoogy()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Float&quot;) then&#13;&#10;&#9;&#9;moveFloat()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Punch&quot;) then&#13;&#10;&#9;&#9;movePunch()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Kick&quot;) then&#13;&#10;&#9;&#9;moveKick()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Fly&quot;) then&#13;&#10;&#9;&#9;moveFly()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;FreeFall&quot;) then&#13;&#10;&#9;&#9;moveFreeFall()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Climbing&quot;) then&#13;&#10;&#9;&#9;moveClimb()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Seated&quot;) then&#13;&#10;&#9;&#9;moveSit()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;amplitude = 0.1&#13;&#10;&#9;&#9;frequency = 1&#13;&#10;&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;if (pose == &quot;Running&quot;) then&#13;&#10;&#9;&#9;amplitude = 1&#13;&#10;&#9;&#9;frequency = 9&#13;&#10;&#9;elseif (pose == &quot;Dancing&quot;) then&#13;&#10;&#9;&#9;amplitude = 2&#13;&#10;&#9;&#9;frequency = 16&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#13;&#10;&#9;desiredAngle = amplitude * math.sin(time*frequency)&#13;&#10;&#9;if pose~=&quot;Dancing&quot; then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;else&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;end&#13;&#10;&#9;&#9;&#13;&#10;&#13;&#10;&#13;&#10;&#9;local tool = getTool()&#13;&#10;&#13;&#10;&#9;if tool ~= nil then&#13;&#10;&#9;&#13;&#10;&#9;&#9;animStringValueObject = getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;&#9;if animStringValueObject ~= nil then&#13;&#10;&#9;&#9;&#9;toolAnim = animStringValueObject.Value&#13;&#10;&#9;&#9;&#9;-- message recieved, delete StringValue&#13;&#10;&#9;&#9;&#9;animStringValueObject.Parent = nil&#13;&#10;&#9;&#9;&#9;toolAnimTime = time + .3&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if time &gt; toolAnimTime then&#13;&#10;&#9;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;animateTool()&#13;&#10;&#13;&#10;&#9;&#9;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;-- connect events&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;function unequip()&#13;&#10;&#9;local items=script.Parent:children()&#13;&#10;&#9;for i=1, #items do&#13;&#10;&#9;&#9;if items[i].className==&quot;Tool&quot; then items[i]:remove() end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onChatted(msg, recipient) &#13;&#10;&#9;msg = string.lower(msg)&#13;&#10;&#13;&#10;&#9;if string.match(msg, string.lower(script.Parent.Name))~=nil or string.match(msg, &quot;everyone&quot;) then&#13;&#10;&#9;&#9;if string.match(msg, &quot;equip&quot;) then &#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;Hub&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;if string.match(msg, &quot;rocket&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Rocket:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;slingshot&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Slingshot:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;sword&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Sword:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;pbg&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.PBG:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;superball&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Superball:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;trowel&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Trowel:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;bomb&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Bomb:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;unequip&quot;) then unequip() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;run&quot;) then onRunning(1) end&#13;&#10;&#9;&#9;if string.match(msg, &quot;climb&quot;) then onClimbing() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;jump&quot;) then onJumping() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;zombie&quot;) then pose=&quot;Zombie&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;disco&quot;) then pose=&quot;Boogy&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;float&quot;) then pose=&quot;Float&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;punch&quot;) then pose=&quot;Punch&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kick&quot;) then pose=&quot;Kick&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;fly&quot;) then pose=&quot;Fly&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;heal&quot;) then script.Parent.Humanoid.Health=script.Parent.Humanoid.MaxHealth end&#13;&#10;&#9;&#9;if string.match(msg, &quot;defend&quot;) then defence() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;stop&quot;) then pose=&quot;Standing&quot;; proxkill=false; following=false; stopmoving() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;go home&quot;) then following=false; gohome() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;follow&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;followany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;follow(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kill&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;attackany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;attack(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if game.Players.NumPlayers&gt;1 then&#13;&#10;&#9;x=game.Players:children()&#13;&#10;&#9;&#13;&#10;&#9;for i=1, #x do&#13;&#10;&#9;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function onPlayerEntered(Player) &#13;&#10;&#9;while Player.Name==nil do&#13;&#10;&#9;&#9;wait(2)&#13;&#10;&#9;end&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;end&#13;&#10;&#9;else&#13;&#10;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;game.Players.ChildAdded:connect(onPlayerEntered) &#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;dist=20&#13;&#10;&#13;&#10;function followany()&#13;&#10;following=true&#13;&#10;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 6 do&#13;&#10;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then stopmoving() else&#9;wait(0.5) end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function gohome()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(Vector3.new(0,0,0), game.Workspace.Bases.Base)&#13;&#10;end&#13;&#10;function stopmoving()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(script.Parent.Torso.Position, script.Parent.Torso)&#13;&#10;end&#13;&#10;&#13;&#10;function follow(name)&#13;&#10;&#9;following=true&#13;&#10;&#13;&#10;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;if p==nil then return end&#13;&#10;&#9;while following==true do&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attack(name)&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#9;&#9;following=true&#13;&#10;&#9;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;&#9;if p==nil then return end&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#9;local l=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((l.x-q.x)^2)+((l.y-q.y)^2)+((l.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;if (q.y-l.y)&gt;3 and (q.y-l.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attackany()&#13;&#10;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#13;&#10;&#9;following=true&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;slash()&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;if target.Parent==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then &#13;&#10;&#9;&#9;&#9;&#9;&#9;stopmoving() &#13;&#10;&#9;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=target.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if (q.y-p.y)&gt;3 and (q.y-p.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function patrol()&#13;&#10;&#9;if points==nil then&#13;&#10;&#9;&#9;points=0&#13;&#10;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp1&quot;)~=nil then&#13;&#10;&#9;&#9;pp1=game.Workspace:findFirstChild(&quot;pp1&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp2&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;pp2=game.Workspace:findFirstChild(&quot;pp2&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp3&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;pp3=game.Workspace:findFirstChild(&quot;pp3&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp4&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;pp4=game.Workspace:findFirstChild(&quot;pp4&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp5&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;pp5=game.Workspace:findFirstChild(&quot;pp5&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp6&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp6=game.Workspace:findFirstChild(&quot;pp6&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp7&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp7=game.Workspace:findFirstChild(&quot;pp7&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp8&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp8=game.Workspace:findFirstChild(&quot;pp8&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp9&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp9=game.Workspace:findFirstChild(&quot;pp9&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if points&lt;1 then return end&#13;&#10;&#9;patrolling=true&#13;&#10;&#9;local time=2&#13;&#10;&#9;if points==1 then return end&#13;&#10;&#9;if points&gt;1 then&#13;&#10;&#9;&#9;while patrolling==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp1.Position, pp1)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp2.Position, pp2)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;if points&gt;2 then&#13;&#10;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp3.Position, pp3)&#13;&#10;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;if points&gt;3 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp4.Position, pp4)&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;if points&gt;4 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp5.Position, pp5)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;5 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp6.Position, pp6)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;6 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp7.Position, pp7)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp8.Position, pp8)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp9.Position, pp9)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function goto(pos,part)&#13;&#10;while true do&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function slash()&#13;&#10;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;wait(.3)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -2.14&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;&#9;wait(.2)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function defence()&#13;&#10;&#9;proxkill=true&#13;&#10;&#9;while proxkill==true do&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local p=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if p~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local p=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;dist and d&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local ex=Instance.new(&quot;Explosion&quot;)&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Position=p&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Parent=game.Workspace&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#9;&#9;&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;wait(1)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(onJumping)&#13;&#10;Humanoid.Climbing:connect(onClimbing)&#13;&#10;Humanoid.GettingUp:connect(onGettingUp)&#13;&#10;Humanoid.FreeFalling:connect(onFreeFall)&#13;&#10;Humanoid.FallingDown:connect(onFallingDown)&#13;&#10;Humanoid.Seated:connect(onSeated)&#13;&#10;&#13;&#10;&#13;&#10;--[[&#13;&#10;&#13;&#10;function newSound(id)&#13;&#10;&#9;local sound = Instance.new(&quot;Sound&quot;)&#13;&#10;&#9;sound.SoundId = id&#13;&#10;&#9;sound.Parent = script.Parent.Head&#13;&#10;&#9;return sound&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;local sDied = newSound(&quot;rbxasset://sounds/uuhhh.wav&quot;)&#13;&#10;local sFallingDown = newSound(&quot;rbxasset://sounds/splat.wav&quot;)&#13;&#10;local sFreeFalling = newSound(&quot;rbxasset://sounds/swoosh.wav&quot;)&#13;&#10;local sGettingUp = newSound(&quot;rbxasset://sounds/hit.wav&quot;)&#13;&#10;local sJumping = newSound(&quot;rbxasset://sounds/button.wav&quot;)&#13;&#10;local sRunning = newSound(&quot;rbxasset://sounds/bfsl-minifigfoots1.mp3&quot;)&#13;&#10;sRunning.Looped = true&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;sDied:play()&#13;&#10;end&#13;&#10;&#13;&#10;function onState(state, sound)&#13;&#10;&#9;if state then&#13;&#10;&#9;&#9;sound:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sound:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;sRunning:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sRunning:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(function(state) onState(state, sJumping) end)&#13;&#10;Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end)&#13;&#10;Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end)&#13;&#10;Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end)&#13;&#10;--]]&#13;&#10;&#13;&#10;local nextTime = 0&#13;&#10;local runService = game:service(&quot;RunService&quot;);&#13;&#10;&#13;&#10;while Figure.Parent~=nil do&#13;&#10;&#9;time = runService.Stepped:wait()&#13;&#10;&#9;if time &gt; nextTime then&#13;&#10;&#9;&#9;move(time)&#13;&#10;&#9;&#9;nextTime = time + 0.1&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX1019">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Follow</string>
					<string name="Source">local larm = script.Parent:FindFirstChild(&quot;Left Arm&quot;)&#13;&#10;local rarm = script.Parent:FindFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;function findNearestTorso(pos)&#13;&#10;&#9;local list = game.Workspace:children()&#13;&#10;&#9;local torso = nil&#13;&#10;&#9;local dist = 25&#13;&#10;&#9;local temp = nil&#13;&#10;&#9;local human = nil&#13;&#10;&#9;local temp2 = nil&#13;&#10;&#9;for x = 1, #list do&#13;&#10;&#9;&#9;temp2 = list[x]&#13;&#10;&#9;&#9;if (temp2.className == &quot;Model&quot;) and (temp2 ~= script.Parent) then&#13;&#10;&#9;&#9;&#9;temp = temp2:findFirstChild(&quot;Torso&quot;)&#13;&#10;&#9;&#9;&#9;human = temp2:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;&#9;&#9;if (temp ~= nil) and (human ~= nil) and (human.Health &gt; 0) then&#13;&#10;&#9;&#9;&#9;&#9;if (temp.Position - pos).magnitude &lt; dist then&#13;&#10;&#9;&#9;&#9;&#9;&#9;torso = temp&#13;&#10;&#9;&#9;&#9;&#9;&#9;dist = (temp.Position - pos).magnitude&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return torso&#13;&#10;end&#13;&#10;&#13;&#10;while true do&#13;&#10;&#9;wait(0.1)&#13;&#10;&#9;local target = findNearestTorso(script.Parent.Torso.Position)&#13;&#10;&#9;if target ~= nil then&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#9;end&#13;&#10;end</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Model" referent="RBX1020">
			<Properties>
				<token name="Controller">7</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">Warrior</string>
				<Ref name="PrimaryPart">null</Ref>
				<bool name="archivable">true</bool>
			</Properties>
			<Item class="Humanoid" referent="RBX1021">
				<Properties>
					<float name="Health">0</float>
					<bool name="Jump">false</bool>
					<float name="MaxHealth">100</float>
					<string name="Name">Humanoid</string>
					<bool name="Sit">false</bool>
					<Vector3 name="TargetPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<Vector3 name="WalkDirection">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<float name="WalkRotationalVelocity">0</float>
					<Ref name="WalkToPart">null</Ref>
					<Vector3 name="WalkToPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX1022">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Health</string>
					<string name="Source">function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;-- declarations&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;Humanoid.Health=500&#13;&#10;-- regeneration&#13;&#10;while true do&#13;&#10;&#9;local s = wait(4)&#13;&#10;&#9;local health = Humanoid.Health&#13;&#10;&#9;if health &gt; 0 and health &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;health = health + 0.08 * s * Humanoid.MaxHealth&#13;&#10;&#9;&#9;if health * 1.05 &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;&#9;Humanoid.Health = health&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;Humanoid.Health = Humanoid.MaxHealth&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="BodyColors" referent="RBX1023">
				<Properties>
					<int name="HeadColor">24</int>
					<int name="LeftArmColor">28</int>
					<int name="LeftLegColor">28</int>
					<string name="Name">Body Colors</string>
					<int name="RightArmColor">28</int>
					<int name="RightLegColor">28</int>
					<int name="TorsoColor">28</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="IntValue" referent="RBX1024">
				<Properties>
					<string name="Name">Value</string>
					<int name="Value">0</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX1025">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Robot</string>
					<string name="Source">------------------&#13;&#10;--SPAWNING--&#13;&#10;------------------&#13;&#10;&#13;&#10;miked=script.Parent&#13;&#10;&#13;&#10;itlh=miked.Torso:findFirstChild(&quot;Left Hip&quot;)&#13;&#10;itlh.Part0=miked.Torso&#13;&#10;itlh.Part1=miked:findFirstChild(&quot;Left Leg&quot;)&#13;&#10;itlh.C0=CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;&#13;&#10;itrh=miked.Torso:findFirstChild(&quot;Right Hip&quot;)&#13;&#10;itrh.Part0=miked.Torso&#13;&#10;itrh.Part1=miked:findFirstChild(&quot;Right Leg&quot;)&#13;&#10;itrh.C0=CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;&#13;&#10;itls=miked.Torso:findFirstChild(&quot;Left Shoulder&quot;)&#13;&#10;itls.Part1=miked.Torso&#13;&#10;itls.C0=CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;itls.Part0=miked:findFirstChild(&quot;Left Arm&quot;)&#13;&#10;&#13;&#10;itrs=miked.Torso:findFirstChild(&quot;Right Shoulder&quot;)&#13;&#10;itrs.Part1=miked.Torso&#13;&#10;itrs.C0=CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;itrs.Part0=miked:findFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;miked.Head:makeJoints()&#13;&#10;------------------&#13;&#10;------------------&#13;&#10;&#13;&#10;&#13;&#10;function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Torso = waitForChild(Figure, &quot;Torso&quot;)&#13;&#10;local RightShoulder = waitForChild(Torso, &quot;Right Shoulder&quot;)&#13;&#10;local LeftShoulder = waitForChild(Torso, &quot;Left Shoulder&quot;)&#13;&#10;local RightHip = waitForChild(Torso, &quot;Right Hip&quot;)&#13;&#10;local LeftHip = waitForChild(Torso, &quot;Left Hip&quot;)&#13;&#10;local Neck = waitForChild(Torso, &quot;Neck&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;local pose = &quot;Standing&quot;&#13;&#10;&#13;&#10;local toolAnim = &quot;None&quot;&#13;&#10;local toolAnimTime = 0&#13;&#10;&#13;&#10;local isSeated = false&#13;&#10;&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if isSeated then return end&#13;&#10;&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;pose = &quot;Running&quot;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;pose = &quot;Standing&quot;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;pose = &quot;Dead&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onJumping()&#13;&#10;&#9;isSeated = false&#13;&#10;&#9;pose = &quot;Jumping&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onClimbing()&#13;&#10;&#9;pose = &quot;Climbing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onGettingUp()&#13;&#10;&#9;pose = &quot;GettingUp&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFreeFall()&#13;&#10;&#9;pose = &quot;FreeFall&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onDancing()&#13;&#10;&#9;pose = &quot;Dancing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFallingDown()&#13;&#10;&#9;pose = &quot;FallingDown&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onSeated()&#13;&#10;&#9;isSeated = true&#13;&#10;&#9;pose = &quot;Seated&quot;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function moveJump()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFreeFall()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1&#13;&#10;&#9;LeftShoulder.DesiredAngle = -1&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFloat()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = -1.57&#13;&#10;end&#13;&#10;&#13;&#10;function moveBoogy()&#13;&#10;while pose==&quot;Boogy&quot; do&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 1.57&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;function moveZombie()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function movePunch()&#13;&#10;&#9;script.Parent.Torso.Anchored=true&#13;&#10;&#9;RightShoulder.MaxVelocity = 60&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;script.Parent.Torso.Anchored=false&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveKick()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveFly()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function moveClimb()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveSit()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;RightHip.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftHip.DesiredAngle = -3.14 /2&#13;&#10;end&#13;&#10;&#13;&#10;function getTool()&#13;&#10;&#9;&#13;&#10;&#9;kidTable = Figure:children()&#13;&#10;&#9;if (kidTable ~= nil) then&#13;&#10;&#9;&#9;numKids = #kidTable&#13;&#10;&#9;&#9;for i=1,numKids do&#13;&#10;&#9;&#9;&#9;if (kidTable[i].className == &quot;Tool&quot;) then return kidTable[i] end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;c = tool:children()&#13;&#10;&#9;for i=1,#c do&#13;&#10;&#9;&#9;if (c[i].Name == &quot;toolanim&quot; and c[i].className == &quot;StringValue&quot;) then&#13;&#10;&#9;&#9;&#9;return c[i]&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function animateTool()&#13;&#10;&#9;&#13;&#10;&#9;if (toolAnim == &quot;None&quot;) then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Slash&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Lunge&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 1.0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 1.0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function move(time)&#13;&#10;&#9;local amplitude&#13;&#10;&#9;local frequency&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Jumping&quot;) then&#13;&#10;&#9;&#9;moveJump()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Zombie&quot;) then&#13;&#10;&#9;&#9;moveZombie()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Boogy&quot;) then&#13;&#10;&#9;&#9;moveBoogy()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Float&quot;) then&#13;&#10;&#9;&#9;moveFloat()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Punch&quot;) then&#13;&#10;&#9;&#9;movePunch()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Kick&quot;) then&#13;&#10;&#9;&#9;moveKick()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Fly&quot;) then&#13;&#10;&#9;&#9;moveFly()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;FreeFall&quot;) then&#13;&#10;&#9;&#9;moveFreeFall()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Climbing&quot;) then&#13;&#10;&#9;&#9;moveClimb()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Seated&quot;) then&#13;&#10;&#9;&#9;moveSit()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;amplitude = 0.1&#13;&#10;&#9;&#9;frequency = 1&#13;&#10;&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;if (pose == &quot;Running&quot;) then&#13;&#10;&#9;&#9;amplitude = 1&#13;&#10;&#9;&#9;frequency = 9&#13;&#10;&#9;elseif (pose == &quot;Dancing&quot;) then&#13;&#10;&#9;&#9;amplitude = 2&#13;&#10;&#9;&#9;frequency = 16&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#13;&#10;&#9;desiredAngle = amplitude * math.sin(time*frequency)&#13;&#10;&#9;if pose~=&quot;Dancing&quot; then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;else&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;end&#13;&#10;&#9;&#9;&#13;&#10;&#13;&#10;&#13;&#10;&#9;local tool = getTool()&#13;&#10;&#13;&#10;&#9;if tool ~= nil then&#13;&#10;&#9;&#13;&#10;&#9;&#9;animStringValueObject = getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;&#9;if animStringValueObject ~= nil then&#13;&#10;&#9;&#9;&#9;toolAnim = animStringValueObject.Value&#13;&#10;&#9;&#9;&#9;-- message recieved, delete StringValue&#13;&#10;&#9;&#9;&#9;animStringValueObject.Parent = nil&#13;&#10;&#9;&#9;&#9;toolAnimTime = time + .3&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if time &gt; toolAnimTime then&#13;&#10;&#9;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;animateTool()&#13;&#10;&#13;&#10;&#9;&#9;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;-- connect events&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;function unequip()&#13;&#10;&#9;local items=script.Parent:children()&#13;&#10;&#9;for i=1, #items do&#13;&#10;&#9;&#9;if items[i].className==&quot;Tool&quot; then items[i]:remove() end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onChatted(msg, recipient) &#13;&#10;&#9;msg = string.lower(msg)&#13;&#10;&#13;&#10;&#9;if string.match(msg, string.lower(script.Parent.Name))~=nil or string.match(msg, &quot;everyone&quot;) then&#13;&#10;&#9;&#9;if string.match(msg, &quot;equip&quot;) then &#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;Hub&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;if string.match(msg, &quot;rocket&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Rocket:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;slingshot&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Slingshot:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;sword&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Sword:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;pbg&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.PBG:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;superball&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Superball:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;trowel&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Trowel:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;bomb&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Bomb:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;unequip&quot;) then unequip() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;run&quot;) then onRunning(1) end&#13;&#10;&#9;&#9;if string.match(msg, &quot;climb&quot;) then onClimbing() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;jump&quot;) then onJumping() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;zombie&quot;) then pose=&quot;Zombie&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;disco&quot;) then pose=&quot;Boogy&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;float&quot;) then pose=&quot;Float&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;punch&quot;) then pose=&quot;Punch&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kick&quot;) then pose=&quot;Kick&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;fly&quot;) then pose=&quot;Fly&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;heal&quot;) then script.Parent.Humanoid.Health=script.Parent.Humanoid.MaxHealth end&#13;&#10;&#9;&#9;if string.match(msg, &quot;defend&quot;) then defence() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;stop&quot;) then pose=&quot;Standing&quot;; proxkill=false; following=false; stopmoving() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;go home&quot;) then following=false; gohome() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;follow&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;followany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;follow(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kill&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;attackany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;attack(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if game.Players.NumPlayers&gt;1 then&#13;&#10;&#9;x=game.Players:children()&#13;&#10;&#9;&#13;&#10;&#9;for i=1, #x do&#13;&#10;&#9;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function onPlayerEntered(Player) &#13;&#10;&#9;while Player.Name==nil do&#13;&#10;&#9;&#9;wait(2)&#13;&#10;&#9;end&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;end&#13;&#10;&#9;else&#13;&#10;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;game.Players.ChildAdded:connect(onPlayerEntered) &#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;dist=20&#13;&#10;&#13;&#10;function followany()&#13;&#10;following=true&#13;&#10;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 6 do&#13;&#10;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then stopmoving() else&#9;wait(0.5) end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function gohome()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(Vector3.new(0,0,0), game.Workspace.Bases.Base)&#13;&#10;end&#13;&#10;function stopmoving()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(script.Parent.Torso.Position, script.Parent.Torso)&#13;&#10;end&#13;&#10;&#13;&#10;function follow(name)&#13;&#10;&#9;following=true&#13;&#10;&#13;&#10;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;if p==nil then return end&#13;&#10;&#9;while following==true do&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attack(name)&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#9;&#9;following=true&#13;&#10;&#9;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;&#9;if p==nil then return end&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#9;local l=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((l.x-q.x)^2)+((l.y-q.y)^2)+((l.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;if (q.y-l.y)&gt;3 and (q.y-l.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attackany()&#13;&#10;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#13;&#10;&#9;following=true&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;slash()&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;if target.Parent==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then &#13;&#10;&#9;&#9;&#9;&#9;&#9;stopmoving() &#13;&#10;&#9;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=target.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if (q.y-p.y)&gt;3 and (q.y-p.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function patrol()&#13;&#10;&#9;if points==nil then&#13;&#10;&#9;&#9;points=0&#13;&#10;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp1&quot;)~=nil then&#13;&#10;&#9;&#9;pp1=game.Workspace:findFirstChild(&quot;pp1&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp2&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;pp2=game.Workspace:findFirstChild(&quot;pp2&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp3&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;pp3=game.Workspace:findFirstChild(&quot;pp3&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp4&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;pp4=game.Workspace:findFirstChild(&quot;pp4&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp5&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;pp5=game.Workspace:findFirstChild(&quot;pp5&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp6&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp6=game.Workspace:findFirstChild(&quot;pp6&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp7&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp7=game.Workspace:findFirstChild(&quot;pp7&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp8&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp8=game.Workspace:findFirstChild(&quot;pp8&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp9&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp9=game.Workspace:findFirstChild(&quot;pp9&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if points&lt;1 then return end&#13;&#10;&#9;patrolling=true&#13;&#10;&#9;local time=2&#13;&#10;&#9;if points==1 then return end&#13;&#10;&#9;if points&gt;1 then&#13;&#10;&#9;&#9;while patrolling==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp1.Position, pp1)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp2.Position, pp2)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;if points&gt;2 then&#13;&#10;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp3.Position, pp3)&#13;&#10;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;if points&gt;3 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp4.Position, pp4)&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;if points&gt;4 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp5.Position, pp5)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;5 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp6.Position, pp6)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;6 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp7.Position, pp7)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp8.Position, pp8)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp9.Position, pp9)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function goto(pos,part)&#13;&#10;while true do&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function slash()&#13;&#10;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;wait(.3)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -2.14&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;&#9;wait(.2)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function defence()&#13;&#10;&#9;proxkill=true&#13;&#10;&#9;while proxkill==true do&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local p=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if p~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local p=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;dist and d&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local ex=Instance.new(&quot;Explosion&quot;)&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Position=p&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Parent=game.Workspace&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#9;&#9;&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;wait(1)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(onJumping)&#13;&#10;Humanoid.Climbing:connect(onClimbing)&#13;&#10;Humanoid.GettingUp:connect(onGettingUp)&#13;&#10;Humanoid.FreeFalling:connect(onFreeFall)&#13;&#10;Humanoid.FallingDown:connect(onFallingDown)&#13;&#10;Humanoid.Seated:connect(onSeated)&#13;&#10;&#13;&#10;&#13;&#10;--[[&#13;&#10;&#13;&#10;function newSound(id)&#13;&#10;&#9;local sound = Instance.new(&quot;Sound&quot;)&#13;&#10;&#9;sound.SoundId = id&#13;&#10;&#9;sound.Parent = script.Parent.Head&#13;&#10;&#9;return sound&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;local sDied = newSound(&quot;rbxasset://sounds/uuhhh.wav&quot;)&#13;&#10;local sFallingDown = newSound(&quot;rbxasset://sounds/splat.wav&quot;)&#13;&#10;local sFreeFalling = newSound(&quot;rbxasset://sounds/swoosh.wav&quot;)&#13;&#10;local sGettingUp = newSound(&quot;rbxasset://sounds/hit.wav&quot;)&#13;&#10;local sJumping = newSound(&quot;rbxasset://sounds/button.wav&quot;)&#13;&#10;local sRunning = newSound(&quot;rbxasset://sounds/bfsl-minifigfoots1.mp3&quot;)&#13;&#10;sRunning.Looped = true&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;sDied:play()&#13;&#10;end&#13;&#10;&#13;&#10;function onState(state, sound)&#13;&#10;&#9;if state then&#13;&#10;&#9;&#9;sound:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sound:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;sRunning:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sRunning:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(function(state) onState(state, sJumping) end)&#13;&#10;Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end)&#13;&#10;Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end)&#13;&#10;Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end)&#13;&#10;--]]&#13;&#10;&#13;&#10;local nextTime = 0&#13;&#10;local runService = game:service(&quot;RunService&quot;);&#13;&#10;&#13;&#10;while Figure.Parent~=nil do&#13;&#10;&#9;time = runService.Stepped:wait()&#13;&#10;&#9;if time &gt; nextTime then&#13;&#10;&#9;&#9;move(time)&#13;&#10;&#9;&#9;nextTime = time + 0.1&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX1026">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Follow</string>
					<string name="Source">local larm = script.Parent:FindFirstChild(&quot;Left Arm&quot;)&#13;&#10;local rarm = script.Parent:FindFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;function findNearestTorso(pos)&#13;&#10;&#9;local list = game.Workspace:children()&#13;&#10;&#9;local torso = nil&#13;&#10;&#9;local dist = 25&#13;&#10;&#9;local temp = nil&#13;&#10;&#9;local human = nil&#13;&#10;&#9;local temp2 = nil&#13;&#10;&#9;for x = 1, #list do&#13;&#10;&#9;&#9;temp2 = list[x]&#13;&#10;&#9;&#9;if (temp2.className == &quot;Model&quot;) and (temp2 ~= script.Parent) then&#13;&#10;&#9;&#9;&#9;temp = temp2:findFirstChild(&quot;Torso&quot;)&#13;&#10;&#9;&#9;&#9;human = temp2:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;&#9;&#9;if (temp ~= nil) and (human ~= nil) and (human.Health &gt; 0) then&#13;&#10;&#9;&#9;&#9;&#9;if (temp.Position - pos).magnitude &lt; dist then&#13;&#10;&#9;&#9;&#9;&#9;&#9;torso = temp&#13;&#10;&#9;&#9;&#9;&#9;&#9;dist = (temp.Position - pos).magnitude&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return torso&#13;&#10;end&#13;&#10;&#13;&#10;while true do&#13;&#10;&#9;wait(0.1)&#13;&#10;&#9;local target = findNearestTorso(script.Parent.Torso.Position)&#13;&#10;&#9;if target ~= nil then&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#9;end&#13;&#10;end</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Model" referent="RBX1027">
			<Properties>
				<token name="Controller">7</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">Warrior</string>
				<Ref name="PrimaryPart">RBX1028</Ref>
				<bool name="archivable">true</bool>
			</Properties>
			<Item class="Part" referent="RBX1028">
				<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">4</token>
					<token name="BottomSurfaceInput">0</token>
					<int name="BrickColor">217</int>
					<CoordinateFrame name="CFrame">
						<X>168.836761</X>
						<Y>0.889985025</Y>
						<Z>176.007446</Z>
						<R00>-0.812662721</R00>
						<R01>-0.582734466</R01>
						<R02>-1.05561767e-005</R02>
						<R10>3.1158263e-006</R10>
						<R11>1.37203851e-005</R11>
						<R12>-1</R12>
						<R20>0.582734466</R20>
						<R21>-0.812662661</R21>
						<R22>-9.38553876e-006</R22>
					</CoordinateFrame>
					<bool name="CanCollide">true</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">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">Head</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>2</X>
						<Y>1</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
				<Item class="SpecialMesh" referent="RBX1029">
					<Properties>
						<Content name="MeshId"><null></null></Content>
						<token name="MeshType">0</token>
						<string name="Name">Mesh</string>
						<Vector3 name="Scale">
							<X>1.25</X>
							<Y>1.25</Y>
							<Z>1.25</Z>
						</Vector3>
						<Content name="TextureId"><null></null></Content>
						<Vector3 name="VertexColor">
							<X>1</X>
							<Y>1</Y>
							<Z>1</Z>
						</Vector3>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1030">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1031">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">0</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1032">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1033">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">0</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1034">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1035">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1036">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1037">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1038">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1039">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1040">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1041">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1042">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1043">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1044">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1045">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1046">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1047">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1048">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1049">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1050">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1051">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1052">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1053">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1054">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1055">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1056">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1057">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1058">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1059">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1060">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1061">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1062">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1063">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1064">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1065">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1066">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1067">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1068">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1069">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1070">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1071">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1072">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1073">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1074">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1075">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1076">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1077">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1078">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1079">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1080">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1081">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1082">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1083">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1084">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1085">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1086">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1087">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1088">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1089">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1090">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1091">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1092">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1093">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1094">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1095">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1096">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1097">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1098">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1099">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1100">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1101">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1102">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1103">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1104">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1105">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1106">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1107">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1108">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1109">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1110">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1111">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1112">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1113">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1114">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1115">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1116">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1117">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1118">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1119">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1120">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1121">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1122">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1123">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1124">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1125">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1126">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1127">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1128">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1129">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1130">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1131">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1132">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1133">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1134">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1135">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1136">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1137">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1138">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1139">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1140">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1141">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1142">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1143">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1144">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1145">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1146">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1147">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1148">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1149">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1150">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1151">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1152">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1153">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1154">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1155">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1156">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1157">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">0</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1158">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1159">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">0</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1160">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1161">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1162">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1163">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1164">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1165">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1166">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1167">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1168">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1169">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1170">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1171">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1172">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1173">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Decal" referent="RBX1174">
					<Properties>
						<token name="Face">5</token>
						<string name="Name">face</string>
						<float name="Shiny">20</float>
						<float name="Specular">0</float>
						<Content name="Texture"><hash>b0c3fd281c77535b29d7d191d47d580e</hash></Content>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Weld" referent="RBX1175">
					<Properties>
						<CoordinateFrame name="C0">
							<X>0</X>
							<Y>0.5</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="C1">
							<X>0</X>
							<Y>0.5</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">HeadWeld</string>
						<Ref name="Part0">RBX1028</Ref>
						<Ref name="Part1">null</Ref>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Script" referent="RBX1176">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">DoorScript2</string>
						<string name="Source">print(&quot;Omg a team door! Goodbye spawnkilling!&quot;) -- {made by:yourit12 modeled by:NintendoZACHERY}&#13;&#10;&#13;&#10;Door = script.Parent &#13;&#10;------------------------------------&#13;&#10;modelname=&quot;Admins&quot; -- Put the EXACT name of the team here&#13;&#10;------------------------------------&#13;&#10; &#13;&#10;function onTouched(hit) &#13;&#10;        print(&quot;Door Hit&quot;) &#13;&#10;        local human = hit.Parent:FindFirstChild(&quot;Humanoid&quot;) &#13;&#10;        if (human ~= nil ) then&#13;&#10;                if game.Players:playerFromCharacter(hit.Parent).TeamColor==game.Teams:findFirstChild(modelname).TeamColor then&#13;&#10;                        Door.CanCollide = false &#13;&#10;                        Door.Transparency = 0&#13;&#10;                        wait(1) &#13;&#10;                        Door.CanCollide = true &#13;&#10;                        Door.Transparency = 0 &#13;&#10;                        print(&quot;Human touched door&quot;) &#13;&#10;                else&#13;&#10;                        human.Health = 0&#13;&#10;                end&#13;&#10; &#13;&#10;        end &#13;&#10;end &#13;&#10; &#13;&#10;connection = Door.Touched:connect(onTouched)</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Script" referent="RBX1177">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">Script</string>
						<string name="Source">function onTouched(hit)&#13;&#10;if hit.Name ~= &quot;tray&quot; then hit:remove() end&#13;&#10;end&#13;&#10;&#13;&#10;connection = script.Parent.Touched:connect(onTouched)&#13;&#10;</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Script" referent="RBX1178">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">Script</string>
						<string name="Source">&#13;&#10;function onTouched(hit)&#13;&#10;&#9;local human = hit.Parent:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;if (human ~= nil) then&#13;&#10;&#9;&#9;human.Health = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if (script.Parent ~= nil) and (script.Parent.className == &quot;Part&quot;) then --Work if in a block&#13;&#10;&#9;connection = script.Parent.Touched:connect(onTouched)&#13;&#10;end&#13;&#10;</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
			</Item>
			<Item class="Humanoid" referent="RBX1179">
				<Properties>
					<float name="Health">100</float>
					<bool name="Jump">false</bool>
					<float name="MaxHealth">100</float>
					<string name="Name">Humanoid</string>
					<bool name="Sit">false</bool>
					<Vector3 name="TargetPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<Vector3 name="WalkDirection">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<float name="WalkRotationalVelocity">0</float>
					<Ref name="WalkToPart">null</Ref>
					<Vector3 name="WalkToPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX1180">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Health</string>
					<string name="Source">function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;-- declarations&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;Humanoid.Health=500&#13;&#10;-- regeneration&#13;&#10;while true do&#13;&#10;&#9;local s = wait(4)&#13;&#10;&#9;local health = Humanoid.Health&#13;&#10;&#9;if health &gt; 0 and health &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;health = health + 0.08 * s * Humanoid.MaxHealth&#13;&#10;&#9;&#9;if health * 1.05 &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;&#9;Humanoid.Health = health&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;Humanoid.Health = Humanoid.MaxHealth&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="BodyColors" referent="RBX1181">
				<Properties>
					<int name="HeadColor">24</int>
					<int name="LeftArmColor">28</int>
					<int name="LeftLegColor">28</int>
					<string name="Name">Body Colors</string>
					<int name="RightArmColor">28</int>
					<int name="RightLegColor">28</int>
					<int name="TorsoColor">28</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="IntValue" referent="RBX1182">
				<Properties>
					<string name="Name">Value</string>
					<int name="Value">0</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX1183">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Robot</string>
					<string name="Source">------------------&#13;&#10;--SPAWNING--&#13;&#10;------------------&#13;&#10;&#13;&#10;miked=script.Parent&#13;&#10;&#13;&#10;itlh=miked.Torso:findFirstChild(&quot;Left Hip&quot;)&#13;&#10;itlh.Part0=miked.Torso&#13;&#10;itlh.Part1=miked:findFirstChild(&quot;Left Leg&quot;)&#13;&#10;itlh.C0=CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;&#13;&#10;itrh=miked.Torso:findFirstChild(&quot;Right Hip&quot;)&#13;&#10;itrh.Part0=miked.Torso&#13;&#10;itrh.Part1=miked:findFirstChild(&quot;Right Leg&quot;)&#13;&#10;itrh.C0=CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;&#13;&#10;itls=miked.Torso:findFirstChild(&quot;Left Shoulder&quot;)&#13;&#10;itls.Part1=miked.Torso&#13;&#10;itls.C0=CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;itls.Part0=miked:findFirstChild(&quot;Left Arm&quot;)&#13;&#10;&#13;&#10;itrs=miked.Torso:findFirstChild(&quot;Right Shoulder&quot;)&#13;&#10;itrs.Part1=miked.Torso&#13;&#10;itrs.C0=CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;itrs.Part0=miked:findFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;miked.Head:makeJoints()&#13;&#10;------------------&#13;&#10;------------------&#13;&#10;&#13;&#10;&#13;&#10;function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Torso = waitForChild(Figure, &quot;Torso&quot;)&#13;&#10;local RightShoulder = waitForChild(Torso, &quot;Right Shoulder&quot;)&#13;&#10;local LeftShoulder = waitForChild(Torso, &quot;Left Shoulder&quot;)&#13;&#10;local RightHip = waitForChild(Torso, &quot;Right Hip&quot;)&#13;&#10;local LeftHip = waitForChild(Torso, &quot;Left Hip&quot;)&#13;&#10;local Neck = waitForChild(Torso, &quot;Neck&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;local pose = &quot;Standing&quot;&#13;&#10;&#13;&#10;local toolAnim = &quot;None&quot;&#13;&#10;local toolAnimTime = 0&#13;&#10;&#13;&#10;local isSeated = false&#13;&#10;&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if isSeated then return end&#13;&#10;&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;pose = &quot;Running&quot;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;pose = &quot;Standing&quot;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;pose = &quot;Dead&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onJumping()&#13;&#10;&#9;isSeated = false&#13;&#10;&#9;pose = &quot;Jumping&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onClimbing()&#13;&#10;&#9;pose = &quot;Climbing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onGettingUp()&#13;&#10;&#9;pose = &quot;GettingUp&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFreeFall()&#13;&#10;&#9;pose = &quot;FreeFall&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onDancing()&#13;&#10;&#9;pose = &quot;Dancing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFallingDown()&#13;&#10;&#9;pose = &quot;FallingDown&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onSeated()&#13;&#10;&#9;isSeated = true&#13;&#10;&#9;pose = &quot;Seated&quot;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function moveJump()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFreeFall()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1&#13;&#10;&#9;LeftShoulder.DesiredAngle = -1&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFloat()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = -1.57&#13;&#10;end&#13;&#10;&#13;&#10;function moveBoogy()&#13;&#10;while pose==&quot;Boogy&quot; do&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 1.57&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;function moveZombie()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function movePunch()&#13;&#10;&#9;script.Parent.Torso.Anchored=true&#13;&#10;&#9;RightShoulder.MaxVelocity = 60&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;script.Parent.Torso.Anchored=false&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveKick()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveFly()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function moveClimb()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveSit()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;RightHip.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftHip.DesiredAngle = -3.14 /2&#13;&#10;end&#13;&#10;&#13;&#10;function getTool()&#13;&#10;&#9;&#13;&#10;&#9;kidTable = Figure:children()&#13;&#10;&#9;if (kidTable ~= nil) then&#13;&#10;&#9;&#9;numKids = #kidTable&#13;&#10;&#9;&#9;for i=1,numKids do&#13;&#10;&#9;&#9;&#9;if (kidTable[i].className == &quot;Tool&quot;) then return kidTable[i] end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;c = tool:children()&#13;&#10;&#9;for i=1,#c do&#13;&#10;&#9;&#9;if (c[i].Name == &quot;toolanim&quot; and c[i].className == &quot;StringValue&quot;) then&#13;&#10;&#9;&#9;&#9;return c[i]&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function animateTool()&#13;&#10;&#9;&#13;&#10;&#9;if (toolAnim == &quot;None&quot;) then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Slash&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Lunge&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 1.0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 1.0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function move(time)&#13;&#10;&#9;local amplitude&#13;&#10;&#9;local frequency&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Jumping&quot;) then&#13;&#10;&#9;&#9;moveJump()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Zombie&quot;) then&#13;&#10;&#9;&#9;moveZombie()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Boogy&quot;) then&#13;&#10;&#9;&#9;moveBoogy()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Float&quot;) then&#13;&#10;&#9;&#9;moveFloat()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Punch&quot;) then&#13;&#10;&#9;&#9;movePunch()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Kick&quot;) then&#13;&#10;&#9;&#9;moveKick()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Fly&quot;) then&#13;&#10;&#9;&#9;moveFly()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;FreeFall&quot;) then&#13;&#10;&#9;&#9;moveFreeFall()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Climbing&quot;) then&#13;&#10;&#9;&#9;moveClimb()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Seated&quot;) then&#13;&#10;&#9;&#9;moveSit()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;amplitude = 0.1&#13;&#10;&#9;&#9;frequency = 1&#13;&#10;&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;if (pose == &quot;Running&quot;) then&#13;&#10;&#9;&#9;amplitude = 1&#13;&#10;&#9;&#9;frequency = 9&#13;&#10;&#9;elseif (pose == &quot;Dancing&quot;) then&#13;&#10;&#9;&#9;amplitude = 2&#13;&#10;&#9;&#9;frequency = 16&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#13;&#10;&#9;desiredAngle = amplitude * math.sin(time*frequency)&#13;&#10;&#9;if pose~=&quot;Dancing&quot; then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;else&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;end&#13;&#10;&#9;&#9;&#13;&#10;&#13;&#10;&#13;&#10;&#9;local tool = getTool()&#13;&#10;&#13;&#10;&#9;if tool ~= nil then&#13;&#10;&#9;&#13;&#10;&#9;&#9;animStringValueObject = getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;&#9;if animStringValueObject ~= nil then&#13;&#10;&#9;&#9;&#9;toolAnim = animStringValueObject.Value&#13;&#10;&#9;&#9;&#9;-- message recieved, delete StringValue&#13;&#10;&#9;&#9;&#9;animStringValueObject.Parent = nil&#13;&#10;&#9;&#9;&#9;toolAnimTime = time + .3&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if time &gt; toolAnimTime then&#13;&#10;&#9;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;animateTool()&#13;&#10;&#13;&#10;&#9;&#9;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;-- connect events&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;function unequip()&#13;&#10;&#9;local items=script.Parent:children()&#13;&#10;&#9;for i=1, #items do&#13;&#10;&#9;&#9;if items[i].className==&quot;Tool&quot; then items[i]:remove() end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onChatted(msg, recipient) &#13;&#10;&#9;msg = string.lower(msg)&#13;&#10;&#13;&#10;&#9;if string.match(msg, string.lower(script.Parent.Name))~=nil or string.match(msg, &quot;everyone&quot;) then&#13;&#10;&#9;&#9;if string.match(msg, &quot;equip&quot;) then &#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;Hub&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;if string.match(msg, &quot;rocket&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Rocket:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;slingshot&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Slingshot:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;sword&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Sword:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;pbg&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.PBG:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;superball&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Superball:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;trowel&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Trowel:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;bomb&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Bomb:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;unequip&quot;) then unequip() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;run&quot;) then onRunning(1) end&#13;&#10;&#9;&#9;if string.match(msg, &quot;climb&quot;) then onClimbing() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;jump&quot;) then onJumping() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;zombie&quot;) then pose=&quot;Zombie&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;disco&quot;) then pose=&quot;Boogy&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;float&quot;) then pose=&quot;Float&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;punch&quot;) then pose=&quot;Punch&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kick&quot;) then pose=&quot;Kick&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;fly&quot;) then pose=&quot;Fly&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;heal&quot;) then script.Parent.Humanoid.Health=script.Parent.Humanoid.MaxHealth end&#13;&#10;&#9;&#9;if string.match(msg, &quot;defend&quot;) then defence() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;stop&quot;) then pose=&quot;Standing&quot;; proxkill=false; following=false; stopmoving() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;go home&quot;) then following=false; gohome() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;follow&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;followany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;follow(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kill&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;attackany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;attack(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if game.Players.NumPlayers&gt;1 then&#13;&#10;&#9;x=game.Players:children()&#13;&#10;&#9;&#13;&#10;&#9;for i=1, #x do&#13;&#10;&#9;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function onPlayerEntered(Player) &#13;&#10;&#9;while Player.Name==nil do&#13;&#10;&#9;&#9;wait(2)&#13;&#10;&#9;end&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;end&#13;&#10;&#9;else&#13;&#10;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;game.Players.ChildAdded:connect(onPlayerEntered) &#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;dist=20&#13;&#10;&#13;&#10;function followany()&#13;&#10;following=true&#13;&#10;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 6 do&#13;&#10;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then stopmoving() else&#9;wait(0.5) end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function gohome()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(Vector3.new(0,0,0), game.Workspace.Bases.Base)&#13;&#10;end&#13;&#10;function stopmoving()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(script.Parent.Torso.Position, script.Parent.Torso)&#13;&#10;end&#13;&#10;&#13;&#10;function follow(name)&#13;&#10;&#9;following=true&#13;&#10;&#13;&#10;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;if p==nil then return end&#13;&#10;&#9;while following==true do&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attack(name)&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#9;&#9;following=true&#13;&#10;&#9;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;&#9;if p==nil then return end&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#9;local l=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((l.x-q.x)^2)+((l.y-q.y)^2)+((l.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;if (q.y-l.y)&gt;3 and (q.y-l.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attackany()&#13;&#10;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#13;&#10;&#9;following=true&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;slash()&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;if target.Parent==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then &#13;&#10;&#9;&#9;&#9;&#9;&#9;stopmoving() &#13;&#10;&#9;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=target.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if (q.y-p.y)&gt;3 and (q.y-p.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function patrol()&#13;&#10;&#9;if points==nil then&#13;&#10;&#9;&#9;points=0&#13;&#10;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp1&quot;)~=nil then&#13;&#10;&#9;&#9;pp1=game.Workspace:findFirstChild(&quot;pp1&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp2&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;pp2=game.Workspace:findFirstChild(&quot;pp2&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp3&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;pp3=game.Workspace:findFirstChild(&quot;pp3&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp4&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;pp4=game.Workspace:findFirstChild(&quot;pp4&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp5&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;pp5=game.Workspace:findFirstChild(&quot;pp5&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp6&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp6=game.Workspace:findFirstChild(&quot;pp6&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp7&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp7=game.Workspace:findFirstChild(&quot;pp7&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp8&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp8=game.Workspace:findFirstChild(&quot;pp8&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp9&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp9=game.Workspace:findFirstChild(&quot;pp9&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if points&lt;1 then return end&#13;&#10;&#9;patrolling=true&#13;&#10;&#9;local time=2&#13;&#10;&#9;if points==1 then return end&#13;&#10;&#9;if points&gt;1 then&#13;&#10;&#9;&#9;while patrolling==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp1.Position, pp1)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp2.Position, pp2)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;if points&gt;2 then&#13;&#10;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp3.Position, pp3)&#13;&#10;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;if points&gt;3 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp4.Position, pp4)&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;if points&gt;4 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp5.Position, pp5)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;5 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp6.Position, pp6)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;6 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp7.Position, pp7)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp8.Position, pp8)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp9.Position, pp9)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function goto(pos,part)&#13;&#10;while true do&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function slash()&#13;&#10;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;wait(.3)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -2.14&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;&#9;wait(.2)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function defence()&#13;&#10;&#9;proxkill=true&#13;&#10;&#9;while proxkill==true do&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local p=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if p~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local p=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;dist and d&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local ex=Instance.new(&quot;Explosion&quot;)&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Position=p&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Parent=game.Workspace&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#9;&#9;&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;wait(1)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(onJumping)&#13;&#10;Humanoid.Climbing:connect(onClimbing)&#13;&#10;Humanoid.GettingUp:connect(onGettingUp)&#13;&#10;Humanoid.FreeFalling:connect(onFreeFall)&#13;&#10;Humanoid.FallingDown:connect(onFallingDown)&#13;&#10;Humanoid.Seated:connect(onSeated)&#13;&#10;&#13;&#10;&#13;&#10;--[[&#13;&#10;&#13;&#10;function newSound(id)&#13;&#10;&#9;local sound = Instance.new(&quot;Sound&quot;)&#13;&#10;&#9;sound.SoundId = id&#13;&#10;&#9;sound.Parent = script.Parent.Head&#13;&#10;&#9;return sound&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;local sDied = newSound(&quot;rbxasset://sounds/uuhhh.wav&quot;)&#13;&#10;local sFallingDown = newSound(&quot;rbxasset://sounds/splat.wav&quot;)&#13;&#10;local sFreeFalling = newSound(&quot;rbxasset://sounds/swoosh.wav&quot;)&#13;&#10;local sGettingUp = newSound(&quot;rbxasset://sounds/hit.wav&quot;)&#13;&#10;local sJumping = newSound(&quot;rbxasset://sounds/button.wav&quot;)&#13;&#10;local sRunning = newSound(&quot;rbxasset://sounds/bfsl-minifigfoots1.mp3&quot;)&#13;&#10;sRunning.Looped = true&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;sDied:play()&#13;&#10;end&#13;&#10;&#13;&#10;function onState(state, sound)&#13;&#10;&#9;if state then&#13;&#10;&#9;&#9;sound:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sound:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;sRunning:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sRunning:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(function(state) onState(state, sJumping) end)&#13;&#10;Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end)&#13;&#10;Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end)&#13;&#10;Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end)&#13;&#10;--]]&#13;&#10;&#13;&#10;local nextTime = 0&#13;&#10;local runService = game:service(&quot;RunService&quot;);&#13;&#10;&#13;&#10;while Figure.Parent~=nil do&#13;&#10;&#9;time = runService.Stepped:wait()&#13;&#10;&#9;if time &gt; nextTime then&#13;&#10;&#9;&#9;move(time)&#13;&#10;&#9;&#9;nextTime = time + 0.1&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX1184">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Follow</string>
					<string name="Source">local larm = script.Parent:FindFirstChild(&quot;Left Arm&quot;)&#13;&#10;local rarm = script.Parent:FindFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;function findNearestTorso(pos)&#13;&#10;&#9;local list = game.Workspace:children()&#13;&#10;&#9;local torso = nil&#13;&#10;&#9;local dist = 25&#13;&#10;&#9;local temp = nil&#13;&#10;&#9;local human = nil&#13;&#10;&#9;local temp2 = nil&#13;&#10;&#9;for x = 1, #list do&#13;&#10;&#9;&#9;temp2 = list[x]&#13;&#10;&#9;&#9;if (temp2.className == &quot;Model&quot;) and (temp2 ~= script.Parent) then&#13;&#10;&#9;&#9;&#9;temp = temp2:findFirstChild(&quot;Torso&quot;)&#13;&#10;&#9;&#9;&#9;human = temp2:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;&#9;&#9;if (temp ~= nil) and (human ~= nil) and (human.Health &gt; 0) then&#13;&#10;&#9;&#9;&#9;&#9;if (temp.Position - pos).magnitude &lt; dist then&#13;&#10;&#9;&#9;&#9;&#9;&#9;torso = temp&#13;&#10;&#9;&#9;&#9;&#9;&#9;dist = (temp.Position - pos).magnitude&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return torso&#13;&#10;end&#13;&#10;&#13;&#10;while true do&#13;&#10;&#9;wait(0.1)&#13;&#10;&#9;local target = findNearestTorso(script.Parent.Torso.Position)&#13;&#10;&#9;if target ~= nil then&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#9;end&#13;&#10;end</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Model" referent="RBX1185">
			<Properties>
				<token name="Controller">7</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">Warrior</string>
				<Ref name="PrimaryPart">null</Ref>
				<bool name="archivable">true</bool>
			</Properties>
			<Item class="Humanoid" referent="RBX1186">
				<Properties>
					<float name="Health">0</float>
					<bool name="Jump">false</bool>
					<float name="MaxHealth">100</float>
					<string name="Name">Humanoid</string>
					<bool name="Sit">false</bool>
					<Vector3 name="TargetPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<Vector3 name="WalkDirection">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<float name="WalkRotationalVelocity">0</float>
					<Ref name="WalkToPart">null</Ref>
					<Vector3 name="WalkToPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX1187">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Health</string>
					<string name="Source">function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;-- declarations&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;Humanoid.Health=500&#13;&#10;-- regeneration&#13;&#10;while true do&#13;&#10;&#9;local s = wait(4)&#13;&#10;&#9;local health = Humanoid.Health&#13;&#10;&#9;if health &gt; 0 and health &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;health = health + 0.08 * s * Humanoid.MaxHealth&#13;&#10;&#9;&#9;if health * 1.05 &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;&#9;Humanoid.Health = health&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;Humanoid.Health = Humanoid.MaxHealth&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="BodyColors" referent="RBX1188">
				<Properties>
					<int name="HeadColor">24</int>
					<int name="LeftArmColor">28</int>
					<int name="LeftLegColor">28</int>
					<string name="Name">Body Colors</string>
					<int name="RightArmColor">28</int>
					<int name="RightLegColor">28</int>
					<int name="TorsoColor">28</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="IntValue" referent="RBX1189">
				<Properties>
					<string name="Name">Value</string>
					<int name="Value">0</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX1190">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Robot</string>
					<string name="Source">------------------&#13;&#10;--SPAWNING--&#13;&#10;------------------&#13;&#10;&#13;&#10;miked=script.Parent&#13;&#10;&#13;&#10;itlh=miked.Torso:findFirstChild(&quot;Left Hip&quot;)&#13;&#10;itlh.Part0=miked.Torso&#13;&#10;itlh.Part1=miked:findFirstChild(&quot;Left Leg&quot;)&#13;&#10;itlh.C0=CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;&#13;&#10;itrh=miked.Torso:findFirstChild(&quot;Right Hip&quot;)&#13;&#10;itrh.Part0=miked.Torso&#13;&#10;itrh.Part1=miked:findFirstChild(&quot;Right Leg&quot;)&#13;&#10;itrh.C0=CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;&#13;&#10;itls=miked.Torso:findFirstChild(&quot;Left Shoulder&quot;)&#13;&#10;itls.Part1=miked.Torso&#13;&#10;itls.C0=CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;itls.Part0=miked:findFirstChild(&quot;Left Arm&quot;)&#13;&#10;&#13;&#10;itrs=miked.Torso:findFirstChild(&quot;Right Shoulder&quot;)&#13;&#10;itrs.Part1=miked.Torso&#13;&#10;itrs.C0=CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;itrs.Part0=miked:findFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;miked.Head:makeJoints()&#13;&#10;------------------&#13;&#10;------------------&#13;&#10;&#13;&#10;&#13;&#10;function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Torso = waitForChild(Figure, &quot;Torso&quot;)&#13;&#10;local RightShoulder = waitForChild(Torso, &quot;Right Shoulder&quot;)&#13;&#10;local LeftShoulder = waitForChild(Torso, &quot;Left Shoulder&quot;)&#13;&#10;local RightHip = waitForChild(Torso, &quot;Right Hip&quot;)&#13;&#10;local LeftHip = waitForChild(Torso, &quot;Left Hip&quot;)&#13;&#10;local Neck = waitForChild(Torso, &quot;Neck&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;local pose = &quot;Standing&quot;&#13;&#10;&#13;&#10;local toolAnim = &quot;None&quot;&#13;&#10;local toolAnimTime = 0&#13;&#10;&#13;&#10;local isSeated = false&#13;&#10;&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if isSeated then return end&#13;&#10;&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;pose = &quot;Running&quot;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;pose = &quot;Standing&quot;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;pose = &quot;Dead&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onJumping()&#13;&#10;&#9;isSeated = false&#13;&#10;&#9;pose = &quot;Jumping&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onClimbing()&#13;&#10;&#9;pose = &quot;Climbing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onGettingUp()&#13;&#10;&#9;pose = &quot;GettingUp&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFreeFall()&#13;&#10;&#9;pose = &quot;FreeFall&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onDancing()&#13;&#10;&#9;pose = &quot;Dancing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFallingDown()&#13;&#10;&#9;pose = &quot;FallingDown&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onSeated()&#13;&#10;&#9;isSeated = true&#13;&#10;&#9;pose = &quot;Seated&quot;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function moveJump()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFreeFall()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1&#13;&#10;&#9;LeftShoulder.DesiredAngle = -1&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFloat()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = -1.57&#13;&#10;end&#13;&#10;&#13;&#10;function moveBoogy()&#13;&#10;while pose==&quot;Boogy&quot; do&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 1.57&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;function moveZombie()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function movePunch()&#13;&#10;&#9;script.Parent.Torso.Anchored=true&#13;&#10;&#9;RightShoulder.MaxVelocity = 60&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;script.Parent.Torso.Anchored=false&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveKick()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveFly()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function moveClimb()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveSit()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;RightHip.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftHip.DesiredAngle = -3.14 /2&#13;&#10;end&#13;&#10;&#13;&#10;function getTool()&#13;&#10;&#9;&#13;&#10;&#9;kidTable = Figure:children()&#13;&#10;&#9;if (kidTable ~= nil) then&#13;&#10;&#9;&#9;numKids = #kidTable&#13;&#10;&#9;&#9;for i=1,numKids do&#13;&#10;&#9;&#9;&#9;if (kidTable[i].className == &quot;Tool&quot;) then return kidTable[i] end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;c = tool:children()&#13;&#10;&#9;for i=1,#c do&#13;&#10;&#9;&#9;if (c[i].Name == &quot;toolanim&quot; and c[i].className == &quot;StringValue&quot;) then&#13;&#10;&#9;&#9;&#9;return c[i]&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function animateTool()&#13;&#10;&#9;&#13;&#10;&#9;if (toolAnim == &quot;None&quot;) then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Slash&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Lunge&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 1.0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 1.0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function move(time)&#13;&#10;&#9;local amplitude&#13;&#10;&#9;local frequency&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Jumping&quot;) then&#13;&#10;&#9;&#9;moveJump()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Zombie&quot;) then&#13;&#10;&#9;&#9;moveZombie()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Boogy&quot;) then&#13;&#10;&#9;&#9;moveBoogy()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Float&quot;) then&#13;&#10;&#9;&#9;moveFloat()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Punch&quot;) then&#13;&#10;&#9;&#9;movePunch()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Kick&quot;) then&#13;&#10;&#9;&#9;moveKick()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Fly&quot;) then&#13;&#10;&#9;&#9;moveFly()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;FreeFall&quot;) then&#13;&#10;&#9;&#9;moveFreeFall()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Climbing&quot;) then&#13;&#10;&#9;&#9;moveClimb()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Seated&quot;) then&#13;&#10;&#9;&#9;moveSit()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;amplitude = 0.1&#13;&#10;&#9;&#9;frequency = 1&#13;&#10;&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;if (pose == &quot;Running&quot;) then&#13;&#10;&#9;&#9;amplitude = 1&#13;&#10;&#9;&#9;frequency = 9&#13;&#10;&#9;elseif (pose == &quot;Dancing&quot;) then&#13;&#10;&#9;&#9;amplitude = 2&#13;&#10;&#9;&#9;frequency = 16&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#13;&#10;&#9;desiredAngle = amplitude * math.sin(time*frequency)&#13;&#10;&#9;if pose~=&quot;Dancing&quot; then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;else&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;end&#13;&#10;&#9;&#9;&#13;&#10;&#13;&#10;&#13;&#10;&#9;local tool = getTool()&#13;&#10;&#13;&#10;&#9;if tool ~= nil then&#13;&#10;&#9;&#13;&#10;&#9;&#9;animStringValueObject = getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;&#9;if animStringValueObject ~= nil then&#13;&#10;&#9;&#9;&#9;toolAnim = animStringValueObject.Value&#13;&#10;&#9;&#9;&#9;-- message recieved, delete StringValue&#13;&#10;&#9;&#9;&#9;animStringValueObject.Parent = nil&#13;&#10;&#9;&#9;&#9;toolAnimTime = time + .3&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if time &gt; toolAnimTime then&#13;&#10;&#9;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;animateTool()&#13;&#10;&#13;&#10;&#9;&#9;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;-- connect events&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;function unequip()&#13;&#10;&#9;local items=script.Parent:children()&#13;&#10;&#9;for i=1, #items do&#13;&#10;&#9;&#9;if items[i].className==&quot;Tool&quot; then items[i]:remove() end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onChatted(msg, recipient) &#13;&#10;&#9;msg = string.lower(msg)&#13;&#10;&#13;&#10;&#9;if string.match(msg, string.lower(script.Parent.Name))~=nil or string.match(msg, &quot;everyone&quot;) then&#13;&#10;&#9;&#9;if string.match(msg, &quot;equip&quot;) then &#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;Hub&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;if string.match(msg, &quot;rocket&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Rocket:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;slingshot&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Slingshot:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;sword&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Sword:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;pbg&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.PBG:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;superball&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Superball:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;trowel&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Trowel:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;bomb&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Bomb:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;unequip&quot;) then unequip() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;run&quot;) then onRunning(1) end&#13;&#10;&#9;&#9;if string.match(msg, &quot;climb&quot;) then onClimbing() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;jump&quot;) then onJumping() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;zombie&quot;) then pose=&quot;Zombie&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;disco&quot;) then pose=&quot;Boogy&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;float&quot;) then pose=&quot;Float&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;punch&quot;) then pose=&quot;Punch&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kick&quot;) then pose=&quot;Kick&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;fly&quot;) then pose=&quot;Fly&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;heal&quot;) then script.Parent.Humanoid.Health=script.Parent.Humanoid.MaxHealth end&#13;&#10;&#9;&#9;if string.match(msg, &quot;defend&quot;) then defence() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;stop&quot;) then pose=&quot;Standing&quot;; proxkill=false; following=false; stopmoving() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;go home&quot;) then following=false; gohome() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;follow&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;followany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;follow(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kill&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;attackany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;attack(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if game.Players.NumPlayers&gt;1 then&#13;&#10;&#9;x=game.Players:children()&#13;&#10;&#9;&#13;&#10;&#9;for i=1, #x do&#13;&#10;&#9;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function onPlayerEntered(Player) &#13;&#10;&#9;while Player.Name==nil do&#13;&#10;&#9;&#9;wait(2)&#13;&#10;&#9;end&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;end&#13;&#10;&#9;else&#13;&#10;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;game.Players.ChildAdded:connect(onPlayerEntered) &#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;dist=20&#13;&#10;&#13;&#10;function followany()&#13;&#10;following=true&#13;&#10;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 6 do&#13;&#10;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then stopmoving() else&#9;wait(0.5) end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function gohome()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(Vector3.new(0,0,0), game.Workspace.Bases.Base)&#13;&#10;end&#13;&#10;function stopmoving()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(script.Parent.Torso.Position, script.Parent.Torso)&#13;&#10;end&#13;&#10;&#13;&#10;function follow(name)&#13;&#10;&#9;following=true&#13;&#10;&#13;&#10;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;if p==nil then return end&#13;&#10;&#9;while following==true do&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attack(name)&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#9;&#9;following=true&#13;&#10;&#9;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;&#9;if p==nil then return end&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#9;local l=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((l.x-q.x)^2)+((l.y-q.y)^2)+((l.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;if (q.y-l.y)&gt;3 and (q.y-l.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attackany()&#13;&#10;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#13;&#10;&#9;following=true&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;slash()&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;if target.Parent==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then &#13;&#10;&#9;&#9;&#9;&#9;&#9;stopmoving() &#13;&#10;&#9;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=target.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if (q.y-p.y)&gt;3 and (q.y-p.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function patrol()&#13;&#10;&#9;if points==nil then&#13;&#10;&#9;&#9;points=0&#13;&#10;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp1&quot;)~=nil then&#13;&#10;&#9;&#9;pp1=game.Workspace:findFirstChild(&quot;pp1&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp2&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;pp2=game.Workspace:findFirstChild(&quot;pp2&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp3&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;pp3=game.Workspace:findFirstChild(&quot;pp3&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp4&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;pp4=game.Workspace:findFirstChild(&quot;pp4&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp5&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;pp5=game.Workspace:findFirstChild(&quot;pp5&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp6&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp6=game.Workspace:findFirstChild(&quot;pp6&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp7&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp7=game.Workspace:findFirstChild(&quot;pp7&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp8&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp8=game.Workspace:findFirstChild(&quot;pp8&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp9&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp9=game.Workspace:findFirstChild(&quot;pp9&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if points&lt;1 then return end&#13;&#10;&#9;patrolling=true&#13;&#10;&#9;local time=2&#13;&#10;&#9;if points==1 then return end&#13;&#10;&#9;if points&gt;1 then&#13;&#10;&#9;&#9;while patrolling==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp1.Position, pp1)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp2.Position, pp2)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;if points&gt;2 then&#13;&#10;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp3.Position, pp3)&#13;&#10;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;if points&gt;3 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp4.Position, pp4)&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;if points&gt;4 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp5.Position, pp5)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;5 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp6.Position, pp6)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;6 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp7.Position, pp7)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp8.Position, pp8)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp9.Position, pp9)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function goto(pos,part)&#13;&#10;while true do&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function slash()&#13;&#10;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;wait(.3)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -2.14&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;&#9;wait(.2)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function defence()&#13;&#10;&#9;proxkill=true&#13;&#10;&#9;while proxkill==true do&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local p=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if p~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local p=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;dist and d&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local ex=Instance.new(&quot;Explosion&quot;)&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Position=p&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Parent=game.Workspace&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#9;&#9;&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;wait(1)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(onJumping)&#13;&#10;Humanoid.Climbing:connect(onClimbing)&#13;&#10;Humanoid.GettingUp:connect(onGettingUp)&#13;&#10;Humanoid.FreeFalling:connect(onFreeFall)&#13;&#10;Humanoid.FallingDown:connect(onFallingDown)&#13;&#10;Humanoid.Seated:connect(onSeated)&#13;&#10;&#13;&#10;&#13;&#10;--[[&#13;&#10;&#13;&#10;function newSound(id)&#13;&#10;&#9;local sound = Instance.new(&quot;Sound&quot;)&#13;&#10;&#9;sound.SoundId = id&#13;&#10;&#9;sound.Parent = script.Parent.Head&#13;&#10;&#9;return sound&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;local sDied = newSound(&quot;rbxasset://sounds/uuhhh.wav&quot;)&#13;&#10;local sFallingDown = newSound(&quot;rbxasset://sounds/splat.wav&quot;)&#13;&#10;local sFreeFalling = newSound(&quot;rbxasset://sounds/swoosh.wav&quot;)&#13;&#10;local sGettingUp = newSound(&quot;rbxasset://sounds/hit.wav&quot;)&#13;&#10;local sJumping = newSound(&quot;rbxasset://sounds/button.wav&quot;)&#13;&#10;local sRunning = newSound(&quot;rbxasset://sounds/bfsl-minifigfoots1.mp3&quot;)&#13;&#10;sRunning.Looped = true&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;sDied:play()&#13;&#10;end&#13;&#10;&#13;&#10;function onState(state, sound)&#13;&#10;&#9;if state then&#13;&#10;&#9;&#9;sound:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sound:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;sRunning:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sRunning:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(function(state) onState(state, sJumping) end)&#13;&#10;Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end)&#13;&#10;Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end)&#13;&#10;Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end)&#13;&#10;--]]&#13;&#10;&#13;&#10;local nextTime = 0&#13;&#10;local runService = game:service(&quot;RunService&quot;);&#13;&#10;&#13;&#10;while Figure.Parent~=nil do&#13;&#10;&#9;time = runService.Stepped:wait()&#13;&#10;&#9;if time &gt; nextTime then&#13;&#10;&#9;&#9;move(time)&#13;&#10;&#9;&#9;nextTime = time + 0.1&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX1191">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Follow</string>
					<string name="Source">local larm = script.Parent:FindFirstChild(&quot;Left Arm&quot;)&#13;&#10;local rarm = script.Parent:FindFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;function findNearestTorso(pos)&#13;&#10;&#9;local list = game.Workspace:children()&#13;&#10;&#9;local torso = nil&#13;&#10;&#9;local dist = 25&#13;&#10;&#9;local temp = nil&#13;&#10;&#9;local human = nil&#13;&#10;&#9;local temp2 = nil&#13;&#10;&#9;for x = 1, #list do&#13;&#10;&#9;&#9;temp2 = list[x]&#13;&#10;&#9;&#9;if (temp2.className == &quot;Model&quot;) and (temp2 ~= script.Parent) then&#13;&#10;&#9;&#9;&#9;temp = temp2:findFirstChild(&quot;Torso&quot;)&#13;&#10;&#9;&#9;&#9;human = temp2:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;&#9;&#9;if (temp ~= nil) and (human ~= nil) and (human.Health &gt; 0) then&#13;&#10;&#9;&#9;&#9;&#9;if (temp.Position - pos).magnitude &lt; dist then&#13;&#10;&#9;&#9;&#9;&#9;&#9;torso = temp&#13;&#10;&#9;&#9;&#9;&#9;&#9;dist = (temp.Position - pos).magnitude&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return torso&#13;&#10;end&#13;&#10;&#13;&#10;while true do&#13;&#10;&#9;wait(0.1)&#13;&#10;&#9;local target = findNearestTorso(script.Parent.Torso.Position)&#13;&#10;&#9;if target ~= nil then&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#9;end&#13;&#10;end</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Model" referent="RBX1192">
			<Properties>
				<token name="Controller">7</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">Warrior</string>
				<Ref name="PrimaryPart">null</Ref>
				<bool name="archivable">true</bool>
			</Properties>
			<Item class="Humanoid" referent="RBX1193">
				<Properties>
					<float name="Health">0</float>
					<bool name="Jump">false</bool>
					<float name="MaxHealth">100</float>
					<string name="Name">Humanoid</string>
					<bool name="Sit">false</bool>
					<Vector3 name="TargetPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<Vector3 name="WalkDirection">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<float name="WalkRotationalVelocity">0</float>
					<Ref name="WalkToPart">null</Ref>
					<Vector3 name="WalkToPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX1194">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Health</string>
					<string name="Source">function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;-- declarations&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;Humanoid.Health=500&#13;&#10;-- regeneration&#13;&#10;while true do&#13;&#10;&#9;local s = wait(4)&#13;&#10;&#9;local health = Humanoid.Health&#13;&#10;&#9;if health &gt; 0 and health &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;health = health + 0.08 * s * Humanoid.MaxHealth&#13;&#10;&#9;&#9;if health * 1.05 &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;&#9;Humanoid.Health = health&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;Humanoid.Health = Humanoid.MaxHealth&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="BodyColors" referent="RBX1195">
				<Properties>
					<int name="HeadColor">24</int>
					<int name="LeftArmColor">28</int>
					<int name="LeftLegColor">28</int>
					<string name="Name">Body Colors</string>
					<int name="RightArmColor">28</int>
					<int name="RightLegColor">28</int>
					<int name="TorsoColor">28</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="IntValue" referent="RBX1196">
				<Properties>
					<string name="Name">Value</string>
					<int name="Value">0</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX1197">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Robot</string>
					<string name="Source">------------------&#13;&#10;--SPAWNING--&#13;&#10;------------------&#13;&#10;&#13;&#10;miked=script.Parent&#13;&#10;&#13;&#10;itlh=miked.Torso:findFirstChild(&quot;Left Hip&quot;)&#13;&#10;itlh.Part0=miked.Torso&#13;&#10;itlh.Part1=miked:findFirstChild(&quot;Left Leg&quot;)&#13;&#10;itlh.C0=CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;&#13;&#10;itrh=miked.Torso:findFirstChild(&quot;Right Hip&quot;)&#13;&#10;itrh.Part0=miked.Torso&#13;&#10;itrh.Part1=miked:findFirstChild(&quot;Right Leg&quot;)&#13;&#10;itrh.C0=CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;&#13;&#10;itls=miked.Torso:findFirstChild(&quot;Left Shoulder&quot;)&#13;&#10;itls.Part1=miked.Torso&#13;&#10;itls.C0=CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;itls.Part0=miked:findFirstChild(&quot;Left Arm&quot;)&#13;&#10;&#13;&#10;itrs=miked.Torso:findFirstChild(&quot;Right Shoulder&quot;)&#13;&#10;itrs.Part1=miked.Torso&#13;&#10;itrs.C0=CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;itrs.Part0=miked:findFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;miked.Head:makeJoints()&#13;&#10;------------------&#13;&#10;------------------&#13;&#10;&#13;&#10;&#13;&#10;function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Torso = waitForChild(Figure, &quot;Torso&quot;)&#13;&#10;local RightShoulder = waitForChild(Torso, &quot;Right Shoulder&quot;)&#13;&#10;local LeftShoulder = waitForChild(Torso, &quot;Left Shoulder&quot;)&#13;&#10;local RightHip = waitForChild(Torso, &quot;Right Hip&quot;)&#13;&#10;local LeftHip = waitForChild(Torso, &quot;Left Hip&quot;)&#13;&#10;local Neck = waitForChild(Torso, &quot;Neck&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;local pose = &quot;Standing&quot;&#13;&#10;&#13;&#10;local toolAnim = &quot;None&quot;&#13;&#10;local toolAnimTime = 0&#13;&#10;&#13;&#10;local isSeated = false&#13;&#10;&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if isSeated then return end&#13;&#10;&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;pose = &quot;Running&quot;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;pose = &quot;Standing&quot;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;pose = &quot;Dead&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onJumping()&#13;&#10;&#9;isSeated = false&#13;&#10;&#9;pose = &quot;Jumping&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onClimbing()&#13;&#10;&#9;pose = &quot;Climbing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onGettingUp()&#13;&#10;&#9;pose = &quot;GettingUp&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFreeFall()&#13;&#10;&#9;pose = &quot;FreeFall&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onDancing()&#13;&#10;&#9;pose = &quot;Dancing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFallingDown()&#13;&#10;&#9;pose = &quot;FallingDown&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onSeated()&#13;&#10;&#9;isSeated = true&#13;&#10;&#9;pose = &quot;Seated&quot;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function moveJump()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFreeFall()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1&#13;&#10;&#9;LeftShoulder.DesiredAngle = -1&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFloat()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = -1.57&#13;&#10;end&#13;&#10;&#13;&#10;function moveBoogy()&#13;&#10;while pose==&quot;Boogy&quot; do&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 1.57&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;function moveZombie()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function movePunch()&#13;&#10;&#9;script.Parent.Torso.Anchored=true&#13;&#10;&#9;RightShoulder.MaxVelocity = 60&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;script.Parent.Torso.Anchored=false&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveKick()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveFly()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function moveClimb()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveSit()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;RightHip.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftHip.DesiredAngle = -3.14 /2&#13;&#10;end&#13;&#10;&#13;&#10;function getTool()&#13;&#10;&#9;&#13;&#10;&#9;kidTable = Figure:children()&#13;&#10;&#9;if (kidTable ~= nil) then&#13;&#10;&#9;&#9;numKids = #kidTable&#13;&#10;&#9;&#9;for i=1,numKids do&#13;&#10;&#9;&#9;&#9;if (kidTable[i].className == &quot;Tool&quot;) then return kidTable[i] end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;c = tool:children()&#13;&#10;&#9;for i=1,#c do&#13;&#10;&#9;&#9;if (c[i].Name == &quot;toolanim&quot; and c[i].className == &quot;StringValue&quot;) then&#13;&#10;&#9;&#9;&#9;return c[i]&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function animateTool()&#13;&#10;&#9;&#13;&#10;&#9;if (toolAnim == &quot;None&quot;) then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Slash&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Lunge&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 1.0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 1.0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function move(time)&#13;&#10;&#9;local amplitude&#13;&#10;&#9;local frequency&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Jumping&quot;) then&#13;&#10;&#9;&#9;moveJump()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Zombie&quot;) then&#13;&#10;&#9;&#9;moveZombie()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Boogy&quot;) then&#13;&#10;&#9;&#9;moveBoogy()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Float&quot;) then&#13;&#10;&#9;&#9;moveFloat()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Punch&quot;) then&#13;&#10;&#9;&#9;movePunch()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Kick&quot;) then&#13;&#10;&#9;&#9;moveKick()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Fly&quot;) then&#13;&#10;&#9;&#9;moveFly()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;FreeFall&quot;) then&#13;&#10;&#9;&#9;moveFreeFall()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Climbing&quot;) then&#13;&#10;&#9;&#9;moveClimb()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Seated&quot;) then&#13;&#10;&#9;&#9;moveSit()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;amplitude = 0.1&#13;&#10;&#9;&#9;frequency = 1&#13;&#10;&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;if (pose == &quot;Running&quot;) then&#13;&#10;&#9;&#9;amplitude = 1&#13;&#10;&#9;&#9;frequency = 9&#13;&#10;&#9;elseif (pose == &quot;Dancing&quot;) then&#13;&#10;&#9;&#9;amplitude = 2&#13;&#10;&#9;&#9;frequency = 16&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#13;&#10;&#9;desiredAngle = amplitude * math.sin(time*frequency)&#13;&#10;&#9;if pose~=&quot;Dancing&quot; then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;else&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;end&#13;&#10;&#9;&#9;&#13;&#10;&#13;&#10;&#13;&#10;&#9;local tool = getTool()&#13;&#10;&#13;&#10;&#9;if tool ~= nil then&#13;&#10;&#9;&#13;&#10;&#9;&#9;animStringValueObject = getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;&#9;if animStringValueObject ~= nil then&#13;&#10;&#9;&#9;&#9;toolAnim = animStringValueObject.Value&#13;&#10;&#9;&#9;&#9;-- message recieved, delete StringValue&#13;&#10;&#9;&#9;&#9;animStringValueObject.Parent = nil&#13;&#10;&#9;&#9;&#9;toolAnimTime = time + .3&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if time &gt; toolAnimTime then&#13;&#10;&#9;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;animateTool()&#13;&#10;&#13;&#10;&#9;&#9;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;-- connect events&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;function unequip()&#13;&#10;&#9;local items=script.Parent:children()&#13;&#10;&#9;for i=1, #items do&#13;&#10;&#9;&#9;if items[i].className==&quot;Tool&quot; then items[i]:remove() end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onChatted(msg, recipient) &#13;&#10;&#9;msg = string.lower(msg)&#13;&#10;&#13;&#10;&#9;if string.match(msg, string.lower(script.Parent.Name))~=nil or string.match(msg, &quot;everyone&quot;) then&#13;&#10;&#9;&#9;if string.match(msg, &quot;equip&quot;) then &#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;Hub&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;if string.match(msg, &quot;rocket&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Rocket:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;slingshot&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Slingshot:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;sword&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Sword:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;pbg&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.PBG:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;superball&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Superball:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;trowel&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Trowel:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;bomb&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Bomb:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;unequip&quot;) then unequip() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;run&quot;) then onRunning(1) end&#13;&#10;&#9;&#9;if string.match(msg, &quot;climb&quot;) then onClimbing() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;jump&quot;) then onJumping() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;zombie&quot;) then pose=&quot;Zombie&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;disco&quot;) then pose=&quot;Boogy&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;float&quot;) then pose=&quot;Float&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;punch&quot;) then pose=&quot;Punch&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kick&quot;) then pose=&quot;Kick&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;fly&quot;) then pose=&quot;Fly&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;heal&quot;) then script.Parent.Humanoid.Health=script.Parent.Humanoid.MaxHealth end&#13;&#10;&#9;&#9;if string.match(msg, &quot;defend&quot;) then defence() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;stop&quot;) then pose=&quot;Standing&quot;; proxkill=false; following=false; stopmoving() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;go home&quot;) then following=false; gohome() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;follow&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;followany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;follow(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kill&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;attackany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;attack(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if game.Players.NumPlayers&gt;1 then&#13;&#10;&#9;x=game.Players:children()&#13;&#10;&#9;&#13;&#10;&#9;for i=1, #x do&#13;&#10;&#9;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function onPlayerEntered(Player) &#13;&#10;&#9;while Player.Name==nil do&#13;&#10;&#9;&#9;wait(2)&#13;&#10;&#9;end&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;end&#13;&#10;&#9;else&#13;&#10;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;game.Players.ChildAdded:connect(onPlayerEntered) &#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;dist=20&#13;&#10;&#13;&#10;function followany()&#13;&#10;following=true&#13;&#10;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 6 do&#13;&#10;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then stopmoving() else&#9;wait(0.5) end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function gohome()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(Vector3.new(0,0,0), game.Workspace.Bases.Base)&#13;&#10;end&#13;&#10;function stopmoving()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(script.Parent.Torso.Position, script.Parent.Torso)&#13;&#10;end&#13;&#10;&#13;&#10;function follow(name)&#13;&#10;&#9;following=true&#13;&#10;&#13;&#10;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;if p==nil then return end&#13;&#10;&#9;while following==true do&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attack(name)&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#9;&#9;following=true&#13;&#10;&#9;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;&#9;if p==nil then return end&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#9;local l=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((l.x-q.x)^2)+((l.y-q.y)^2)+((l.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;if (q.y-l.y)&gt;3 and (q.y-l.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attackany()&#13;&#10;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#13;&#10;&#9;following=true&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;slash()&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;if target.Parent==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then &#13;&#10;&#9;&#9;&#9;&#9;&#9;stopmoving() &#13;&#10;&#9;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=target.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if (q.y-p.y)&gt;3 and (q.y-p.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function patrol()&#13;&#10;&#9;if points==nil then&#13;&#10;&#9;&#9;points=0&#13;&#10;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp1&quot;)~=nil then&#13;&#10;&#9;&#9;pp1=game.Workspace:findFirstChild(&quot;pp1&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp2&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;pp2=game.Workspace:findFirstChild(&quot;pp2&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp3&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;pp3=game.Workspace:findFirstChild(&quot;pp3&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp4&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;pp4=game.Workspace:findFirstChild(&quot;pp4&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp5&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;pp5=game.Workspace:findFirstChild(&quot;pp5&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp6&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp6=game.Workspace:findFirstChild(&quot;pp6&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp7&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp7=game.Workspace:findFirstChild(&quot;pp7&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp8&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp8=game.Workspace:findFirstChild(&quot;pp8&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp9&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp9=game.Workspace:findFirstChild(&quot;pp9&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if points&lt;1 then return end&#13;&#10;&#9;patrolling=true&#13;&#10;&#9;local time=2&#13;&#10;&#9;if points==1 then return end&#13;&#10;&#9;if points&gt;1 then&#13;&#10;&#9;&#9;while patrolling==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp1.Position, pp1)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp2.Position, pp2)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;if points&gt;2 then&#13;&#10;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp3.Position, pp3)&#13;&#10;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;if points&gt;3 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp4.Position, pp4)&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;if points&gt;4 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp5.Position, pp5)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;5 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp6.Position, pp6)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;6 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp7.Position, pp7)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp8.Position, pp8)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp9.Position, pp9)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function goto(pos,part)&#13;&#10;while true do&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function slash()&#13;&#10;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;wait(.3)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -2.14&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;&#9;wait(.2)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function defence()&#13;&#10;&#9;proxkill=true&#13;&#10;&#9;while proxkill==true do&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local p=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if p~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local p=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;dist and d&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local ex=Instance.new(&quot;Explosion&quot;)&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Position=p&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Parent=game.Workspace&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#9;&#9;&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;wait(1)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(onJumping)&#13;&#10;Humanoid.Climbing:connect(onClimbing)&#13;&#10;Humanoid.GettingUp:connect(onGettingUp)&#13;&#10;Humanoid.FreeFalling:connect(onFreeFall)&#13;&#10;Humanoid.FallingDown:connect(onFallingDown)&#13;&#10;Humanoid.Seated:connect(onSeated)&#13;&#10;&#13;&#10;&#13;&#10;--[[&#13;&#10;&#13;&#10;function newSound(id)&#13;&#10;&#9;local sound = Instance.new(&quot;Sound&quot;)&#13;&#10;&#9;sound.SoundId = id&#13;&#10;&#9;sound.Parent = script.Parent.Head&#13;&#10;&#9;return sound&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;local sDied = newSound(&quot;rbxasset://sounds/uuhhh.wav&quot;)&#13;&#10;local sFallingDown = newSound(&quot;rbxasset://sounds/splat.wav&quot;)&#13;&#10;local sFreeFalling = newSound(&quot;rbxasset://sounds/swoosh.wav&quot;)&#13;&#10;local sGettingUp = newSound(&quot;rbxasset://sounds/hit.wav&quot;)&#13;&#10;local sJumping = newSound(&quot;rbxasset://sounds/button.wav&quot;)&#13;&#10;local sRunning = newSound(&quot;rbxasset://sounds/bfsl-minifigfoots1.mp3&quot;)&#13;&#10;sRunning.Looped = true&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;sDied:play()&#13;&#10;end&#13;&#10;&#13;&#10;function onState(state, sound)&#13;&#10;&#9;if state then&#13;&#10;&#9;&#9;sound:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sound:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;sRunning:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sRunning:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(function(state) onState(state, sJumping) end)&#13;&#10;Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end)&#13;&#10;Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end)&#13;&#10;Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end)&#13;&#10;--]]&#13;&#10;&#13;&#10;local nextTime = 0&#13;&#10;local runService = game:service(&quot;RunService&quot;);&#13;&#10;&#13;&#10;while Figure.Parent~=nil do&#13;&#10;&#9;time = runService.Stepped:wait()&#13;&#10;&#9;if time &gt; nextTime then&#13;&#10;&#9;&#9;move(time)&#13;&#10;&#9;&#9;nextTime = time + 0.1&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX1198">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Follow</string>
					<string name="Source">local larm = script.Parent:FindFirstChild(&quot;Left Arm&quot;)&#13;&#10;local rarm = script.Parent:FindFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;function findNearestTorso(pos)&#13;&#10;&#9;local list = game.Workspace:children()&#13;&#10;&#9;local torso = nil&#13;&#10;&#9;local dist = 25&#13;&#10;&#9;local temp = nil&#13;&#10;&#9;local human = nil&#13;&#10;&#9;local temp2 = nil&#13;&#10;&#9;for x = 1, #list do&#13;&#10;&#9;&#9;temp2 = list[x]&#13;&#10;&#9;&#9;if (temp2.className == &quot;Model&quot;) and (temp2 ~= script.Parent) then&#13;&#10;&#9;&#9;&#9;temp = temp2:findFirstChild(&quot;Torso&quot;)&#13;&#10;&#9;&#9;&#9;human = temp2:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;&#9;&#9;if (temp ~= nil) and (human ~= nil) and (human.Health &gt; 0) then&#13;&#10;&#9;&#9;&#9;&#9;if (temp.Position - pos).magnitude &lt; dist then&#13;&#10;&#9;&#9;&#9;&#9;&#9;torso = temp&#13;&#10;&#9;&#9;&#9;&#9;&#9;dist = (temp.Position - pos).magnitude&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return torso&#13;&#10;end&#13;&#10;&#13;&#10;while true do&#13;&#10;&#9;wait(0.1)&#13;&#10;&#9;local target = findNearestTorso(script.Parent.Torso.Position)&#13;&#10;&#9;if target ~= nil then&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#9;end&#13;&#10;end</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Model" referent="RBX1199">
			<Properties>
				<token name="Controller">7</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">Warrior</string>
				<Ref name="PrimaryPart">RBX1200</Ref>
				<bool name="archivable">true</bool>
			</Properties>
			<Item class="Humanoid" referent="RBX1201">
				<Properties>
					<float name="Health">0</float>
					<bool name="Jump">false</bool>
					<float name="MaxHealth">100</float>
					<string name="Name">Humanoid</string>
					<bool name="Sit">false</bool>
					<Vector3 name="TargetPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<Vector3 name="WalkDirection">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<float name="WalkRotationalVelocity">0</float>
					<Ref name="WalkToPart">null</Ref>
					<Vector3 name="WalkToPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX1202">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Health</string>
					<string name="Source">function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;-- declarations&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;Humanoid.Health=500&#13;&#10;-- regeneration&#13;&#10;while true do&#13;&#10;&#9;local s = wait(4)&#13;&#10;&#9;local health = Humanoid.Health&#13;&#10;&#9;if health &gt; 0 and health &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;health = health + 0.08 * s * Humanoid.MaxHealth&#13;&#10;&#9;&#9;if health * 1.05 &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;&#9;Humanoid.Health = health&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;Humanoid.Health = Humanoid.MaxHealth&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="BodyColors" referent="RBX1203">
				<Properties>
					<int name="HeadColor">24</int>
					<int name="LeftArmColor">28</int>
					<int name="LeftLegColor">28</int>
					<string name="Name">Body Colors</string>
					<int name="RightArmColor">28</int>
					<int name="RightLegColor">28</int>
					<int name="TorsoColor">28</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="IntValue" referent="RBX1204">
				<Properties>
					<string name="Name">Value</string>
					<int name="Value">0</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Part" referent="RBX1200">
				<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">4</token>
					<token name="BottomSurfaceInput">0</token>
					<int name="BrickColor">141</int>
					<CoordinateFrame name="CFrame">
						<X>200.631287</X>
						<Y>0.890035748</Y>
						<Z>188.234024</Z>
						<R00>-1.58152409e-006</R00>
						<R01>-0.977388442</R01>
						<R02>0.211452052</R02>
						<R10>1.00000012</R10>
						<R11>1.09531197e-006</R11>
						<R12>1.25304296e-005</R12>
						<R20>-1.24915887e-005</R20>
						<R21>0.211452052</R21>
						<R22>0.977388382</R22>
					</CoordinateFrame>
					<bool name="CanCollide">true</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">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">Right Arm</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>1</X>
						<Y>2</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
				<Item class="Script" referent="RBX1205">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">DoorScript2</string>
						<string name="Source">print(&quot;Omg a team door! Goodbye spawnkilling!&quot;) -- {made by:yourit12 modeled by:NintendoZACHERY}&#13;&#10;&#13;&#10;Door = script.Parent &#13;&#10;------------------------------------&#13;&#10;modelname=&quot;Admins&quot; -- Put the EXACT name of the team here&#13;&#10;------------------------------------&#13;&#10; &#13;&#10;function onTouched(hit) &#13;&#10;        print(&quot;Door Hit&quot;) &#13;&#10;        local human = hit.Parent:FindFirstChild(&quot;Humanoid&quot;) &#13;&#10;        if (human ~= nil ) then&#13;&#10;                if game.Players:playerFromCharacter(hit.Parent).TeamColor==game.Teams:findFirstChild(modelname).TeamColor then&#13;&#10;                        Door.CanCollide = false &#13;&#10;                        Door.Transparency = 0&#13;&#10;                        wait(1) &#13;&#10;                        Door.CanCollide = true &#13;&#10;                        Door.Transparency = 0 &#13;&#10;                        print(&quot;Human touched door&quot;) &#13;&#10;                else&#13;&#10;                        human.Health = 0&#13;&#10;                end&#13;&#10; &#13;&#10;        end &#13;&#10;end &#13;&#10; &#13;&#10;connection = Door.Touched:connect(onTouched)</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Script" referent="RBX1206">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">Script</string>
						<string name="Source">function onTouched(hit)&#13;&#10;if hit.Name ~= &quot;tray&quot; then hit:remove() end&#13;&#10;end&#13;&#10;&#13;&#10;connection = script.Parent.Touched:connect(onTouched)&#13;&#10;</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Script" referent="RBX1207">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">Script</string>
						<string name="Source">&#13;&#10;function onTouched(hit)&#13;&#10;&#9;local human = hit.Parent:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;if (human ~= nil) then&#13;&#10;&#9;&#9;human.Health = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if (script.Parent ~= nil) and (script.Parent.className == &quot;Part&quot;) then --Work if in a block&#13;&#10;&#9;connection = script.Parent.Touched:connect(onTouched)&#13;&#10;end&#13;&#10;</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
			</Item>
			<Item class="Script" referent="RBX1208">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Robot</string>
					<string name="Source">------------------&#13;&#10;--SPAWNING--&#13;&#10;------------------&#13;&#10;&#13;&#10;miked=script.Parent&#13;&#10;&#13;&#10;itlh=miked.Torso:findFirstChild(&quot;Left Hip&quot;)&#13;&#10;itlh.Part0=miked.Torso&#13;&#10;itlh.Part1=miked:findFirstChild(&quot;Left Leg&quot;)&#13;&#10;itlh.C0=CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;&#13;&#10;itrh=miked.Torso:findFirstChild(&quot;Right Hip&quot;)&#13;&#10;itrh.Part0=miked.Torso&#13;&#10;itrh.Part1=miked:findFirstChild(&quot;Right Leg&quot;)&#13;&#10;itrh.C0=CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;&#13;&#10;itls=miked.Torso:findFirstChild(&quot;Left Shoulder&quot;)&#13;&#10;itls.Part1=miked.Torso&#13;&#10;itls.C0=CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;itls.Part0=miked:findFirstChild(&quot;Left Arm&quot;)&#13;&#10;&#13;&#10;itrs=miked.Torso:findFirstChild(&quot;Right Shoulder&quot;)&#13;&#10;itrs.Part1=miked.Torso&#13;&#10;itrs.C0=CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;itrs.Part0=miked:findFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;miked.Head:makeJoints()&#13;&#10;------------------&#13;&#10;------------------&#13;&#10;&#13;&#10;&#13;&#10;function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Torso = waitForChild(Figure, &quot;Torso&quot;)&#13;&#10;local RightShoulder = waitForChild(Torso, &quot;Right Shoulder&quot;)&#13;&#10;local LeftShoulder = waitForChild(Torso, &quot;Left Shoulder&quot;)&#13;&#10;local RightHip = waitForChild(Torso, &quot;Right Hip&quot;)&#13;&#10;local LeftHip = waitForChild(Torso, &quot;Left Hip&quot;)&#13;&#10;local Neck = waitForChild(Torso, &quot;Neck&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;local pose = &quot;Standing&quot;&#13;&#10;&#13;&#10;local toolAnim = &quot;None&quot;&#13;&#10;local toolAnimTime = 0&#13;&#10;&#13;&#10;local isSeated = false&#13;&#10;&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if isSeated then return end&#13;&#10;&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;pose = &quot;Running&quot;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;pose = &quot;Standing&quot;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;pose = &quot;Dead&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onJumping()&#13;&#10;&#9;isSeated = false&#13;&#10;&#9;pose = &quot;Jumping&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onClimbing()&#13;&#10;&#9;pose = &quot;Climbing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onGettingUp()&#13;&#10;&#9;pose = &quot;GettingUp&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFreeFall()&#13;&#10;&#9;pose = &quot;FreeFall&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onDancing()&#13;&#10;&#9;pose = &quot;Dancing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFallingDown()&#13;&#10;&#9;pose = &quot;FallingDown&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onSeated()&#13;&#10;&#9;isSeated = true&#13;&#10;&#9;pose = &quot;Seated&quot;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function moveJump()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFreeFall()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1&#13;&#10;&#9;LeftShoulder.DesiredAngle = -1&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFloat()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = -1.57&#13;&#10;end&#13;&#10;&#13;&#10;function moveBoogy()&#13;&#10;while pose==&quot;Boogy&quot; do&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 1.57&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;function moveZombie()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function movePunch()&#13;&#10;&#9;script.Parent.Torso.Anchored=true&#13;&#10;&#9;RightShoulder.MaxVelocity = 60&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;script.Parent.Torso.Anchored=false&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveKick()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveFly()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function moveClimb()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveSit()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;RightHip.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftHip.DesiredAngle = -3.14 /2&#13;&#10;end&#13;&#10;&#13;&#10;function getTool()&#13;&#10;&#9;&#13;&#10;&#9;kidTable = Figure:children()&#13;&#10;&#9;if (kidTable ~= nil) then&#13;&#10;&#9;&#9;numKids = #kidTable&#13;&#10;&#9;&#9;for i=1,numKids do&#13;&#10;&#9;&#9;&#9;if (kidTable[i].className == &quot;Tool&quot;) then return kidTable[i] end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;c = tool:children()&#13;&#10;&#9;for i=1,#c do&#13;&#10;&#9;&#9;if (c[i].Name == &quot;toolanim&quot; and c[i].className == &quot;StringValue&quot;) then&#13;&#10;&#9;&#9;&#9;return c[i]&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function animateTool()&#13;&#10;&#9;&#13;&#10;&#9;if (toolAnim == &quot;None&quot;) then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Slash&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Lunge&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 1.0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 1.0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function move(time)&#13;&#10;&#9;local amplitude&#13;&#10;&#9;local frequency&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Jumping&quot;) then&#13;&#10;&#9;&#9;moveJump()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Zombie&quot;) then&#13;&#10;&#9;&#9;moveZombie()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Boogy&quot;) then&#13;&#10;&#9;&#9;moveBoogy()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Float&quot;) then&#13;&#10;&#9;&#9;moveFloat()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Punch&quot;) then&#13;&#10;&#9;&#9;movePunch()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Kick&quot;) then&#13;&#10;&#9;&#9;moveKick()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Fly&quot;) then&#13;&#10;&#9;&#9;moveFly()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;FreeFall&quot;) then&#13;&#10;&#9;&#9;moveFreeFall()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Climbing&quot;) then&#13;&#10;&#9;&#9;moveClimb()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Seated&quot;) then&#13;&#10;&#9;&#9;moveSit()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;amplitude = 0.1&#13;&#10;&#9;&#9;frequency = 1&#13;&#10;&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;if (pose == &quot;Running&quot;) then&#13;&#10;&#9;&#9;amplitude = 1&#13;&#10;&#9;&#9;frequency = 9&#13;&#10;&#9;elseif (pose == &quot;Dancing&quot;) then&#13;&#10;&#9;&#9;amplitude = 2&#13;&#10;&#9;&#9;frequency = 16&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#13;&#10;&#9;desiredAngle = amplitude * math.sin(time*frequency)&#13;&#10;&#9;if pose~=&quot;Dancing&quot; then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;else&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;end&#13;&#10;&#9;&#9;&#13;&#10;&#13;&#10;&#13;&#10;&#9;local tool = getTool()&#13;&#10;&#13;&#10;&#9;if tool ~= nil then&#13;&#10;&#9;&#13;&#10;&#9;&#9;animStringValueObject = getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;&#9;if animStringValueObject ~= nil then&#13;&#10;&#9;&#9;&#9;toolAnim = animStringValueObject.Value&#13;&#10;&#9;&#9;&#9;-- message recieved, delete StringValue&#13;&#10;&#9;&#9;&#9;animStringValueObject.Parent = nil&#13;&#10;&#9;&#9;&#9;toolAnimTime = time + .3&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if time &gt; toolAnimTime then&#13;&#10;&#9;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;animateTool()&#13;&#10;&#13;&#10;&#9;&#9;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;-- connect events&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;function unequip()&#13;&#10;&#9;local items=script.Parent:children()&#13;&#10;&#9;for i=1, #items do&#13;&#10;&#9;&#9;if items[i].className==&quot;Tool&quot; then items[i]:remove() end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onChatted(msg, recipient) &#13;&#10;&#9;msg = string.lower(msg)&#13;&#10;&#13;&#10;&#9;if string.match(msg, string.lower(script.Parent.Name))~=nil or string.match(msg, &quot;everyone&quot;) then&#13;&#10;&#9;&#9;if string.match(msg, &quot;equip&quot;) then &#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;Hub&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;if string.match(msg, &quot;rocket&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Rocket:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;slingshot&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Slingshot:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;sword&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Sword:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;pbg&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.PBG:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;superball&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Superball:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;trowel&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Trowel:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;bomb&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Bomb:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;unequip&quot;) then unequip() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;run&quot;) then onRunning(1) end&#13;&#10;&#9;&#9;if string.match(msg, &quot;climb&quot;) then onClimbing() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;jump&quot;) then onJumping() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;zombie&quot;) then pose=&quot;Zombie&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;disco&quot;) then pose=&quot;Boogy&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;float&quot;) then pose=&quot;Float&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;punch&quot;) then pose=&quot;Punch&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kick&quot;) then pose=&quot;Kick&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;fly&quot;) then pose=&quot;Fly&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;heal&quot;) then script.Parent.Humanoid.Health=script.Parent.Humanoid.MaxHealth end&#13;&#10;&#9;&#9;if string.match(msg, &quot;defend&quot;) then defence() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;stop&quot;) then pose=&quot;Standing&quot;; proxkill=false; following=false; stopmoving() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;go home&quot;) then following=false; gohome() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;follow&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;followany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;follow(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kill&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;attackany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;attack(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if game.Players.NumPlayers&gt;1 then&#13;&#10;&#9;x=game.Players:children()&#13;&#10;&#9;&#13;&#10;&#9;for i=1, #x do&#13;&#10;&#9;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function onPlayerEntered(Player) &#13;&#10;&#9;while Player.Name==nil do&#13;&#10;&#9;&#9;wait(2)&#13;&#10;&#9;end&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;end&#13;&#10;&#9;else&#13;&#10;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;game.Players.ChildAdded:connect(onPlayerEntered) &#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;dist=20&#13;&#10;&#13;&#10;function followany()&#13;&#10;following=true&#13;&#10;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 6 do&#13;&#10;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then stopmoving() else&#9;wait(0.5) end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function gohome()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(Vector3.new(0,0,0), game.Workspace.Bases.Base)&#13;&#10;end&#13;&#10;function stopmoving()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(script.Parent.Torso.Position, script.Parent.Torso)&#13;&#10;end&#13;&#10;&#13;&#10;function follow(name)&#13;&#10;&#9;following=true&#13;&#10;&#13;&#10;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;if p==nil then return end&#13;&#10;&#9;while following==true do&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attack(name)&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#9;&#9;following=true&#13;&#10;&#9;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;&#9;if p==nil then return end&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#9;local l=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((l.x-q.x)^2)+((l.y-q.y)^2)+((l.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;if (q.y-l.y)&gt;3 and (q.y-l.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attackany()&#13;&#10;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#13;&#10;&#9;following=true&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;slash()&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;if target.Parent==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then &#13;&#10;&#9;&#9;&#9;&#9;&#9;stopmoving() &#13;&#10;&#9;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=target.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if (q.y-p.y)&gt;3 and (q.y-p.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function patrol()&#13;&#10;&#9;if points==nil then&#13;&#10;&#9;&#9;points=0&#13;&#10;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp1&quot;)~=nil then&#13;&#10;&#9;&#9;pp1=game.Workspace:findFirstChild(&quot;pp1&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp2&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;pp2=game.Workspace:findFirstChild(&quot;pp2&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp3&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;pp3=game.Workspace:findFirstChild(&quot;pp3&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp4&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;pp4=game.Workspace:findFirstChild(&quot;pp4&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp5&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;pp5=game.Workspace:findFirstChild(&quot;pp5&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp6&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp6=game.Workspace:findFirstChild(&quot;pp6&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp7&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp7=game.Workspace:findFirstChild(&quot;pp7&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp8&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp8=game.Workspace:findFirstChild(&quot;pp8&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp9&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp9=game.Workspace:findFirstChild(&quot;pp9&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if points&lt;1 then return end&#13;&#10;&#9;patrolling=true&#13;&#10;&#9;local time=2&#13;&#10;&#9;if points==1 then return end&#13;&#10;&#9;if points&gt;1 then&#13;&#10;&#9;&#9;while patrolling==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp1.Position, pp1)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp2.Position, pp2)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;if points&gt;2 then&#13;&#10;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp3.Position, pp3)&#13;&#10;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;if points&gt;3 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp4.Position, pp4)&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;if points&gt;4 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp5.Position, pp5)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;5 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp6.Position, pp6)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;6 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp7.Position, pp7)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp8.Position, pp8)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp9.Position, pp9)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function goto(pos,part)&#13;&#10;while true do&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function slash()&#13;&#10;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;wait(.3)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -2.14&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;&#9;wait(.2)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function defence()&#13;&#10;&#9;proxkill=true&#13;&#10;&#9;while proxkill==true do&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local p=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if p~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local p=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;dist and d&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local ex=Instance.new(&quot;Explosion&quot;)&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Position=p&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Parent=game.Workspace&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#9;&#9;&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;wait(1)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(onJumping)&#13;&#10;Humanoid.Climbing:connect(onClimbing)&#13;&#10;Humanoid.GettingUp:connect(onGettingUp)&#13;&#10;Humanoid.FreeFalling:connect(onFreeFall)&#13;&#10;Humanoid.FallingDown:connect(onFallingDown)&#13;&#10;Humanoid.Seated:connect(onSeated)&#13;&#10;&#13;&#10;&#13;&#10;--[[&#13;&#10;&#13;&#10;function newSound(id)&#13;&#10;&#9;local sound = Instance.new(&quot;Sound&quot;)&#13;&#10;&#9;sound.SoundId = id&#13;&#10;&#9;sound.Parent = script.Parent.Head&#13;&#10;&#9;return sound&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;local sDied = newSound(&quot;rbxasset://sounds/uuhhh.wav&quot;)&#13;&#10;local sFallingDown = newSound(&quot;rbxasset://sounds/splat.wav&quot;)&#13;&#10;local sFreeFalling = newSound(&quot;rbxasset://sounds/swoosh.wav&quot;)&#13;&#10;local sGettingUp = newSound(&quot;rbxasset://sounds/hit.wav&quot;)&#13;&#10;local sJumping = newSound(&quot;rbxasset://sounds/button.wav&quot;)&#13;&#10;local sRunning = newSound(&quot;rbxasset://sounds/bfsl-minifigfoots1.mp3&quot;)&#13;&#10;sRunning.Looped = true&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;sDied:play()&#13;&#10;end&#13;&#10;&#13;&#10;function onState(state, sound)&#13;&#10;&#9;if state then&#13;&#10;&#9;&#9;sound:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sound:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;sRunning:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sRunning:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(function(state) onState(state, sJumping) end)&#13;&#10;Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end)&#13;&#10;Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end)&#13;&#10;Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end)&#13;&#10;--]]&#13;&#10;&#13;&#10;local nextTime = 0&#13;&#10;local runService = game:service(&quot;RunService&quot;);&#13;&#10;&#13;&#10;while Figure.Parent~=nil do&#13;&#10;&#9;time = runService.Stepped:wait()&#13;&#10;&#9;if time &gt; nextTime then&#13;&#10;&#9;&#9;move(time)&#13;&#10;&#9;&#9;nextTime = time + 0.1&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX1209">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Follow</string>
					<string name="Source">local larm = script.Parent:FindFirstChild(&quot;Left Arm&quot;)&#13;&#10;local rarm = script.Parent:FindFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;function findNearestTorso(pos)&#13;&#10;&#9;local list = game.Workspace:children()&#13;&#10;&#9;local torso = nil&#13;&#10;&#9;local dist = 25&#13;&#10;&#9;local temp = nil&#13;&#10;&#9;local human = nil&#13;&#10;&#9;local temp2 = nil&#13;&#10;&#9;for x = 1, #list do&#13;&#10;&#9;&#9;temp2 = list[x]&#13;&#10;&#9;&#9;if (temp2.className == &quot;Model&quot;) and (temp2 ~= script.Parent) then&#13;&#10;&#9;&#9;&#9;temp = temp2:findFirstChild(&quot;Torso&quot;)&#13;&#10;&#9;&#9;&#9;human = temp2:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;&#9;&#9;if (temp ~= nil) and (human ~= nil) and (human.Health &gt; 0) then&#13;&#10;&#9;&#9;&#9;&#9;if (temp.Position - pos).magnitude &lt; dist then&#13;&#10;&#9;&#9;&#9;&#9;&#9;torso = temp&#13;&#10;&#9;&#9;&#9;&#9;&#9;dist = (temp.Position - pos).magnitude&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return torso&#13;&#10;end&#13;&#10;&#13;&#10;while true do&#13;&#10;&#9;wait(0.1)&#13;&#10;&#9;local target = findNearestTorso(script.Parent.Torso.Position)&#13;&#10;&#9;if target ~= nil then&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#9;end&#13;&#10;end</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Model" referent="RBX1210">
			<Properties>
				<token name="Controller">7</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">Warrior</string>
				<Ref name="PrimaryPart">null</Ref>
				<bool name="archivable">true</bool>
			</Properties>
			<Item class="Humanoid" referent="RBX1211">
				<Properties>
					<float name="Health">0</float>
					<bool name="Jump">false</bool>
					<float name="MaxHealth">100</float>
					<string name="Name">Humanoid</string>
					<bool name="Sit">false</bool>
					<Vector3 name="TargetPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<Vector3 name="WalkDirection">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<float name="WalkRotationalVelocity">0</float>
					<Ref name="WalkToPart">null</Ref>
					<Vector3 name="WalkToPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX1212">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Health</string>
					<string name="Source">function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;-- declarations&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;Humanoid.Health=500&#13;&#10;-- regeneration&#13;&#10;while true do&#13;&#10;&#9;local s = wait(4)&#13;&#10;&#9;local health = Humanoid.Health&#13;&#10;&#9;if health &gt; 0 and health &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;health = health + 0.08 * s * Humanoid.MaxHealth&#13;&#10;&#9;&#9;if health * 1.05 &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;&#9;Humanoid.Health = health&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;Humanoid.Health = Humanoid.MaxHealth&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="BodyColors" referent="RBX1213">
				<Properties>
					<int name="HeadColor">24</int>
					<int name="LeftArmColor">28</int>
					<int name="LeftLegColor">28</int>
					<string name="Name">Body Colors</string>
					<int name="RightArmColor">28</int>
					<int name="RightLegColor">28</int>
					<int name="TorsoColor">28</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="IntValue" referent="RBX1214">
				<Properties>
					<string name="Name">Value</string>
					<int name="Value">0</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX1215">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Robot</string>
					<string name="Source">------------------&#13;&#10;--SPAWNING--&#13;&#10;------------------&#13;&#10;&#13;&#10;miked=script.Parent&#13;&#10;&#13;&#10;itlh=miked.Torso:findFirstChild(&quot;Left Hip&quot;)&#13;&#10;itlh.Part0=miked.Torso&#13;&#10;itlh.Part1=miked:findFirstChild(&quot;Left Leg&quot;)&#13;&#10;itlh.C0=CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;&#13;&#10;itrh=miked.Torso:findFirstChild(&quot;Right Hip&quot;)&#13;&#10;itrh.Part0=miked.Torso&#13;&#10;itrh.Part1=miked:findFirstChild(&quot;Right Leg&quot;)&#13;&#10;itrh.C0=CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;&#13;&#10;itls=miked.Torso:findFirstChild(&quot;Left Shoulder&quot;)&#13;&#10;itls.Part1=miked.Torso&#13;&#10;itls.C0=CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;itls.Part0=miked:findFirstChild(&quot;Left Arm&quot;)&#13;&#10;&#13;&#10;itrs=miked.Torso:findFirstChild(&quot;Right Shoulder&quot;)&#13;&#10;itrs.Part1=miked.Torso&#13;&#10;itrs.C0=CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;itrs.Part0=miked:findFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;miked.Head:makeJoints()&#13;&#10;------------------&#13;&#10;------------------&#13;&#10;&#13;&#10;&#13;&#10;function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Torso = waitForChild(Figure, &quot;Torso&quot;)&#13;&#10;local RightShoulder = waitForChild(Torso, &quot;Right Shoulder&quot;)&#13;&#10;local LeftShoulder = waitForChild(Torso, &quot;Left Shoulder&quot;)&#13;&#10;local RightHip = waitForChild(Torso, &quot;Right Hip&quot;)&#13;&#10;local LeftHip = waitForChild(Torso, &quot;Left Hip&quot;)&#13;&#10;local Neck = waitForChild(Torso, &quot;Neck&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;local pose = &quot;Standing&quot;&#13;&#10;&#13;&#10;local toolAnim = &quot;None&quot;&#13;&#10;local toolAnimTime = 0&#13;&#10;&#13;&#10;local isSeated = false&#13;&#10;&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if isSeated then return end&#13;&#10;&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;pose = &quot;Running&quot;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;pose = &quot;Standing&quot;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;pose = &quot;Dead&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onJumping()&#13;&#10;&#9;isSeated = false&#13;&#10;&#9;pose = &quot;Jumping&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onClimbing()&#13;&#10;&#9;pose = &quot;Climbing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onGettingUp()&#13;&#10;&#9;pose = &quot;GettingUp&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFreeFall()&#13;&#10;&#9;pose = &quot;FreeFall&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onDancing()&#13;&#10;&#9;pose = &quot;Dancing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFallingDown()&#13;&#10;&#9;pose = &quot;FallingDown&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onSeated()&#13;&#10;&#9;isSeated = true&#13;&#10;&#9;pose = &quot;Seated&quot;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function moveJump()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFreeFall()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1&#13;&#10;&#9;LeftShoulder.DesiredAngle = -1&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFloat()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = -1.57&#13;&#10;end&#13;&#10;&#13;&#10;function moveBoogy()&#13;&#10;while pose==&quot;Boogy&quot; do&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 1.57&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;function moveZombie()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function movePunch()&#13;&#10;&#9;script.Parent.Torso.Anchored=true&#13;&#10;&#9;RightShoulder.MaxVelocity = 60&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;script.Parent.Torso.Anchored=false&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveKick()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveFly()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function moveClimb()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveSit()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;RightHip.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftHip.DesiredAngle = -3.14 /2&#13;&#10;end&#13;&#10;&#13;&#10;function getTool()&#13;&#10;&#9;&#13;&#10;&#9;kidTable = Figure:children()&#13;&#10;&#9;if (kidTable ~= nil) then&#13;&#10;&#9;&#9;numKids = #kidTable&#13;&#10;&#9;&#9;for i=1,numKids do&#13;&#10;&#9;&#9;&#9;if (kidTable[i].className == &quot;Tool&quot;) then return kidTable[i] end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;c = tool:children()&#13;&#10;&#9;for i=1,#c do&#13;&#10;&#9;&#9;if (c[i].Name == &quot;toolanim&quot; and c[i].className == &quot;StringValue&quot;) then&#13;&#10;&#9;&#9;&#9;return c[i]&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function animateTool()&#13;&#10;&#9;&#13;&#10;&#9;if (toolAnim == &quot;None&quot;) then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Slash&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Lunge&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 1.0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 1.0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function move(time)&#13;&#10;&#9;local amplitude&#13;&#10;&#9;local frequency&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Jumping&quot;) then&#13;&#10;&#9;&#9;moveJump()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Zombie&quot;) then&#13;&#10;&#9;&#9;moveZombie()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Boogy&quot;) then&#13;&#10;&#9;&#9;moveBoogy()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Float&quot;) then&#13;&#10;&#9;&#9;moveFloat()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Punch&quot;) then&#13;&#10;&#9;&#9;movePunch()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Kick&quot;) then&#13;&#10;&#9;&#9;moveKick()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Fly&quot;) then&#13;&#10;&#9;&#9;moveFly()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;FreeFall&quot;) then&#13;&#10;&#9;&#9;moveFreeFall()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Climbing&quot;) then&#13;&#10;&#9;&#9;moveClimb()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Seated&quot;) then&#13;&#10;&#9;&#9;moveSit()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;amplitude = 0.1&#13;&#10;&#9;&#9;frequency = 1&#13;&#10;&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;if (pose == &quot;Running&quot;) then&#13;&#10;&#9;&#9;amplitude = 1&#13;&#10;&#9;&#9;frequency = 9&#13;&#10;&#9;elseif (pose == &quot;Dancing&quot;) then&#13;&#10;&#9;&#9;amplitude = 2&#13;&#10;&#9;&#9;frequency = 16&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#13;&#10;&#9;desiredAngle = amplitude * math.sin(time*frequency)&#13;&#10;&#9;if pose~=&quot;Dancing&quot; then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;else&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;end&#13;&#10;&#9;&#9;&#13;&#10;&#13;&#10;&#13;&#10;&#9;local tool = getTool()&#13;&#10;&#13;&#10;&#9;if tool ~= nil then&#13;&#10;&#9;&#13;&#10;&#9;&#9;animStringValueObject = getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;&#9;if animStringValueObject ~= nil then&#13;&#10;&#9;&#9;&#9;toolAnim = animStringValueObject.Value&#13;&#10;&#9;&#9;&#9;-- message recieved, delete StringValue&#13;&#10;&#9;&#9;&#9;animStringValueObject.Parent = nil&#13;&#10;&#9;&#9;&#9;toolAnimTime = time + .3&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if time &gt; toolAnimTime then&#13;&#10;&#9;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;animateTool()&#13;&#10;&#13;&#10;&#9;&#9;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;-- connect events&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;function unequip()&#13;&#10;&#9;local items=script.Parent:children()&#13;&#10;&#9;for i=1, #items do&#13;&#10;&#9;&#9;if items[i].className==&quot;Tool&quot; then items[i]:remove() end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onChatted(msg, recipient) &#13;&#10;&#9;msg = string.lower(msg)&#13;&#10;&#13;&#10;&#9;if string.match(msg, string.lower(script.Parent.Name))~=nil or string.match(msg, &quot;everyone&quot;) then&#13;&#10;&#9;&#9;if string.match(msg, &quot;equip&quot;) then &#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;Hub&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;if string.match(msg, &quot;rocket&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Rocket:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;slingshot&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Slingshot:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;sword&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Sword:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;pbg&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.PBG:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;superball&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Superball:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;trowel&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Trowel:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;bomb&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Bomb:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;unequip&quot;) then unequip() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;run&quot;) then onRunning(1) end&#13;&#10;&#9;&#9;if string.match(msg, &quot;climb&quot;) then onClimbing() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;jump&quot;) then onJumping() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;zombie&quot;) then pose=&quot;Zombie&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;disco&quot;) then pose=&quot;Boogy&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;float&quot;) then pose=&quot;Float&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;punch&quot;) then pose=&quot;Punch&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kick&quot;) then pose=&quot;Kick&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;fly&quot;) then pose=&quot;Fly&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;heal&quot;) then script.Parent.Humanoid.Health=script.Parent.Humanoid.MaxHealth end&#13;&#10;&#9;&#9;if string.match(msg, &quot;defend&quot;) then defence() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;stop&quot;) then pose=&quot;Standing&quot;; proxkill=false; following=false; stopmoving() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;go home&quot;) then following=false; gohome() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;follow&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;followany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;follow(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kill&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;attackany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;attack(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if game.Players.NumPlayers&gt;1 then&#13;&#10;&#9;x=game.Players:children()&#13;&#10;&#9;&#13;&#10;&#9;for i=1, #x do&#13;&#10;&#9;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function onPlayerEntered(Player) &#13;&#10;&#9;while Player.Name==nil do&#13;&#10;&#9;&#9;wait(2)&#13;&#10;&#9;end&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;end&#13;&#10;&#9;else&#13;&#10;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;game.Players.ChildAdded:connect(onPlayerEntered) &#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;dist=20&#13;&#10;&#13;&#10;function followany()&#13;&#10;following=true&#13;&#10;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 6 do&#13;&#10;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then stopmoving() else&#9;wait(0.5) end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function gohome()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(Vector3.new(0,0,0), game.Workspace.Bases.Base)&#13;&#10;end&#13;&#10;function stopmoving()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(script.Parent.Torso.Position, script.Parent.Torso)&#13;&#10;end&#13;&#10;&#13;&#10;function follow(name)&#13;&#10;&#9;following=true&#13;&#10;&#13;&#10;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;if p==nil then return end&#13;&#10;&#9;while following==true do&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attack(name)&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#9;&#9;following=true&#13;&#10;&#9;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;&#9;if p==nil then return end&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#9;local l=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((l.x-q.x)^2)+((l.y-q.y)^2)+((l.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;if (q.y-l.y)&gt;3 and (q.y-l.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attackany()&#13;&#10;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#13;&#10;&#9;following=true&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;slash()&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;if target.Parent==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then &#13;&#10;&#9;&#9;&#9;&#9;&#9;stopmoving() &#13;&#10;&#9;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=target.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if (q.y-p.y)&gt;3 and (q.y-p.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function patrol()&#13;&#10;&#9;if points==nil then&#13;&#10;&#9;&#9;points=0&#13;&#10;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp1&quot;)~=nil then&#13;&#10;&#9;&#9;pp1=game.Workspace:findFirstChild(&quot;pp1&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp2&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;pp2=game.Workspace:findFirstChild(&quot;pp2&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp3&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;pp3=game.Workspace:findFirstChild(&quot;pp3&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp4&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;pp4=game.Workspace:findFirstChild(&quot;pp4&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp5&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;pp5=game.Workspace:findFirstChild(&quot;pp5&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp6&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp6=game.Workspace:findFirstChild(&quot;pp6&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp7&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp7=game.Workspace:findFirstChild(&quot;pp7&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp8&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp8=game.Workspace:findFirstChild(&quot;pp8&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp9&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp9=game.Workspace:findFirstChild(&quot;pp9&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if points&lt;1 then return end&#13;&#10;&#9;patrolling=true&#13;&#10;&#9;local time=2&#13;&#10;&#9;if points==1 then return end&#13;&#10;&#9;if points&gt;1 then&#13;&#10;&#9;&#9;while patrolling==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp1.Position, pp1)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp2.Position, pp2)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;if points&gt;2 then&#13;&#10;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp3.Position, pp3)&#13;&#10;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;if points&gt;3 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp4.Position, pp4)&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;if points&gt;4 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp5.Position, pp5)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;5 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp6.Position, pp6)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;6 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp7.Position, pp7)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp8.Position, pp8)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp9.Position, pp9)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function goto(pos,part)&#13;&#10;while true do&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function slash()&#13;&#10;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;wait(.3)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -2.14&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;&#9;wait(.2)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function defence()&#13;&#10;&#9;proxkill=true&#13;&#10;&#9;while proxkill==true do&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local p=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if p~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local p=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;dist and d&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local ex=Instance.new(&quot;Explosion&quot;)&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Position=p&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Parent=game.Workspace&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#9;&#9;&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;wait(1)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(onJumping)&#13;&#10;Humanoid.Climbing:connect(onClimbing)&#13;&#10;Humanoid.GettingUp:connect(onGettingUp)&#13;&#10;Humanoid.FreeFalling:connect(onFreeFall)&#13;&#10;Humanoid.FallingDown:connect(onFallingDown)&#13;&#10;Humanoid.Seated:connect(onSeated)&#13;&#10;&#13;&#10;&#13;&#10;--[[&#13;&#10;&#13;&#10;function newSound(id)&#13;&#10;&#9;local sound = Instance.new(&quot;Sound&quot;)&#13;&#10;&#9;sound.SoundId = id&#13;&#10;&#9;sound.Parent = script.Parent.Head&#13;&#10;&#9;return sound&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;local sDied = newSound(&quot;rbxasset://sounds/uuhhh.wav&quot;)&#13;&#10;local sFallingDown = newSound(&quot;rbxasset://sounds/splat.wav&quot;)&#13;&#10;local sFreeFalling = newSound(&quot;rbxasset://sounds/swoosh.wav&quot;)&#13;&#10;local sGettingUp = newSound(&quot;rbxasset://sounds/hit.wav&quot;)&#13;&#10;local sJumping = newSound(&quot;rbxasset://sounds/button.wav&quot;)&#13;&#10;local sRunning = newSound(&quot;rbxasset://sounds/bfsl-minifigfoots1.mp3&quot;)&#13;&#10;sRunning.Looped = true&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;sDied:play()&#13;&#10;end&#13;&#10;&#13;&#10;function onState(state, sound)&#13;&#10;&#9;if state then&#13;&#10;&#9;&#9;sound:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sound:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;sRunning:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sRunning:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(function(state) onState(state, sJumping) end)&#13;&#10;Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end)&#13;&#10;Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end)&#13;&#10;Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end)&#13;&#10;--]]&#13;&#10;&#13;&#10;local nextTime = 0&#13;&#10;local runService = game:service(&quot;RunService&quot;);&#13;&#10;&#13;&#10;while Figure.Parent~=nil do&#13;&#10;&#9;time = runService.Stepped:wait()&#13;&#10;&#9;if time &gt; nextTime then&#13;&#10;&#9;&#9;move(time)&#13;&#10;&#9;&#9;nextTime = time + 0.1&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX1216">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Follow</string>
					<string name="Source">local larm = script.Parent:FindFirstChild(&quot;Left Arm&quot;)&#13;&#10;local rarm = script.Parent:FindFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;function findNearestTorso(pos)&#13;&#10;&#9;local list = game.Workspace:children()&#13;&#10;&#9;local torso = nil&#13;&#10;&#9;local dist = 25&#13;&#10;&#9;local temp = nil&#13;&#10;&#9;local human = nil&#13;&#10;&#9;local temp2 = nil&#13;&#10;&#9;for x = 1, #list do&#13;&#10;&#9;&#9;temp2 = list[x]&#13;&#10;&#9;&#9;if (temp2.className == &quot;Model&quot;) and (temp2 ~= script.Parent) then&#13;&#10;&#9;&#9;&#9;temp = temp2:findFirstChild(&quot;Torso&quot;)&#13;&#10;&#9;&#9;&#9;human = temp2:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;&#9;&#9;if (temp ~= nil) and (human ~= nil) and (human.Health &gt; 0) then&#13;&#10;&#9;&#9;&#9;&#9;if (temp.Position - pos).magnitude &lt; dist then&#13;&#10;&#9;&#9;&#9;&#9;&#9;torso = temp&#13;&#10;&#9;&#9;&#9;&#9;&#9;dist = (temp.Position - pos).magnitude&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return torso&#13;&#10;end&#13;&#10;&#13;&#10;while true do&#13;&#10;&#9;wait(0.1)&#13;&#10;&#9;local target = findNearestTorso(script.Parent.Torso.Position)&#13;&#10;&#9;if target ~= nil then&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#9;end&#13;&#10;end</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Model" referent="RBX1217">
			<Properties>
				<token name="Controller">7</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">Warrior</string>
				<Ref name="PrimaryPart">RBX1218</Ref>
				<bool name="archivable">true</bool>
			</Properties>
			<Item class="Humanoid" referent="RBX1219">
				<Properties>
					<float name="Health">0</float>
					<bool name="Jump">false</bool>
					<float name="MaxHealth">100</float>
					<string name="Name">Humanoid</string>
					<bool name="Sit">false</bool>
					<Vector3 name="TargetPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<Vector3 name="WalkDirection">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<float name="WalkRotationalVelocity">0</float>
					<Ref name="WalkToPart">null</Ref>
					<Vector3 name="WalkToPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX1220">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Health</string>
					<string name="Source">function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;-- declarations&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;Humanoid.Health=500&#13;&#10;-- regeneration&#13;&#10;while true do&#13;&#10;&#9;local s = wait(4)&#13;&#10;&#9;local health = Humanoid.Health&#13;&#10;&#9;if health &gt; 0 and health &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;health = health + 0.08 * s * Humanoid.MaxHealth&#13;&#10;&#9;&#9;if health * 1.05 &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;&#9;Humanoid.Health = health&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;Humanoid.Health = Humanoid.MaxHealth&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="BodyColors" referent="RBX1221">
				<Properties>
					<int name="HeadColor">24</int>
					<int name="LeftArmColor">28</int>
					<int name="LeftLegColor">28</int>
					<string name="Name">Body Colors</string>
					<int name="RightArmColor">28</int>
					<int name="RightLegColor">28</int>
					<int name="TorsoColor">28</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="IntValue" referent="RBX1222">
				<Properties>
					<string name="Name">Value</string>
					<int name="Value">0</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Part" referent="RBX1218">
				<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">4</token>
					<token name="BottomSurfaceInput">0</token>
					<int name="BrickColor">141</int>
					<CoordinateFrame name="CFrame">
						<X>141.93483</X>
						<Y>0.890039682</Y>
						<Z>167.574829</Z>
						<R00>-1.78437608e-006</R00>
						<R01>0.838632643</R01>
						<R02>0.544697344</R02>
						<R10>-0.99999994</R10>
						<R11>1.16102427e-007</R11>
						<R12>-3.50794062e-006</R12>
						<R20>-2.96948633e-006</R20>
						<R21>-0.544697344</R21>
						<R22>0.838632703</R22>
					</CoordinateFrame>
					<bool name="CanCollide">true</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">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">Right Arm</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>1</X>
						<Y>2</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
				<Item class="Script" referent="RBX1223">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">DoorScript2</string>
						<string name="Source">print(&quot;Omg a team door! Goodbye spawnkilling!&quot;) -- {made by:yourit12 modeled by:NintendoZACHERY}&#13;&#10;&#13;&#10;Door = script.Parent &#13;&#10;------------------------------------&#13;&#10;modelname=&quot;Admins&quot; -- Put the EXACT name of the team here&#13;&#10;------------------------------------&#13;&#10; &#13;&#10;function onTouched(hit) &#13;&#10;        print(&quot;Door Hit&quot;) &#13;&#10;        local human = hit.Parent:FindFirstChild(&quot;Humanoid&quot;) &#13;&#10;        if (human ~= nil ) then&#13;&#10;                if game.Players:playerFromCharacter(hit.Parent).TeamColor==game.Teams:findFirstChild(modelname).TeamColor then&#13;&#10;                        Door.CanCollide = false &#13;&#10;                        Door.Transparency = 0&#13;&#10;                        wait(1) &#13;&#10;                        Door.CanCollide = true &#13;&#10;                        Door.Transparency = 0 &#13;&#10;                        print(&quot;Human touched door&quot;) &#13;&#10;                else&#13;&#10;                        human.Health = 0&#13;&#10;                end&#13;&#10; &#13;&#10;        end &#13;&#10;end &#13;&#10; &#13;&#10;connection = Door.Touched:connect(onTouched)</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Script" referent="RBX1224">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">Script</string>
						<string name="Source">function onTouched(hit)&#13;&#10;if hit.Name ~= &quot;tray&quot; then hit:remove() end&#13;&#10;end&#13;&#10;&#13;&#10;connection = script.Parent.Touched:connect(onTouched)&#13;&#10;</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Script" referent="RBX1225">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">Script</string>
						<string name="Source">&#13;&#10;function onTouched(hit)&#13;&#10;&#9;local human = hit.Parent:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;if (human ~= nil) then&#13;&#10;&#9;&#9;human.Health = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if (script.Parent ~= nil) and (script.Parent.className == &quot;Part&quot;) then --Work if in a block&#13;&#10;&#9;connection = script.Parent.Touched:connect(onTouched)&#13;&#10;end&#13;&#10;</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
			</Item>
			<Item class="Script" referent="RBX1226">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Robot</string>
					<string name="Source">------------------&#13;&#10;--SPAWNING--&#13;&#10;------------------&#13;&#10;&#13;&#10;miked=script.Parent&#13;&#10;&#13;&#10;itlh=miked.Torso:findFirstChild(&quot;Left Hip&quot;)&#13;&#10;itlh.Part0=miked.Torso&#13;&#10;itlh.Part1=miked:findFirstChild(&quot;Left Leg&quot;)&#13;&#10;itlh.C0=CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;&#13;&#10;itrh=miked.Torso:findFirstChild(&quot;Right Hip&quot;)&#13;&#10;itrh.Part0=miked.Torso&#13;&#10;itrh.Part1=miked:findFirstChild(&quot;Right Leg&quot;)&#13;&#10;itrh.C0=CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;&#13;&#10;itls=miked.Torso:findFirstChild(&quot;Left Shoulder&quot;)&#13;&#10;itls.Part1=miked.Torso&#13;&#10;itls.C0=CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;itls.Part0=miked:findFirstChild(&quot;Left Arm&quot;)&#13;&#10;&#13;&#10;itrs=miked.Torso:findFirstChild(&quot;Right Shoulder&quot;)&#13;&#10;itrs.Part1=miked.Torso&#13;&#10;itrs.C0=CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;itrs.Part0=miked:findFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;miked.Head:makeJoints()&#13;&#10;------------------&#13;&#10;------------------&#13;&#10;&#13;&#10;&#13;&#10;function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Torso = waitForChild(Figure, &quot;Torso&quot;)&#13;&#10;local RightShoulder = waitForChild(Torso, &quot;Right Shoulder&quot;)&#13;&#10;local LeftShoulder = waitForChild(Torso, &quot;Left Shoulder&quot;)&#13;&#10;local RightHip = waitForChild(Torso, &quot;Right Hip&quot;)&#13;&#10;local LeftHip = waitForChild(Torso, &quot;Left Hip&quot;)&#13;&#10;local Neck = waitForChild(Torso, &quot;Neck&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;local pose = &quot;Standing&quot;&#13;&#10;&#13;&#10;local toolAnim = &quot;None&quot;&#13;&#10;local toolAnimTime = 0&#13;&#10;&#13;&#10;local isSeated = false&#13;&#10;&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if isSeated then return end&#13;&#10;&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;pose = &quot;Running&quot;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;pose = &quot;Standing&quot;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;pose = &quot;Dead&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onJumping()&#13;&#10;&#9;isSeated = false&#13;&#10;&#9;pose = &quot;Jumping&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onClimbing()&#13;&#10;&#9;pose = &quot;Climbing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onGettingUp()&#13;&#10;&#9;pose = &quot;GettingUp&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFreeFall()&#13;&#10;&#9;pose = &quot;FreeFall&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onDancing()&#13;&#10;&#9;pose = &quot;Dancing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFallingDown()&#13;&#10;&#9;pose = &quot;FallingDown&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onSeated()&#13;&#10;&#9;isSeated = true&#13;&#10;&#9;pose = &quot;Seated&quot;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function moveJump()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFreeFall()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1&#13;&#10;&#9;LeftShoulder.DesiredAngle = -1&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFloat()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = -1.57&#13;&#10;end&#13;&#10;&#13;&#10;function moveBoogy()&#13;&#10;while pose==&quot;Boogy&quot; do&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 1.57&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;function moveZombie()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function movePunch()&#13;&#10;&#9;script.Parent.Torso.Anchored=true&#13;&#10;&#9;RightShoulder.MaxVelocity = 60&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;script.Parent.Torso.Anchored=false&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveKick()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveFly()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function moveClimb()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveSit()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;RightHip.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftHip.DesiredAngle = -3.14 /2&#13;&#10;end&#13;&#10;&#13;&#10;function getTool()&#13;&#10;&#9;&#13;&#10;&#9;kidTable = Figure:children()&#13;&#10;&#9;if (kidTable ~= nil) then&#13;&#10;&#9;&#9;numKids = #kidTable&#13;&#10;&#9;&#9;for i=1,numKids do&#13;&#10;&#9;&#9;&#9;if (kidTable[i].className == &quot;Tool&quot;) then return kidTable[i] end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;c = tool:children()&#13;&#10;&#9;for i=1,#c do&#13;&#10;&#9;&#9;if (c[i].Name == &quot;toolanim&quot; and c[i].className == &quot;StringValue&quot;) then&#13;&#10;&#9;&#9;&#9;return c[i]&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function animateTool()&#13;&#10;&#9;&#13;&#10;&#9;if (toolAnim == &quot;None&quot;) then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Slash&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Lunge&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 1.0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 1.0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function move(time)&#13;&#10;&#9;local amplitude&#13;&#10;&#9;local frequency&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Jumping&quot;) then&#13;&#10;&#9;&#9;moveJump()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Zombie&quot;) then&#13;&#10;&#9;&#9;moveZombie()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Boogy&quot;) then&#13;&#10;&#9;&#9;moveBoogy()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Float&quot;) then&#13;&#10;&#9;&#9;moveFloat()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Punch&quot;) then&#13;&#10;&#9;&#9;movePunch()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Kick&quot;) then&#13;&#10;&#9;&#9;moveKick()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Fly&quot;) then&#13;&#10;&#9;&#9;moveFly()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;FreeFall&quot;) then&#13;&#10;&#9;&#9;moveFreeFall()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Climbing&quot;) then&#13;&#10;&#9;&#9;moveClimb()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Seated&quot;) then&#13;&#10;&#9;&#9;moveSit()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;amplitude = 0.1&#13;&#10;&#9;&#9;frequency = 1&#13;&#10;&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;if (pose == &quot;Running&quot;) then&#13;&#10;&#9;&#9;amplitude = 1&#13;&#10;&#9;&#9;frequency = 9&#13;&#10;&#9;elseif (pose == &quot;Dancing&quot;) then&#13;&#10;&#9;&#9;amplitude = 2&#13;&#10;&#9;&#9;frequency = 16&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#13;&#10;&#9;desiredAngle = amplitude * math.sin(time*frequency)&#13;&#10;&#9;if pose~=&quot;Dancing&quot; then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;else&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;end&#13;&#10;&#9;&#9;&#13;&#10;&#13;&#10;&#13;&#10;&#9;local tool = getTool()&#13;&#10;&#13;&#10;&#9;if tool ~= nil then&#13;&#10;&#9;&#13;&#10;&#9;&#9;animStringValueObject = getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;&#9;if animStringValueObject ~= nil then&#13;&#10;&#9;&#9;&#9;toolAnim = animStringValueObject.Value&#13;&#10;&#9;&#9;&#9;-- message recieved, delete StringValue&#13;&#10;&#9;&#9;&#9;animStringValueObject.Parent = nil&#13;&#10;&#9;&#9;&#9;toolAnimTime = time + .3&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if time &gt; toolAnimTime then&#13;&#10;&#9;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;animateTool()&#13;&#10;&#13;&#10;&#9;&#9;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;-- connect events&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;function unequip()&#13;&#10;&#9;local items=script.Parent:children()&#13;&#10;&#9;for i=1, #items do&#13;&#10;&#9;&#9;if items[i].className==&quot;Tool&quot; then items[i]:remove() end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onChatted(msg, recipient) &#13;&#10;&#9;msg = string.lower(msg)&#13;&#10;&#13;&#10;&#9;if string.match(msg, string.lower(script.Parent.Name))~=nil or string.match(msg, &quot;everyone&quot;) then&#13;&#10;&#9;&#9;if string.match(msg, &quot;equip&quot;) then &#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;Hub&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;if string.match(msg, &quot;rocket&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Rocket:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;slingshot&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Slingshot:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;sword&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Sword:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;pbg&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.PBG:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;superball&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Superball:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;trowel&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Trowel:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;bomb&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Bomb:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;unequip&quot;) then unequip() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;run&quot;) then onRunning(1) end&#13;&#10;&#9;&#9;if string.match(msg, &quot;climb&quot;) then onClimbing() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;jump&quot;) then onJumping() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;zombie&quot;) then pose=&quot;Zombie&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;disco&quot;) then pose=&quot;Boogy&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;float&quot;) then pose=&quot;Float&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;punch&quot;) then pose=&quot;Punch&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kick&quot;) then pose=&quot;Kick&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;fly&quot;) then pose=&quot;Fly&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;heal&quot;) then script.Parent.Humanoid.Health=script.Parent.Humanoid.MaxHealth end&#13;&#10;&#9;&#9;if string.match(msg, &quot;defend&quot;) then defence() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;stop&quot;) then pose=&quot;Standing&quot;; proxkill=false; following=false; stopmoving() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;go home&quot;) then following=false; gohome() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;follow&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;followany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;follow(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kill&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;attackany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;attack(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if game.Players.NumPlayers&gt;1 then&#13;&#10;&#9;x=game.Players:children()&#13;&#10;&#9;&#13;&#10;&#9;for i=1, #x do&#13;&#10;&#9;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function onPlayerEntered(Player) &#13;&#10;&#9;while Player.Name==nil do&#13;&#10;&#9;&#9;wait(2)&#13;&#10;&#9;end&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;end&#13;&#10;&#9;else&#13;&#10;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;game.Players.ChildAdded:connect(onPlayerEntered) &#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;dist=20&#13;&#10;&#13;&#10;function followany()&#13;&#10;following=true&#13;&#10;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 6 do&#13;&#10;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then stopmoving() else&#9;wait(0.5) end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function gohome()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(Vector3.new(0,0,0), game.Workspace.Bases.Base)&#13;&#10;end&#13;&#10;function stopmoving()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(script.Parent.Torso.Position, script.Parent.Torso)&#13;&#10;end&#13;&#10;&#13;&#10;function follow(name)&#13;&#10;&#9;following=true&#13;&#10;&#13;&#10;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;if p==nil then return end&#13;&#10;&#9;while following==true do&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attack(name)&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#9;&#9;following=true&#13;&#10;&#9;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;&#9;if p==nil then return end&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#9;local l=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((l.x-q.x)^2)+((l.y-q.y)^2)+((l.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;if (q.y-l.y)&gt;3 and (q.y-l.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attackany()&#13;&#10;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#13;&#10;&#9;following=true&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;slash()&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;if target.Parent==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then &#13;&#10;&#9;&#9;&#9;&#9;&#9;stopmoving() &#13;&#10;&#9;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=target.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if (q.y-p.y)&gt;3 and (q.y-p.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function patrol()&#13;&#10;&#9;if points==nil then&#13;&#10;&#9;&#9;points=0&#13;&#10;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp1&quot;)~=nil then&#13;&#10;&#9;&#9;pp1=game.Workspace:findFirstChild(&quot;pp1&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp2&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;pp2=game.Workspace:findFirstChild(&quot;pp2&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp3&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;pp3=game.Workspace:findFirstChild(&quot;pp3&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp4&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;pp4=game.Workspace:findFirstChild(&quot;pp4&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp5&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;pp5=game.Workspace:findFirstChild(&quot;pp5&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp6&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp6=game.Workspace:findFirstChild(&quot;pp6&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp7&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp7=game.Workspace:findFirstChild(&quot;pp7&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp8&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp8=game.Workspace:findFirstChild(&quot;pp8&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp9&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp9=game.Workspace:findFirstChild(&quot;pp9&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if points&lt;1 then return end&#13;&#10;&#9;patrolling=true&#13;&#10;&#9;local time=2&#13;&#10;&#9;if points==1 then return end&#13;&#10;&#9;if points&gt;1 then&#13;&#10;&#9;&#9;while patrolling==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp1.Position, pp1)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp2.Position, pp2)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;if points&gt;2 then&#13;&#10;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp3.Position, pp3)&#13;&#10;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;if points&gt;3 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp4.Position, pp4)&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;if points&gt;4 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp5.Position, pp5)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;5 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp6.Position, pp6)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;6 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp7.Position, pp7)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp8.Position, pp8)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp9.Position, pp9)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function goto(pos,part)&#13;&#10;while true do&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function slash()&#13;&#10;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;wait(.3)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -2.14&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;&#9;wait(.2)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function defence()&#13;&#10;&#9;proxkill=true&#13;&#10;&#9;while proxkill==true do&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local p=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if p~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local p=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;dist and d&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local ex=Instance.new(&quot;Explosion&quot;)&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Position=p&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Parent=game.Workspace&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#9;&#9;&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;wait(1)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(onJumping)&#13;&#10;Humanoid.Climbing:connect(onClimbing)&#13;&#10;Humanoid.GettingUp:connect(onGettingUp)&#13;&#10;Humanoid.FreeFalling:connect(onFreeFall)&#13;&#10;Humanoid.FallingDown:connect(onFallingDown)&#13;&#10;Humanoid.Seated:connect(onSeated)&#13;&#10;&#13;&#10;&#13;&#10;--[[&#13;&#10;&#13;&#10;function newSound(id)&#13;&#10;&#9;local sound = Instance.new(&quot;Sound&quot;)&#13;&#10;&#9;sound.SoundId = id&#13;&#10;&#9;sound.Parent = script.Parent.Head&#13;&#10;&#9;return sound&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;local sDied = newSound(&quot;rbxasset://sounds/uuhhh.wav&quot;)&#13;&#10;local sFallingDown = newSound(&quot;rbxasset://sounds/splat.wav&quot;)&#13;&#10;local sFreeFalling = newSound(&quot;rbxasset://sounds/swoosh.wav&quot;)&#13;&#10;local sGettingUp = newSound(&quot;rbxasset://sounds/hit.wav&quot;)&#13;&#10;local sJumping = newSound(&quot;rbxasset://sounds/button.wav&quot;)&#13;&#10;local sRunning = newSound(&quot;rbxasset://sounds/bfsl-minifigfoots1.mp3&quot;)&#13;&#10;sRunning.Looped = true&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;sDied:play()&#13;&#10;end&#13;&#10;&#13;&#10;function onState(state, sound)&#13;&#10;&#9;if state then&#13;&#10;&#9;&#9;sound:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sound:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;sRunning:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sRunning:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(function(state) onState(state, sJumping) end)&#13;&#10;Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end)&#13;&#10;Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end)&#13;&#10;Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end)&#13;&#10;--]]&#13;&#10;&#13;&#10;local nextTime = 0&#13;&#10;local runService = game:service(&quot;RunService&quot;);&#13;&#10;&#13;&#10;while Figure.Parent~=nil do&#13;&#10;&#9;time = runService.Stepped:wait()&#13;&#10;&#9;if time &gt; nextTime then&#13;&#10;&#9;&#9;move(time)&#13;&#10;&#9;&#9;nextTime = time + 0.1&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX1227">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Follow</string>
					<string name="Source">local larm = script.Parent:FindFirstChild(&quot;Left Arm&quot;)&#13;&#10;local rarm = script.Parent:FindFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;function findNearestTorso(pos)&#13;&#10;&#9;local list = game.Workspace:children()&#13;&#10;&#9;local torso = nil&#13;&#10;&#9;local dist = 25&#13;&#10;&#9;local temp = nil&#13;&#10;&#9;local human = nil&#13;&#10;&#9;local temp2 = nil&#13;&#10;&#9;for x = 1, #list do&#13;&#10;&#9;&#9;temp2 = list[x]&#13;&#10;&#9;&#9;if (temp2.className == &quot;Model&quot;) and (temp2 ~= script.Parent) then&#13;&#10;&#9;&#9;&#9;temp = temp2:findFirstChild(&quot;Torso&quot;)&#13;&#10;&#9;&#9;&#9;human = temp2:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;&#9;&#9;if (temp ~= nil) and (human ~= nil) and (human.Health &gt; 0) then&#13;&#10;&#9;&#9;&#9;&#9;if (temp.Position - pos).magnitude &lt; dist then&#13;&#10;&#9;&#9;&#9;&#9;&#9;torso = temp&#13;&#10;&#9;&#9;&#9;&#9;&#9;dist = (temp.Position - pos).magnitude&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return torso&#13;&#10;end&#13;&#10;&#13;&#10;while true do&#13;&#10;&#9;wait(0.1)&#13;&#10;&#9;local target = findNearestTorso(script.Parent.Torso.Position)&#13;&#10;&#9;if target ~= nil then&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#9;end&#13;&#10;end</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Model" referent="RBX1228">
			<Properties>
				<token name="Controller">7</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">Warrior</string>
				<Ref name="PrimaryPart">RBX1229</Ref>
				<bool name="archivable">true</bool>
			</Properties>
			<Item class="Humanoid" referent="RBX1230">
				<Properties>
					<float name="Health">0</float>
					<bool name="Jump">false</bool>
					<float name="MaxHealth">100</float>
					<string name="Name">Humanoid</string>
					<bool name="Sit">false</bool>
					<Vector3 name="TargetPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<Vector3 name="WalkDirection">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<float name="WalkRotationalVelocity">0</float>
					<Ref name="WalkToPart">null</Ref>
					<Vector3 name="WalkToPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX1231">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Health</string>
					<string name="Source">function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;-- declarations&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;Humanoid.Health=500&#13;&#10;-- regeneration&#13;&#10;while true do&#13;&#10;&#9;local s = wait(4)&#13;&#10;&#9;local health = Humanoid.Health&#13;&#10;&#9;if health &gt; 0 and health &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;health = health + 0.08 * s * Humanoid.MaxHealth&#13;&#10;&#9;&#9;if health * 1.05 &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;&#9;Humanoid.Health = health&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;Humanoid.Health = Humanoid.MaxHealth&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="BodyColors" referent="RBX1232">
				<Properties>
					<int name="HeadColor">24</int>
					<int name="LeftArmColor">28</int>
					<int name="LeftLegColor">28</int>
					<string name="Name">Body Colors</string>
					<int name="RightArmColor">28</int>
					<int name="RightLegColor">28</int>
					<int name="TorsoColor">28</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="IntValue" referent="RBX1233">
				<Properties>
					<string name="Name">Value</string>
					<int name="Value">0</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Part" referent="RBX1229">
				<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">4</token>
					<token name="BottomSurfaceInput">0</token>
					<int name="BrickColor">141</int>
					<CoordinateFrame name="CFrame">
						<X>210.603378</X>
						<Y>0.890014946</Y>
						<Z>131.911499</Z>
						<R00>0.349488169</R00>
						<R01>-0.93694073</R01>
						<R02>-7.97685004e-007</R02>
						<R10>3.91624098e-006</R10>
						<R11>2.3603759e-006</R11>
						<R12>-0.99999994</R12>
						<R20>0.93694073</R20>
						<R21>0.349488109</R21>
						<R22>4.52570748e-006</R22>
					</CoordinateFrame>
					<bool name="CanCollide">true</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">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">Right Arm</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>1</X>
						<Y>2</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
				<Item class="Script" referent="RBX1234">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">DoorScript2</string>
						<string name="Source">print(&quot;Omg a team door! Goodbye spawnkilling!&quot;) -- {made by:yourit12 modeled by:NintendoZACHERY}&#13;&#10;&#13;&#10;Door = script.Parent &#13;&#10;------------------------------------&#13;&#10;modelname=&quot;Admins&quot; -- Put the EXACT name of the team here&#13;&#10;------------------------------------&#13;&#10; &#13;&#10;function onTouched(hit) &#13;&#10;        print(&quot;Door Hit&quot;) &#13;&#10;        local human = hit.Parent:FindFirstChild(&quot;Humanoid&quot;) &#13;&#10;        if (human ~= nil ) then&#13;&#10;                if game.Players:playerFromCharacter(hit.Parent).TeamColor==game.Teams:findFirstChild(modelname).TeamColor then&#13;&#10;                        Door.CanCollide = false &#13;&#10;                        Door.Transparency = 0&#13;&#10;                        wait(1) &#13;&#10;                        Door.CanCollide = true &#13;&#10;                        Door.Transparency = 0 &#13;&#10;                        print(&quot;Human touched door&quot;) &#13;&#10;                else&#13;&#10;                        human.Health = 0&#13;&#10;                end&#13;&#10; &#13;&#10;        end &#13;&#10;end &#13;&#10; &#13;&#10;connection = Door.Touched:connect(onTouched)</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Script" referent="RBX1235">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">Script</string>
						<string name="Source">function onTouched(hit)&#13;&#10;if hit.Name ~= &quot;tray&quot; then hit:remove() end&#13;&#10;end&#13;&#10;&#13;&#10;connection = script.Parent.Touched:connect(onTouched)&#13;&#10;</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Script" referent="RBX1236">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">Script</string>
						<string name="Source">&#13;&#10;function onTouched(hit)&#13;&#10;&#9;local human = hit.Parent:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;if (human ~= nil) then&#13;&#10;&#9;&#9;human.Health = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if (script.Parent ~= nil) and (script.Parent.className == &quot;Part&quot;) then --Work if in a block&#13;&#10;&#9;connection = script.Parent.Touched:connect(onTouched)&#13;&#10;end&#13;&#10;</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
			</Item>
			<Item class="Script" referent="RBX1237">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Robot</string>
					<string name="Source">------------------&#13;&#10;--SPAWNING--&#13;&#10;------------------&#13;&#10;&#13;&#10;miked=script.Parent&#13;&#10;&#13;&#10;itlh=miked.Torso:findFirstChild(&quot;Left Hip&quot;)&#13;&#10;itlh.Part0=miked.Torso&#13;&#10;itlh.Part1=miked:findFirstChild(&quot;Left Leg&quot;)&#13;&#10;itlh.C0=CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;&#13;&#10;itrh=miked.Torso:findFirstChild(&quot;Right Hip&quot;)&#13;&#10;itrh.Part0=miked.Torso&#13;&#10;itrh.Part1=miked:findFirstChild(&quot;Right Leg&quot;)&#13;&#10;itrh.C0=CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;&#13;&#10;itls=miked.Torso:findFirstChild(&quot;Left Shoulder&quot;)&#13;&#10;itls.Part1=miked.Torso&#13;&#10;itls.C0=CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;itls.Part0=miked:findFirstChild(&quot;Left Arm&quot;)&#13;&#10;&#13;&#10;itrs=miked.Torso:findFirstChild(&quot;Right Shoulder&quot;)&#13;&#10;itrs.Part1=miked.Torso&#13;&#10;itrs.C0=CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;itrs.Part0=miked:findFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;miked.Head:makeJoints()&#13;&#10;------------------&#13;&#10;------------------&#13;&#10;&#13;&#10;&#13;&#10;function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Torso = waitForChild(Figure, &quot;Torso&quot;)&#13;&#10;local RightShoulder = waitForChild(Torso, &quot;Right Shoulder&quot;)&#13;&#10;local LeftShoulder = waitForChild(Torso, &quot;Left Shoulder&quot;)&#13;&#10;local RightHip = waitForChild(Torso, &quot;Right Hip&quot;)&#13;&#10;local LeftHip = waitForChild(Torso, &quot;Left Hip&quot;)&#13;&#10;local Neck = waitForChild(Torso, &quot;Neck&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;local pose = &quot;Standing&quot;&#13;&#10;&#13;&#10;local toolAnim = &quot;None&quot;&#13;&#10;local toolAnimTime = 0&#13;&#10;&#13;&#10;local isSeated = false&#13;&#10;&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if isSeated then return end&#13;&#10;&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;pose = &quot;Running&quot;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;pose = &quot;Standing&quot;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;pose = &quot;Dead&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onJumping()&#13;&#10;&#9;isSeated = false&#13;&#10;&#9;pose = &quot;Jumping&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onClimbing()&#13;&#10;&#9;pose = &quot;Climbing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onGettingUp()&#13;&#10;&#9;pose = &quot;GettingUp&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFreeFall()&#13;&#10;&#9;pose = &quot;FreeFall&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onDancing()&#13;&#10;&#9;pose = &quot;Dancing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFallingDown()&#13;&#10;&#9;pose = &quot;FallingDown&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onSeated()&#13;&#10;&#9;isSeated = true&#13;&#10;&#9;pose = &quot;Seated&quot;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function moveJump()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFreeFall()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1&#13;&#10;&#9;LeftShoulder.DesiredAngle = -1&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFloat()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = -1.57&#13;&#10;end&#13;&#10;&#13;&#10;function moveBoogy()&#13;&#10;while pose==&quot;Boogy&quot; do&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 1.57&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;function moveZombie()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function movePunch()&#13;&#10;&#9;script.Parent.Torso.Anchored=true&#13;&#10;&#9;RightShoulder.MaxVelocity = 60&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;script.Parent.Torso.Anchored=false&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveKick()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveFly()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function moveClimb()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveSit()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;RightHip.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftHip.DesiredAngle = -3.14 /2&#13;&#10;end&#13;&#10;&#13;&#10;function getTool()&#13;&#10;&#9;&#13;&#10;&#9;kidTable = Figure:children()&#13;&#10;&#9;if (kidTable ~= nil) then&#13;&#10;&#9;&#9;numKids = #kidTable&#13;&#10;&#9;&#9;for i=1,numKids do&#13;&#10;&#9;&#9;&#9;if (kidTable[i].className == &quot;Tool&quot;) then return kidTable[i] end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;c = tool:children()&#13;&#10;&#9;for i=1,#c do&#13;&#10;&#9;&#9;if (c[i].Name == &quot;toolanim&quot; and c[i].className == &quot;StringValue&quot;) then&#13;&#10;&#9;&#9;&#9;return c[i]&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function animateTool()&#13;&#10;&#9;&#13;&#10;&#9;if (toolAnim == &quot;None&quot;) then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Slash&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Lunge&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 1.0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 1.0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function move(time)&#13;&#10;&#9;local amplitude&#13;&#10;&#9;local frequency&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Jumping&quot;) then&#13;&#10;&#9;&#9;moveJump()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Zombie&quot;) then&#13;&#10;&#9;&#9;moveZombie()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Boogy&quot;) then&#13;&#10;&#9;&#9;moveBoogy()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Float&quot;) then&#13;&#10;&#9;&#9;moveFloat()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Punch&quot;) then&#13;&#10;&#9;&#9;movePunch()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Kick&quot;) then&#13;&#10;&#9;&#9;moveKick()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Fly&quot;) then&#13;&#10;&#9;&#9;moveFly()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;FreeFall&quot;) then&#13;&#10;&#9;&#9;moveFreeFall()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Climbing&quot;) then&#13;&#10;&#9;&#9;moveClimb()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Seated&quot;) then&#13;&#10;&#9;&#9;moveSit()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;amplitude = 0.1&#13;&#10;&#9;&#9;frequency = 1&#13;&#10;&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;if (pose == &quot;Running&quot;) then&#13;&#10;&#9;&#9;amplitude = 1&#13;&#10;&#9;&#9;frequency = 9&#13;&#10;&#9;elseif (pose == &quot;Dancing&quot;) then&#13;&#10;&#9;&#9;amplitude = 2&#13;&#10;&#9;&#9;frequency = 16&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#13;&#10;&#9;desiredAngle = amplitude * math.sin(time*frequency)&#13;&#10;&#9;if pose~=&quot;Dancing&quot; then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;else&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;end&#13;&#10;&#9;&#9;&#13;&#10;&#13;&#10;&#13;&#10;&#9;local tool = getTool()&#13;&#10;&#13;&#10;&#9;if tool ~= nil then&#13;&#10;&#9;&#13;&#10;&#9;&#9;animStringValueObject = getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;&#9;if animStringValueObject ~= nil then&#13;&#10;&#9;&#9;&#9;toolAnim = animStringValueObject.Value&#13;&#10;&#9;&#9;&#9;-- message recieved, delete StringValue&#13;&#10;&#9;&#9;&#9;animStringValueObject.Parent = nil&#13;&#10;&#9;&#9;&#9;toolAnimTime = time + .3&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if time &gt; toolAnimTime then&#13;&#10;&#9;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;animateTool()&#13;&#10;&#13;&#10;&#9;&#9;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;-- connect events&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;function unequip()&#13;&#10;&#9;local items=script.Parent:children()&#13;&#10;&#9;for i=1, #items do&#13;&#10;&#9;&#9;if items[i].className==&quot;Tool&quot; then items[i]:remove() end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onChatted(msg, recipient) &#13;&#10;&#9;msg = string.lower(msg)&#13;&#10;&#13;&#10;&#9;if string.match(msg, string.lower(script.Parent.Name))~=nil or string.match(msg, &quot;everyone&quot;) then&#13;&#10;&#9;&#9;if string.match(msg, &quot;equip&quot;) then &#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;Hub&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;if string.match(msg, &quot;rocket&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Rocket:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;slingshot&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Slingshot:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;sword&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Sword:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;pbg&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.PBG:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;superball&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Superball:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;trowel&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Trowel:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;bomb&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Bomb:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;unequip&quot;) then unequip() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;run&quot;) then onRunning(1) end&#13;&#10;&#9;&#9;if string.match(msg, &quot;climb&quot;) then onClimbing() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;jump&quot;) then onJumping() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;zombie&quot;) then pose=&quot;Zombie&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;disco&quot;) then pose=&quot;Boogy&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;float&quot;) then pose=&quot;Float&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;punch&quot;) then pose=&quot;Punch&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kick&quot;) then pose=&quot;Kick&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;fly&quot;) then pose=&quot;Fly&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;heal&quot;) then script.Parent.Humanoid.Health=script.Parent.Humanoid.MaxHealth end&#13;&#10;&#9;&#9;if string.match(msg, &quot;defend&quot;) then defence() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;stop&quot;) then pose=&quot;Standing&quot;; proxkill=false; following=false; stopmoving() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;go home&quot;) then following=false; gohome() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;follow&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;followany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;follow(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kill&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;attackany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;attack(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if game.Players.NumPlayers&gt;1 then&#13;&#10;&#9;x=game.Players:children()&#13;&#10;&#9;&#13;&#10;&#9;for i=1, #x do&#13;&#10;&#9;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function onPlayerEntered(Player) &#13;&#10;&#9;while Player.Name==nil do&#13;&#10;&#9;&#9;wait(2)&#13;&#10;&#9;end&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;end&#13;&#10;&#9;else&#13;&#10;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;game.Players.ChildAdded:connect(onPlayerEntered) &#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;dist=20&#13;&#10;&#13;&#10;function followany()&#13;&#10;following=true&#13;&#10;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 6 do&#13;&#10;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then stopmoving() else&#9;wait(0.5) end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function gohome()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(Vector3.new(0,0,0), game.Workspace.Bases.Base)&#13;&#10;end&#13;&#10;function stopmoving()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(script.Parent.Torso.Position, script.Parent.Torso)&#13;&#10;end&#13;&#10;&#13;&#10;function follow(name)&#13;&#10;&#9;following=true&#13;&#10;&#13;&#10;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;if p==nil then return end&#13;&#10;&#9;while following==true do&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attack(name)&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#9;&#9;following=true&#13;&#10;&#9;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;&#9;if p==nil then return end&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#9;local l=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((l.x-q.x)^2)+((l.y-q.y)^2)+((l.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;if (q.y-l.y)&gt;3 and (q.y-l.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attackany()&#13;&#10;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#13;&#10;&#9;following=true&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;slash()&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;if target.Parent==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then &#13;&#10;&#9;&#9;&#9;&#9;&#9;stopmoving() &#13;&#10;&#9;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=target.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if (q.y-p.y)&gt;3 and (q.y-p.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function patrol()&#13;&#10;&#9;if points==nil then&#13;&#10;&#9;&#9;points=0&#13;&#10;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp1&quot;)~=nil then&#13;&#10;&#9;&#9;pp1=game.Workspace:findFirstChild(&quot;pp1&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp2&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;pp2=game.Workspace:findFirstChild(&quot;pp2&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp3&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;pp3=game.Workspace:findFirstChild(&quot;pp3&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp4&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;pp4=game.Workspace:findFirstChild(&quot;pp4&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp5&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;pp5=game.Workspace:findFirstChild(&quot;pp5&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp6&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp6=game.Workspace:findFirstChild(&quot;pp6&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp7&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp7=game.Workspace:findFirstChild(&quot;pp7&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp8&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp8=game.Workspace:findFirstChild(&quot;pp8&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp9&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp9=game.Workspace:findFirstChild(&quot;pp9&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if points&lt;1 then return end&#13;&#10;&#9;patrolling=true&#13;&#10;&#9;local time=2&#13;&#10;&#9;if points==1 then return end&#13;&#10;&#9;if points&gt;1 then&#13;&#10;&#9;&#9;while patrolling==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp1.Position, pp1)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp2.Position, pp2)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;if points&gt;2 then&#13;&#10;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp3.Position, pp3)&#13;&#10;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;if points&gt;3 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp4.Position, pp4)&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;if points&gt;4 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp5.Position, pp5)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;5 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp6.Position, pp6)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;6 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp7.Position, pp7)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp8.Position, pp8)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp9.Position, pp9)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function goto(pos,part)&#13;&#10;while true do&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function slash()&#13;&#10;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;wait(.3)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -2.14&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;&#9;wait(.2)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function defence()&#13;&#10;&#9;proxkill=true&#13;&#10;&#9;while proxkill==true do&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local p=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if p~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local p=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;dist and d&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local ex=Instance.new(&quot;Explosion&quot;)&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Position=p&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Parent=game.Workspace&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#9;&#9;&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;wait(1)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(onJumping)&#13;&#10;Humanoid.Climbing:connect(onClimbing)&#13;&#10;Humanoid.GettingUp:connect(onGettingUp)&#13;&#10;Humanoid.FreeFalling:connect(onFreeFall)&#13;&#10;Humanoid.FallingDown:connect(onFallingDown)&#13;&#10;Humanoid.Seated:connect(onSeated)&#13;&#10;&#13;&#10;&#13;&#10;--[[&#13;&#10;&#13;&#10;function newSound(id)&#13;&#10;&#9;local sound = Instance.new(&quot;Sound&quot;)&#13;&#10;&#9;sound.SoundId = id&#13;&#10;&#9;sound.Parent = script.Parent.Head&#13;&#10;&#9;return sound&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;local sDied = newSound(&quot;rbxasset://sounds/uuhhh.wav&quot;)&#13;&#10;local sFallingDown = newSound(&quot;rbxasset://sounds/splat.wav&quot;)&#13;&#10;local sFreeFalling = newSound(&quot;rbxasset://sounds/swoosh.wav&quot;)&#13;&#10;local sGettingUp = newSound(&quot;rbxasset://sounds/hit.wav&quot;)&#13;&#10;local sJumping = newSound(&quot;rbxasset://sounds/button.wav&quot;)&#13;&#10;local sRunning = newSound(&quot;rbxasset://sounds/bfsl-minifigfoots1.mp3&quot;)&#13;&#10;sRunning.Looped = true&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;sDied:play()&#13;&#10;end&#13;&#10;&#13;&#10;function onState(state, sound)&#13;&#10;&#9;if state then&#13;&#10;&#9;&#9;sound:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sound:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;sRunning:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sRunning:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(function(state) onState(state, sJumping) end)&#13;&#10;Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end)&#13;&#10;Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end)&#13;&#10;Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end)&#13;&#10;--]]&#13;&#10;&#13;&#10;local nextTime = 0&#13;&#10;local runService = game:service(&quot;RunService&quot;);&#13;&#10;&#13;&#10;while Figure.Parent~=nil do&#13;&#10;&#9;time = runService.Stepped:wait()&#13;&#10;&#9;if time &gt; nextTime then&#13;&#10;&#9;&#9;move(time)&#13;&#10;&#9;&#9;nextTime = time + 0.1&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX1238">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Follow</string>
					<string name="Source">local larm = script.Parent:FindFirstChild(&quot;Left Arm&quot;)&#13;&#10;local rarm = script.Parent:FindFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;function findNearestTorso(pos)&#13;&#10;&#9;local list = game.Workspace:children()&#13;&#10;&#9;local torso = nil&#13;&#10;&#9;local dist = 25&#13;&#10;&#9;local temp = nil&#13;&#10;&#9;local human = nil&#13;&#10;&#9;local temp2 = nil&#13;&#10;&#9;for x = 1, #list do&#13;&#10;&#9;&#9;temp2 = list[x]&#13;&#10;&#9;&#9;if (temp2.className == &quot;Model&quot;) and (temp2 ~= script.Parent) then&#13;&#10;&#9;&#9;&#9;temp = temp2:findFirstChild(&quot;Torso&quot;)&#13;&#10;&#9;&#9;&#9;human = temp2:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;&#9;&#9;if (temp ~= nil) and (human ~= nil) and (human.Health &gt; 0) then&#13;&#10;&#9;&#9;&#9;&#9;if (temp.Position - pos).magnitude &lt; dist then&#13;&#10;&#9;&#9;&#9;&#9;&#9;torso = temp&#13;&#10;&#9;&#9;&#9;&#9;&#9;dist = (temp.Position - pos).magnitude&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return torso&#13;&#10;end&#13;&#10;&#13;&#10;while true do&#13;&#10;&#9;wait(0.1)&#13;&#10;&#9;local target = findNearestTorso(script.Parent.Torso.Position)&#13;&#10;&#9;if target ~= nil then&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#9;end&#13;&#10;end</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Part" referent="RBX1239">
			<Properties>
				<bool name="Anchored">false</bool>
				<float name="BackParamA">-0.5</float>
				<float name="BackParamB">0.5</float>
				<token name="BackSurface">4</token>
				<token name="BackSurfaceInput">0</token>
				<float name="BottomParamA">-0.5</float>
				<float name="BottomParamB">0.5</float>
				<token name="BottomSurface">4</token>
				<token name="BottomSurfaceInput">0</token>
				<int name="BrickColor">23</int>
				<CoordinateFrame name="CFrame">
					<X>-106.684029</X>
					<Y>1.8888061</Y>
					<Z>-104.533821</Z>
					<R00>0.938527107</R00>
					<R01>0.122424603</R01>
					<R02>0.322767794</R02>
					<R10>-0.169986069</R10>
					<R11>0.977684081</R11>
					<R12>0.123444639</R12>
					<R20>-0.300452292</R20>
					<R21>-0.170722172</R21>
					<R22>0.938393533</R22>
				</CoordinateFrame>
				<bool name="CanCollide">true</bool>
				<token name="Controller">1</token>
				<bool name="ControllerFlagShown">true</bool>
				<bool name="DraggingV1">false</bool>
				<float name="Elasticity">1</float>
				<token name="FormFactor">0</token>
				<float name="Friction">2</float>
				<float name="FrontParamA">-0.5</float>
				<float name="FrontParamB">0.5</float>
				<token name="FrontSurface">4</token>
				<token name="FrontSurfaceInput">0</token>
				<float name="LeftParamA">-0.300000012</float>
				<float name="LeftParamB">0.300000012</float>
				<token name="LeftSurface">7</token>
				<token name="LeftSurfaceInput">2</token>
				<bool name="Locked">false</bool>
				<string name="Name">Part</string>
				<float name="Reflectance">0.200000003</float>
				<float name="RightParamA">-0.5</float>
				<float name="RightParamB">0.5</float>
				<token name="RightSurface">0</token>
				<token name="RightSurfaceInput">1</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">4</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">2</token>
				<Vector3 name="size">
					<X>3</X>
					<Y>3</Y>
					<Z>3</Z>
				</Vector3>
			</Properties>
		</Item>
		<Item class="Part" referent="RBX1240">
			<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">4</token>
				<token name="BottomSurfaceInput">0</token>
				<int name="BrickColor">23</int>
				<CoordinateFrame name="CFrame">
					<X>-25.0967388</X>
					<Y>0.897196174</Y>
					<Z>45.0545654</Z>
					<R00>0.00112444407</R00>
					<R01>-0.597005188</R01>
					<R02>0.802236438</R02>
					<R10>0.999998748</R10>
					<R11>0.00151100336</R11>
					<R12>-0.000277147774</R12>
					<R20>-0.00104665651</R20>
					<R21>0.802235842</R21>
					<R22>0.597006321</R22>
				</CoordinateFrame>
				<bool name="CanCollide">true</bool>
				<token name="Controller">0</token>
				<bool name="ControllerFlagShown">true</bool>
				<bool name="DraggingV1">false</bool>
				<float name="Elasticity">0.5</float>
				<token name="FormFactor">1</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">Sensor3</string>
				<float name="Reflectance">0.200000003</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>1</X>
					<Y>1.20000005</Y>
					<Z>6</Z>
				</Vector3>
			</Properties>
		</Item>
		<Item class="Part" referent="RBX1241">
			<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">4</token>
				<token name="BottomSurfaceInput">0</token>
				<int name="BrickColor">23</int>
				<CoordinateFrame name="CFrame">
					<X>-43.3575134</X>
					<Y>0.99772054</Y>
					<Z>54.6586723</Z>
					<R00>0.539407432</R00>
					<R01>-0.000505702221</R01>
					<R02>0.842044771</R02>
					<R10>0.00118426268</R10>
					<R11>0.999999285</R11>
					<R12>-0.000158065479</R12>
					<R20>-0.842044055</R20>
					<R21>0.00108246389</R21>
					<R22>0.539407611</R22>
				</CoordinateFrame>
				<bool name="CanCollide">true</bool>
				<token name="Controller">0</token>
				<bool name="ControllerFlagShown">true</bool>
				<bool name="DraggingV1">false</bool>
				<float name="Elasticity">0.5</float>
				<token name="FormFactor">1</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">Sensor5</string>
				<float name="Reflectance">0.200000003</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>1</X>
					<Y>1.20000005</Y>
					<Z>6</Z>
				</Vector3>
			</Properties>
		</Item>
		<Item class="Script" referent="RBX1242">
			<Properties>
				<bool name="Disabled">false</bool>
				<Content name="LinkedSource"><null></null></Content>
				<string name="Name">Bulldozer script</string>
				<string name="Source">-- list of account names that won&apos;t die when they hit the bulldozer (or vice versa... HA HA HA HA!!!)&#13;&#10;permission = { &quot;mjt510&quot;} &#13;&#10;--list of object names (the model itself) that we don&apos;t want to take apart&#13;&#10;objects = { &quot;Bull- Dozer&quot; , &quot;tray&quot;, &quot;Left Leg&quot;, &quot;Right Leg&quot; }&#13;&#10;&#13;&#10;function checkOkToLetIn(name) &#13;&#10;&#9;for i = 1,#permission do &#13;&#10;&#9;&#9;if (string.upper(name) == string.upper(permission[i])) then return true end &#13;&#10;&#9;end &#13;&#10;&#9;return false &#13;&#10;end &#13;&#10;function checkOkToDestroy(name)&#13;&#10;&#9;if name == nil then return false end&#13;&#10;&#9;for i = 1, #objects do&#13;&#10;&#9;&#9;if string.upper(objects[i]) == string.upper(name) then return false end&#13;&#10;&#9;end&#13;&#10;&#9;return true&#13;&#10;end&#13;&#10;&#13;&#10;function unAnchor(t)&#13;&#10;&#9;local c = t&#13;&#10;&#9;for i = 1, #c do&#13;&#10;&#9;&#9;if c[i].className == &quot;Model&quot; then&#13;&#10;&#9;&#9;&#9;unAnchor(c[i]:getChildren())&#13;&#10;&#9;&#9;elseif c[i].className == &quot;Part&quot; then&#13;&#10;&#9;&#9;&#9;c[i].Anchored = false&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onTouched(hit) &#13;&#10;&#9;local human = hit.Parent:findFirstChild(&quot;Humanoid&quot;) &#13;&#10;&#9;if (human ~= nil ) then &#13;&#10;&#9;&#9;if (checkOkToLetIn(human.Parent.Name)) == false then &#13;&#10;&#9;&#9;&#9;human.Health = 0 &#13;&#10;&#9;&#9;end &#13;&#10;&#9;else&#13;&#10;d = 0&#13;&#10;&#9;&#9;if hit.Parent.Parent.Parent ~= nil then &#13;&#10;&#9;&#9;&#9;if hit.Parent.Parent.Parent.className == &quot;Model&quot; and checkOkToDestroy(hit.Parent.Parent.Parent.Name) == true then&#13;&#10;&#9;&#9;&#9;&#9;hit.Parent.Parent.Parent:BreakJoints()&#13;&#10;&#9;&#9;&#9;&#9;t = hit.Parent.Parent.Parent:getChildren()&#13;&#10;&#9;&#9;&#9;&#9;unAnchor(t)&#13;&#10;d = 1&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if d == 0 then&#13;&#10;&#9;&#9;  if hit.Parent.Parent.className == &quot;Model&quot; and checkOkToDestroy(hit.Parent.Parent.Name) == true then&#13;&#10;&#9;&#9;&#9;hit.Parent.Parent:BreakJoints()&#13;&#10;&#9;&#9;&#9;t = hit.Parent.Parent:getChildren()&#13;&#10;&#9;&#9;&#9;unAnchor(t)&#13;&#10;&#9;&#9;elseif hit.Parent.className == &quot;Model&quot; and checkOkToDestroy(hit.Parent.Name) == true then&#13;&#10;&#9;&#9;&#9;hit.Parent:BreakJoints()&#13;&#10;&#9;&#9;&#9;t = hit.Parent:getChildren()&#13;&#10;&#9;&#9;&#9;unAnchor(t)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end &#13;&#10;end &#13;&#10;script.Parent.Sensor.Touched:connect(onTouched)&#13;&#10;script.Parent.Sensor2.Touched:connect(onTouched)&#13;&#10;script.Parent.Sensor3.Touched:connect(onTouched)&#13;&#10;script.Parent.Sensor4.Touched:connect(onTouched)&#13;&#10;script.Parent.Sensor5.Touched:connect(onTouched)&#13;&#10;script.Parent.Sensor6.Touched:connect(onTouched)&#13;&#10;</string>
				<bool name="archivable">true</bool>
			</Properties>
		</Item>
		<Item class="Part" referent="RBX1243">
			<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">4</token>
				<token name="BottomSurfaceInput">0</token>
				<int name="BrickColor">23</int>
				<CoordinateFrame name="CFrame">
					<X>-10.5</X>
					<Y>4.5999999</Y>
					<Z>21</Z>
					<R00>0</R00>
					<R01>0</R01>
					<R02>-1</R02>
					<R10>0</R10>
					<R11>1</R11>
					<R12>-0</R12>
					<R20>1</R20>
					<R21>0</R21>
					<R22>-0</R22>
				</CoordinateFrame>
				<bool name="CanCollide">true</bool>
				<token name="Controller">0</token>
				<bool name="ControllerFlagShown">true</bool>
				<bool name="DraggingV1">false</bool>
				<float name="Elasticity">0.5</float>
				<token name="FormFactor">1</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">TeamDoor</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>8</X>
					<Y>8.40000057</Y>
					<Z>1</Z>
				</Vector3>
			</Properties>
			<Item class="Script" referent="RBX1244">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">DoorScript2</string>
					<string name="Source">print(&quot;Omg a team door! Goodbye spawnkilling!&quot;) -- {made by:yourit12 modeled by:NintendoZACHERY}&#13;&#10;&#13;&#10;Door = script.Parent &#13;&#10;------------------------------------&#13;&#10;modelname=&quot;Admins&quot; -- Put the EXACT name of the team here&#13;&#10;------------------------------------&#13;&#10; &#13;&#10;function onTouched(hit) &#13;&#10;        print(&quot;Door Hit&quot;) &#13;&#10;        local human = hit.Parent:FindFirstChild(&quot;Humanoid&quot;) &#13;&#10;        if (human ~= nil ) then&#13;&#10;                if game.Players:playerFromCharacter(hit.Parent).TeamColor==game.Teams:findFirstChild(modelname).TeamColor then&#13;&#10;                        Door.CanCollide = false &#13;&#10;                        Door.Transparency = 0.5&#13;&#10;                        wait(1) &#13;&#10;                        Door.CanCollide = true &#13;&#10;                        Door.Transparency = 0 &#13;&#10;                        print(&quot;Human touched door&quot;) &#13;&#10;                else&#13;&#10;                        human.Health = 0&#13;&#10;                end&#13;&#10; &#13;&#10;        end &#13;&#10;end &#13;&#10; &#13;&#10;connection = Door.Touched:connect(onTouched)</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Part" referent="RBX1245">
			<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">4</token>
				<token name="BottomSurfaceInput">0</token>
				<int name="BrickColor">21</int>
				<CoordinateFrame name="CFrame">
					<X>-15.5</X>
					<Y>4.60000038</Y>
					<Z>66</Z>
					<R00>0</R00>
					<R01>0</R01>
					<R02>-1</R02>
					<R10>0</R10>
					<R11>1</R11>
					<R12>-0</R12>
					<R20>1</R20>
					<R21>0</R21>
					<R22>-0</R22>
				</CoordinateFrame>
				<bool name="CanCollide">true</bool>
				<token name="Controller">0</token>
				<bool name="ControllerFlagShown">true</bool>
				<bool name="DraggingV1">false</bool>
				<float name="Elasticity">0.5</float>
				<token name="FormFactor">1</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">TeamDoor</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>8</X>
					<Y>8.40000057</Y>
					<Z>1</Z>
				</Vector3>
			</Properties>
			<Item class="Script" referent="RBX1246">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">DoorScript2</string>
					<string name="Source">print(&quot;Omg a team door! Goodbye spawnkilling!&quot;) -- {made by:yourit12 modeled by:NintendoZACHERY}&#13;&#10;&#13;&#10;Door = script.Parent &#13;&#10;------------------------------------&#13;&#10;modelname=&quot;reds&quot; -- Put the EXACT name of the team here&#13;&#10;------------------------------------&#13;&#10; &#13;&#10;function onTouched(hit) &#13;&#10;        print(&quot;Door Hit&quot;) &#13;&#10;        local human = hit.Parent:FindFirstChild(&quot;Humanoid&quot;) &#13;&#10;        if (human ~= nil ) then&#13;&#10;                if game.Players:playerFromCharacter(hit.Parent).TeamColor==game.Teams:findFirstChild(modelname).TeamColor then&#13;&#10;                        Door.CanCollide = false &#13;&#10;                        Door.Transparency = 0.5&#13;&#10;                        wait(1) &#13;&#10;                        Door.CanCollide = true &#13;&#10;                        Door.Transparency = 0 &#13;&#10;                        print(&quot;Human touched door&quot;) &#13;&#10;                else&#13;&#10;                        human.Health = 0&#13;&#10;                end&#13;&#10; &#13;&#10;        end &#13;&#10;end &#13;&#10; &#13;&#10;connection = Door.Touched:connect(onTouched)</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="SpawnLocation" referent="RBX1247">
			<Properties>
				<bool name="AllowTeamChangeOnTouch">true</bool>
				<bool name="Anchored">true</bool>
				<float name="BackParamA">-0.5</float>
				<float name="BackParamB">0.5</float>
				<token name="BackSurface">2</token>
				<token name="BackSurfaceInput">0</token>
				<float name="BottomParamA">-0.5</float>
				<float name="BottomParamB">0.5</float>
				<token name="BottomSurface">2</token>
				<token name="BottomSurfaceInput">0</token>
				<int name="BrickColor">23</int>
				<CoordinateFrame name="CFrame">
					<X>-8</X>
					<Y>1</Y>
					<Z>39</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>
				<token name="Controller">0</token>
				<bool name="ControllerFlagShown">true</bool>
				<bool name="DraggingV1">false</bool>
				<int name="Duration">10</int>
				<float name="Elasticity">0.5</float>
				<token name="FormFactor">1</token>
				<float name="Friction">0.300000012</float>
				<float name="FrontParamA">-0.5</float>
				<float name="FrontParamB">0.5</float>
				<token name="FrontSurface">2</token>
				<token name="FrontSurfaceInput">0</token>
				<float name="LeftParamA">-0.5</float>
				<float name="LeftParamB">0.5</float>
				<token name="LeftSurface">2</token>
				<token name="LeftSurfaceInput">0</token>
				<bool name="Locked">false</bool>
				<string name="Name">SpawnLocation</string>
				<bool name="Neutral">false</bool>
				<float name="Reflectance">0</float>
				<float name="RightParamA">-0.5</float>
				<float name="RightParamB">0.5</float>
				<token name="RightSurface">2</token>
				<token name="RightSurfaceInput">0</token>
				<Vector3 name="RotVelocity">
					<X>0</X>
					<Y>0</Y>
					<Z>0</Z>
				</Vector3>
				<int name="TeamColor">23</int>
				<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>6</X>
					<Y>1.20000005</Y>
					<Z>6</Z>
				</Vector3>
			</Properties>
			<Item class="Decal" referent="RBX1248">
				<Properties>
					<token name="Face">1</token>
					<string name="Name">Decal</string>
					<float name="Shiny">20</float>
					<float name="Specular">0</float>
					<Content name="Texture"><url>rbxasset://Textures\SpawnLocation.png</url></Content>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="SpawnLocation" referent="RBX1249">
			<Properties>
				<bool name="AllowTeamChangeOnTouch">true</bool>
				<bool name="Anchored">true</bool>
				<float name="BackParamA">-0.5</float>
				<float name="BackParamB">0.5</float>
				<token name="BackSurface">2</token>
				<token name="BackSurfaceInput">0</token>
				<float name="BottomParamA">-0.5</float>
				<float name="BottomParamB">0.5</float>
				<token name="BottomSurface">2</token>
				<token name="BottomSurfaceInput">0</token>
				<int name="BrickColor">21</int>
				<CoordinateFrame name="CFrame">
					<X>-10</X>
					<Y>1</Y>
					<Z>54</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>
				<token name="Controller">0</token>
				<bool name="ControllerFlagShown">true</bool>
				<bool name="DraggingV1">false</bool>
				<int name="Duration">10</int>
				<float name="Elasticity">0.5</float>
				<token name="FormFactor">1</token>
				<float name="Friction">0.300000012</float>
				<float name="FrontParamA">-0.5</float>
				<float name="FrontParamB">0.5</float>
				<token name="FrontSurface">2</token>
				<token name="FrontSurfaceInput">0</token>
				<float name="LeftParamA">-0.5</float>
				<float name="LeftParamB">0.5</float>
				<token name="LeftSurface">2</token>
				<token name="LeftSurfaceInput">0</token>
				<bool name="Locked">false</bool>
				<string name="Name">SpawnLocation</string>
				<bool name="Neutral">false</bool>
				<float name="Reflectance">0</float>
				<float name="RightParamA">-0.5</float>
				<float name="RightParamB">0.5</float>
				<token name="RightSurface">2</token>
				<token name="RightSurfaceInput">0</token>
				<Vector3 name="RotVelocity">
					<X>0</X>
					<Y>0</Y>
					<Z>0</Z>
				</Vector3>
				<int name="TeamColor">21</int>
				<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>6</X>
					<Y>1.20000005</Y>
					<Z>6</Z>
				</Vector3>
			</Properties>
			<Item class="Decal" referent="RBX1250">
				<Properties>
					<token name="Face">1</token>
					<string name="Name">Decal</string>
					<float name="Shiny">20</float>
					<float name="Specular">0</float>
					<Content name="Texture"><url>rbxasset://Textures\SpawnLocation.png</url></Content>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Model" referent="RBX1251">
			<Properties>
				<token name="Controller">7</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">Warrior</string>
				<Ref name="PrimaryPart">RBX1252</Ref>
				<bool name="archivable">true</bool>
			</Properties>
			<Item class="Part" referent="RBX1252">
				<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">4</token>
					<token name="BottomSurfaceInput">0</token>
					<int name="BrickColor">217</int>
					<CoordinateFrame name="CFrame">
						<X>-4.82135391</X>
						<Y>4.90003347</Y>
						<Z>52.928978</Z>
						<R00>1</R00>
						<R01>4.55767368e-010</R01>
						<R02>2.78586667e-005</R02>
						<R10>-4.55971982e-010</R10>
						<R11>1</R11>
						<R12>7.34554062e-009</R12>
						<R20>-2.78586667e-005</R20>
						<R21>-7.34555305e-009</R21>
						<R22>1</R22>
					</CoordinateFrame>
					<bool name="CanCollide">true</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">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">Head</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>-9.21601337e-011</X>
						<Y>-1.29892953e-007</Y>
						<Z>-9.73583103e-010</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.000445548561</X>
						<Y>-0.000267029274</Y>
						<Z>-0.0429779924</Z>
					</Vector3>
					<bool name="archivable">true</bool>
					<token name="shape">1</token>
					<Vector3 name="size">
						<X>2</X>
						<Y>1</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
				<Item class="SpecialMesh" referent="RBX1253">
					<Properties>
						<Content name="MeshId"><null></null></Content>
						<token name="MeshType">0</token>
						<string name="Name">Mesh</string>
						<Vector3 name="Scale">
							<X>1.25</X>
							<Y>1.25</Y>
							<Z>1.25</Z>
						</Vector3>
						<Content name="TextureId"><null></null></Content>
						<Vector3 name="VertexColor">
							<X>1</X>
							<Y>1</Y>
							<Z>1</Z>
						</Vector3>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1254">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1255">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">0</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1256">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1257">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">0</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1258">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1259">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1260">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1261">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1262">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1263">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1264">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1265">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1266">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1267">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1268">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1269">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1270">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1271">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1272">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1273">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1274">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1275">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1276">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1277">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1278">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1279">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1280">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1281">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1282">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1283">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1284">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1285">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1286">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1287">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1288">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1289">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1290">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1291">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1292">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1293">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1294">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1295">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1296">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1297">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1298">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1299">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1300">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1301">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1302">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1303">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1304">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1305">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1306">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1307">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1308">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1309">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1310">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1311">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1312">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1313">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1314">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1315">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1316">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1317">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1318">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1319">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1320">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1321">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1322">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1323">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1324">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1325">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1326">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1327">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1328">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1329">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1330">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1331">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1332">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1333">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1334">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1335">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1336">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1337">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1338">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1339">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1340">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1341">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1342">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1343">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1344">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1345">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1346">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1347">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1348">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1349">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1350">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1351">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1352">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1353">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1354">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1355">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1356">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1357">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1358">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1359">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1360">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1361">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1362">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1363">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1364">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1365">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1366">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1367">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1368">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1369">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1370">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1371">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1372">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1373">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1374">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1375">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1376">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1377">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1378">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1379">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1380">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1381">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">0</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1382">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1383">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">0</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1384">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1385">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1386">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1387">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1388">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1389">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1390">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1391">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1392">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/uuhhh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1393">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/splat.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1394">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/swoosh.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1395">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/hit.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1396">
					<Properties>
						<bool name="Looped">false</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/button.wav</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Sound" referent="RBX1397">
					<Properties>
						<bool name="Looped">true</bool>
						<string name="Name">Sound</string>
						<int name="PlayCount">-1</int>
						<bool name="PlayOnRemove">false</bool>
						<Content name="SoundId"><url>rbxasset://sounds/bfsl-minifigfoots1.mp3</url></Content>
						<float name="Volume">0.5</float>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Decal" referent="RBX1398">
					<Properties>
						<token name="Face">5</token>
						<string name="Name">face</string>
						<float name="Shiny">20</float>
						<float name="Specular">0</float>
						<Content name="Texture"><hash>b0c3fd281c77535b29d7d191d47d580e</hash></Content>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Weld" referent="RBX1399">
					<Properties>
						<CoordinateFrame name="C0">
							<X>0</X>
							<Y>0.5</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="C1">
							<X>0</X>
							<Y>0.5</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">HeadWeld</string>
						<Ref name="Part0">RBX1252</Ref>
						<Ref name="Part1">null</Ref>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Script" referent="RBX1400">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">DoorScript2</string>
						<string name="Source">print(&quot;Omg a team door! Goodbye spawnkilling!&quot;) -- {made by:yourit12 modeled by:NintendoZACHERY}&#13;&#10;&#13;&#10;Door = script.Parent &#13;&#10;------------------------------------&#13;&#10;modelname=&quot;reds&quot; -- Put the EXACT name of the team here&#13;&#10;------------------------------------&#13;&#10; &#13;&#10;function onTouched(hit) &#13;&#10;        print(&quot;Door Hit&quot;) &#13;&#10;        local human = hit.Parent:FindFirstChild(&quot;Humanoid&quot;) &#13;&#10;        if (human ~= nil ) then&#13;&#10;                if game.Players:playerFromCharacter(hit.Parent).TeamColor==game.Teams:findFirstChild(modelname).TeamColor then&#13;&#10;                        Door.CanCollide = false &#13;&#10;                        Door.Transparency = 0.5&#13;&#10;                        wait(1) &#13;&#10;                        Door.CanCollide = true &#13;&#10;                        Door.Transparency = 0 &#13;&#10;                        print(&quot;Human touched door&quot;) &#13;&#10;                else&#13;&#10;                        human.Health = 0&#13;&#10;                end&#13;&#10; &#13;&#10;        end &#13;&#10;end &#13;&#10; &#13;&#10;connection = Door.Touched:connect(onTouched)</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
			</Item>
			<Item class="Part" referent="RBX1401">
				<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">4</token>
					<token name="BottomSurfaceInput">0</token>
					<int name="BrickColor">141</int>
					<CoordinateFrame name="CFrame">
						<X>-4.82135391</X>
						<Y>3.40003347</Y>
						<Z>52.928978</Z>
						<R00>1</R00>
						<R01>4.55767368e-010</R01>
						<R02>2.78586667e-005</R02>
						<R10>-4.55971982e-010</R10>
						<R11>1</R11>
						<R12>7.34554062e-009</R12>
						<R20>-2.78586667e-005</R20>
						<R21>-7.34555305e-009</R21>
						<R22>1</R22>
					</CoordinateFrame>
					<bool name="CanCollide">true</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">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</float>
					<float name="LeftParamB">0</float>
					<token name="LeftSurface">0</token>
					<token name="LeftSurfaceInput">0</token>
					<bool name="Locked">false</bool>
					<string name="Name">Torso</string>
					<float name="Reflectance">0</float>
					<float name="RightParamA">0</float>
					<float name="RightParamB">0</float>
					<token name="RightSurface">0</token>
					<token name="RightSurfaceInput">0</token>
					<Vector3 name="RotVelocity">
						<X>-9.21601337e-011</X>
						<Y>-1.29892953e-007</Y>
						<Z>-9.73583103e-010</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.000445550017</X>
						<Y>-0.000267029274</Y>
						<Z>-0.0429779924</Z>
					</Vector3>
					<bool name="archivable">true</bool>
					<token name="shape">1</token>
					<Vector3 name="size">
						<X>2</X>
						<Y>2</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
				<Item class="Motor" referent="RBX1402">
					<Properties>
						<CoordinateFrame name="C0">
							<X>-1</X>
							<Y>-1</Y>
							<Z>0</Z>
							<R00>0</R00>
							<R01>0</R01>
							<R02>-1</R02>
							<R10>0</R10>
							<R11>1</R11>
							<R12>0</R12>
							<R20>1</R20>
							<R21>0</R21>
							<R22>0</R22>
						</CoordinateFrame>
						<CoordinateFrame name="C1">
							<X>-0.5</X>
							<Y>1</Y>
							<Z>0</Z>
							<R00>-0</R00>
							<R01>-0</R01>
							<R02>-1</R02>
							<R10>0</R10>
							<R11>1</R11>
							<R12>0</R12>
							<R20>1</R20>
							<R21>0</R21>
							<R22>0</R22>
						</CoordinateFrame>
						<float name="CurrentAngle">0.168471664</float>
						<float name="DesiredAngle">0.999991775</float>
						<float name="MaxVelocity">0.100000001</float>
						<string name="Name">Left Hip</string>
						<Ref name="Part0">RBX1401</Ref>
						<Ref name="Part1">RBX1403</Ref>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Snap" referent="RBX1404">
					<Properties>
						<CoordinateFrame name="C0">
							<X>0</X>
							<Y>1</Y>
							<Z>0</Z>
							<R00>-1</R00>
							<R01>-0</R01>
							<R02>-0</R02>
							<R10>0</R10>
							<R11>0</R11>
							<R12>1</R12>
							<R20>0</R20>
							<R21>1</R21>
							<R22>0</R22>
						</CoordinateFrame>
						<CoordinateFrame name="C1">
							<X>0</X>
							<Y>-0.5</Y>
							<Z>0</Z>
							<R00>-1</R00>
							<R01>-0</R01>
							<R02>-0</R02>
							<R10>0</R10>
							<R11>0</R11>
							<R12>1</R12>
							<R20>0</R20>
							<R21>1</R21>
							<R22>0</R22>
						</CoordinateFrame>
						<string name="Name">Neck</string>
						<Ref name="Part0">null</Ref>
						<Ref name="Part1">null</Ref>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Motor" referent="RBX1405">
					<Properties>
						<CoordinateFrame name="C0">
							<X>1</X>
							<Y>-1</Y>
							<Z>0</Z>
							<R00>0</R00>
							<R01>0</R01>
							<R02>1</R02>
							<R10>0</R10>
							<R11>1</R11>
							<R12>0</R12>
							<R20>-1</R20>
							<R21>0</R21>
							<R22>0</R22>
						</CoordinateFrame>
						<CoordinateFrame name="C1">
							<X>0.5</X>
							<Y>1</Y>
							<Z>0</Z>
							<R00>0</R00>
							<R01>0</R01>
							<R02>1</R02>
							<R10>0</R10>
							<R11>1</R11>
							<R12>0</R12>
							<R20>-1</R20>
							<R21>-0</R21>
							<R22>-0</R22>
						</CoordinateFrame>
						<float name="CurrentAngle">0.168471664</float>
						<float name="DesiredAngle">0.999991775</float>
						<float name="MaxVelocity">0.100000001</float>
						<string name="Name">Right Hip</string>
						<Ref name="Part0">RBX1401</Ref>
						<Ref name="Part1">RBX1406</Ref>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Motor" referent="RBX1407">
					<Properties>
						<CoordinateFrame name="C0">
							<X>-2</X>
							<Y>0.5</Y>
							<Z>0</Z>
							<R00>0</R00>
							<R01>0</R01>
							<R02>1</R02>
							<R10>0</R10>
							<R11>1</R11>
							<R12>0</R12>
							<R20>-1</R20>
							<R21>0</R21>
							<R22>0</R22>
						</CoordinateFrame>
						<CoordinateFrame name="C1">
							<X>-0.5</X>
							<Y>0.5</Y>
							<Z>0</Z>
							<R00>0</R00>
							<R01>0</R01>
							<R02>1</R02>
							<R10>0</R10>
							<R11>1</R11>
							<R12>0</R12>
							<R20>-1</R20>
							<R21>-0</R21>
							<R22>-0</R22>
						</CoordinateFrame>
						<float name="CurrentAngle">0.338713229</float>
						<float name="DesiredAngle">0.999991775</float>
						<float name="MaxVelocity">0.150000006</float>
						<string name="Name">Right Shoulder</string>
						<Ref name="Part0">RBX1408</Ref>
						<Ref name="Part1">RBX1401</Ref>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Motor" referent="RBX1409">
					<Properties>
						<CoordinateFrame name="C0">
							<X>2</X>
							<Y>0.5</Y>
							<Z>0</Z>
							<R00>0</R00>
							<R01>0</R01>
							<R02>-1</R02>
							<R10>0</R10>
							<R11>1</R11>
							<R12>0</R12>
							<R20>1</R20>
							<R21>0</R21>
							<R22>0</R22>
						</CoordinateFrame>
						<CoordinateFrame name="C1">
							<X>0.5</X>
							<Y>0.5</Y>
							<Z>0</Z>
							<R00>-0</R00>
							<R01>-0</R01>
							<R02>-1</R02>
							<R10>0</R10>
							<R11>1</R11>
							<R12>0</R12>
							<R20>1</R20>
							<R21>0</R21>
							<R22>0</R22>
						</CoordinateFrame>
						<float name="CurrentAngle">-0.338713229</float>
						<float name="DesiredAngle">-0.999991775</float>
						<float name="MaxVelocity">0.150000006</float>
						<string name="Name">Left Shoulder</string>
						<Ref name="Part0">RBX1410</Ref>
						<Ref name="Part1">RBX1401</Ref>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
				<Item class="Script" referent="RBX1411">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">DoorScript2</string>
						<string name="Source">print(&quot;Omg a team door! Goodbye spawnkilling!&quot;) -- {made by:yourit12 modeled by:NintendoZACHERY}&#13;&#10;&#13;&#10;Door = script.Parent &#13;&#10;------------------------------------&#13;&#10;modelname=&quot;reds&quot; -- Put the EXACT name of the team here&#13;&#10;------------------------------------&#13;&#10; &#13;&#10;function onTouched(hit) &#13;&#10;        print(&quot;Door Hit&quot;) &#13;&#10;        local human = hit.Parent:FindFirstChild(&quot;Humanoid&quot;) &#13;&#10;        if (human ~= nil ) then&#13;&#10;                if game.Players:playerFromCharacter(hit.Parent).TeamColor==game.Teams:findFirstChild(modelname).TeamColor then&#13;&#10;                        Door.CanCollide = false &#13;&#10;                        Door.Transparency = 0.5&#13;&#10;                        wait(1) &#13;&#10;                        Door.CanCollide = true &#13;&#10;                        Door.Transparency = 0 &#13;&#10;                        print(&quot;Human touched door&quot;) &#13;&#10;                else&#13;&#10;                        human.Health = 0&#13;&#10;                end&#13;&#10; &#13;&#10;        end &#13;&#10;end &#13;&#10; &#13;&#10;connection = Door.Touched:connect(onTouched)</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
			</Item>
			<Item class="Part" referent="RBX1403">
				<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">38</int>
					<CoordinateFrame name="CFrame">
						<X>-5.32134914</X>
						<Y>1.41419125</Y>
						<Z>53.0966682</Z>
						<R00>1</R00>
						<R01>-4.67077643e-006</R01>
						<R02>2.74643244e-005</R02>
						<R10>-4.55971982e-010</R10>
						<R11>0.985842168</R11>
						<R12>0.167675853</R12>
						<R20>-2.78586667e-005</R20>
						<R21>-0.167675853</R21>
						<R22>0.985842168</R22>
					</CoordinateFrame>
					<bool name="CanCollide">false</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">true</bool>
					<bool name="DraggingV1">false</bool>
					<float name="Elasticity">0</float>
					<token name="FormFactor">0</token>
					<float name="Friction">0</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">Left Leg</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>-9.21601337e-011</X>
						<Y>-1.29892953e-007</Y>
						<Z>-9.73583103e-010</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.000445573736</X>
						<Y>-0.000267028779</Y>
						<Z>-0.0429780558</Z>
					</Vector3>
					<bool name="archivable">true</bool>
					<token name="shape">1</token>
					<Vector3 name="size">
						<X>1</X>
						<Y>2</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
				<Item class="Script" referent="RBX1412">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">DoorScript2</string>
						<string name="Source">print(&quot;Omg a team door! Goodbye spawnkilling!&quot;) -- {made by:yourit12 modeled by:NintendoZACHERY}&#13;&#10;&#13;&#10;Door = script.Parent &#13;&#10;------------------------------------&#13;&#10;modelname=&quot;reds&quot; -- Put the EXACT name of the team here&#13;&#10;------------------------------------&#13;&#10; &#13;&#10;function onTouched(hit) &#13;&#10;        print(&quot;Door Hit&quot;) &#13;&#10;        local human = hit.Parent:FindFirstChild(&quot;Humanoid&quot;) &#13;&#10;        if (human ~= nil ) then&#13;&#10;                if game.Players:playerFromCharacter(hit.Parent).TeamColor==game.Teams:findFirstChild(modelname).TeamColor then&#13;&#10;                        Door.CanCollide = false &#13;&#10;                        Door.Transparency = 0.5&#13;&#10;                        wait(1) &#13;&#10;                        Door.CanCollide = true &#13;&#10;                        Door.Transparency = 0 &#13;&#10;                        print(&quot;Human touched door&quot;) &#13;&#10;                else&#13;&#10;                        human.Health = 0&#13;&#10;                end&#13;&#10; &#13;&#10;        end &#13;&#10;end &#13;&#10; &#13;&#10;connection = Door.Touched:connect(onTouched)</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
			</Item>
			<Item class="Part" referent="RBX1406">
				<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">38</int>
					<CoordinateFrame name="CFrame">
						<X>-4.32135868</X>
						<Y>1.41419125</Y>
						<Z>52.7612877</Z>
						<R00>1</R00>
						<R01>4.67167501e-006</R01>
						<R02>2.74641716e-005</R02>
						<R10>-4.55971982e-010</R10>
						<R11>0.985842168</R11>
						<R12>-0.167675853</R12>
						<R20>-2.78586667e-005</R20>
						<R21>0.167675853</R21>
						<R22>0.985842168</R22>
					</CoordinateFrame>
					<bool name="CanCollide">false</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">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">Right Leg</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>-9.21601337e-011</X>
						<Y>-1.29892953e-007</Y>
						<Z>-9.73583103e-010</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.000445530168</X>
						<Y>-0.000267029769</Y>
						<Z>-0.0429779291</Z>
					</Vector3>
					<bool name="archivable">true</bool>
					<token name="shape">1</token>
					<Vector3 name="size">
						<X>1</X>
						<Y>2</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
				<Item class="Script" referent="RBX1413">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">DoorScript2</string>
						<string name="Source">print(&quot;Omg a team door! Goodbye spawnkilling!&quot;) -- {made by:yourit12 modeled by:NintendoZACHERY}&#13;&#10;&#13;&#10;Door = script.Parent &#13;&#10;------------------------------------&#13;&#10;modelname=&quot;reds&quot; -- Put the EXACT name of the team here&#13;&#10;------------------------------------&#13;&#10; &#13;&#10;function onTouched(hit) &#13;&#10;        print(&quot;Door Hit&quot;) &#13;&#10;        local human = hit.Parent:FindFirstChild(&quot;Humanoid&quot;) &#13;&#10;        if (human ~= nil ) then&#13;&#10;                if game.Players:playerFromCharacter(hit.Parent).TeamColor==game.Teams:findFirstChild(modelname).TeamColor then&#13;&#10;                        Door.CanCollide = false &#13;&#10;                        Door.Transparency = 0.5&#13;&#10;                        wait(1) &#13;&#10;                        Door.CanCollide = true &#13;&#10;                        Door.Transparency = 0 &#13;&#10;                        print(&quot;Human touched door&quot;) &#13;&#10;                else&#13;&#10;                        human.Health = 0&#13;&#10;                end&#13;&#10; &#13;&#10;        end &#13;&#10;end &#13;&#10; &#13;&#10;connection = Door.Touched:connect(onTouched)</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
			</Item>
			<Item class="Humanoid" referent="RBX1414">
				<Properties>
					<float name="Health">100</float>
					<bool name="Jump">false</bool>
					<float name="MaxHealth">100</float>
					<string name="Name">Humanoid</string>
					<bool name="Sit">false</bool>
					<Vector3 name="TargetPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<Vector3 name="WalkDirection">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<float name="WalkRotationalVelocity">0</float>
					<Ref name="WalkToPart">RBX1415</Ref>
					<Vector3 name="WalkToPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX1416">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Health</string>
					<string name="Source">function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;-- declarations&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;Humanoid.Health=500&#13;&#10;-- regeneration&#13;&#10;while true do&#13;&#10;&#9;local s = wait(4)&#13;&#10;&#9;local health = Humanoid.Health&#13;&#10;&#9;if health &gt; 0 and health &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;health = health + 0.08 * s * Humanoid.MaxHealth&#13;&#10;&#9;&#9;if health * 1.05 &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;&#9;Humanoid.Health = health&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;Humanoid.Health = Humanoid.MaxHealth&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="BodyColors" referent="RBX1417">
				<Properties>
					<int name="HeadColor">24</int>
					<int name="LeftArmColor">28</int>
					<int name="LeftLegColor">28</int>
					<string name="Name">Body Colors</string>
					<int name="RightArmColor">28</int>
					<int name="RightLegColor">28</int>
					<int name="TorsoColor">28</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="IntValue" referent="RBX1418">
				<Properties>
					<string name="Name">Value</string>
					<int name="Value">0</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Part" referent="RBX1408">
				<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">4</token>
					<token name="BottomSurfaceInput">0</token>
					<int name="BrickColor">141</int>
					<CoordinateFrame name="CFrame">
						<X>-3.32135844</X>
						<Y>3.428442</Y>
						<Z>52.7627983</Z>
						<R00>1</R00>
						<R01>9.25713175e-006</R01>
						<R02>2.62756694e-005</R02>
						<R10>-4.55971982e-010</R10>
						<R11>0.943183005</R11>
						<R12>-0.332273692</R12>
						<R20>-2.78586667e-005</R20>
						<R21>0.332273692</R21>
						<R22>0.943183005</R22>
					</CoordinateFrame>
					<bool name="CanCollide">true</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">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">Right Arm</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>-9.21601337e-011</X>
						<Y>-1.29892953e-007</Y>
						<Z>-9.73583103e-010</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.000445528392</X>
						<Y>-0.000267030759</Y>
						<Z>-0.0429777987</Z>
					</Vector3>
					<bool name="archivable">true</bool>
					<token name="shape">1</token>
					<Vector3 name="size">
						<X>1</X>
						<Y>2</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
				<Item class="Script" referent="RBX1419">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">DoorScript2</string>
						<string name="Source">print(&quot;Omg a team door! Goodbye spawnkilling!&quot;) -- {made by:yourit12 modeled by:NintendoZACHERY}&#13;&#10;&#13;&#10;Door = script.Parent &#13;&#10;------------------------------------&#13;&#10;modelname=&quot;reds&quot; -- Put the EXACT name of the team here&#13;&#10;------------------------------------&#13;&#10; &#13;&#10;function onTouched(hit) &#13;&#10;        print(&quot;Door Hit&quot;) &#13;&#10;        local human = hit.Parent:FindFirstChild(&quot;Humanoid&quot;) &#13;&#10;        if (human ~= nil ) then&#13;&#10;                if game.Players:playerFromCharacter(hit.Parent).TeamColor==game.Teams:findFirstChild(modelname).TeamColor then&#13;&#10;                        Door.CanCollide = false &#13;&#10;                        Door.Transparency = 0.5&#13;&#10;                        wait(1) &#13;&#10;                        Door.CanCollide = true &#13;&#10;                        Door.Transparency = 0 &#13;&#10;                        print(&quot;Human touched door&quot;) &#13;&#10;                else&#13;&#10;                        human.Health = 0&#13;&#10;                end&#13;&#10; &#13;&#10;        end &#13;&#10;end &#13;&#10; &#13;&#10;connection = Door.Touched:connect(onTouched)</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
			</Item>
			<Item class="Part" referent="RBX1410">
				<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">4</token>
					<token name="BottomSurfaceInput">0</token>
					<int name="BrickColor">141</int>
					<CoordinateFrame name="CFrame">
						<X>-6.32135868</X>
						<Y>3.428442</Y>
						<Z>52.7628822</Z>
						<R00>1</R00>
						<R01>9.25713175e-006</R01>
						<R02>2.62756694e-005</R02>
						<R10>-4.55971982e-010</R10>
						<R11>0.943183005</R11>
						<R12>-0.332273692</R12>
						<R20>-2.78586667e-005</R20>
						<R21>0.332273692</R21>
						<R22>0.943183005</R22>
					</CoordinateFrame>
					<bool name="CanCollide">true</bool>
					<token name="Controller">0</token>
					<bool name="ControllerFlagShown">true</bool>
					<bool name="DraggingV1">false</bool>
					<float name="Elasticity">0</float>
					<token name="FormFactor">0</token>
					<float name="Friction">0</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">Left Arm</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>-9.21601337e-011</X>
						<Y>-1.29892953e-007</Y>
						<Z>-9.73583103e-010</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.000445528422</X>
						<Y>-0.000267027819</Y>
						<Z>-0.0429781862</Z>
					</Vector3>
					<bool name="archivable">true</bool>
					<token name="shape">1</token>
					<Vector3 name="size">
						<X>1</X>
						<Y>2</Y>
						<Z>1</Z>
					</Vector3>
				</Properties>
				<Item class="Script" referent="RBX1420">
					<Properties>
						<bool name="Disabled">false</bool>
						<Content name="LinkedSource"><null></null></Content>
						<string name="Name">DoorScript2</string>
						<string name="Source">print(&quot;Omg a team door! Goodbye spawnkilling!&quot;) -- {made by:yourit12 modeled by:NintendoZACHERY}&#13;&#10;&#13;&#10;Door = script.Parent &#13;&#10;------------------------------------&#13;&#10;modelname=&quot;reds&quot; -- Put the EXACT name of the team here&#13;&#10;------------------------------------&#13;&#10; &#13;&#10;function onTouched(hit) &#13;&#10;        print(&quot;Door Hit&quot;) &#13;&#10;        local human = hit.Parent:FindFirstChild(&quot;Humanoid&quot;) &#13;&#10;        if (human ~= nil ) then&#13;&#10;                if game.Players:playerFromCharacter(hit.Parent).TeamColor==game.Teams:findFirstChild(modelname).TeamColor then&#13;&#10;                        Door.CanCollide = false &#13;&#10;                        Door.Transparency = 0.5&#13;&#10;                        wait(1) &#13;&#10;                        Door.CanCollide = true &#13;&#10;                        Door.Transparency = 0 &#13;&#10;                        print(&quot;Human touched door&quot;) &#13;&#10;                else&#13;&#10;                        human.Health = 0&#13;&#10;                end&#13;&#10; &#13;&#10;        end &#13;&#10;end &#13;&#10; &#13;&#10;connection = Door.Touched:connect(onTouched)</string>
						<bool name="archivable">true</bool>
					</Properties>
				</Item>
			</Item>
			<Item class="Script" referent="RBX1421">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Robot</string>
					<string name="Source">------------------&#13;&#10;--SPAWNING--&#13;&#10;------------------&#13;&#10;&#13;&#10;miked=script.Parent&#13;&#10;&#13;&#10;itlh=miked.Torso:findFirstChild(&quot;Left Hip&quot;)&#13;&#10;itlh.Part0=miked.Torso&#13;&#10;itlh.Part1=miked:findFirstChild(&quot;Left Leg&quot;)&#13;&#10;itlh.C0=CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;&#13;&#10;itrh=miked.Torso:findFirstChild(&quot;Right Hip&quot;)&#13;&#10;itrh.Part0=miked.Torso&#13;&#10;itrh.Part1=miked:findFirstChild(&quot;Right Leg&quot;)&#13;&#10;itrh.C0=CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;&#13;&#10;itls=miked.Torso:findFirstChild(&quot;Left Shoulder&quot;)&#13;&#10;itls.Part1=miked.Torso&#13;&#10;itls.C0=CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;itls.Part0=miked:findFirstChild(&quot;Left Arm&quot;)&#13;&#10;&#13;&#10;itrs=miked.Torso:findFirstChild(&quot;Right Shoulder&quot;)&#13;&#10;itrs.Part1=miked.Torso&#13;&#10;itrs.C0=CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;itrs.Part0=miked:findFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;miked.Head:makeJoints()&#13;&#10;------------------&#13;&#10;------------------&#13;&#10;&#13;&#10;&#13;&#10;function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Torso = waitForChild(Figure, &quot;Torso&quot;)&#13;&#10;local RightShoulder = waitForChild(Torso, &quot;Right Shoulder&quot;)&#13;&#10;local LeftShoulder = waitForChild(Torso, &quot;Left Shoulder&quot;)&#13;&#10;local RightHip = waitForChild(Torso, &quot;Right Hip&quot;)&#13;&#10;local LeftHip = waitForChild(Torso, &quot;Left Hip&quot;)&#13;&#10;local Neck = waitForChild(Torso, &quot;Neck&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;local pose = &quot;Standing&quot;&#13;&#10;&#13;&#10;local toolAnim = &quot;None&quot;&#13;&#10;local toolAnimTime = 0&#13;&#10;&#13;&#10;local isSeated = false&#13;&#10;&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if isSeated then return end&#13;&#10;&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;pose = &quot;Running&quot;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;pose = &quot;Standing&quot;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;pose = &quot;Dead&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onJumping()&#13;&#10;&#9;isSeated = false&#13;&#10;&#9;pose = &quot;Jumping&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onClimbing()&#13;&#10;&#9;pose = &quot;Climbing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onGettingUp()&#13;&#10;&#9;pose = &quot;GettingUp&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFreeFall()&#13;&#10;&#9;pose = &quot;FreeFall&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onDancing()&#13;&#10;&#9;pose = &quot;Dancing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFallingDown()&#13;&#10;&#9;pose = &quot;FallingDown&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onSeated()&#13;&#10;&#9;isSeated = true&#13;&#10;&#9;pose = &quot;Seated&quot;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function moveJump()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFreeFall()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1&#13;&#10;&#9;LeftShoulder.DesiredAngle = -1&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFloat()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = -1.57&#13;&#10;end&#13;&#10;&#13;&#10;function moveBoogy()&#13;&#10;while pose==&quot;Boogy&quot; do&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 1.57&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;function moveZombie()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function movePunch()&#13;&#10;&#9;script.Parent.Torso.Anchored=true&#13;&#10;&#9;RightShoulder.MaxVelocity = 60&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;script.Parent.Torso.Anchored=false&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveKick()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveFly()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function moveClimb()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveSit()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;RightHip.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftHip.DesiredAngle = -3.14 /2&#13;&#10;end&#13;&#10;&#13;&#10;function getTool()&#13;&#10;&#9;&#13;&#10;&#9;kidTable = Figure:children()&#13;&#10;&#9;if (kidTable ~= nil) then&#13;&#10;&#9;&#9;numKids = #kidTable&#13;&#10;&#9;&#9;for i=1,numKids do&#13;&#10;&#9;&#9;&#9;if (kidTable[i].className == &quot;Tool&quot;) then return kidTable[i] end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;c = tool:children()&#13;&#10;&#9;for i=1,#c do&#13;&#10;&#9;&#9;if (c[i].Name == &quot;toolanim&quot; and c[i].className == &quot;StringValue&quot;) then&#13;&#10;&#9;&#9;&#9;return c[i]&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function animateTool()&#13;&#10;&#9;&#13;&#10;&#9;if (toolAnim == &quot;None&quot;) then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Slash&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Lunge&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 1.0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 1.0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function move(time)&#13;&#10;&#9;local amplitude&#13;&#10;&#9;local frequency&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Jumping&quot;) then&#13;&#10;&#9;&#9;moveJump()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Zombie&quot;) then&#13;&#10;&#9;&#9;moveZombie()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Boogy&quot;) then&#13;&#10;&#9;&#9;moveBoogy()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Float&quot;) then&#13;&#10;&#9;&#9;moveFloat()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Punch&quot;) then&#13;&#10;&#9;&#9;movePunch()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Kick&quot;) then&#13;&#10;&#9;&#9;moveKick()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Fly&quot;) then&#13;&#10;&#9;&#9;moveFly()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;FreeFall&quot;) then&#13;&#10;&#9;&#9;moveFreeFall()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Climbing&quot;) then&#13;&#10;&#9;&#9;moveClimb()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Seated&quot;) then&#13;&#10;&#9;&#9;moveSit()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;amplitude = 0.1&#13;&#10;&#9;&#9;frequency = 1&#13;&#10;&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;if (pose == &quot;Running&quot;) then&#13;&#10;&#9;&#9;amplitude = 1&#13;&#10;&#9;&#9;frequency = 9&#13;&#10;&#9;elseif (pose == &quot;Dancing&quot;) then&#13;&#10;&#9;&#9;amplitude = 2&#13;&#10;&#9;&#9;frequency = 16&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#13;&#10;&#9;desiredAngle = amplitude * math.sin(time*frequency)&#13;&#10;&#9;if pose~=&quot;Dancing&quot; then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;else&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;end&#13;&#10;&#9;&#9;&#13;&#10;&#13;&#10;&#13;&#10;&#9;local tool = getTool()&#13;&#10;&#13;&#10;&#9;if tool ~= nil then&#13;&#10;&#9;&#13;&#10;&#9;&#9;animStringValueObject = getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;&#9;if animStringValueObject ~= nil then&#13;&#10;&#9;&#9;&#9;toolAnim = animStringValueObject.Value&#13;&#10;&#9;&#9;&#9;-- message recieved, delete StringValue&#13;&#10;&#9;&#9;&#9;animStringValueObject.Parent = nil&#13;&#10;&#9;&#9;&#9;toolAnimTime = time + .3&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if time &gt; toolAnimTime then&#13;&#10;&#9;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;animateTool()&#13;&#10;&#13;&#10;&#9;&#9;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;-- connect events&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;function unequip()&#13;&#10;&#9;local items=script.Parent:children()&#13;&#10;&#9;for i=1, #items do&#13;&#10;&#9;&#9;if items[i].className==&quot;Tool&quot; then items[i]:remove() end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onChatted(msg, recipient) &#13;&#10;&#9;msg = string.lower(msg)&#13;&#10;&#13;&#10;&#9;if string.match(msg, string.lower(script.Parent.Name))~=nil or string.match(msg, &quot;everyone&quot;) then&#13;&#10;&#9;&#9;if string.match(msg, &quot;equip&quot;) then &#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;Hub&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;if string.match(msg, &quot;rocket&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Rocket:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;slingshot&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Slingshot:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;sword&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Sword:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;pbg&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.PBG:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;superball&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Superball:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;trowel&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Trowel:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;bomb&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Bomb:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;unequip&quot;) then unequip() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;run&quot;) then onRunning(1) end&#13;&#10;&#9;&#9;if string.match(msg, &quot;climb&quot;) then onClimbing() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;jump&quot;) then onJumping() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;zombie&quot;) then pose=&quot;Zombie&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;disco&quot;) then pose=&quot;Boogy&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;float&quot;) then pose=&quot;Float&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;punch&quot;) then pose=&quot;Punch&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kick&quot;) then pose=&quot;Kick&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;fly&quot;) then pose=&quot;Fly&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;heal&quot;) then script.Parent.Humanoid.Health=script.Parent.Humanoid.MaxHealth end&#13;&#10;&#9;&#9;if string.match(msg, &quot;defend&quot;) then defence() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;stop&quot;) then pose=&quot;Standing&quot;; proxkill=false; following=false; stopmoving() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;go home&quot;) then following=false; gohome() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;follow&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;followany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;follow(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kill&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;attackany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;attack(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if game.Players.NumPlayers&gt;1 then&#13;&#10;&#9;x=game.Players:children()&#13;&#10;&#9;&#13;&#10;&#9;for i=1, #x do&#13;&#10;&#9;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function onPlayerEntered(Player) &#13;&#10;&#9;while Player.Name==nil do&#13;&#10;&#9;&#9;wait(2)&#13;&#10;&#9;end&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;end&#13;&#10;&#9;else&#13;&#10;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;game.Players.ChildAdded:connect(onPlayerEntered) &#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;dist=20&#13;&#10;&#13;&#10;function followany()&#13;&#10;following=true&#13;&#10;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 6 do&#13;&#10;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then stopmoving() else&#9;wait(0.5) end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function gohome()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(Vector3.new(0,0,0), game.Workspace.Bases.Base)&#13;&#10;end&#13;&#10;function stopmoving()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(script.Parent.Torso.Position, script.Parent.Torso)&#13;&#10;end&#13;&#10;&#13;&#10;function follow(name)&#13;&#10;&#9;following=true&#13;&#10;&#13;&#10;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;if p==nil then return end&#13;&#10;&#9;while following==true do&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attack(name)&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#9;&#9;following=true&#13;&#10;&#9;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;&#9;if p==nil then return end&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#9;local l=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((l.x-q.x)^2)+((l.y-q.y)^2)+((l.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;if (q.y-l.y)&gt;3 and (q.y-l.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attackany()&#13;&#10;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#13;&#10;&#9;following=true&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;slash()&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;if target.Parent==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then &#13;&#10;&#9;&#9;&#9;&#9;&#9;stopmoving() &#13;&#10;&#9;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=target.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if (q.y-p.y)&gt;3 and (q.y-p.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function patrol()&#13;&#10;&#9;if points==nil then&#13;&#10;&#9;&#9;points=0&#13;&#10;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp1&quot;)~=nil then&#13;&#10;&#9;&#9;pp1=game.Workspace:findFirstChild(&quot;pp1&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp2&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;pp2=game.Workspace:findFirstChild(&quot;pp2&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp3&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;pp3=game.Workspace:findFirstChild(&quot;pp3&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp4&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;pp4=game.Workspace:findFirstChild(&quot;pp4&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp5&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;pp5=game.Workspace:findFirstChild(&quot;pp5&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp6&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp6=game.Workspace:findFirstChild(&quot;pp6&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp7&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp7=game.Workspace:findFirstChild(&quot;pp7&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp8&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp8=game.Workspace:findFirstChild(&quot;pp8&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp9&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp9=game.Workspace:findFirstChild(&quot;pp9&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if points&lt;1 then return end&#13;&#10;&#9;patrolling=true&#13;&#10;&#9;local time=2&#13;&#10;&#9;if points==1 then return end&#13;&#10;&#9;if points&gt;1 then&#13;&#10;&#9;&#9;while patrolling==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp1.Position, pp1)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp2.Position, pp2)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;if points&gt;2 then&#13;&#10;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp3.Position, pp3)&#13;&#10;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;if points&gt;3 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp4.Position, pp4)&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;if points&gt;4 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp5.Position, pp5)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;5 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp6.Position, pp6)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;6 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp7.Position, pp7)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp8.Position, pp8)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp9.Position, pp9)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function goto(pos,part)&#13;&#10;while true do&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function slash()&#13;&#10;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;wait(.3)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -2.14&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;&#9;wait(.2)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function defence()&#13;&#10;&#9;proxkill=true&#13;&#10;&#9;while proxkill==true do&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local p=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if p~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local p=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;dist and d&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local ex=Instance.new(&quot;Explosion&quot;)&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Position=p&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Parent=game.Workspace&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#9;&#9;&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;wait(1)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(onJumping)&#13;&#10;Humanoid.Climbing:connect(onClimbing)&#13;&#10;Humanoid.GettingUp:connect(onGettingUp)&#13;&#10;Humanoid.FreeFalling:connect(onFreeFall)&#13;&#10;Humanoid.FallingDown:connect(onFallingDown)&#13;&#10;Humanoid.Seated:connect(onSeated)&#13;&#10;&#13;&#10;&#13;&#10;--[[&#13;&#10;&#13;&#10;function newSound(id)&#13;&#10;&#9;local sound = Instance.new(&quot;Sound&quot;)&#13;&#10;&#9;sound.SoundId = id&#13;&#10;&#9;sound.Parent = script.Parent.Head&#13;&#10;&#9;return sound&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;local sDied = newSound(&quot;rbxasset://sounds/uuhhh.wav&quot;)&#13;&#10;local sFallingDown = newSound(&quot;rbxasset://sounds/splat.wav&quot;)&#13;&#10;local sFreeFalling = newSound(&quot;rbxasset://sounds/swoosh.wav&quot;)&#13;&#10;local sGettingUp = newSound(&quot;rbxasset://sounds/hit.wav&quot;)&#13;&#10;local sJumping = newSound(&quot;rbxasset://sounds/button.wav&quot;)&#13;&#10;local sRunning = newSound(&quot;rbxasset://sounds/bfsl-minifigfoots1.mp3&quot;)&#13;&#10;sRunning.Looped = true&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;sDied:play()&#13;&#10;end&#13;&#10;&#13;&#10;function onState(state, sound)&#13;&#10;&#9;if state then&#13;&#10;&#9;&#9;sound:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sound:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;sRunning:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sRunning:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(function(state) onState(state, sJumping) end)&#13;&#10;Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end)&#13;&#10;Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end)&#13;&#10;Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end)&#13;&#10;--]]&#13;&#10;&#13;&#10;local nextTime = 0&#13;&#10;local runService = game:service(&quot;RunService&quot;);&#13;&#10;&#13;&#10;while Figure.Parent~=nil do&#13;&#10;&#9;time = runService.Stepped:wait()&#13;&#10;&#9;if time &gt; nextTime then&#13;&#10;&#9;&#9;move(time)&#13;&#10;&#9;&#9;nextTime = time + 0.1&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX1422">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Follow</string>
					<string name="Source">local larm = script.Parent:FindFirstChild(&quot;Left Arm&quot;)&#13;&#10;local rarm = script.Parent:FindFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;function findNearestTorso(pos)&#13;&#10;&#9;local list = game.Workspace:children()&#13;&#10;&#9;local torso = nil&#13;&#10;&#9;local dist = 25&#13;&#10;&#9;local temp = nil&#13;&#10;&#9;local human = nil&#13;&#10;&#9;local temp2 = nil&#13;&#10;&#9;for x = 1, #list do&#13;&#10;&#9;&#9;temp2 = list[x]&#13;&#10;&#9;&#9;if (temp2.className == &quot;Model&quot;) and (temp2 ~= script.Parent) then&#13;&#10;&#9;&#9;&#9;temp = temp2:findFirstChild(&quot;Torso&quot;)&#13;&#10;&#9;&#9;&#9;human = temp2:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;&#9;&#9;if (temp ~= nil) and (human ~= nil) and (human.Health &gt; 0) then&#13;&#10;&#9;&#9;&#9;&#9;if (temp.Position - pos).magnitude &lt; dist then&#13;&#10;&#9;&#9;&#9;&#9;&#9;torso = temp&#13;&#10;&#9;&#9;&#9;&#9;&#9;dist = (temp.Position - pos).magnitude&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return torso&#13;&#10;end&#13;&#10;&#13;&#10;while true do&#13;&#10;&#9;wait(0.1)&#13;&#10;&#9;local target = findNearestTorso(script.Parent.Torso.Position)&#13;&#10;&#9;if target ~= nil then&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#9;end&#13;&#10;end</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<Item class="Model" referent="RBX1423">
			<Properties>
				<token name="Controller">7</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">Warrior</string>
				<Ref name="PrimaryPart">null</Ref>
				<bool name="archivable">true</bool>
			</Properties>
			<Item class="Humanoid" referent="RBX1424">
				<Properties>
					<float name="Health">0</float>
					<bool name="Jump">false</bool>
					<float name="MaxHealth">100</float>
					<string name="Name">Humanoid</string>
					<bool name="Sit">false</bool>
					<Vector3 name="TargetPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<Vector3 name="WalkDirection">
						<X>0</X>
						<Y>0</Y>
						<Z>0</Z>
					</Vector3>
					<float name="WalkRotationalVelocity">0</float>
					<Ref name="WalkToPart">RBX1401</Ref>
					<Vector3 name="WalkToPoint">
						<X>0</X>
						<Y>0</Y>
						<Z>-0</Z>
					</Vector3>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX1425">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Health</string>
					<string name="Source">function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;-- declarations&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;Humanoid.Health=500&#13;&#10;-- regeneration&#13;&#10;while true do&#13;&#10;&#9;local s = wait(4)&#13;&#10;&#9;local health = Humanoid.Health&#13;&#10;&#9;if health &gt; 0 and health &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;health = health + 0.08 * s * Humanoid.MaxHealth&#13;&#10;&#9;&#9;if health * 1.05 &lt; Humanoid.MaxHealth then&#13;&#10;&#9;&#9;&#9;Humanoid.Health = health&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;Humanoid.Health = Humanoid.MaxHealth&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="BodyColors" referent="RBX1426">
				<Properties>
					<int name="HeadColor">24</int>
					<int name="LeftArmColor">28</int>
					<int name="LeftLegColor">28</int>
					<string name="Name">Body Colors</string>
					<int name="RightArmColor">28</int>
					<int name="RightLegColor">28</int>
					<int name="TorsoColor">28</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="IntValue" referent="RBX1427">
				<Properties>
					<string name="Name">Value</string>
					<int name="Value">0</int>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX1428">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Robot</string>
					<string name="Source">------------------&#13;&#10;--SPAWNING--&#13;&#10;------------------&#13;&#10;&#13;&#10;miked=script.Parent&#13;&#10;&#13;&#10;itlh=miked.Torso:findFirstChild(&quot;Left Hip&quot;)&#13;&#10;itlh.Part0=miked.Torso&#13;&#10;itlh.Part1=miked:findFirstChild(&quot;Left Leg&quot;)&#13;&#10;itlh.C0=CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;&#13;&#10;itrh=miked.Torso:findFirstChild(&quot;Right Hip&quot;)&#13;&#10;itrh.Part0=miked.Torso&#13;&#10;itrh.Part1=miked:findFirstChild(&quot;Right Leg&quot;)&#13;&#10;itrh.C0=CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;&#13;&#10;itls=miked.Torso:findFirstChild(&quot;Left Shoulder&quot;)&#13;&#10;itls.Part1=miked.Torso&#13;&#10;itls.C0=CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)&#13;&#10;itls.Part0=miked:findFirstChild(&quot;Left Arm&quot;)&#13;&#10;&#13;&#10;itrs=miked.Torso:findFirstChild(&quot;Right Shoulder&quot;)&#13;&#10;itrs.Part1=miked.Torso&#13;&#10;itrs.C0=CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)&#13;&#10;itrs.Part0=miked:findFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;miked.Head:makeJoints()&#13;&#10;------------------&#13;&#10;------------------&#13;&#10;&#13;&#10;&#13;&#10;function waitForChild(parent, childName)&#13;&#10;&#9;while true do&#13;&#10;&#9;&#9;local child = parent:findFirstChild(childName)&#13;&#10;&#9;&#9;if child then&#13;&#10;&#9;&#9;&#9;return child&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;parent.ChildAdded:wait()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Torso = waitForChild(Figure, &quot;Torso&quot;)&#13;&#10;local RightShoulder = waitForChild(Torso, &quot;Right Shoulder&quot;)&#13;&#10;local LeftShoulder = waitForChild(Torso, &quot;Left Shoulder&quot;)&#13;&#10;local RightHip = waitForChild(Torso, &quot;Right Hip&quot;)&#13;&#10;local LeftHip = waitForChild(Torso, &quot;Left Hip&quot;)&#13;&#10;local Neck = waitForChild(Torso, &quot;Neck&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;local pose = &quot;Standing&quot;&#13;&#10;&#13;&#10;local toolAnim = &quot;None&quot;&#13;&#10;local toolAnimTime = 0&#13;&#10;&#13;&#10;local isSeated = false&#13;&#10;&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if isSeated then return end&#13;&#10;&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;pose = &quot;Running&quot;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;pose = &quot;Standing&quot;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;pose = &quot;Dead&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onJumping()&#13;&#10;&#9;isSeated = false&#13;&#10;&#9;pose = &quot;Jumping&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onClimbing()&#13;&#10;&#9;pose = &quot;Climbing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onGettingUp()&#13;&#10;&#9;pose = &quot;GettingUp&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFreeFall()&#13;&#10;&#9;pose = &quot;FreeFall&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onDancing()&#13;&#10;&#9;pose = &quot;Dancing&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onFallingDown()&#13;&#10;&#9;pose = &quot;FallingDown&quot;&#13;&#10;end&#13;&#10;&#13;&#10;function onSeated()&#13;&#10;&#9;isSeated = true&#13;&#10;&#9;pose = &quot;Seated&quot;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function moveJump()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFreeFall()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1&#13;&#10;&#9;LeftShoulder.DesiredAngle = -1&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveFloat()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = -1.57&#13;&#10;end&#13;&#10;&#13;&#10;function moveBoogy()&#13;&#10;while pose==&quot;Boogy&quot; do&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;wait(.5)&#13;&#10;&#9;RightShoulder.MaxVelocity = 1&#13;&#10;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 1.57&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;function moveZombie()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 1.57&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function movePunch()&#13;&#10;&#9;script.Parent.Torso.Anchored=true&#13;&#10;&#9;RightShoulder.MaxVelocity = 60&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;script.Parent.Torso.Anchored=false&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveKick()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function moveFly()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;RightHip.MaxVelocity = 40&#13;&#10;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;wait(1)&#13;&#10;pose=&quot;Standing&quot;&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function moveClimb()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14&#13;&#10;&#9;LeftShoulder.DesiredAngle = 3.14&#13;&#10;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;LeftHip.DesiredAngle = 0&#13;&#10;end&#13;&#10;&#13;&#10;function moveSit()&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;RightShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;LeftShoulder.DesiredAngle = -3.14 /2&#13;&#10;&#9;RightHip.DesiredAngle = 3.14 /2&#13;&#10;&#9;LeftHip.DesiredAngle = -3.14 /2&#13;&#10;end&#13;&#10;&#13;&#10;function getTool()&#13;&#10;&#9;&#13;&#10;&#9;kidTable = Figure:children()&#13;&#10;&#9;if (kidTable ~= nil) then&#13;&#10;&#9;&#9;numKids = #kidTable&#13;&#10;&#9;&#9;for i=1,numKids do&#13;&#10;&#9;&#9;&#9;if (kidTable[i].className == &quot;Tool&quot;) then return kidTable[i] end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;c = tool:children()&#13;&#10;&#9;for i=1,#c do&#13;&#10;&#9;&#9;if (c[i].Name == &quot;toolanim&quot; and c[i].className == &quot;StringValue&quot;) then&#13;&#10;&#9;&#9;&#9;return c[i]&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return nil&#13;&#10;end&#13;&#10;&#13;&#10;function animateTool()&#13;&#10;&#9;&#13;&#10;&#9;if (toolAnim == &quot;None&quot;) then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Slash&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (toolAnim == &quot;Lunge&quot;) then&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;LeftHip.MaxVelocity = 0.5&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -1.57&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 1.0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 1.57&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 1.0&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function move(time)&#13;&#10;&#9;local amplitude&#13;&#10;&#9;local frequency&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Jumping&quot;) then&#13;&#10;&#9;&#9;moveJump()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Zombie&quot;) then&#13;&#10;&#9;&#9;moveZombie()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Boogy&quot;) then&#13;&#10;&#9;&#9;moveBoogy()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Float&quot;) then&#13;&#10;&#9;&#9;moveFloat()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Punch&quot;) then&#13;&#10;&#9;&#9;movePunch()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Kick&quot;) then&#13;&#10;&#9;&#9;moveKick()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Fly&quot;) then&#13;&#10;&#9;&#9;moveFly()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;FreeFall&quot;) then&#13;&#10;&#9;&#9;moveFreeFall()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Climbing&quot;) then&#13;&#10;&#9;&#9;moveClimb()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if (pose == &quot;Seated&quot;) then&#13;&#10;&#9;&#9;moveSit()&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;amplitude = 0.1&#13;&#10;&#9;&#9;frequency = 1&#13;&#10;&#13;&#10;&#9;RightShoulder.MaxVelocity = 0.15&#13;&#10;&#9;LeftShoulder.MaxVelocity = 0.15&#13;&#10;&#9;if (pose == &quot;Running&quot;) then&#13;&#10;&#9;&#9;amplitude = 1&#13;&#10;&#9;&#9;frequency = 9&#13;&#10;&#9;elseif (pose == &quot;Dancing&quot;) then&#13;&#10;&#9;&#9;amplitude = 2&#13;&#10;&#9;&#9;frequency = 16&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#13;&#10;&#9;desiredAngle = amplitude * math.sin(time*frequency)&#13;&#10;&#9;if pose~=&quot;Dancing&quot; then&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;else&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = desiredAngle&#13;&#10;&#9;&#9;RightHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = -desiredAngle&#13;&#10;&#9;end&#13;&#10;&#9;&#9;&#13;&#10;&#13;&#10;&#13;&#10;&#9;local tool = getTool()&#13;&#10;&#13;&#10;&#9;if tool ~= nil then&#13;&#10;&#9;&#13;&#10;&#9;&#9;animStringValueObject = getToolAnim(tool)&#13;&#10;&#13;&#10;&#9;&#9;if animStringValueObject ~= nil then&#13;&#10;&#9;&#9;&#9;toolAnim = animStringValueObject.Value&#13;&#10;&#9;&#9;&#9;-- message recieved, delete StringValue&#13;&#10;&#9;&#9;&#9;animStringValueObject.Parent = nil&#13;&#10;&#9;&#9;&#9;toolAnimTime = time + .3&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if time &gt; toolAnimTime then&#13;&#10;&#9;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;animateTool()&#13;&#10;&#13;&#10;&#9;&#9;&#13;&#10;&#9;else&#13;&#10;&#9;&#9;toolAnim = &quot;None&quot;&#13;&#10;&#9;&#9;toolAnimTime = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;-- connect events&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;function unequip()&#13;&#10;&#9;local items=script.Parent:children()&#13;&#10;&#9;for i=1, #items do&#13;&#10;&#9;&#9;if items[i].className==&quot;Tool&quot; then items[i]:remove() end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onChatted(msg, recipient) &#13;&#10;&#9;msg = string.lower(msg)&#13;&#10;&#13;&#10;&#9;if string.match(msg, string.lower(script.Parent.Name))~=nil or string.match(msg, &quot;everyone&quot;) then&#13;&#10;&#9;&#9;if string.match(msg, &quot;equip&quot;) then &#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;Hub&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;if string.match(msg, &quot;rocket&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Rocket:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;slingshot&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Slingshot:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;sword&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Sword:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;pbg&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.PBG:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;superball&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Superball:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;trowel&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Trowel:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;elseif string.match(msg, &quot;bomb&quot;) then unequip()&#13;&#10;&#9;&#9;&#9;&#9;&#9;game.Workspace.Hub.Bomb:clone().Parent=script.Parent&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;unequip&quot;) then unequip() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;run&quot;) then onRunning(1) end&#13;&#10;&#9;&#9;if string.match(msg, &quot;climb&quot;) then onClimbing() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;jump&quot;) then onJumping() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;zombie&quot;) then pose=&quot;Zombie&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;disco&quot;) then pose=&quot;Boogy&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;float&quot;) then pose=&quot;Float&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;punch&quot;) then pose=&quot;Punch&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kick&quot;) then pose=&quot;Kick&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;fly&quot;) then pose=&quot;Fly&quot; end&#13;&#10;&#9;&#9;if string.match(msg, &quot;heal&quot;) then script.Parent.Humanoid.Health=script.Parent.Humanoid.MaxHealth end&#13;&#10;&#9;&#9;if string.match(msg, &quot;defend&quot;) then defence() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;stop&quot;) then pose=&quot;Standing&quot;; proxkill=false; following=false; stopmoving() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;go home&quot;) then following=false; gohome() end&#13;&#10;&#9;&#9;if string.match(msg, &quot;follow&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;followany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;follow(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;if string.match(msg, &quot;kill&quot;) then&#13;&#10;&#9;&#9;&#9;if string.match(msg, &quot;all&quot;) then&#13;&#10;&#9;&#9;&#9;&#9;attackany()&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;local egg=game.Players:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #egg do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.match(msg, string.lower(egg[i].Name)) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;attack(egg[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;return&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;if game.Players.NumPlayers&gt;1 then&#13;&#10;&#9;x=game.Players:children()&#13;&#10;&#9;&#13;&#10;&#9;for i=1, #x do&#13;&#10;&#9;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(x[i].Name) then&#13;&#10;&#9;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;x[i].Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function onPlayerEntered(Player) &#13;&#10;&#9;while Player.Name==nil do&#13;&#10;&#9;&#9;wait(2)&#13;&#10;&#9;end&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Commander&quot;)~=nil then&#13;&#10;&#9;&#9;if script.Parent.Commander:children()~=nil or script.Parent.Commander:children()&gt;0 then&#13;&#10;&#9;&#9;&#9;local ch=script.Parent.Commander:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;if string.lower(ch[i].Name)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;elseif string.lower(script.Parent.Commander.Value)==string.lower(Player.Name) then&#13;&#10;&#9;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end) &#13;&#10;&#9;&#9;end&#13;&#10;&#9;else&#13;&#10;&#9;&#9;Player.Chatted:connect(function(msg, recipient) onChatted(msg, recipient) end)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;game.Players.ChildAdded:connect(onPlayerEntered) &#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;dist=20&#13;&#10;&#13;&#10;function followany()&#13;&#10;following=true&#13;&#10;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 6 do&#13;&#10;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then stopmoving() else&#9;wait(0.5) end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function gohome()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(Vector3.new(0,0,0), game.Workspace.Bases.Base)&#13;&#10;end&#13;&#10;function stopmoving()&#13;&#10;&#9;script.Parent.Humanoid:MoveTo(script.Parent.Torso.Position, script.Parent.Torso)&#13;&#10;end&#13;&#10;&#13;&#10;function follow(name)&#13;&#10;&#9;following=true&#13;&#10;&#13;&#10;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;if p==nil then return end&#13;&#10;&#9;while following==true do&#9;&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attack(name)&#13;&#10;&#9;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#9;&#9;following=true&#13;&#10;&#9;&#9;local p=game.Workspace:findFirstChild(name)&#13;&#10;&#9;&#9;if p==nil then return end&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso)&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if p.Humanoid.Health&lt;1 then following=false; stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#9;local l=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((l.x-q.x)^2)+((l.y-q.y)^2)+((l.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position, p.Torso); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;if (q.y-l.y)&gt;3 and (q.y-l.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function attackany()&#13;&#10;if script.Parent:findFirstChild(&quot;Sword&quot;)~=nil then&#9;&#13;&#10;&#13;&#10;&#9;following=true&#13;&#10;&#9;&#9;while following==true do&#13;&#10;&#13;&#10;&#9;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;&#9;local l=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;&#9;if l~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local s=l.Torso&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=l.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if smallest==nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;elseif d&lt;smallest then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;smallest=d&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;target=s&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;if smallest&gt;6*dist then return end&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#13;&#10;&#9;&#9;&#9;if smallest&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;slash()&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;if target.Parent==nil then stopmoving() return end&#13;&#10;&#9;&#9;&#9;wait(0.5)&#13;&#10;&#9;&#9;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;&#9;&#9;if target.Parent.Humanoid.Health&lt;1 then &#13;&#10;&#9;&#9;&#9;&#9;&#9;stopmoving() &#13;&#10;&#9;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;&#9;local p=target.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;&#9;if d&lt;10 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target); slash()&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if (q.y-p.y)&gt;3 and (q.y-p.y)&lt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(p.Torso.Position+Vector3.new(math.random(-4,4),0,math.random(-4,4)), p.Torso);&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(1)&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function patrol()&#13;&#10;&#9;if points==nil then&#13;&#10;&#9;&#9;points=0&#13;&#10;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp1&quot;)~=nil then&#13;&#10;&#9;&#9;pp1=game.Workspace:findFirstChild(&quot;pp1&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp2&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;pp2=game.Workspace:findFirstChild(&quot;pp2&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp3&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;pp3=game.Workspace:findFirstChild(&quot;pp3&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp4&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;pp4=game.Workspace:findFirstChild(&quot;pp4&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp5&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;pp5=game.Workspace:findFirstChild(&quot;pp5&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp6&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp6=game.Workspace:findFirstChild(&quot;pp6&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp7&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp7=game.Workspace:findFirstChild(&quot;pp7&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp8&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp8=game.Workspace:findFirstChild(&quot;pp8&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if game.Workspace:findFirstChild(&quot;pp9&quot;)~=nil then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;pp9=game.Workspace:findFirstChild(&quot;pp9&quot;)&#13;&#10;&#9;&#9;local points=points+1&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;if points&lt;1 then return end&#13;&#10;&#9;patrolling=true&#13;&#10;&#9;local time=2&#13;&#10;&#9;if points==1 then return end&#13;&#10;&#9;if points&gt;1 then&#13;&#10;&#9;&#9;while patrolling==true do&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp1.Position, pp1)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp2.Position, pp2)&#13;&#10;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;if points&gt;2 then&#13;&#10;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp3.Position, pp3)&#13;&#10;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;if points&gt;3 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp4.Position, pp4)&#13;&#10;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;if points&gt;4 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp5.Position, pp5)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;5 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp6.Position, pp6)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;6 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp7.Position, pp7)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;7 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp8.Position, pp8)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;if points&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;script.Parent.Humanoid:MoveTo(pp9.Position, pp9)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;wait(time)&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function goto(pos,part)&#13;&#10;while true do&#13;&#10;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;function slash()&#13;&#10;&#9;for i=1, 3 do&#13;&#10;&#9;&#9;wait(.3)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = -2.14&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;&#9;wait(.2)&#13;&#10;&#9;&#9;RightShoulder.MaxVelocity = 2&#13;&#10;&#9;&#9;LeftShoulder.MaxVelocity = 1&#13;&#10;&#9;&#9;RightShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftShoulder.DesiredAngle = 0&#13;&#10;&#9;&#9;RightHip.DesiredAngle = 0&#13;&#10;&#9;&#9;LeftHip.DesiredAngle = 0&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function defence()&#13;&#10;&#9;proxkill=true&#13;&#10;&#9;while proxkill==true do&#13;&#10;&#9;&#9;local ch=game.Players:children()&#13;&#10;&#9;&#9;for i=1, #ch do&#13;&#10;&#9;&#9;&#9;local p=game.Workspace:findFirstChild(ch[i].Name)&#13;&#10;&#9;&#9;&#9;if p~=nil then&#13;&#10;&#9;&#9;&#9;&#9;local p=p.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local q=script.Parent.Torso.Position&#13;&#10;&#9;&#9;&#9;&#9;local d=math.sqrt( ((p.x-q.x)^2)+((p.y-q.y)^2)+((p.z-q.z)^2) )&#13;&#10;&#9;&#9;&#9;&#9;if d&lt;dist and d&gt;8 then&#13;&#10;&#9;&#9;&#9;&#9;&#9;local ex=Instance.new(&quot;Explosion&quot;)&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Position=p&#13;&#10;&#9;&#9;&#9;&#9;&#9;ex.Parent=game.Workspace&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#9;&#9;&#13;&#10;&#9;&#9;end&#13;&#10;&#9;&#9;wait(1)&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;-----------------------------------------------------------------------------------------------------------------------&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(onJumping)&#13;&#10;Humanoid.Climbing:connect(onClimbing)&#13;&#10;Humanoid.GettingUp:connect(onGettingUp)&#13;&#10;Humanoid.FreeFalling:connect(onFreeFall)&#13;&#10;Humanoid.FallingDown:connect(onFallingDown)&#13;&#10;Humanoid.Seated:connect(onSeated)&#13;&#10;&#13;&#10;&#13;&#10;--[[&#13;&#10;&#13;&#10;function newSound(id)&#13;&#10;&#9;local sound = Instance.new(&quot;Sound&quot;)&#13;&#10;&#9;sound.SoundId = id&#13;&#10;&#9;sound.Parent = script.Parent.Head&#13;&#10;&#9;return sound&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;local sDied = newSound(&quot;rbxasset://sounds/uuhhh.wav&quot;)&#13;&#10;local sFallingDown = newSound(&quot;rbxasset://sounds/splat.wav&quot;)&#13;&#10;local sFreeFalling = newSound(&quot;rbxasset://sounds/swoosh.wav&quot;)&#13;&#10;local sGettingUp = newSound(&quot;rbxasset://sounds/hit.wav&quot;)&#13;&#10;local sJumping = newSound(&quot;rbxasset://sounds/button.wav&quot;)&#13;&#10;local sRunning = newSound(&quot;rbxasset://sounds/bfsl-minifigfoots1.mp3&quot;)&#13;&#10;sRunning.Looped = true&#13;&#10;&#13;&#10;local Figure = script.Parent&#13;&#10;local Head = waitForChild(Figure, &quot;Head&quot;)&#13;&#10;local Humanoid = waitForChild(Figure, &quot;Humanoid&quot;)&#13;&#10;&#13;&#10;&#13;&#10;function onDied()&#13;&#10;&#9;sDied:play()&#13;&#10;end&#13;&#10;&#13;&#10;function onState(state, sound)&#13;&#10;&#9;if state then&#13;&#10;&#9;&#9;sound:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sound:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;function onRunning(speed)&#13;&#10;&#9;if speed&gt;0 then&#13;&#10;&#9;&#9;sRunning:play()&#13;&#10;&#9;else&#13;&#10;&#9;&#9;sRunning:pause()&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;Humanoid.Died:connect(onDied)&#13;&#10;Humanoid.Running:connect(onRunning)&#13;&#10;Humanoid.Jumping:connect(function(state) onState(state, sJumping) end)&#13;&#10;Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end)&#13;&#10;Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end)&#13;&#10;Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end)&#13;&#10;--]]&#13;&#10;&#13;&#10;local nextTime = 0&#13;&#10;local runService = game:service(&quot;RunService&quot;);&#13;&#10;&#13;&#10;while Figure.Parent~=nil do&#13;&#10;&#9;time = runService.Stepped:wait()&#13;&#10;&#9;if time &gt; nextTime then&#13;&#10;&#9;&#9;move(time)&#13;&#10;&#9;&#9;nextTime = time + 0.1&#13;&#10;&#9;end&#13;&#10;end&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
			<Item class="Script" referent="RBX1429">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">Follow</string>
					<string name="Source">local larm = script.Parent:FindFirstChild(&quot;Left Arm&quot;)&#13;&#10;local rarm = script.Parent:FindFirstChild(&quot;Right Arm&quot;)&#13;&#10;&#13;&#10;function findNearestTorso(pos)&#13;&#10;&#9;local list = game.Workspace:children()&#13;&#10;&#9;local torso = nil&#13;&#10;&#9;local dist = 25&#13;&#10;&#9;local temp = nil&#13;&#10;&#9;local human = nil&#13;&#10;&#9;local temp2 = nil&#13;&#10;&#9;for x = 1, #list do&#13;&#10;&#9;&#9;temp2 = list[x]&#13;&#10;&#9;&#9;if (temp2.className == &quot;Model&quot;) and (temp2 ~= script.Parent) then&#13;&#10;&#9;&#9;&#9;temp = temp2:findFirstChild(&quot;Torso&quot;)&#13;&#10;&#9;&#9;&#9;human = temp2:findFirstChild(&quot;Humanoid&quot;)&#13;&#10;&#9;&#9;&#9;if (temp ~= nil) and (human ~= nil) and (human.Health &gt; 0) then&#13;&#10;&#9;&#9;&#9;&#9;if (temp.Position - pos).magnitude &lt; dist then&#13;&#10;&#9;&#9;&#9;&#9;&#9;torso = temp&#13;&#10;&#9;&#9;&#9;&#9;&#9;dist = (temp.Position - pos).magnitude&#13;&#10;&#9;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;&#9;end&#13;&#10;&#9;&#9;end&#13;&#10;&#9;end&#13;&#10;&#9;return torso&#13;&#10;end&#13;&#10;&#13;&#10;while true do&#13;&#10;&#9;wait(0.1)&#13;&#10;&#9;local target = findNearestTorso(script.Parent.Torso.Position)&#13;&#10;&#9;if target ~= nil then&#13;&#10;&#9;&#9;script.Parent.Humanoid:MoveTo(target.Position, target)&#13;&#10;&#9;end&#13;&#10;end</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
		<External>RBX1430</External>
	</Item>
	<Item class="RunService" referent="RBX1431">
		<Properties>
			<string name="Name">Run Service</string>
			<bool name="archivable">true</bool>
		</Properties>
	</Item>
	<External>RBX1432</External>
	<External>RBX1433</External>
	<Item class="Players" referent="RBX1434">
		<Properties>
			<int name="MaxPlayers">8</int>
			<string name="Name">Players</string>
			<bool name="archivable">true</bool>
		</Properties>
	</Item>
	<Item class="StarterPack" referent="RBX1435">
		<Properties>
			<string name="Name">StarterPack</string>
			<bool name="archivable">true</bool>
		</Properties>
		<Item class="HopperBin" referent="RBX1436">
			<Properties>
				<token name="BinType">0</token>
				<string name="Name">ninja</string>
				<Content name="TextureId" mimeType="image/jpeg"><binary xmime:contentType="image/jpeg">/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAkGBwgHBgkIBwgKCgkLDRYPDQwMDRsUFRAWIB0i
IiAdHx8kKDQsJCYxJx8fLT0tMTU3Ojo6Iys/RD84QzQ5Ojf/2wBDAQoKCg0MDRoPDxo3JR8l
Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzf/wAAR
CABwAHQDASIAAhEBAxEB/8QAHAABAAICAwEAAAAAAAAAAAAAAAYHBQgBAgQD/8QANhAAAgED
AwIFBAAEBAcAAAAAAQIDAAQRBQYhEjEHE0FRcRQiYYEyUpGhYoKx8BUWIyRCcsH/xAAYAQEB
AQEBAAAAAAAAAAAAAAAAAgEDBP/EACARAAIDAAIDAQEBAAAAAAAAAAABAhEhEjEDQVEiYXH/
2gAMAwEAAhEDEQA/ALwpSlAKUpQClKUAqr9A1e/2hv652zrtw0mnanIZtNuHAADMxPTx7kkH
/EB/NVoVWXjvJo//AC3BDft06iZOqxcEAoRjqJPfpI445zj2rH9Ki/TLN9KVS/h94p65rGr6
Zo93Z2dwrhYpJo2bzWIHLnkjgAseAPiro9K2zGqFcVzShgpSlAKUpQClKUApSlAKV855oreF
5p5EiiQZZ3YAKPck1BNX8TtOinmt9LXzzFEXa4kBWP2AA7nn47VjaRUYuXRN7+7isbSW5mYB
I1LcsBnA7An1rWfeG3dX1bXdW1DUbpHnjnMUrKWdPMy2Io+M9KqAORXy3Bu7UtU1iK+vb1pR
C/WiMB0AA5wF7Yr3avuy0vrM2mlYs4PqHl63cv5n2BcsGGVJA5xkZ9hWxdoSjTI/siyv13BY
SaXeLa6iZcWskmVj8wY+1iAeGHUMevxWze0NwruXSfrfo5bSRXMckTsHAYAH7WHDLyMHj4rV
nRdYtrOZFvYzPF5pc/cV6cqVLAD1AJwO2e/HFTbwl3Nqlpub6qSWSTTdQlMd4hQ9MHH2MD6A
Zx6AD4GLq1hF12bGUr4Wd3bX0Ans7iKeE5AkicMpI78ivvUGilKUApSlAKUpQCo5vTeGm7Ss
fPvm6pnB8qEZy/8ArgVI6ozxyknbeek2wKeTJaKoEnAJaVgcfGF/tWpXguiI7u8StQ3RIiz5
gtkORDGSIyfcjPJ/JqKvqlzJKVhy7yYGAMk/gCvZrsENzesbJTaxxkpBG/AKg8HPqT3PzUu8
Od7W2yx5Oqbfgmkdsi8tlUXABPYk9+5wAR7etS/Gkyl5HREm2jui4s7nUZtHvYrW2XqllmiM
YAzg4DYzj1xnHPtXll0m/stHS/vl+lguMi2EnDz+5Ve/SOMseO2M5q+9Z8WNuy6FLdWszTEr
0GwKlJ3c5yjDsq47sCe+BzWv+5dZvde1STUL9+p3AVVUYSJR2RR6KPT+p5Jqliwl23piqyui
6td6fJ/2jYYA5AyOsdyDjnjGQe4PasVWZgsGNhBdRgxgNkyDlifx7Cs5cdNUXLEW/tDcku1z
BfX7PNpuooom6VJaFlB+4474HcnuB7jm6EZZEV0YMrDIIOQRWrum2kUunfTSTSyAoZI2LZK9
POAOwHHbFX54bWWsaftCyt9wSdV2oyqE5MUZ/hQ/lRxVzmpu0ZwcFpKKUpUAUpSgFKUoBUE8
R91ba0y3lstWt7e9v0iMlvDNa+ciOR9pJIIHoffFTp3VEZ3YKqjLMTgAVqxvHUYtYv8AWr+3
uHmjS5YdcqgdYLEDpx6fIHFVGu2TK/RD9Ruprq7mklcHzJGkIQBUyT6KOB+q7jUHwXP3TEY6
2GQo/A9/9/mvKzAqAP3xXXFS9KWHaSQu2TXAchSp5BriuKA7nMkg/iZ2PP5JNTzcqw20S2Vu
sSLGoQ+X2JA71F9rW4n1dHZQywKZiD6kdv7kVkNcuOqRY88qMn8muU9kkejx5BszOz5P+E3k
OquxlFmRKYy3SG6TnGee9bQI3UisOxGa06utRmtYI4IJCvV9zj+3/wBNW1sDxalS0tbLW4vP
Rf8ApCSJQroqgYyOzcZPoeD3rvGHKOdnDySpl20qM7c3jpertdxDUbF3t26uuOTpVo2OFJDc
qw7EH1/BFSapMFKUoBSldZHWNGdzhVBJP4oCu/GLcb6bo/0FoT9Vc4RAD3du36UAsfz0ehrX
W/dYEe0ibKpgMf5mqyvF3WYm1n6oyO9zHE0UUZI6YyxySPyBhf1VVQRT3UojiV5HY9lBJyaq
n0jP6TzwT27FuDeSve28c9lYwtLKksYZHY/aoIPHck/5auHcnhHtXWo821odMuAPtkssKv7Q
/af1g/mvb4XbPj2httIZBm/usS3TY7NjhPhR/ck+tTGs6eGlC6n4C6hDF1aVrNrcvn+C5gaH
j5Bb/SoVqfhnu3TSfqNEuZV9HtQJwf0mSP6VtfT9VqmwanWuh6rttXvNR0+6tYZ4jEpuIyhZ
sg8A4Pp7VhHDz30aHkueanfi1uePWNSeWN3aGN2htgRgdKnBYfJBPxiq9VReKscGfO5yDwCP
mprlK6OnKo1Z31CxmDPOB1IDjI9K8lvKU6k5w2Dx3BHYj/frWZt1vFh+muI3PUoYnB4GTwT8
CvJfaX5D9a9Qjzhge6GvTPxZygeZT2pHpEtvqVosNyRb3yAeVNj7ZFHp+Ofath/CPeZ3Vosl
veqqalYFY5lUYDKR9rf2IPxn1rW+YGFGguu+A8cg9fZgff39/kA1NfDOO81veelX+n3aWtxb
EPfL1Y89UHZV/wDIshI/GCa4v9f6X0bMUrilQUc1DvEfcNto+mGI3Xl3JHmBI5elyOcdjnGe
f8pqY1q94ybmtdxbquBaxL0WeLaOYKMydJPUSe+Ootj8YPrVR+mMiF3NNrOrMV6neaTCdR96
2Y8NdgWW0dOSWZVn1OZQ0sxX+D/Cue3z3NQnwM2KAX1/VrYMpRRapKnDZAPWARyMYwe39Ku6
ql+c9mLRSlK5lCuDiua82pSmDT7qZV6jHC7BffCk0BqBrUhWOAMqNkMwPTzyff1rJaTtDUdV
2jf7isowIrJ+iRQOXUYJZf8A14z245rDa02RZp26LZM/0raPwz0NdJ2DpljPGOqWDzZ1I7mT
7iD+iB+qtOtMNXYL1mGWu2hmH2/chKsO/JHIwfwe9SFbu2khkj1JcCXLxzLyGB5Iz+Dkc1kd
6+Fer7fv55bK2uL3TCxMMtvEZGRfZ1HIx74wfxU38FtualLYX8O49JI0d1TyLe/gz1yc5dVb
kDGBnHPGO1dYeVw0iUFIpHUImhKqJBPbq2Y3ByPj8fFeramrXOj65b3VlIY36x0keh9P7/1G
QeDV6b38HrG+tTJtaO2sZwp6oHDdEh9MNnIPpzkfHrh9geDN3Zarb6huZ7botpBKltC5fzGH
I6jwAAfTnPx3htcuSKp1TLotWla2ia5VEnKAyKhyobHIB9s0r60rkUVz4xbrvdG0yPS9FYi/
vEZnkQjqhi7ZHsWPAPphvXFa0zQyxuBKjKfYitrN8+Humbynt7i8ubm2uIE8tZIOnlc5wcg+
ufX1qKx+BGiJMsjavqTAEEj7AT+8VdxqjNssPZ9vNabS0W2uY2jnhsII5EburCNQQfgisvXA
XpUAZ4Hqc1zUGilKUArAb8v10zaOpXj+eVjjGRAQHbLAYGffOPgms/UD3bo2594x3ukB4NG0
jzAplcCaW5Uc56QeFJA9QcdxWP4avpREV3Y67r8ECRzWomYRIsbK45/mzgH9VtjEpSJEJyVU
DIGK1s1Dwvu9Ji1C7S9R002eKGeRVbKllRvMA79I6xkd8AmrY2Hq26nP0euWouRBJ9PPJwks
LBQQ5JOJUYEHqXByTwe9FSVI2Vt2ye0pStJFKUoBSlKA/9k=</binary></Content>
				<bool name="archivable">true</bool>
			</Properties>
			<Item class="Script" referent="RBX1437">
				<Properties>
					<bool name="Disabled">false</bool>
					<Content name="LinkedSource"><null></null></Content>
					<string name="Name">TeleportScript</string>
					<string name="Source">--- SonOfSevenless&#13;&#10;print(&quot;Teleport Spell Loaded&quot;)&#13;&#10;&#13;&#10;local COOLDOWN = 0&#13;&#10;local MP = 0&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;bin = script.Parent&#13;&#10;&#13;&#10;function TryToCast(player)&#13;&#10;&#9;-- returns true if player may cast this spell&#13;&#10;&#13;&#10;&#9;-- make sure this player has the wizard board stats&#13;&#10;&#9;local stats = player:findFirstChild(&quot;leaderstats&quot;)&#13;&#10;&#9;if stats == nil then return false end&#13;&#10;&#9;local mana = stats:findFirstChild(&quot;Mana&quot;)&#13;&#10;&#9;local level = stats:findFirstChild(&quot;Level&quot;)&#13;&#10;&#9;if mana == nil or level == nil then return false end&#13;&#10;&#13;&#10;&#9;if (mana.Value &gt;= MP) then&#13;&#10;&#9;&#9;mana.Value = mana.Value - MP&#13;&#10;&#9;&#9;return true&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;return false&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;function teleportPlayer(pos)&#13;&#10;&#13;&#10;&#9;local player = game.Players.LocalPlayer&#13;&#10;&#9;if player == nil or player.Character == nil then return end&#13;&#10;&#13;&#10;&#9;local char = player.Character.Torso&#13;&#10;&#13;&#10;&#9;sound = Instance.new(&quot;Sound&quot;)&#13;&#10;&#9;sound.SoundId = &quot;&quot;&#13;&#10;&#9;sound.Parent = char&#13;&#10;&#9;sound.PlayOnRemove = true&#13;&#10;&#9;sound:remove()&#13;&#10;&#13;&#10;&#9;char.CFrame = CFrame.new(Vector3.new(pos.x, pos.y + 7, pos.z))&#13;&#10;&#13;&#10;&#13;&#10;&#9;sound = Instance.new(&quot;Sound&quot;)&#13;&#10;&#9;sound.SoundId = &quot;&quot;&#13;&#10;&#9;sound.Parent = char&#13;&#10;&#9;sound.PlayOnRemove = true&#13;&#10;&#9;sound:remove()&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;&#13;&#10;enabled = true&#13;&#10;function onButton1Down(mouse)&#13;&#10;&#9;if not enabled then&#13;&#10;&#9;&#9;return&#13;&#10;&#9;end&#13;&#10;&#13;&#10;&#9;local player = game.Players.LocalPlayer&#13;&#10;&#9;if player == nil then return end&#13;&#10;&#9;--if TryToCast(player) == false then return end&#13;&#10;&#9;&#13;&#10;&#13;&#10;&#9;enabled = false&#13;&#10;&#9;mouse.Icon = &quot;rbxasset://textures\\ArrowFarCursor.png&quot;&#13;&#10;&#13;&#10;&#9;-- find the best cf&#13;&#10;&#9;local cf = mouse.Hit&#13;&#10;&#9;local v = cf.lookVector&#13;&#10;&#13;&#10;&#9;teleportPlayer(cf.p)&#13;&#10;&#13;&#10;&#9;wait(COOLDOWN)&#13;&#10;&#9;mouse.Icon = &quot;rbxasset://textures\\ArrowCursor.png&quot;&#13;&#10;&#9;enabled = true&#13;&#10;&#13;&#10;end&#13;&#10;&#13;&#10;function onSelected(mouse)&#13;&#10;&#9;mouse.Icon = &quot;rbxasset://textures\\ArrowCursor.png&quot;&#13;&#10;&#9;mouse.Button1Down:connect(function() onButton1Down(mouse) end)&#13;&#10;end&#13;&#10;&#13;&#10;bin.Selected:connect(onSelected)&#13;&#10;&#13;&#10;</string>
					<bool name="archivable">true</bool>
				</Properties>
			</Item>
		</Item>
	</Item>
	<Item class="SoundService" referent="RBX1438">
		<Properties>
			<token name="AmbientReverb">0</token>
			<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>RBX1439</External>
		<External>RBX1440</External>
		<External>RBX1441</External>
		<External>RBX1442</External>
		<External>RBX1443</External>
		<External>RBX1444</External>
		<External>RBX1445</External>
		<External>RBX1446</External>
		<External>RBX1447</External>
		<External>RBX1448</External>
		<External>RBX1449</External>
		<External>RBX1450</External>
		<External>RBX1451</External>
		<External>RBX1452</External>
	</Item>
	<Item class="Selection" referent="RBX1453">
		<Properties>
			<string name="Name">Selection</string>
			<bool name="archivable">true</bool>
		</Properties>
	</Item>
	<Item class="Lighting" referent="RBX1454">
		<Properties>
			<Color3 name="BottomAmbientV9">4286224248</Color3>
			<Color3 name="ClearColor">4278190080</Color3>
			<float name="GeographicLatitude">41.7332993</float>
			<string name="Name">Lighting</string>
			<Color3 name="SpotLightV9">4289305190</Color3>
			<string name="TimeOfDay">14:00:00</string>
			<Color3 name="TopAmbientV9">4293059050</Color3>
			<bool name="archivable">true</bool>
		</Properties>
	</Item>
	<Item class="ControllerService" referent="RBX1455">
		<Properties>
			<string name="Name">Instance</string>
			<bool name="archivable">true</bool>
		</Properties>
	</Item>
	<External>RBX1456</External>
	<Item class="Timer" referent="RBX1457">
		<Properties>
			<string name="Name">Instance</string>
			<bool name="archivable">true</bool>
		</Properties>
	</Item>
	<Item class="Geometry" referent="RBX1458">
		<Properties>
			<string name="Name">Geometry</string>
			<bool name="archivable">true</bool>
		</Properties>
	</Item>
	<Item class="Teams" referent="RBX1459">
		<Properties>
			<string name="Name">Teams</string>
			<bool name="archivable">true</bool>
		</Properties>
		<Item class="Team" referent="RBX1460">
			<Properties>
				<bool name="AutoAssignable">true</bool>
				<bool name="AutoColorCharacters">true</bool>
				<string name="Name">Admins</string>
				<int name="Score">0</int>
				<int name="TeamColor">23</int>
				<bool name="archivable">true</bool>
			</Properties>
		</Item>
		<Item class="Team" referent="RBX1461">
			<Properties>
				<bool name="AutoAssignable">true</bool>
				<bool name="AutoColorCharacters">true</bool>
				<string name="Name">reds</string>
				<int name="Score">0</int>
				<int name="TeamColor">21</int>
				<bool name="archivable">true</bool>
			</Properties>
		</Item>
	</Item>
	<Item class="Debris" referent="RBX1462">
		<Properties>
			<int name="MaxItems">300</int>
			<string name="Name">Debris</string>
			<bool name="archivable">true</bool>
		</Properties>
	</Item>
	<External>RBX1463</External>
	<External>RBX1464</External>
	<External>RBX1465</External>
</roblox>