mirror of
https://github.com/copyrighttxt/watrbx-game-engine.git
synced 2026-09-04 20:57:49 +00:00
22728 lines
1.0 MiB
Plaintext
22728 lines
1.0 MiB
Plaintext
<roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.watrbx.wtf/roblox.xsd" version="4">
|
|
<External>null</External>
|
|
<External>nil</External>
|
|
<Item class="Workspace" referent="RBX0">
|
|
<Properties>
|
|
<Ref name="CurrentCamera">RBX1</Ref>
|
|
<double name="DistributedGameTime">0</double>
|
|
<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">null</Ref>
|
|
</Properties>
|
|
<Item class="IntValue" referent="RBX2">
|
|
<Properties>
|
|
<string name="Name">Result</string>
|
|
<int name="Value">0</int>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Camera" referent="RBX1">
|
|
<Properties>
|
|
<Ref name="CameraSubject">null</Ref>
|
|
<token name="CameraType">0</token>
|
|
<CoordinateFrame name="CoordinateFrame">
|
|
<X>27.3883591</X>
|
|
<Y>106.649155</Y>
|
|
<Z>24.5131302</Z>
|
|
<R00>0.535783112</R00>
|
|
<R01>-0.0440047793</R01>
|
|
<R02>0.843208134</R02>
|
|
<R10>-0</R10>
|
|
<R11>0.998640954</R11>
|
|
<R12>0.0521164052</R12>
|
|
<R20>-0.844355643</R20>
|
|
<R21>-0.0279230904</R21>
|
|
<R22>0.535054982</R22>
|
|
</CoordinateFrame>
|
|
<float name="FieldOfView">70</float>
|
|
<CoordinateFrame name="Focus">
|
|
<X>10.5242014</X>
|
|
<Y>105.606827</Y>
|
|
<Z>13.8120327</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>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="IntValue" referent="RBX3">
|
|
<Properties>
|
|
<string name="Name">StopTime</string>
|
|
<int name="Value">5</int>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX4">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">TestScript</string>
|
|
<ProtectedString name="Source">-- Add this script
|
|
-- Add an IntValue called Results (leave value at 0)
|
|
-- Add an IntValue called StopTime (set to desired wall clock simulation time)
|
|
-- make sure the part being measured is called CheckPart and is a direct child of the Workspace
|
|
|
|
|
|
print("Testing success conditions after model runs for ", Workspace.StopTime.Value - 1, " seconds of real time...")
|
|
print("(Note: one second shorter than the test harness allows)")
|
|
|
|
maxVelocityMagGoal = 0.001
|
|
minYPositionGoal = 5.5
|
|
|
|
-- measure success conditions 1 second before the test harness stops the simulation
|
|
start = tick()
|
|
while tick()-start < Workspace.StopTime.Value - 1 do
|
|
	wait()
|
|
end
|
|
|
|
print("Max Velocity Mag = ", Workspace.Model.TestZombie.Head.Velocity.magnitude)
|
|
print("Max Velocity Mag Goal = ", maxVelocityMagGoal)
|
|
|
|
print("Min Y Position = ", Workspace.Model.TestZombie.Head.Position.y)
|
|
print("Min Y Position Goal = ", minYPositionGoal )
|
|
|
|
A = Workspace.Model.TestZombie.Head.Velocity.magnitude < maxVelocityMagGoal
|
|
B = Workspace.Model.TestZombie.Head.Position.y > minYPositionGoal
|
|
success = A and B
|
|
|
|
if success
|
|
then
|
|
	Workspace.Result.Value = 1
|
|
else
|
|
	Workspace.Result.Value = -1
|
|
end
|
|
|
|
print(Workspace.Result.Value)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Terrain" referent="RBX5">
|
|
<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">194</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-2</X>
|
|
<Y>126</Y>
|
|
<Z>-2</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>
|
|
<string name="ClusterGridV2">(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ9ñ�È€`Pؘ �`Ș�È(Ѐ Ð@Ø@ `(@`�À@X˜Xà�(X @ P� `HPÀ(€ Ø`€P�@ؘàÐP˜ˆ( ˆÐ`ÀØÀÐ`P€(ØÐÈàÀHØ Ø@˜À(Ș`€P�àÀÈÐP€ (à€À˜HИPXPØ(@Ð@P˜`H�˜X€ÀP( ˆP�@ €ˆX˜àÀ�(àˆ˜X HXÀ Pà@ (X  À˜€ÈÀ Ș (ÈPȐ˜ ˜ `H€à`( ØP HPÈØ�ˆHXØ(�À˜Ð€X  H ȐØ(HÐ�@ @ ˆà� €Hˆà(ÿñØXØÐ HH@À àP(XPÈØ˜À�ÈàÀPИ( �àH˜�ÀPØP€Àà(X`АÈPà˜P˜@Ș(ÈØ P`à àÀÐX Ø( ˜ P`X�ˆÀ (À�à ÐP P@Ð�`H(P`@@˜Ø ؈À(ÈÀ@`à€ˆ`Ѐ`(PؘÀ`àˆÈ À(ˆPHÀ €@`ˆX(ÀPà �@àØHP�Ð(ˆ@ˆÀ`ØÐ�ˆ @Ø`€(Àˆ@ €À` ` È(€H@P€˜àP( àHÀ` ˆ˜@ÈØ(À�@H€ÈÐ�€àÿ9ñ
|
|

|
|
	
|
|
	
|
|

|
|

|
|
	
|
|
				
|
|

|
|

|
|

|
|
			
|
|
	
|
|
	
|
|
		
|
|
	
|
|

|
|

|
|

|
|

|
|

|
|
	
|
|

|
|
	
|
|

|
|

|
|
		
|
|

|
|
	
|
|
ÿñ
|
|
	
|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|
	
|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|
	
|
|

|
|

|
|
		
|
|

|
|

|
|

|
|
			
|
|

|
|

|
|

|
|

|
|
	
|
|

|
|
	(ÿ8ؐ à ÈXà˜� Ð(àˆØXÈˆP(PH  РXÐÈ(àÀPXˆ`ЈÀP@ˆÈØ(ˆÐ�àØÀHÈXàˆÈØ(P  Ð˜€ÈPÈXPàX€(HˆÀˆØàЈXàˆ(Рˆ  È˜@ÐØX X(ˆÀˆ@P@€XÈP€(ÈX`€ HȐ€À˜Ð(Àˆ È €  X˜È(ÀÀ @ ؘPàÀHˆ(H˜ ÈЈ` ÀXÈ€( ˜€àˆ@Ð ˆ`€(à�ØØˆàØP�È(�Àà�`€Ø@X`(ÿ€È@PàÀ@��€(`àÀàЈ à� ˆX(€XȘˆXPHàÐ àÈ(˜ØÈ ˆH€ €À@È(˜PȈ�ˆØ€(À H˜àØà€Ð H(ˆ€À Ð` €@(�Аà�à@˜È`�`È(˜€PÀ`ÈXàÀØ`Аˆ(@�ÀØØˆÐ` ÈH(X˜ØàØˆP˜à�H(ˆ˜ØàX�Р� XàH(€ HÀÐ@€àÀX Ð( à ÐÀ Ð€ØX P@ Ø(@�ˆ @�@À˜Ð(`HXˆÈÐ X˜ €(ÿ�ÿ8	
|
|
		
|
|
	
|
|
	
|
|

|
|

|
|

|
|
	
|
|

|
|

|
|

|
|

|
|
	
|
|
	
|
|

|
|

|
|
	
|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|
	
|
|
		
|
|

|
|
ÿ
|
|

|
|
		
|
|

|
|

|
|

|
|
	
|
|

|
|
	
|
|

|
|
		
|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|
			
|
|

|
|

|
|

|
|

|
|

|
|
	
|
|

|
|
	
|
|

|
|

|
|
	
|
|

|
|

|
|
	
|
|
	
|
|
ÿ�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿñ€`ˆ� X ˜`(ЈHØ@  H ØX(`ˆ`à €À� XXÀ(XPØÀ�ˆPÈ À`ØH€(˜X€ÀHXؐ`Иˆ (ˆØX X@�€HÀ€(àÀ@È€ˆ€XPàÀH(˜�˜ÐÀ€˜Ð@(€˜` @ˆàPÈ`ÐØà( à`à˜à�PX�@H(˜àÀ`Р�ˆ�X˜H€(H�È� @ €Ø HPHÐ(˜Ø XÀ��`€(ØÈ�X@ˆ�Ѐˆ `(Ѐ�ˆX ØH(˜ ˆØ�€ÐÈ`ˆ(ØÈÐX`ØP`À ØHÀ(ÿñHHȈ€@� �(PÐà` àH@�(À˜HXȐXà Ð(€À� Øà€P Ð(ؘ @˜ И`È @XP(XˆØˆÈ€ @Ð`X`(˜P�Ø�€�X �P€À( HØ`€P  H P(HЀ ˜Ø�€`ÐØ( H`P� à�À PH(àˆ˜HÀ @à`ˆ(ÀàÐXÀÈ Ø˜Ø (˜ €È@ØHˆ˜€Hˆ(�È PØ  ˜ØHØÐ (@Ȑ€à@P�ˆH˜Hˆ(€È€À€X@ÐàÀˆH(H ˜ˆ�H @HPÈ P˜(ÿñ�È ˆ @€ÀP@Hˆ(` €@ ˜PX�À(à˜@؈� àÀ@ €P( P@ Èˆ˜�XÀ˜( ÐÀH`X `H(`Ð`� È`ˆPX@(PàÀà`ˆ€�˜ (` ˆ`P`ÀØà à À(À@P˜€à€H˜È(˜@XP�� `@àˆ@(HȘHP @HØPˆ( XPˆ€` À˜( Pؐ P`Ø�Ø(˜€HÈà` X�È ˆX(X˜À`Ј `Ș (˜€˜àH@€˜À˜X� (À€@Ȑ` @àX(ÿñÐØ HXØÀÈ`@À(€È€@P`Ð�X @ ˜(Ð�ˆÈÀ`@` (�à@ØÐÀ˜@€(HÈXà�PИˆ@`Àˆ(ÀP(ˆàX�Ø(�HØ(ÈX(@à˜( `ÈàX(àX˜Ø( Ð `(P€À(`@ˆ(HØ`àˆ(˜HØÐ(ÿû˜X�ÐÈ`؈àˆP(X`Ø�P ˜àX`ˆ(ÀИˆà`ЈÐHÀ(@àHÈ`ÈX€�Ðà` (HÈ€ˆ˜` ˜€PØ(@`ˆ(؈ØHP(È€XˆÀ(ØH� (Ѐ�ØÐ(HÈàˆ (X�Xà`(@ àØ (`ˆ H€(ØÐÈÐÈ(�Ø(X` (ÿû€ ؐ€`ÀÐ  XX˜(�˜˜@ H€ˆÐ˜ÈÀÐ(Ø ˆ@Ø�`XЈX(È �ÀHˆ Hؘ`@Ø(˜ØÐ��˜€ �(`�˜H(@˜@€(@P (HÈ (€È HX(ˆÐ@˜Ø( Àˆ€(P€ ˜(`€`ÐP(˜€Ø(àÈ@( ˜€(ÿûXàÐ@`@ˆP`Ø@(PÀ@P� ÀP˜(ØPH XÈ`È XÀˆ` (˜ ÐHˆÐˆÐPX  `€(XH˜ˆ ˜X XØ (ˆ ˜PH(ˆXˆØ`( Ø@X(X@ˆ@H(Ø�à˜(Ø Ø X( ˆÈ(ÐÐ@à(@ À(ØàP˜(€ˆ@ˆ€( H(ÿûX@À€ €XˆÈ`HØ(PXˆP€P€�(  ˆˆXȈˆ˜À(`XPà`P`ˆ È H˜( ˆHXÀ@ˆ` (XÀ (À� `(H ` Ø(�ÈàÐ(Ø H P(P€Xà�(PXX(ˆ�Ø€(à €Ð(@ˆØ€(ؘàÀ(àØÀˆ(ÿûÈÀØÈP�ˆØˆ@X(à˜XÀØ àØˆØ(� ÐØàH €Èà(H@ÀP  €ØÈ˜( À˜È€àȈÐÈˆÈØ( ØàÐ(à PX@( € ˆ(XˆÈ(˜€È(ؘ à( `ÈH(ˆ€XÐÈ( @˜ˆÐ(ØH@È(H˜€à(`À`(ÿû ÈÀXА�  Ø(XÀÈXXИHXÈÀ(РÀˆ˜ØXÀ˜H`(@ `X �˜€H` È( @˜€ˆ`ØÈˆ @à(Ȉ˜€(PˆX€(àP�(@ÀP˜(PXX`(ˆ�Ð(ÐȐ`(�à`�(`؈˜(ˆÈ@(Ø�(Ș@Ø(ÿû ˜àH`ؘ€PØ (Ø P�` ˆØ€ à(`˜  ˆ � àˆÀ(È` ˜ HÀÈ�àÈ(À@àРPؘРˆ(� Ð€(И`Àˆ(�@�(ØPØ`(ÈР�( Ȉ X(��Àˆ(ˆÈÐ`À(@àÐ@(˜ÈÀ(P  (À˜X@Ø(ÿûH@ Ø @`Hà@ˆàà(à ˆÀÐPÀØPØ�˜(ØÀ˜XHÀ€à`ȐР˜(X˜P `� À˜ ÀH(€ ÈˆXHÈÀȐˆH(ˆ (ÀИàH(H@È(˜Ð ˜(Ø€(ÐXÈ�(ˆ  (P`( ˜@(@XàPX(`Јà€(PØ(ÿû  �P€XÀ`ÈАÈ(ÈXPX˜`@�À(HˆP ˆÀ`ØX` Hà(P ˜ˆX@ÀP ÀPÐÈ(�XÀXX@`àˆ˜( @ˆ(@È`Ø€(`ˆP(Ø ˆ ( ˆ (HÈ(XÀà˜�(@P؈(X@˜(Èà`(@Ȑ(ÀX P (ÿû� XP؀ИÐ`@(@€HPà˜�  ÈHÈ(Xˆ€ˆ@˜H˜ÈÀ@XˆØ(H@ÐH@Hˆ €P(`ÀÐȘ X˜ `(HP (� ÀP(X˜È (ȘH`(HÀà(HˆH(`Ø(˜ÐP(ÀÀ˜(X`à�(@РÀ�(È  €È(ÿû`Ј  P˜@ˆ˜P�(�@ÐÀ˜ P€PàX`(˜€ XÐÀà�X�Ø(`˜àˆ@Ø€XàP`( ˆH`À˜ ÈàPà(À@Ð@(ÈHÀP(ÀÈX�(XP�(Ø�@PH(`Ø À(À  ÐH(`˜Ð(H  È(` P(Xà@ H(Ð`ÐH€(ÿû `�ˆ  €HÐPà(àРØà  ˆà` (ˆ ˆÈРH`˜Ø€à(HPHXP€X`PH˜( à €  ˜È`@Р( ˜(Ѐ�`ˆ(PØ`˜(P�ÀP( ÀÈ(@ؘˆ(Xˆ (X� È(HP Ð(˜Ð˜�X( ÀX(�ˆ€(
|
|
ÿñ
|
|

|
|

|
|
	
|
|

|
|

|
|
		
|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|
		
|
|

|
|

|
|

|
|

|
|
		
|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|
	ÿñ
|
|

|
|
	
|
|

|
|
		
|
|
	
|
|
			
|
|

|
|

|
|
		
|
|
	
|
|

|
|

|
|
	
|
|
		
|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|
	
|
|
	
|
|

|
|

|
|

|
|

|
|

|
|
	
|
|
	
|
|

|
|
	
|
|

|
|
	
|
|

|
|
ÿñ		
|
|
	
|
|
	
|
|
			
|
|

|
|

|
|

|
|

|
|

|
|
	
|
|
	
|
|

|
|

|
|
	
|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|
	
|
|
	
|
|
	
|
|
		
|
|
ÿñ
|
|

|
|
	
|
|

|
|

|
|

|
|
		
|
|

|
|

|
|

|
|

|
|
		
|
|

|
|
	
|
|
	
|
|

|
|

|
|

|
|

|
|
	
|
|

|
|

|
|

|
|
ÿû	
|
|

|
|
	
|
|

|
|

|
|

|
|

|
|
	
|
|

|
|
	
|
|
	
|
|

|
|

|
|
		ÿû
|
|
	
|
|

|
|
		
|
|
			
|
|
	
|
|

|
|

|
|

|
|
	
|
|

|
|

|
|

|
|
	
|
|

|
|

|
|

|
|

|
|
	
|
|
			ÿû	
|
|

|
|

|
|
	
|
|
	
|
|

|
|

|
|

|
|
	
|
|
	
|
|

|
|

|
|

|
|
	
|
|

|
|

|
|

|
|
ÿû
|
|

|
|

|
|

|
|

|
|
	
|
|

|
|

|
|
	
|
|
	
|
|
		
|
|

|
|

|
|

|
|

|
|

|
|
ÿû
|
|
	
|
|

|
|
	
|
|
	
|
|

|
|

|
|

|
|

|
|
		
|
|
	
|
|
	
|
|
	
|
|

|
|

|
|

|
|

|
|

|
|

|
|
		ÿû	
|
|
	
|
|
	
|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|
	
|
|
	
|
|

|
|

|
|
	
|
|

|
|

|
|
		
|
|
	ÿû	
|
|

|
|

|
|

|
|

|
|
	
|
|
	
|
|

|
|

|
|
	
|
|
	
|
|
	
|
|

|
|

|
|

|
|
		
|
|
	
|
|
	
|
|

|
|

|
|

|
|
ÿû			
|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|
				
|
|

|
|

|
|

|
|

|
|

|
|

|
|
ÿû
|
|
	
|
|

|
|

|
|

|
|
	
|
|

|
|
	
|
|

|
|

|
|

|
|

|
|
	
|
|

|
|
			
|
|
	ÿû	
|
|

|
|

|
|

|
|
	
|
|

|
|
	
|
|

|
|

|
|

|
|
	
|
|

|
|

|
|

|
|

|
|

|
|
	
|
|

|
|
ÿû
|
|

|
|
	
|
|
	
|
|

|
|
	
|
|

|
|
		
|
|

|
|

|
|
		ÿû
|
|

|
|
				
|
|

|
|
		
|
|

|
|
	
|
|
	
|
|

|
|

|
|

|
|

|
|
	
|
|

|
|
(P ؐÈ@Hؐ ˆ(ÀHÐÈÐÈ€ØÈà( ˆX H`ÀPHØ@X(�ˆØ@È `à@àH( àÈàÀØPÐ P(PÀXHX ˆØÀH(�À à`ÈØ ˆÈ È(XÈ`€ˆXÈX@ (à`˜€P€ÀPÈà`˜(ÈHÐÀPȐ@À€ ˜(À@PÀȀؘˆ�ÀHP (ؐàX˜P È@ ˜( €ˆÈ˜ÀH H(€ÈPPXX€à (È`  È H ÈàÀPÀ (@À€`È@ È� @ (ÿà€X ÐXÐÈØ(Øà�ˆXH`€  (€ÀÈX@Ø`�Ðà`X ( @  €�àˆàPˆ(@ؐ˜@ à  ØX(ˆà€ˆà@ˆàØ`(XÀÀP �@Ð`€(@ˆ�È� à€Ø(à�`HÈØX˜X˜X�@(XˆÀ€À Ø€�€ÐX(È@È`ˆàȘXÀ(ˆ@H�À˜ ÀXÈØ€À(�HÀP@ X�`È ˆ˜(P ÀÀà ˆ  €( X˜ÈPØ àØ(À Àà  È � (ÿȈ@ØX€X˜À ( à�@HÀˆÐÀ@А(À˜Ð HÐPˆ @X(ÈP€ØÀ àÀàˆÐP (H�˜� `XàÀØ(ˆ˜@X à ` @H(ÀȠ؀ØP È€È€H`(À ؈Xˆ ÀÐ`(à€ ÀàHؐÀ à˜(Hà  Ð˜àXÐÈà€à( ȐÀˆÈ Àؘ(È€P à€ ÐX €(˜`ˆ È�@ˆH(€àØP`@PˆàX ÀX( ˆ€˜àˆP˜ÈÀàØÈH(˜ÀàX`È�ØP(ÿH�ØÐà(HÀ P(ˆ�À@(˜`ÈÐH(HЀXÀ(`ÈHàØ(ÀX@XÐ(Xˆ (PØ@ (�`Ȑ(ˆØ˜(� X `€HȘH (@Ø�ȘÐ�ЀÀPHÐ(˜ˆàPˆXP@àÈ�(€Ø˜ÐàHÈ€H(`HXP ÀÈX˜(ÿÀH(X˜Èˆ(H`˜ @(XP`È(€ È( ØÐà(à˜(ÀØ@˜à(à€à (@` (HPˆÈ(�@€HÀØ`Ø�€H@È( ˆ`ØÀ�ЈPÀ( `À ˆP`Pˆ€XÐ(P€X ˜€ˆP@P`€(€ €ØÀH€˜ˆH�P(ÿà`HÈ(àÈ`Ø(ÀЈ (``X (€˜˜€(�@Hà(Ø €Ø˜(�HÀH(ÀЈP`(À�˜Ð@(`ØX(ˆ˜ˆØÐÐXP(Àˆ˜à`˜�PH`@P(˜`ȐX˜à�`À˜€ (HàØ�ؐHP ÀXˆ�(X`È€HHÐ ÐHà(ÿÀX(P(X˜àˆ(XàÐÈ (ˆÐ˜@ˆ(@X˜@(@˜`È(`ˆ˜à(Øà�Ø(˜�`à(ØÈ@PX(H �H XØ€àP˜(`ÐP�˜Ø�X` Ð(àX€àPXˆ ˜X˜(ÐÈ �À Hà@H€H(�ÀˆàˆHÀØ@PÐ(ÿ€P�Ø(˜€�ÀÐ(˜HXØ(àØÈ à(H�X˜(P (؈à(€˜ÈP(ˆ�à(И؈X(HØÈÐ(�à€ÈÀÐ `ØÐXÀ�˜(À Ð`Р˜ˆÀ˜(ÈØ È ØPX`Ø�( ˆ`� `˜  (HÐȈ€˜`€Ðà à(ÿ Ø X(@Ø(àØ(ÐX (H@È(HàȘ(P˜X(Ș@H( X(`Hà(˜€àXH(€Pà˜Hˆ ˆ(@HàÀØà€PPÈ€à(˜ à P ˆØÈ `(Øàˆ HˆX ˜@`( ˜XÈØˆ�˜P`�à(ÿ Èà@ (@X Ø(˜P@À(ÈX (ÀÐ@(ÐPXÀ€(ˆ ˜ˆ( HÐ( �XØÈ( Ð`(H€(H P@X€˜Àà`H (�ȘPH˜ØXÀ`(ˆH@ؘà€Ø€` (ЀÈ� XH@`À€`À(HÐÈ€ØHP`�Ð(ÿ�˜€X(ˆÐP˜à(È@ H(à`H�Ð(€ àØ( PÐȘ(`À`ˆ(XÈØˆ (àP€H�(PÀH (€ˆ €(�@ÈH €ÈØ˜X (Ø€ˆ@АˆÈØØPX`( È ˜à àHà˜ˆ(Èà ÈØ`@Pà˜X€XÈ(ˆÐ˜€`àÀˆÐ(ÿ�@€�ˆ(È@ (@À˜ÈÀ(ˆH`P(�à(Xà˜àX(ˆàÈHX(Ð@XØ€(ØXÈ@(˜Hˆ (ÀØÀ�(�  Ð€à`PØHPà�(ÐØˆ˜H˜€ È€(`ÀØ@ˆÈXÈH( �ÈPÈ˜Pà àP(HP€˜P˜Hˆ`Ø À(ÿÐÈ�XÐ(`Àˆ(Ð�Ð(`àÐH˜(H XÀ(ÐÐX (HÀH(Ø`X(@H (È Ð`(ؘÐ@(Ð` X€ØˆÀàÈX�(HÈ`  HØ`HÀÐØ€(АÀ È€Èˆ`�ˆ(ȘP ÐÀ@ˆÈØ@Hà  (ÀP È ÈX˜(ÿà (@à€`à(@PX�(ÐØX(Ѐ˜(Pˆà€ˆ(ÈА (ȘÀ˜P(Ø HX(HˆÐ( XXH(ÈÀ €PHHØXØX(À €PÐàȈ�(Hà ÈØˆ@€˜ÈØ (P �€ àˆ �HX@( PЈ€X�XH€ÈàÀˆ(ÿX˜�Ð(P�@(À@Ð(HЀP(ÀÐ(HH`Ð( ˆ Ø(@P`(àˆ (@PÈ(À(€ÐXØ`@àH�à ˜`(�ØHØ€P€`€(˜ P�PHÐP�Ø�(@ØÀ˜�À`€ Ð€(€`@�€`�˜HИ@(ÿH€ˆXÐ(ˆ Àˆ(à˜P˜Ø(`àˆ`(@Xàˆ(P� (ÈЈ ˆ(�ˆH( È�(Ѐ Pà(ˆÐXÐ(ˆà�@  @È€˜@€Ø@(ˆÐP�`@Ø`˜`Pˆ(PØà`Ø€ØàÈØ(Ø`ˆ�@À€àPØH( ÈÐPÀ@PXȘàPà(ÿ�
|
|

|
|

|
|
	
|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|
	
|
|

|
|

|
|

|
|

|
|
	
|
|
	
|
|
		
|
|
	
|
|
	
|
|

|
|

|
|

|
|
			
|
|
	
|
|

|
|

|
|

|
|
		
|
|

|
|

|
|
ÿ
|
|

|
|

|
|

|
|

|
|

|
|
		
|
|

|
|
	
|
|

|
|

|
|
	
|
|
	
|
|
		
|
|
	
|
|

|
|

|
|
	
|
|

|
|
	
|
|

|
|

|
|

|
|

|
|

|
|
	
|
|
	
|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|
		
|
|

|
|
ÿ
|
|

|
|
			
|
|

|
|
	
|
|

|
|

|
|

|
|

|
|

|
|
	
|
|

|
|

|
|

|
|
		
|
|
	
|
|

|
|

|
|

|
|

|
|
	
|
|

|
|

|
|
		
|
|

|
|
		
|
|

|
|

|
|

|
|

|
|

|
|

|
|
ÿ
|
|

|
|
		
|
|

|
|

|
|
	
|
|

|
|
	
|
|

|
|

|
|

|
|
	
|
|

|
|

|
|

|
|

|
|

|
|
ÿ	
|
|

|
|
	
|
|
	
|
|

|
|
	
|
|

|
|
	
|
|

|
|

|
|

|
|
			
|
|

|
|

|
|
		
|
|

|
|

|
|

|
|
ÿ	
|
|

|
|
	
|
|

|
|

|
|
	
|
|

|
|

|
|

|
|

|
|

|
|

|
|
			
|
|
ÿ
|
|

|
|
		
|
|

|
|

|
|
	
|
|
	
|
|

|
|

|
|

|
|

|
|

|
|

|
|
	
|
|
		
|
|
ÿ	
|
|

|
|

|
|
	
|
|

|
|

|
|
			
|
|
	
|
|
	
|
|

|
|
		
|
|

|
|
		
|
|
		ÿ		
|
|

|
|

|
|

|
|

|
|

|
|
	
|
|

|
|

|
|
	
|
|

|
|

|
|
		
|
|

|
|

|
|

|
|
		
|
|

|
|

|
|

|
|
ÿ
|
|
	
|
|

|
|
	
|
|
			
|
|

|
|
	
|
|

|
|

|
|
			
|
|

|
|

|
|
			
|
|
	
|
|

|
|
ÿ
|
|

|
|

|
|

|
|

|
|
	
|
|
	
|
|

|
|
			ÿ
|
|

|
|

|
|
	
|
|

|
|

|
|
			
|
|

|
|
	
|
|
	
|
|

|
|
	
|
|
	
|
|

|
|

|
|

|
|

|
|
	ÿ	
|
|

|
|

|
|
	
|
|

|
|

|
|

|
|
	
|
|
	
|
|
		
|
|

|
|
	
|
|
ÿ
|
|

|
|
		
|
|

|
|

|
|
		
|
|

|
|
	
|
|
			
|
|
		
|
|

|
|

|
|
ÿ
|
|
	
|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|
		
|
|

|
|

|
|

|
|
		
|
|
	
|
|

|
|
ÿ
|
|
		
|
|

|
|
				
|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|
	
|
|

|
|
	ÿ�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿñ�ȈXˆàЈÀÈ�(€XØÈ`ØPÀ�X€X(PH˜ ÐØÀà(HàÈ`ˆH€ `ÈÐP(`€ˆX`P€`X@À(А`(˜`H˜(à€ÀXÈ(X@È€(àÀP (À€ˆ˜(XP˜à(€HÀH(X�€Ø(˜`P€(@˜Ø˜(HàÀØ (ÿû˜@�ˆX ˆ˜˜Ø(@˜ ˆØ ÈЀ˜Hà(`@ˆÈ�˜` P ˆÀ( àX �ÈXP@`X(ÐØHÀ Ð�€˜XPÀ( €À€(H˜@(�˜ È(˜X(ÀÈX(ؐ ( @ˆ( XÀØ( ˜È (@ˆÐà(؈P(@PÀXÐ(ÿûà @ H˜`�X@Ø (H À à`�PàHÐ(`PÀàXÀ@P�(Ø àÈÀ`ˆ€XˆÐP (@ ØÀPÈØÐP(˜X@Ø(ÀȐH (ØÀ`ˆ(ÀÈ€ (�˜ ( XÈàH(Ð ÈX`(`È (ؘ�Ȉ(àˆ`(È@( À�(ÿû @H€àÈHÐ`àА(�˜X�ˆ�� `�È(X�ˆ  H�€@H€@(àȠ؈À È�ØX`(PX€@Ð�؈àÐ@P(XX`X(H�@ €(à� (˜Ð (ؘHÐ(H€X Ø(PX@(`À€ˆ( Ð€ÀH(Ȉ à˜(`˜�(Ø@à (ÿûPˆP ˆ@А`А€@(À€à`Р`ˆ˜€H(H˜ À�ÈP €`Ø€(P€ØÐ àØ�XÀX(P`PHÐ Pà€ˆà˜(˜@P (@ÀHP(Ø �˜ (HàHà(À `H(ˆÈH`(˜ˆHàÐ(À˜� ˜(�@àÈH(À (˜ Ð(Øàˆ(ÿûàˆàÀ� ˆH (� ÀPXÈØ€Èà( �€P€Ð�HÐHPÈ@ˆØ(PHÈ@PàÐ�ØØ(ÈˆØØ ØP ( @ÈØ(H@H( àÀ(Øà@H(ˆ ÐÀP(˜XP`€(€Àˆ (ØÐÈ`È(à€P(È Àˆ(ÐXÈX(˜` (ÿû@ØÐ Hà€ÐˆÐH(HÐ@ØHà  P( H XØ  `€(Ð ˜ Ð€ˆ€(ˆPÀˆ €`à` ˜�€(Ø€P(@ (ÐX�(�ÀˆP`(H` ˜(  @ˆP(Ȉ€à(ÀÈР(ØXÀ€P(@ÈÐÀ(H Ø (ÀP H€(ÿû ÐØ@PXÀ�À`�€(ÐHؘˆ H`˜ˆØ@�( �Ø�ˆ HÐ�Ð(ˆP `Р@`PX(ØÈ˜X àPÈ �È � (@ `Ø (˜ Èˆ`( HÈ(ÀÐXˆ(ˆPÀ�(È�˜ È( ؐP(@È`˜Ø(È`Ј( Pؐ˜(€HÐ(À€Ð(ÿû `ؘ`à À@àØ€(ÐØ àÐX ØÐ˜`H(€PÀH˜`È�ÈHXHØ(ØXȐà@X˜HÐ €(`PH˜ÈÐØPX�`(à€H(PXÈˆ(X˜@(�˜(P˜HXÀ( à�À (P (ˆàHÀˆ(€� (Ð�(ˆ€�À(HˆPH(ÿûÀ€�@`ˆ €˜€˜(H `à€`Ð`Pˆ€(PÈP�@X à`@à (€À˜XPà�HÀˆ�(`ÀØ HÈX @`€ØH(à€ÈÀà�ØPÐ  ÐÀ (�ØXP€HXÐÈàHØÐ(PØXà � P ÈPØ�(Ð@XH˜ÀЀ �(ˆ@ˆÐH€À �`À(Èàà€€� ÀÐ�(XÈHà`˜ �ˆØHˆXØ(ˆX˜ÈPÀÐØˆHà(Ø HØàÈ€Ø€ÈØ (àØà€Ø€À àÈ(PÈÀ�Ѐ@à€(àPˆ ˜ �XȐ(ÿñ`À À`�Èàˆ �Ð(à X�Ø€`€à@(ˆàØÈˆXààˆÈ È(HX�Ø`Hˆ`˜(�`Ð�ØàÈà�@ (àÈÀXÐ@ ˆÀH(˜P ˜PˆØH@˜(�P؈�À�È`P˜P(Ø` �ÀHˆÐ@ ØÈ(ØXÐX؈Hˆ€ `(ÀXPˆ€˜  ÐPÀ�Ð(HÈÐX  ÈàPˆH(À À˜PP`X È(à `€`Ȉ˜ È `(ˆ˜ HàÀXPˆ@P(˜HP àPH˜ˆPØ(ˆ`Hà`  €XH�È(ÿñ��  ˆX˜ÐÀ˜H(P PÐȐHÀ(` àXˆ @ÀP`H(ÀØ`à€X˜�ÈÐ (ЈXàИИ˜�P( PÐÈH`@H@À`À(HP€HØà`È@ˆ(€ ˜ ˜X Xà�@(�˜ØàØÀˆ˜�@˜(ÈÀˆX È@ È À`(�ÀØXX HÐ�Èˆ( ˜ ˜�ˆ`ˆàØ(àP`À À€ÐX(€XH �ÈX`ˆ€`(PH HX˜HX` PÀ (@ Ø@€Ð€@€X ˜�H(àPX  ÐØ@˜ ˆ@(ÿñH˜HàØØP ˜(Ø�Àà ˆ€€@ Ø`€(PàØ`ȘÀ ˆP€(À ˜`˜�À�À˜(HPØ`àHØÈ؈`(Ø`Èà€ÐXPЀØ(àP€ À€ PȈ(@Ð X˜ÈРؠ@X@(À@ÈPX˜P€ÀÀ(PÀ€ØàP€ˆ �Ð(ÀÐà  ˜�ˆØ�`˜H(P€ØX�ØÀАà(ÀÐ`XØà˜ ÐH�XÀ(˜Àà ØˆHÀˆ˜ (P@ ÐØP� �(@ÈPИP؈ÈP` Ø(˜Ð ˆX ˆ ØÈЀ(ÿñА`ˆØ` � H`àà(ÐXPH € P €(ÐØà`àX�Ȉ(@˜ˆPÐP€à(ÀP PÐ`ˆ€PH@`Ø(P€`˜ `Ð@�P (ˆˆà À ˆH(Ø€ �ÈXH˜ˆàÀà(`XØH�Èà€ P@HÐ@(Àà @PÀØ`(PØPP€ ؈˜ €(˜PàHP И@XØà(À@˜P` €@H H@Ð(H˜H�ÐÈˆà ØX(Ø ˜P `H�È ÐȘ(Ø €Ø � XH˜( ˜@€`à à˜€XPHÈ(ÿ�ÿñ
|
|

|
|
	
|
|

|
|

|
|

|
|

|
|
	
|
|
	
|
|

|
|

|
|
		
|
|

|
|

|
|
	
|
|

|
|

|
|
	
|
|

|
|

|
|

|
|
ÿû
|
|

|
|
	
|
|

|
|

|
|

|
|

|
|
	
|
|
	
|
|
	
|
|
	
|
|
	
|
|

|
|
	ÿû
|
|
	
|
|
	
|
|

|
|
	
|
|

|
|

|
|

|
|
	
|
|

|
|

|
|

|
|

|
|
			
|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|
	
|
|
ÿû	
|
|

|
|
		
|
|

|
|

|
|

|
|

|
|
		
|
|

|
|

|
|

|
|

|
|
		
|
|

|
|

|
|
	
|
|

|
|
	ÿû	
|
|

|
|
			
|
|
		
|
|

|
|
		
|
|
	
|
|

|
|

|
|

|
|

|
|
ÿû
|
|
	
|
|

|
|

|
|

|
|
	
|
|
	
|
|
		
|
|
	
|
|

|
|

|
|
				
|
|

|
|

|
|
		
|
|

|
|
	
|
|
			
|
|
	
|
|

|
|

|
|

|
|

|
|
ÿû	
|
|
		
|
|

|
|
	
|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|
			
|
|

|
|

|
|

|
|

|
|
ÿû		
|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|
	
|
|

|
|

|
|

|
|
	
|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|
ÿû
|
|

|
|

|
|

|
|

|
|

|
|
	
|
|
		
|
|

|
|
	
|
|

|
|

|
|
		
|
|
	
|
|
ÿû
|
|

|
|

|
|

|
|

|
|

|
|

|
|
	
|
|

|
|

|
|

|
|
	
|
|

|
|
	
|
|
	
|
|

|
|
	
|
|

|
|
	
|
|

|
|
		
|
|

|
|

|
|

|
|

|
|
	
|
|

|
|

|
|

|
|

|
|

|
|

|
|
	
|
|

|
|
	
|
|

|
|
			
|
|
	
|
|

|
|
	
|
|

|
|
ÿñ
|
|
	
|
|

|
|
	
|
|
	
|
|

|
|
	
|
|

|
|

|
|

|
|

|
|

|
|
	
|
|
				
|
|

|
|

|
|

|
|
	
|
|

|
|
	
|
|

|
|

|
|
	
|
|

|
|

|
|

|
|

|
|
		
|
|

|
|

|
|

|
|

|
|

|
|
	ÿñ
|
|

|
|

|
|

|
|

|
|

|
|

|
|
				
|
|
	
|
|

|
|

|
|
	
|
|

|
|

|
|

|
|
	
|
|
	
|
|

|
|

|
|
	
|
|
	
|
|
	
|
|

|
|

|
|
	
|
|
	
|
|
			
|
|

|
|
		
|
|

|
|

|
|

|
|

|
|
			
|
|
		ÿñ
|
|
	
|
|

|
|

|
|

|
|
		
|
|

|
|

|
|

|
|

|
|
	
|
|
			
|
|
	
|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|
	
|
|

|
|

|
|
		
|
|

|
|

|
|
	
|
|

|
|
	
|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|
ÿñ
|
|

|
|

|
|

|
|

|
|
	
|
|

|
|
	
|
|
		
|
|
	
|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|
	
|
|
	
|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|
		
|
|
	
|
|

|
|

|
|
ÿ�(H�€X(H Xà(˜à€(X�˜€ˆ(€˜P(€`àÐ(Ð ØÐ€(àXP (PˆPÐX( @À(XÈ@(Ø ˜Ø@€ÀXÀ€ØÐ(ˆØ˜H` àˆ€@X(@` €`À  HPØ`(@ àH€ ÐH(˜�à@ØÈÐàP(ÿPP˜(P@`(ˆ�@Ð@(ÀÈ€àX(`˜@`(PÀÈÀ(H  Ð(à�(˜ÐÀ˜(XÀ@`(˜Øà@H(H˜`PXPHPH˜È (€Èà@ȈXHÐXØ(€ˆÐ àXHˆˆ˜(àà€À€ÈÀ ˆ ÐH(@€ÈÀ€ÀHà(ÿ�`�È(X€X˜H(À@Ð (˜@€Àà(Ðà€(H `И(XàØà(H @(@€H(Ø@ `( P ˜(@ H �Ð@ ÐÈPˆ(˜PˆP €Xà`@`X`(H XÀˆ˜ P�À�ÀÐ(@H`P@ @XÈˆÀX(P`� ˜Èˆ €Ð(ÿØ H€(È@€H(à ˆÀ˜(HЈPÐ(à`P(˜Ðà�à( HИ�(HÐà(HÈ@ˆ(à€˜à(@ À(ÈÀ`˜P@àˆ@À`�X(€˜ @ÐÀ`ȘXØH(ÈP€ ` Ø@€ÀÀ(`àXˆÐPØ H˜ˆÈH(˜H�€À€�ÐX`X(ÿà€`ÀØ(�À€( ØPX(@ˆà(ˆ€`à(Ѐؠ(  €Ð(@à @P(ÈXP`(`ØP�( À(ˆØ È˜È�ˆÈØ@(X�` @�À˜àАØ(`XH€@XHH HÐ( Èˆ` @�ˆP˜(PÐ ˜@PÀˆ (ÿÈØ˜`(P Àà(˜H €È(PàP (ÈX@P(€� (`˜ ( ÀPX (�€à( àÐ à(À à˜X(�@€à˜ØÐ€P`À €`À(ȈàЈ@À €@�PÀà(` �`ؐP ˜X(�à`€�ÀPH `(Àà ˆHˆ€ÀÈ`(ÿؘ€H(À@Ø(Xàˆ(ˆ€ �(ˆÈˆ(à�X(ÐÀXÐ(ÈÐ ( `XØ�(€H À(ˆ  Ð(�@àØH à`@(È €XH�˜ @ˆÀ@ÈÐ(ØH` ÈXà €ÀX(ˆXЈÈP Ð ˆ @H(HP ØÐPXàÀXÀ (ÿȘàØ(Ș€˜�(€ˆ@€(@àXPÀ(`€X(ˆ �ØH(ˆÀàH(€P€Ø(XÀHØ(ØP` (€È (Hà˜ ÀˆÐ€€( ` ˜@ÀX � ˆ˜ Ø(à�Ø@P`È€XÐØH(XÀ ˜ÈÐÀ˜ÀPHPˆ(PÈ�Ð�HÐÀ@` (ÿH Ø�(ˆPÈX(PÀ€˜( X@È(`( ˜�Ð(X` ˜(@PH`È(ØHÀ(HØH(Рؘ (˜Ð€XàØ HPˆH˜(`Hà@à€ˆàH€È (˜` PÈP à˜ØÐ�`( Ð`À Ð`˜ÈÀà(ÈÀˆ˜�ˆà ˜à�€(ÿØH€Ð� ˜H `PØà@(Ð˜P€Ø@€X(�ÐX @�ÐÀ`€ØÈ(PÐX Ø€` Ð@ (АИÀ€È€` XØÐ(€`  XàÀ€È �˜(Ð�€XP`À˜ˆ@(ÈØ @`P�È Ð˜(@�XؘȈÀÐàÈ(`H`H ` ` (@Ø PàÐ@ØXHØ (àÐ`�@ȠАؘØ( À €`@P@ØÈ( È�à €PHÐ`ØHP(ÐX`ˆ@�ØÀˆ@À(ÈPàÐàРА�  X(ÿX�à@ˆÐÀPˆÐ€H@(`Ø� ˜àؘ€(`ÀP؈ÀÈÀ`Р(ÐH�ˆà@˜ˆ˜(˜H€ ÈHà@ˆ€PH(€ÈX€@ÐXHØX€À`(`€` ˆH@ Ø ÐX@(P   PX ÐPàHP`(XÐX� ÀHX@P(ˆ€ÀȈ€`€@ÐP(@ ˜ÈˆÈÀÐ˜àØ (�РHР`€�  @À(HP  XˆÀÈ@`ÀPH(àØHÐ�`à�  �(ˆÀPàH˜ÀÈH(À€ÀÐ`� (ÿ ÈPÀÀ�P˜PÀàˆ€(Àˆ˜XH ÀРÀX˜ÀØ(�Ș Ð`P€HÀ`(˜P XØ€À�ˆÀÐ( H˜ÐØ ÀȘ ÀX(P˜ÈPÀ˜€`ˆà˜€( X€Ð Hà˜€�(`àHȘX�€@�˜à(Ð`P ˜ ˆ  @€ €(@H�@ÈÀ @PØÀàˆ(˜ ؘPH�ÐØHÐ(˜Ð�P�Ø`ØX à€(ؐ�Hˆ˜À`Ø ÈÀ�(`X@ˆØˆ€ @Xˆ(X˜À`àˆàÐ�ÐX( PX؈`€@ P X`(ÿØ Ø�˜Pˆ�Ð(˜ÐHࠐ˜ˆ€�ˆÀ(�àØ� @€H�Ð( `ÈPX ÈHÐÀ( À€`PX˜Ø€ˆX؈(@ИX˜ ˜`ˆPˆÐ(Ȉ�ؘàÈ@P @H@(HØÐ `X`XP` €X€(ÈHØ  X`˜P � (ØàØP X` È`€˜(ЈÈPÀÐà €PÈ(€�H`� È PH(X@àˆÐ�À`ˆ(@PHÈ@@Ø`˜�Xˆ˜`(@H�ˆ`H€H È�(ˆ  `À à˜ �@(ÿ `XÀ˜XÈ ØP؈@˜ (˜È˜ˆX�PØ`ÀH( Ð €` €ˆ Ðà(P@Ð� ˆ  `€ˆ€È€�(ˆ@À ˆ€àX(�`˜ÀààHà (ˆÀ È˜€˜XÈ (@Ø�ÀȘ`ÀР˜�À(Àà€` PÐ`€Xˆ(˜ P˜ ÐÈÀ`АPà@(ÈX È €Ø @P Àˆ(€Ø ÀX€È�ˆà(�ؘ@ ÈÐØÈX@à(`؈@ È� À€(ؘØPH@� ØÈˆÐX(˜ÀÈXÐ XРH �À€(ÿ
|
|
�
|
|

|
|

|
|

|
|

|
|

|
|
	
|
|
					
|
|

|
|

|
|

|
|

|
|
	
|
|
	
|
|
	ÿ
|
|
	
|
|

|
|
		
|
|
		
|
|

|
|

|
|

|
|

|
|

|
|
	
|
|
	
|
|

|
|

|
|
	
|
|
	
|
|
	ÿ
|
|
			
|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|
	
|
|

|
|

|
|
				
|
|
ÿ	
|
|
	
|
|

|
|
	
|
|
			
|
|

|
|

|
|

|
|

|
|

|
|

|
|
	
|
|
	
|
|

|
|
	
|
|
		
|
|
	
|
|
ÿ
|
|

|
|

|
|
	
|
|

|
|
		
|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|
	
|
|

|
|

|
|
	
|
|
ÿ
|
|

|
|
	
|
|

|
|
	
|
|

|
|

|
|
	
|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|
				
|
|

|
|

|
|

|
|
	
|
|
	
|
|
		
|
|
ÿ	
|
|
	
|
|

|
|

|
|

|
|

|
|

|
|
	
|
|

|
|
	
|
|

|
|

|
|

|
|
	
|
|

|
|

|
|

|
|

|
|

|
|
	
|
|

|
|
ÿ
|
|
		
|
|

|
|

|
|

|
|

|
|
	
|
|
			
|
|
	
|
|
	
|
|

|
|

|
|

|
|

|
|
	ÿ
|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|
	
|
|

|
|

|
|
		
|
|
		
|
|
	
|
|
	ÿ		
|
|

|
|

|
|

|
|

|
|

|
|
	
|
|

|
|

|
|

|
|
	
|
|
		
|
|
	
|
|

|
|
	
|
|

|
|
	
|
|
	
|
|
		
|
|
	
|
|
	
|
|

|
|
	
|
|
ÿ	
|
|

|
|

|
|
	
|
|

|
|
		
|
|

|
|

|
|

|
|

|
|

|
|

|
|
	
|
|
	
|
|
		
|
|
		
|
|

|
|

|
|
	
|
|

|
|

|
|

|
|

|
|
	
|
|

|
|

|
|
		
|
|
		
|
|
ÿ	
|
|

|
|

|
|

|
|
				
|
|

|
|

|
|
	
|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|
	
|
|

|
|

|
|
		
|
|

|
|

|
|
		
|
|
	
|
|

|
|

|
|

|
|

|
|
		
|
|

|
|

|
|

|
|
ÿ
|
|

|
|

|
|
		
|
|

|
|

|
|

|
|

|
|
	
|
|
	
|
|
	
|
|
	
|
|

|
|

|
|
	
|
|

|
|

|
|

|
|

|
|

|
|

|
|
	
|
|
		
|
|

|
|

|
|
	
|
|

|
|

|
|

|
|

|
|
	
|
|
			
|
|

|
|
			ÿ	
|
|

|
|

|
|

|
|
		
|
|
		
|
|

|
|
	
|
|

|
|

|
|

|
|

|
|

|
|
		
|
|

|
|
	
|
|

|
|

|
|

|
|
		
|
|

|
|

|
|
	
|
|

|
|
	
|
|
		
|
|

|
|
	
|
|
	
|
|
ÿ
|
|
�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ9àØ Ð€�PàÐXPˆ(XHÈÀ@ @ ؈àÈ( �XHˆ ØÀ `P ÐH(È àØØÀ XP؈à(`P�À�àPàˆÀ`@@(H@ÐØHPH˜`Ø`P˜Èˆ(P@ÈXàÈ€ØÐPÈ@�˜(X ˜X �Рà˜@Ø(`ˆ@à˜�˜Hà (ˆ@ÈÐÀ�XÀˆ`؈H� (`ÈÀ ` ` À`(PXP``X HXÀ@`Ø(€˜X ˆÀ˜€Àà˜P`�Ø(€ ØHˆHà�H@ˆH€(HàP˜@È� (È€Ð�ؘˆÀà ИÀ(ÐX� À˜�`  Ð(ÿðP@ØPXÐHàP@ (X PÐPH@ �àH@(HÀH€Hˆ `Ø(ÐHP@ÐÈ È@ @ˆ� (P€`ˆ@˜Ðˆ È`È(ˆ€�€€ÈØ€Pà�Ð(@ˆ`XàР@PØ à(�Ðà`Èˆ`ˆPˆP (àÐÈØÈXØÐ�P`€(€ØÈHX Ø`Ð�@ˆ€ˆ( ˆX�@ XH€PÐ�(ÐH˜@Ø ÀØ�ØH(À@€ @HÐ`à@À€(€PȘИ� P HHØ(€ÈXˆÈ˜ˆØÀȘ (Ààà А HÀ€ÈPˆ(  �؈€ØÀ P ÈÀ` (ÿ9à
|
|
	
|
|

|
|
	
|
|

|
|

|
|
		
|
|

|
|
	
|
|

|
|
			
|
|

|
|
	
|
|

|
|

|
|

|
|

|
|
	
|
|
	
|
|

|
|
	
|
|

|
|
	
|
|

|
|

|
|

|
|
	
|
|

|
|
			
|
|

|
|
ÿð
|
|
			
|
|

|
|

|
|

|
|

|
|

|
|

|
|
	
|
|

|
|

|
|

|
|

|
|

|
|
	
|
|
	
|
|

|
|

|
|
	
|
|
		
|
|

|
|

|
|
		
|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|
		
|
|
	
|
|

|
|
	
|
|
	(ÿ8� €˜ÀРàPÐH(�˜À Ø ˜ÐàÈ(ÈP XPÀàÐØàÀ @(@˜  X@˜à ØPØ(à˜À� PXà�˜@Øà(Hà�àˆPÈ�ˆÈ`(àH `ˆØÐX`˜ˆ`ÀH(˜ÀHÈ€P€X �  (ˆ�HИ@àH@P˜@X(@`H˜@XÐXÀP(P`XÈà@ÀȐ€(àH È`@`PH(XÀ˜ HˆàÐ`HÀ@È(�€@ÐÀà ˆÐ��€˜(ˆX˜€X˜ Ð`à�P(` H@`ÀØ˜ÀPØ(ÿÀ�ÐÀˆÐ�àH@(XÈÐP€Ð`X ÀØ`�(àРȈ Øà È@P�à(P �à�ˆ@P` €à( �Ø ÈØØ Ð(ˆØ X�˜€À€àPXØ€(àØ˜`@X@ØÈ`(€XàH`€ØØPH`P(€` ÈXØÈHȘPˆP�(PHˆ`ÐÈР€@Ð  (�P@PXˆPHÈ@P@˜(И€PЀˆ€˜Àˆ(PАÀX@ȈÐÈØH(PÈ@à ˜�H àHÈ(� È€` ˜À àˆ(€ØXH˜È˜ È˜@(ÿÿ8�	
|
|

|
|
	
|
|

|
|
	
|
|

|
|

|
|

|
|

|
|
		
|
|
	
|
|

|
|
	
|
|
	
|
|
	
|
|

|
|

|
|

|
|

|
|

|
|

|
|
	
|
|
		
|
|

|
|

|
|

|
|

|
|

|
|
	ÿ
|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|
		
|
|
	
|
|
	
|
|

|
|

|
|
	
|
|

|
|
	
|
|

|
|

|
|
	
|
|

|
|

|
|

|
|
	
|
|

|
|
		
|
|
	
|
|
	
|
|

|
|
	
|
|

|
|
	
|
|

|
|

|
|
	ÿ(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿàXH€P@HX €�À(X ØP Ð XHà`à(à@ àØP�@ ˜(ˆP؈à `�@ØÀ@(X˜� `@` ˜À` ˜` (À à�ÈÀ€HX@À €À(€@Ȑ@€˜@àPà( �ȀР� ÈØ ÀÐÈ(ˆPàØ�àP XˆPÀH˜Ø( €àØ`P@ ÐÈ�`H(@àÀ@ØàXØ@Ð�P˜( PÈP�А€XàXÀ(€ØÐˆÀà€@ÈàP (ÐàÀÈ`@�€˜�ˆà`@(HˆÐÀ ÈXPX`Ø(Ø ÈX˜À˜À˜ H@ÐÀ(ˆ@ � XÀØ (ÿðÈX�à�Ð`ˆØ@ (@€ÀP�` àØX@Ø (Ø@H�PXÀ€È`Ð@(àX�À@ÈPˆPXP�à(HÀ ˆ˜`€ˆPÈH(Àà@`Øà�È€HØ (PØÀÐÀ˜ À˜Ø (ˆØÈ`@ `Ðà( �€à@ØÀ؈àH(ÈHP€Øˆ�ÀÐXPˆ(ЀÀˆH�H È (ÈØÀ@€ˆHЀPˆÐ�(ˆÈPÀˆÐØ€Xؐ(�`А؈À€À˜`ÈH(PH �H@X˜@ÈØÀØX(À€ HX ÈÀÈ H˜ÐP@(ˆ`P`À HP`€ XÀ�(ÿðÀؐˆ€ÀàÈà` À@Øà(ˆà  HP@�`ØHXH˜(X XHÀ˜@€˜H@˜(XÈHX �Pˆ�ÈH˜Ø(Ð�àPˆHˆX` Ðà(ˆàXˆ@`ИˆÀ˜àИ(àP`àÈH@X`€È`(`Ð `@РÀ àH XHÀ(HXØ`�X�@HØ  àÀ(@P˜ÈØ€ ˆ€ Ð˜`Ø(PÈÀà@Ø Ð@àÈЀ(€ @ÈØ�PÀX (ÈH@˜ÈX€àАH�`(Pؘ ˜˜ Ø À ˆ(€ÈX ÀXˆÐ@P`@ÀØ(ÐÈ€ @ÀX P`Ȉ�(`˜Ø`€ �H˜@˜˜H(ÿð` € �P`PàØ  à(P@ˆ˜€XàHàÀ˜  È(�˜Ð€@€À`H`ÀP(X˜Ø` PÀ ˆ`P(@P �` ˆP€ (�à ˜P(ÐP �(À€` À(Ø ÈP(@à�(X @ (X˜ È`(€`ÐH(Ð ˜  (˜PØ( �ˆ�(@`� (ÿðàPH�ؐ˜àX@Xˆ@(˜XÐPà` P�ØÈ€�(€ÀØ€@ `@ÐX€ÐXÈ(`PX �` ˆÀ˜à`ÐX(à �P˜XؐÈ`˜@И(�X`Ð(@PÀP(˜PP(˜È@ €(`@`( �˜(ИÈàX( ˆ`(ˆPà(�ØÀ€ (HȐ`H(Ј`ˆ(ÿðà˜à €X˜à`X ÀÈØHX(H  ÀX€H�XP€Ø  (@ˆ`ˆPÐ`àÀ@Ø(P XP Ø`ÀPX ؘ(ÐØPÐ À`� àÀ@`(ؐˆ€(€À`ØÀ( X €È(ØHÈ( ÀàHX(˜X P@(XHˆ˜ˆ(€Øà(`˜� ( X ( ÈˆX(à (ÿð€Ø`˜ÀP`ˆ �àHÀ˜(H €�Ð`Ð@ˆ˜€Ø(H@Ș�X `à`@ؐÀ(P˜`�ÀXÈà`Ø@˜( �À`PH€Xà(Pà�`(�˜(ØØ(HÈÀ˜(�H˜(P XÐ( HÈ€(X˜@(˜ÀXˆ(�È`H(ÀÐH(Àˆ(ÿðÀPÈ�H�˜Ø˜€`(HX˜�à�PÈ@ˆ˜È(È Ð`ЀÈ`Hˆ˜( �Pà€˜HÐØà�H(�X؈ XÀàØHÀà( �€`à(P�`(Pˆ(@`Ø`(€ Èà˜(P �XH( �XÀà(P�ÈH`(À `@(à˜ Ø(ÐPˆ(àØ Ð(ÿðØ€PˆÀX �€Ð˜àØ(XÈÐàˆØ ˜H�X(X@Ð�@`à(�ÈØ˜ˆ@à P ÈÀ�(X @P`Ø`àP@ÈÐ(  Ø(ÈH�( @H�€(@ Xˆ(X à(@ˆ@ (@ÈÐ@ (ˆ�H˜Ø( X˜€(ˆ@@Ð(˜ÀH H(�X˜ˆH(ÿðÐXÀØÈP˜À@ÐØ(€@Àà�  @PXˆà(ÈP`À�ØXPH€@ (ˆÈ  Ø€Ø �Hˆ(€Ð ØÀ  à� P€ˆX(Xˆ@( HÐ@X(А`€ (X ` (H�XÈ(X�ˆ(˜€Ð(Hà PX(H�€ˆ(Ø`Àˆ(Àà˜(€(ÿðàØ�àH˜ H ÐPX(˜�`à  €Ø€ÀHÈ�(� À@À˜ €`Xˆ@�(XHˆX ÀˆX  X( È � à�`ÀP(àˆH�(€Ø(Ð`H�(àÀ �Ð( @Xˆ(ÀˆÀ`(˜HÈ(PØ€X(�˜`(È� Ø(à@ Ð (ÈØH(ÿðX@àHàP� PА(`XPX` �`؈€˜@Ð(H Ð Ø€ Èˆ(@HÈ ÀPØ H �ÈP(ØÀ@X@�PˆÈX@�(Ø�Ð(ÈÀˆ �(@ÀXÈH(˜ØX (€ÈÀX (à�€X(ÈHX (àØ�Ø(P˜H˜X(€ˆà€(PP X(XÐ`ˆ�(ÿðàà ÐØÀà �@؈(X˜�PHˆP€€ÐЈ(�À@ÀÈÐX�` €X(È@ H È Ð�Ðà Ø( HPÈØà`P˜È@€È( À(P€˜H(È@Ø(@Ȑˆ(ˆà`€(€P �(�X`È(@˜˜P(˜ È€(˜�X˜(àÀÈ(@Ø€Ð(ÿðȈ�Ø`PØàP€ € ( X�Ѐ ÀX€À À(ÈÀàP€ Ø`Ð àP �(€ÈˆÐÀ@X€ Øˆ@˜(È  Ð`ЈØPXPX( PÐ(P@ˆ(X�ˆ�(Àˆ€˜Ð(PÀ€ (@˜`Ø(È�ÀH(ÐPØ (À�à€(XÈà(PX �(`P˜Ð(ÿð˜ÐàXX@ˆ`ÐàÀ(À`� PÀ PØàÈ `ˆ(ÐH˜ `X�Ø€�( @ˆH ˜�PHÐØXHÈ�(РÀ`ØP˜XHØ`ÀH(ØÐ Ø(˜  ؐ(`�Ø(˜ ˜P(Ð@(à�€˜(Ș@( ˆX(€XÐÀ (à€ PÀ(˜Ð`€( � à(ÿð@ÈØˆ ÐЈ`€ˆÀ(X àHà � ˆÀ�X(�Ȑ À@À` ÀPØ`ÐP(  ˜HH ÐØàÀ˜(@ÐX�@˜HÈHXˆ@(ˆÀ�(Àˆ (И(H @`(XH@È@(HØ`Ð(à  ØX(PÀ �P(HØP@à(€ˆ €Ø(@ à˜à(€˜P€`(ÿà
|
|

|
|

|
|
	
|
|

|
|
	
|
|
	
|
|

|
|

|
|
	
|
|
			
|
|

|
|
			
|
|
		
|
|

|
|
	
|
|

|
|

|
|
		
|
|

|
|

|
|

|
|

|
|
	
|
|
	
|
|

|
|

|
|

|
|

|
|

|
|
	
|
|
ÿð
|
|

|
|

|
|
	
|
|

|
|

|
|

|
|
			
|
|

|
|

|
|

|
|

|
|

|
|

|
|
				
|
|

|
|

|
|

|
|
	
|
|

|
|
	
|
|

|
|

|
|

|
|

|
|
	
|
|

|
|

|
|
	
|
|

|
|

|
|
	
|
|

|
|

|
|

|
|

|
|

|
|
ÿð
|
|
	
|
|

|
|
	
|
|
		
|
|

|
|

|
|

|
|

|
|
	
|
|

|
|

|
|
	
|
|

|
|

|
|
	
|
|
			
|
|
	
|
|
	
|
|

|
|

|
|

|
|

|
|
	
|
|

|
|
			
|
|

|
|
	
|
|
	
|
|

|
|

|
|

|
|

|
|
	
|
|
ÿð	
|
|
	
|
|
	
|
|
	
|
|

|
|
	
|
|

|
|

|
|

|
|
	
|
|
			
|
|
ÿð
|
|
	
|
|

|
|
		
|
|

|
|

|
|
		
|
|

|
|

|
|
	
|
|

|
|

|
|
		
|
|
	
|
|

|
|

|
|

|
|

|
|
	ÿð		
|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|
	
|
|

|
|

|
|

|
|

|
|

|
|
		
|
|
	
|
|
ÿð
|
|
	
|
|

|
|
	
|
|
		
|
|

|
|

|
|

|
|

|
|

|
|

|
|
	
|
|

|
|
	
|
|
ÿð
|
|
	
|
|
	
|
|

|
|

|
|
	
|
|
	
|
|
	
|
|

|
|

|
|

|
|

|
|
	
|
|
	
|
|

|
|
		
|
|

|
|
	
|
|

|
|

|
|

|
|
		
|
|
	
|
|
	ÿð			
|
|

|
|

|
|
		
|
|

|
|
	
|
|

|
|

|
|

|
|

|
|
	
|
|

|
|
	
|
|

|
|
ÿð				
|
|

|
|
	
|
|
	
|
|

|
|

|
|

|
|

|
|

|
|
	
|
|
		
|
|
	
|
|
	
|
|

|
|

|
|

|
|
		
|
|

|
|

|
|
ÿð
|
|

|
|

|
|
	
|
|

|
|
	
|
|
		
|
|
		
|
|

|
|

|
|

|
|

|
|

|
|

|
|
		
|
|
	
|
|

|
|
		
|
|

|
|

|
|
ÿð	
|
|
	
|
|
		
|
|

|
|
			
|
|
		
|
|
		
|
|
		
|
|
	
|
|
		
|
|

|
|
	
|
|
ÿð	
|
|

|
|

|
|

|
|
	
|
|

|
|
	
|
|
	
|
|
	
|
|
		
|
|
	
|
|

|
|

|
|
	
|
|
ÿð
|
|

|
|

|
|
		
|
|

|
|

|
|
		
|
|

|
|
	
|
|

|
|

|
|
	
|
|

|
|

|
|

|
|
	
|
|

|
|
ÿð	
|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|
		
|
|

|
|
	
|
|

|
|
	
|
|

|
|

|
|

|
|

|
|
	
|
|

|
|
	ÿð		
|
|

|
|
	
|
|

|
|

|
|
	
|
|

|
|
	
|
|

|
|
	
|
|

|
|
		
|
|

|
|
		
|
|

|
|
	
|
|
	
|
|

|
|

|
|
	
|
|
ØH�È`ؐ@ˆ X�(`À�@ à˜Ð ˜ˆ`P(ÀÐ HȈ   X�@H(€˜Ø€PXHÈ``˜(  @ÈPˆ`Ø�€ÈÀH ( @ P@РÀÐÈ@(Ð`€ Ø  ØÐHH˜P(PÈЈX XؘȀØ( À˜X`ؐ˜È`Ð(àPà H  ÀHà ˜ÈÀ(À ÀàXHPÀà €( �XHÐàˆX˜X @�(Ðˆ�P�`ÈÀ  ÀH(˜À `àÀ  Ø€P@ˆ(€à@�H˜ÐÀÈH(  àИ�X Pà�X(ÿP� ˜Èˆ�Ј (X˜àX@ @PȈ(˜@ `X ؈˜È   ˆ(˜ØPÈ ØÈ€ Ð�à@˜(ØÈ P@X@`à˜( ÈX@P� ÈX(ÐȈˆà@È ˜àÀ(@ˆ  HˆÐ�(˜ÐPØH�È È( XÀ H�@P ÀÐ�(@ ˆ  XHؘÀ ˜ ˜(ˆ  ˆ€À€HˆX Ø (`ÐÀ€àPÈ@ÐX˜È Ð(ˆà˜ØˆÀH�`À È(ˆ@P�H˜È€PØ `Ð(Ð PHИÈ`àÈ€@(ÿ€ PÈH`�àÀˆ(XÀ˜X€�€ÀØHÐ(À�˜ÐH`À`X@H(ÐHPÐ�ÐP`HàP`(`à Øˆ `ÐÀÈ È(Ð@ØÈØXÀØP ˆH(È`àHXÀ@HX�Ø€à( ˜ X˜Ø ÈÐXÐX àÀ(ˆ@À@�€ ÈPÈ  Ð(X àHˆÀ ˆ�Ðà(˜`ÈPàˆ P�@X(˜Àà`� XàH˜ˆØ€X(PH€H˜� ˜ÈP ȠȘ(àP�È X  `Xà (`� €Ø€È€Ø€ØˆP (ÀØ�à�€ Ð ÈX (ÿÀ˜H�(˜Ø ˆ(ˆ€P( È(P`PЈ(ÀX`P(� (H€ÀX˜(Ø�€ˆÀ(�À؈(ÈÀÐ(€ÀHȈP�PИH`(Ð�À €ÀÐPÈ (˜Ø`�@È`àÈØ Ø(`  @€ (ˆ HXÀX ˆÐPà`X(ÿ@˜àP(`àÐ( HØH(àØÈÐ(`Øà (ˆ ˆ(H˜ˆÐ€(H� €Ð(À@HX(À˜ �( ÈH€(  P�ˆ Ȑ Ø ( ˆPXÈX @à@à`X�(@@P` À�@P˜ (ˆP� @Àˆ ˆ`X ( `HX`X@@ P(ÿˆPÐ (HÐÈ(  € (€ ÐØ(PРà( ˆÈ(Ø€X`(€`P( ˆ€(`XàP˜( �È`(H `ÀHX`@`Ð@€`(ˆ ÐÈ@àPˆÐXÈ�X (XÀ�HˆP ˜ÐàÀ(@�ÐÀ ˆØ  ˜€È�X(HÈHØHИXÈÐ�ˆ�Ø(ÿÐØPÐ(ЀX È(XÀ à( @ÐH˜(�ÈØˆ(àȈà(ÈPÈPH( H�(H ˆ(P€@X( �ˆ�(`HPX ˆ �ÐPˆ€(À`P €à@ˆ�`(`X˜�ÈXØ ˜ÀÐØ(À�ࠐ HÐ(�`ØÐà € ˜@HÈÀ(ÿàˆ˜�(È À(`ÈàÈ(P@˜` (˜X àH(Àà€ (`à�(РP (ØPØ� (À˜H(Ø`àà(@ÀØÈØ€˜È HX@X(˜ÐØ`€€Pà�X˜ €(Øà`@�ˆ�HÀH(�˜`XÀ˜àˆP�X€ˆ(ˆ ÐÈPHPH�ØÀˆP(ÿ È€(H H(�PÀˆP(@ÈX(H H`(ÀÈ€P( €X (àÐØHP( ˜àØÐ(ˆ`€(@PÐ(�@ИÀˆÀ�à˜ (P�ÀP À�@` ÀPˆ( ÐÀ � @ ˜�ÈÐÀ(Ø`Xà�H` @XÈ(˜HØ�X`X ˜Xˆ` �H(ÿ`HàÈ( Øà (HÈ€˜(Ȉ (H�HØ(ØÀX�(€È(Ѐ@�X(È`Xà(X�`@(X € (Hà ÀȈ�P PØXàÈ (€À€ Ð`€€ˆ(` HØ  ˜@À `È(ÐH ÀP ˆÐX ˜( H€ ˆØ`€`€PИÈ(ÿàXÈÐà( �€`È(€ˆ(€ÈH`(Ð Hà`(P€˜à(€À`Ȉ(€€(P€`Ð`(@˜�(PÈàP(ØÀÈXÀ €ˆX�ˆ�(X �PÐÈà` `Ð(À@�ˆÀ˜PˆØ�ÈÀ ˆ(ؐ`HÀ˜ˆÐˆà(@`àXà` €ÀÀ˜(ÿ È(H X˜(H�@�à(�ØÈ`˜(ؐ � (HX `( € (à˜ ÐÀ(€ Ј( Àˆ�(Ð˜(؈Àˆ€˜ �ÐX�Ø à( €ÐPPؘÀˆÈ�(ˆP ˜€Ð Ø(P˜HÈ H@Ș@(€HØHÐÀHØX X(ÿ`Ð@È(Ð (ˆ` ( Ј˜(XP( À€XÀ(˜Èà@( ˜àP˜(€� (à PH(X€à(ÀȈ@H`@˜@HÐ�( �ÐX @ �À �(`€˜ÐØ`XPؐÐà(È XÀ`�P PØÈÐ` (؈ Pà È@P XÐ�(ÿ€� Ø(€à`È(H @(ØÀà ˜(@P H(`�ØP( àØ Ð(ØàÀà(Ø€Pà�( �ÐÐ(И ÈX(ÈHXÀXÈP ÐØX� (À€à `�PXØ ØÈ(H �ØàPÈ€�ˆÀ (�ˆ�X HЈ @( ØH ØÐ ÈX ˆ(ÿ�HX�ˆ(˜à˜€(˜ ˆP(HÈ�X(È`ˆ(À�@ Ø(ØHØ`˜(€à(�@� �(�à€ˆ (И (P@�à`ÀØXÈà`�`( �ÀHàÀ@HˆH`H�à(˜X� €Ð@XHXÈH@(`ØXÀH�ØàP˜ØP(˜P PHX@ÐX�(ÿ �˜À(H Àˆ(`Ð  (А X(€ÐØ(ÈXØ (à`àÐ(H (@XÈHØ(˜ÈˆP(@PА(À�à@˜ÐXÈPؘHà@(à `àÀX�€�HàP(à€� àˆ@HØX@(à`à@Xà à˜€P(Ȉ˜ ˆØ@àP P(ÿ	
|
|

|
|

|
|
	
|
|

|
|

|
|

|
|

|
|
		
|
|

|
|

|
|
			
|
|
	
|
|

|
|
	
|
|
		
|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|
	
|
|
		
|
|
		
|
|
	
|
|

|
|
	
|
|
		
|
|
	
|
|
	
|
|
	ÿ	
|
|
	
|
|

|
|

|
|

|
|

|
|
	
|
|

|
|
	
|
|
		
|
|
	
|
|

|
|

|
|

|
|

|
|
	
|
|

|
|

|
|

|
|

|
|
	
|
|

|
|

|
|

|
|
	
|
|
	
|
|
	
|
|
	
|
|
					
|
|
	ÿ	
|
|
	
|
|

|
|

|
|

|
|

|
|
	
|
|
	
|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|
	
|
|
	
|
|

|
|

|
|

|
|

|
|

|
|

|
|
		
|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|
		
|
|

|
|
	
|
|
	
|
|

|
|
	
|
|

|
|

|
|
ÿ	
|
|

|
|

|
|
	
|
|

|
|

|
|

|
|

|
|
	
|
|
	
|
|

|
|

|
|

|
|

|
|

|
|

|
|
	
|
|

|
|
	
|
|

|
|
	
|
|
	
|
|

|
|

|
|

|
|

|
|
ÿ	
|
|

|
|

|
|

|
|

|
|

|
|
	
|
|
	
|
|
		
|
|

|
|
			
|
|

|
|

|
|
	
|
|

|
|
	
|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|
	ÿ
|
|

|
|
	
|
|
				
|
|

|
|

|
|

|
|
	
|
|

|
|

|
|

|
|
	
|
|

|
|
	
|
|
	
|
|

|
|

|
|

|
|
ÿ		
|
|

|
|

|
|

|
|
	
|
|
	
|
|

|
|
		
|
|
	
|
|

|
|

|
|
		
|
|

|
|
	
|
|

|
|
		
|
|

|
|

|
|

|
|
	ÿ
|
|
		
|
|
	
|
|
		
|
|

|
|

|
|
	
|
|

|
|
			
|
|

|
|
ÿ	
|
|

|
|

|
|
		
|
|

|
|
		
|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|
		
|
|

|
|
	
|
|

|
|

|
|

|
|
	ÿ
|
|

|
|
		
|
|

|
|

|
|

|
|
	
|
|
	
|
|
		
|
|

|
|

|
|

|
|

|
|
	
|
|
	
|
|

|
|
	
|
|
	
|
|
ÿ
|
|

|
|

|
|

|
|

|
|

|
|

|
|
	
|
|
		
|
|

|
|

|
|

|
|
			
|
|
		
|
|

|
|
	
|
|

|
|
	
|
|

|
|

|
|
	ÿ	
|
|

|
|

|
|
	
|
|

|
|

|
|

|
|

|
|

|
|
			
|
|

|
|

|
|
		
|
|
	
|
|

|
|

|
|

|
|

|
|
	
|
|
	
|
|
		
|
|
ÿ
|
|
		
|
|

|
|

|
|

|
|

|
|
		
|
|
	
|
|

|
|

|
|
	
|
|
	
|
|
	
|
|

|
|

|
|
ÿ
|
|

|
|

|
|
		
|
|

|
|
	
|
|
	
|
|

|
|

|
|

|
|

|
|
	
|
|
	
|
|
	
|
|

|
|
		
|
|
ÿ	
|
|

|
|
	
|
|
	
|
|
		
|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|
	
|
|
	
|
|

|
|

|
|
ÿ
|
|
	
|
|
	
|
|
	
|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|
		
|
|
	
|
|

|
|
			
|
|
		
|
|

|
|
ÿ(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿà`X@XH ÐØÐ(€ Ð˜ÈXÀH˜È(`Ø� HØ�ÀPØàØà(Pˆ ÐàЀ ˜Ð À(�Èà€˜ØP@�˜@(˜€ˆ(P€ (€ Ð(`X `(àÈ�Ø€(ÐÈ@È(Pà( XH˜X(€P€Ð(ˆÐ˜À(H˜àH(àÐÀˆ�(ÿð`ˆX Ð `PÀØX�(€˜HXˆÐHP@ˆ( @ÀX€ Hà�ؐ `(Ø€À ØÀ`X@H˜`(�P P�˜àÐ HXPÀ˜(H˜(PàXˆ(�à@H@(ؐˆÈ(ˆ`ˆØX(`˜À(ˆÀ(ÈÐX(€XPˆ(@À˜Ð(@(И€(ÿðPÀ@˜€  ˆÈÐ `H( @PXàXP@HPÀÐà(ØH˜€ ØÈÐH€Ø(ˆH  �À  `X@XØÀ(ˆPÈ È ÈX�@(H€Ø@ (ˆ@€€(PP(À(€È€àÐ(`àØà(Ð H (ÀH�È(ÀP�P€(@ؐ� ( À ÀH(À À(ÿðÐX`@  ØPÀˆà€(ÈXÐÀ@؈@`�˜ (€ØPÀ€ ØÐ �€Ø(˜�P`ˆÈÀ˜P Hˆ€à(ÀÈÈÐ €Èà €ÀØ(ÐÀÈ (`XàP(È(@ ˆ(È(Ð��Ø(� �Ø(`Ј€�(�` ÈH(˜�€Ð(˜ ÐÀ`(ˆÐ(ÿðX€˜Øà`XÈPȘ�Ø(� €ÈÀ˜È`ˆ H@(ˆ  Ð H€Hˆˆ€ À(X È@�Pà HÀ(P @ÀИÐ`PH˜(�€@X(ˆPÐÀˆ(˜PÀÈÐ( `Ð(P (ˆXH`Ð(Ø  (` ØH(ÐØXА(@А(P`Àà(€PÀX@(ÿð`À�ÐHˆÈH`€@ (�ˆà`@àÀ HÐ`€ÈHÈ(XØà`À@ˆHˆÈˆ@ (Hà€P ØàH˜PÀ( €ˆ@Ð@ �È@€(Ø H˜ ( ÀàX(X˜(HÀÐ(ÀàÀ(X `à˜(H�`Ð@(ˆ€ @(PÀˆ(ÐÈ�Ð(ÐXÐX(ÐØ€àˆ(ÿðP@АHÀØHP(`XˆÈ` ÈH˜XÈ�˜€�(H Ð àˆ� `ØàؐÐ(H`àˆ@�ØÈÀ˜`(`ˆ@ØPÈ` @€H`H(È`�È�(H�Ð(€PX(�€Ð@(À@`€À(PHà(XØ (€@€H˜(`ÐÀ�(Ð@ÈX( XÀ˜(˜@`X(ÿðÀ ` ˆÈØ�˜ @ (ÈàÀ`À�àØ˜€ ˆ (ØÀÈ`ÐH àPÀX(X€ˆ`@ÈX� À@`àX(ˆ@�˜Ð€Øà�PÀ�(À@ˆÀ(È�˜(@X `(€�à( à (Ð` ˆÀ( XÈ@(Ș �(P�(ˆ@HÐ(€ �X(HP(ÿðРÈH€@ØÀX`H�ˆ€(ˆPÐ@ Àˆ€ØÐ(@ Ð`PX�P @ �(И@HX@H˜ (@ÀÐÀX˜ÀÐàÀà� (X Àà(ÐØà( Øˆ(P Èà(€à(�˜�à@(€À(P@àÀ(@È( È�€ˆ( Ø(ÀH˜@(ÿð€H˜ PˆH@(ˆÐ @ÀP€Ø€HP˜@À(X`€P`À€ÀØ Ð À(€�˜àˆÐ�€ À à(ØÀÈØÀ˜@à XÈ`P(ÐÈP€P `€H`€Ø(X ˜Ø�È€ˆÈ@À(ÐX€˜ P �HÐXP(XˆàPH@ P`˜À˜à�(X€ ЀÀȈP È(˜�ÀˆHX˜@ HØ(ˆX€�`È€ˆØ H`(PØ  Xà˜ˆØHÐ(`P ÀÈHÈ  HÈ@ (Àˆà`HP`H˜HÈà�˜ ( @P `ЈÀ�X` À(PàP   Ð€È@˜�ÐPˆÀ(ÿð H@`€ PØ�` �ˆ€(€ØÀˆÈHà@ÈàÀ@P€(ˆP�ÀXÐàÈ@ÐàØH@(�À€@ÈØ˜ØPØ `Ø(àÀ˜àÐȈˆX@ А@(ÈÐˆàØˆ�àÈP˜�P(ÐÀ`Ј˜˜ (`˜ Øˆ  È ÀÈ(€�`H˜ÈPÀˆ(�` ˆØPÀ €à(`Ș PPà�XHÐ ˆP (Ø XÐXˆ ˆ˜ÀˆàXÈ(�˜   PØÈ�À Ð(@ € @H€ ˆ`@HPИ(H €`˜`ØPHÈ Èà(P˜�XÈPÈXH à(à`ˆ`H�XˆP`€ÐÈ�(ÿðà€ÀXHPà˜ÀÈ (ØÈH `X�@ÐX�È(˜ @Ø€à�ÈP˜àØ(@HXØ@P`˜ €Ø@˜( ØÈ`ˆPØ@ˆÀ`X˜�(@�ÀÈàØ�HØPØ(H@�€` P`ÀÈ€P�Ø�(˜`à˜€X € X `XàÀ(ˆÐؘ`H`˜`ÀÈ€˜(ˆ`˜€˜€@Ð@Ѐ(PˆÐHX`€À�ˆ`ˆ(˜`PàH HP€X (@ØHX˜ È@ÀÐP�(PHˆ ˆ ˆØÀ`H (РPØ àÈ`ÐP`X(ØÀØHPÈÀØØÈPØ€ÐH(� Ð �Ð P؈àÈ(ÿð À�Ø€�È@HØÐ(HÈÐPH@À�È@`(àÐà` `€àH�Ð`(Ø Èà�ÐàˆHØàˆ`@(XPà XH˜€(H€HÀXÈH�ؘH(XȘˆ`ؘH €`˜€(@À€àÀPÐ@ÀȐ( Ø@ÐX€H؈ÐP(ÈP�à XÀHP˜X (€�ÐÀР؈ ˜À (à  Ð�ÐP@ˆHˆ(PØ@ @˜ˆ X(PÈÐ`XØX ØÈà`(XØÀ` X˜X@HXØ(�ÀàˆØXÈÀà€à`(€X @€@ÀP�È ØXÀ(ÿ𐘠ØHP@€HÀ˜À(€ÈX@˜È` ˆØ(À  PXP€P`˜à(˜PàÀ`˜ÀàÀ`€ P@�(�؈`P @àȈ @€(� Ð˜�ÈØPÐÈИ(�à˜È�Àˆ P (ȐˆH˜`€˜ˆ@HØP(˜ÈH؈@` ØPИH (ˆÐ€ÐP€ Ðà€�€`€P(�ØH˜PÐàØ`€P˜( PX à@ØPÀØ€Àà(à€ HàˆP @`ЈHà(ÀˆÐÀ` ЈÈ`�` (ÐØ È  ÀPÈX€(@€€àP€ à��H(Èà€�˜`XÐP€˜ (ÿÿà
|
|

|
|

|
|
		
|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|
	
|
|
		
|
|

|
|

|
|
		ÿð
|
|

|
|

|
|

|
|

|
|
		
|
|

|
|

|
|

|
|

|
|
		
|
|

|
|
				
|
|

|
|
ÿð
|
|

|
|

|
|
	
|
|
	
|
|
	
|
|
	
|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|
	
|
|

|
|
ÿð
|
|
	
|
|

|
|

|
|
		
|
|
	
|
|

|
|
	
|
|
		
|
|
	
|
|

|
|

|
|
			
|
|

|
|
	
|
|

|
|
		
|
|
	
|
|

|
|
ÿð
|
|

|
|

|
|

|
|

|
|
			
|
|

|
|
	
|
|

|
|

|
|
		
|
|

|
|

|
|

|
|
		
|
|

|
|
	ÿð
|
|
	
|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|
	
|
|
	
|
|
	
|
|
	
|
|

|
|

|
|

|
|
	
|
|

|
|
	
|
|

|
|
	
|
|

|
|
ÿð	
|
|

|
|

|
|

|
|

|
|
	
|
|

|
|

|
|

|
|
	
|
|

|
|
	
|
|

|
|

|
|

|
|

|
|

|
|
	
|
|
ÿð
|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|
	
|
|

|
|
	
|
|

|
|
	
|
|

|
|

|
|
	
|
|

|
|
		ÿð
|
|
		
|
|
	
|
|

|
|

|
|
			
|
|

|
|
	
|
|
			
|
|

|
|

|
|

|
|
	
|
|

|
|

|
|

|
|
	
|
|
	
|
|
ÿð
|
|
	
|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|
	
|
|
		
|
|

|
|
		
|
|
	
|
|

|
|
	
|
|
		
|
|

|
|
				
|
|

|
|

|
|

|
|

|
|

|
|
	
|
|

|
|
	
|
|

|
|
	
|
|
	
|
|
ÿð
|
|

|
|

|
|

|
|

|
|
	
|
|

|
|

|
|
	
|
|

|
|

|
|

|
|

|
|
	
|
|

|
|
	
|
|
	
|
|

|
|
		
|
|
		
|
|

|
|

|
|

|
|
	
|
|
		
|
|

|
|

|
|
	
|
|

|
|

|
|
	
|
|
	
|
|
	
|
|
ÿð
|
|
	
|
|

|
|

|
|
		
|
|

|
|

|
|

|
|

|
|
	
|
|

|
|

|
|

|
|

|
|

|
|
	
|
|

|
|
	
|
|
		
|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|
	
|
|

|
|

|
|

|
|
		
|
|

|
|

|
|

|
|

|
|
	ÿð	
|
|
		
|
|
			
|
|
		
|
|
	
|
|
			
|
|

|
|

|
|

|
|

|
|

|
|
	
|
|
	
|
|

|
|
	
|
|

|
|
	
|
|

|
|

|
|

|
|
	
|
|
	
|
|

|
|

|
|
	
|
|

|
|

|
|
		
|
|
	ÿð	
|
|

|
|

|
|
	
|
|

|
|
		
|
|
	
|
|
	
|
|
	
|
|

|
|
	
|
|
	
|
|
	
|
|

|
|

|
|

|
|
				
|
|

|
|

|
|
	
|
|
	
|
|
	
|
|
	
|
|
	
|
|

|
|

|
|

|
|

|
|
	
|
|
	ÿ(ˆÀ`(X€È(`H ˜(XX(˜�@Ø(à X(XÀ˜@È( Ø`H(à˜�ˆ( �È( Pˆ( €`  àà€ À(È@P€X ˜À Ø X(`ИÀàHȈà` @ÐÈ(à�@H`àˆØ@�˜Ð˜(È ˆ�H`�PX@PX€�(ÿ`À€`(`˜Ð (  À�(˜HÈ (˜ P(Ø`Ð(PàØ�( ˆ`X(X à(PHXP(À ` (ÈÈ@�X˜Ø�àÐ(X à@ Hˆà РàH(ˆHH�ˆ`�Xˆ à (X`H˜`ˆ À˜ˆH˜�( àX�€ˆXàH˜HÐ(ÿXÀàà(XXÈ (Ø�(PˆØ@à(ЈÀ`(РØ(ˆàÐÀÈ(؈X˜(Èˆ(Èàˆ (À P(ˆ�˜XØ`ÐàPÐPX€(`PX€˜ÀÈX (@H €`ÀPÀÐ ˆ˜ ( ˆXHˆà€ ÀP(˜à�H ØPˆà˜`(ÿ`À à(  �À(�H (ÈàHØ( ˜`À(�ÈØ(ÈXÀÈ(X€X(˜ˆÐ(@Ð(XPÐH(À  HX À �(�؈@�XH˜ ˜ XØ(XHÐØÐØÀ`PX€�(@ `È ÀHPHÈ�`À€Ð(€È�P˜@ØÀ€ÀàˆÈ(ÿ P`Ðà(P�А(`à˜(@ˆXà( ÈX€X( ` (˜PHÀÐ(˜ ˆàÐ(�  À(XȘ(€@ˆHˆ(àØ˜ÈˆH؈  à(ˆPˆ`H˜`ÐàÐØÐ€˜€( `ˆàXÀ€È�È€  (@ØP�`˜`àÀ�À˜(È �X€Ð`ˆP@ÐH @(ÿЀàP( ÐÈH(ˆHÈ (@�à (@ HÐ(€@˜H€(PØàX(Ø`Ј`(€Ð  (؈@à(XH` (à�˜ @`ÈP  €(X �à€ˆXàÐ`˜À(@�ØX€ÈˆÀ˜Hà(P@P `@€@˜€€Ø€ˆ(Hà`ˆÀ Ð� €ÀÈ(ÿÐXÈX(�˜Èà(@`ÈÀ€(À˜ÐÈ(P`À(˜€˜(@HØà(ÐÈØ˜(`È€(À @(PHÀ(ÐXà €HÈ@Ð�È@(À HÀÐÈ à@ €@˜Ð`( H P€� `à`�Ȉ(؈ÐX�ˆ  P `ÀX(HˆØ�€ �@X (ÿÀàÀ(@ ˜X(€(HÀ�( P˜È (àÀ�(Àˆ P(X`P (˜@(À`Ø(àÀ€H(ˆàÀà€ØH  È€À` (@`@˜H@ØX@˜H(�`˜PР@Ð@H˜@Ø( ˜@ ˆ`ÈXà� ˜@È(ÈHÀ@`€Ðà Ð` @(ÿ Ø à(ÀXØÀ (È H€ (`ˆ@(`À€ˆ(à `(ЀÐÐ(ÈÀ� @(ØPÈH(˜@PX(ØØ(Ð�`ˆÈÀàÐ`X ÈØÈ(  ˜P  `àˆ( ÈÐÀ @ˆX ÈH�Р�( HÈ �ÐHÐàА`(ˆÐà˜   Èà(ÿÀHX€È€Hà€ X`HP(@ÀàHÐØ`XˆH€È(À˜`ˆ ÈÀ€À(À @P�È@€(È�PØPÈ€X Pˆ�(` @H€ØÀXÐÈ`Ѐ(À �ˆ�ÐÈà@À˜P�(ÐP`ˆØˆP@ ˆ˜ÈXH(XP `PH€�Аà(ˆ@€ˆÈ ÀP(à `@�XÈ ÈÐ�(XàØXЈPؘ@X€X(Àˆà`PX�ÈPÐ(@ H` XÈ`Ø@PˆH(@@˜�Ð�(PАH€À؀Ȑ`(ÿ`@Ø@�Ð`�ØˆØ È(ÀÈ`ÀÐ@˜X�€Xˆ@˜@(ÈØ@˜@PÈàH@€(ÈP`ÈÀXà˜XÈà @(XH˜`Ð �`ˆàØ� (`Ø�ˆÐX Ð (@ Ð`ÀX`àHX àH(˜�Ș€ˆ�àÈ H ˆ€(ØX�€àÈÐà �` (Ø €  ØXÀ PX �(˜XH@ØXØX`Ð( Ð@Ð@˜À�ˆ€XÐ(Hؘ@ˆÀ�@Ð(ÈÀ��`@ˆà˜ ˜(À ÈX˜ €Ø �P(à à X�H @PÐH(ÿÀÐXàØ�à€ `àÐÈ(`€X  À`Ð�И�@(`@àà€àÀÈÀ(`ÐHЈÐàØÐÀÀ(ˆ€PÐ�Hà€ Hà P`( €˜ È˜ˆ� @ÀÈ(ȠИàˆÐ`˜ˆ˜P€ X(� HÀØ PX@HÀHˆ(ÈàÈ ààØP HP� (HÐH P�€È€ÐX À(ˆPØHXˆ˜ ˜Ø˜H˜( ˆ˜ HÀ Àà @HX(Ð �˜€PXØàˆ X(ÈÐ@HX˜ È ÈH à(H˜Øà@ ØP`P@(˜à@ È XÀXˆà�ˆ(ÿÐXH@ÈØ`ØP  (À ˆ�Ð ÀˆØ(ˆ@ØÀˆ@ØX@` � P˜(ÀàPÐØà`Àà€ˆX˜(XH˜ € ˜ØX�€È€`(€ØH �@˜€ à�ÀˆÀ(@ ˜À €PàP@�`(È�Àؐ` €ˆ`(ØÐ�H@Ð@˜(à€ÈØ€HÀ€ÐPÐÀ (XÐ XàX�ˆ€ ˜ (� HPÈ@Ј€È˜ØÐH(P@ÈPXXÀ€àØXˆ(ÐØÀ€@ PXÀ˜(àH ˆ�ÈØ ˜`˜(` ؈ HØÈØ  �(ÿ` X€ˆ ` À H€ØÈ(ˆ€XØH ˜@�� €˜À(ÈÐPÀ@Ø` �Ø€È(X �H@€Ø €ÐÈ(ˆØX˜ØP�H€@ØÐ(Ð@`à` ˜`À˜(€È˜Ð€ à`˜� Ø`(@àÈÀ PHÈ�ˆ`Àà(H€ ˜@˜ÐØP@€ ÐÈ�(` € Ð@ÈXØ ÀØ(P Øˆ@HPÀà€(PHà�XÀˆ�˜P`X(Ð ÐXˆˆÐˆ@`ˆ€Ð(€@€P�ˆ`ÐHPà (@ P àP˜ˆÐH(€ÀØHÈÀÀÀˆHÀÐ@(ÿ
|
|
	
|
|
		
|
|

|
|
		
|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|
	
|
|

|
|

|
|

|
|

|
|
	
|
|
	
|
|
	
|
|

|
|

|
|
	
|
|

|
|
	ÿ
|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|
		
|
|

|
|
	
|
|

|
|

|
|

|
|
	
|
|

|
|

|
|

|
|

|
|

|
|
ÿ	
|
|
	
|
|

|
|

|
|
	
|
|
	
|
|
	
|
|

|
|

|
|

|
|

|
|
	
|
|

|
|
			
|
|

|
|
	
|
|

|
|
	
|
|
ÿ	
|
|
	
|
|
	
|
|
	
|
|

|
|
		
|
|
	
|
|

|
|
		
|
|

|
|
ÿ
|
|

|
|

|
|
		
|
|
	
|
|
		
|
|
	
|
|

|
|
	
|
|

|
|
	
|
|

|
|

|
|
	
|
|

|
|

|
|

|
|
	
|
|

|
|
ÿ	
|
|
	
|
|
		
|
|

|
|

|
|

|
|

|
|

|
|
	
|
|

|
|
	
|
|
		
|
|

|
|

|
|
			
|
|
		
|
|
	
|
|

|
|

|
|

|
|
ÿ
|
|

|
|
	
|
|

|
|

|
|
	
|
|
	
|
|

|
|

|
|
			
|
|

|
|

|
|

|
|

|
|

|
|
	
|
|
	
|
|
ÿ
|
|
	
|
|
	
|
|
	
|
|

|
|
	
|
|

|
|

|
|
		
|
|

|
|
		
|
|

|
|
	
|
|
		
|
|

|
|
	ÿ
|
|
	
|
|
	
|
|

|
|
	
|
|
		
|
|
	
|
|

|
|

|
|
	
|
|

|
|

|
|

|
|

|
|

|
|
	
|
|
			
|
|
ÿ	
|
|

|
|

|
|
	
|
|

|
|

|
|
			
|
|

|
|
	
|
|

|
|
		
|
|
		
|
|
	
|
|

|
|

|
|

|
|

|
|
	
|
|
	
|
|
	
|
|

|
|
	
|
|
				
|
|
	
|
|
	
|
|

|
|

|
|
ÿ
|
|
		
|
|

|
|

|
|

|
|
		
|
|
	
|
|

|
|
	
|
|

|
|

|
|
	
|
|

|
|

|
|
	
|
|

|
|

|
|
	
|
|

|
|

|
|

|
|

|
|
	
|
|

|
|
	
|
|

|
|

|
|

|
|

|
|

|
|
	
|
|
		
|
|
	
|
|
	
|
|

|
|

|
|

|
|
ÿ
|
|
	
|
|

|
|

|
|

|
|

|
|

|
|
	
|
|
	
|
|

|
|

|
|
	
|
|
		
|
|
	
|
|
		
|
|
	
|
|

|
|
		
|
|

|
|
		
|
|

|
|

|
|
	
|
|

|
|
	
|
|

|
|

|
|

|
|

|
|

|
|

|
|
	ÿ
|
|

|
|

|
|

|
|

|
|

|
|
		
|
|
	
|
|

|
|

|
|

|
|

|
|
	
|
|

|
|
	
|
|

|
|

|
|

|
|

|
|
	
|
|

|
|

|
|
	
|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|

|
|
ÿ		
|
|
	
|
|
	
|
|

|
|

|
|
	
|
|

|
|

|
|
		
|
|
	
|
|

|
|

|
|

|
|

|
|
	
|
|

|
|

|
|

|
|
			
|
|
				
|
|

|
|
	
|
|
	
|
|
	
|
|
	
|
|

|
|

|
|
	
|
|
ÿ
|
|
(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�(ÿ@�ÿ@�</string>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">Terrain</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>
|
|
<Vector3 name="size">
|
|
<X>2044</X>
|
|
<Y>252</Y>
|
|
<Z>2044</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="FunctionalTest" referent="RBX6">
|
|
<Properties>
|
|
<string name="Description">?</string>
|
|
<bool name="HasMigratedSettingsToTestService">false</bool>
|
|
<string name="Name">ZombieFall</string>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX7">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">start = tick()
|
|
r = game:service("RunService")
|
|
t = r.Stepped:wait()
|
|
|
|
while t < 5 do
|
|
	t = r.Stepped:wait()
|
|
end
|
|
|
|
stop = tick() - start
|
|
print(script.Parent.Name .. " passed in " .. stop .. " seconds.")
|
|
script.Parent:Passed(script.Parent.Name .. " passed in " .. stop .. " seconds.")
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Model" referent="RBX8">
|
|
<Properties>
|
|
<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">Model</string>
|
|
<Ref name="PrimaryPart">null</Ref>
|
|
</Properties>
|
|
<Item class="WedgePart" 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>31.5</X>
|
|
<Y>89.4000015</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>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">Wedge</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>
|
|
<token name="formFactorRaw">1</token>
|
|
<Vector3 name="size">
|
|
<X>66</X>
|
|
<Y>8.40000057</Y>
|
|
<Z>5</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="WedgePart" referent="RBX10">
|
|
<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>-30.5</X>
|
|
<Y>89.4000015</Y>
|
|
<Z>-1</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>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">Wedge</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>
|
|
<token name="formFactorRaw">1</token>
|
|
<Vector3 name="size">
|
|
<X>70</X>
|
|
<Y>8.40000057</Y>
|
|
<Z>5</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="WedgePart" 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">194</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>0.5</X>
|
|
<Y>89.4000015</Y>
|
|
<Z>32.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>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">Wedge</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>
|
|
<token name="formFactorRaw">1</token>
|
|
<Vector3 name="size">
|
|
<X>57</X>
|
|
<Y>8.40000057</Y>
|
|
<Z>5</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="WedgePart" 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">194</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>1</X>
|
|
<Y>89.4000015</Y>
|
|
<Z>-35.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>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">Wedge</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>
|
|
<token name="formFactorRaw">1</token>
|
|
<Vector3 name="size">
|
|
<X>58</X>
|
|
<Y>8.40000057</Y>
|
|
<Z>5</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX13">
|
|
<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">194</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>1</X>
|
|
<Y>84.5999985</Y>
|
|
<Z>-1.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>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">Part</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>
|
|
<token name="formFactorRaw">1</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>62</X>
|
|
<Y>1.20000005</Y>
|
|
<Z>71</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Model" referent="RBX14">
|
|
<Properties>
|
|
<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">Model</string>
|
|
<Ref name="PrimaryPart">null</Ref>
|
|
</Properties>
|
|
<Item class="Model" referent="RBX15">
|
|
<Properties>
|
|
<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">TestZombie</string>
|
|
<Ref name="PrimaryPart">null</Ref>
|
|
</Properties>
|
|
<Item class="Part" referent="RBX16">
|
|
<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">21</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-11.1644897</X>
|
|
<Y>104.965004</Y>
|
|
<Z>-4.72984886</Z>
|
|
<R00>-0.454648674</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.708073378</R02>
|
|
<R10>0.291926563</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.454648674</R12>
|
|
<R20>-0.841470957</R20>
|
|
<R21>0</R21>
|
|
<R22>0.540302277</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.64807103e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.67023398e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="SpecialMesh" referent="RBX17">
|
|
<Properties>
|
|
<token name="LODX">2</token>
|
|
<token name="LODY">2</token>
|
|
<Content name="MeshId"><null></null></Content>
|
|
<token name="MeshType">0</token>
|
|
<string name="Name">Mesh</string>
|
|
<Vector3 name="Offset">
|
|
<X>0</X>
|
|
<Y>0</Y>
|
|
<Z>0</Z>
|
|
</Vector3>
|
|
<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>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Decal" referent="RBX18">
|
|
<Properties>
|
|
<token name="Face">5</token>
|
|
<string name="Name">face</string>
|
|
<float name="Shiny">20</float>
|
|
<float name="Specular">0</float>
|
|
<Content name="Texture"><null></null></Content>
|
|
<float name="Transparency">0</float>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-10.3540363</X>
|
|
<Y>106.227211</Y>
|
|
<Z>-4.72984886</Z>
|
|
<R00>-0.454648674</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.708073378</R02>
|
|
<R10>0.291926563</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.454648674</R12>
|
|
<R20>-0.841470957</R20>
|
|
<R21>0</R21>
|
|
<R22>0.540302277</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.64798347e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64324075e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX20">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-9.04610729</X>
|
|
<Y>107.764191</Y>
|
|
<Z>-4.3091135</Z>
|
|
<R00>-0.454648674</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.708073378</R02>
|
|
<R10>0.291926563</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.454648674</R12>
|
|
<R20>-0.841470957</R20>
|
|
<R21>0</R21>
|
|
<R22>0.540302277</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.66191662e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.59965835e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>1</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX21">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-9.50075626</X>
|
|
<Y>108.056114</Y>
|
|
<Z>-5.15058422</Z>
|
|
<R00>-0.454648674</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.708073378</R02>
|
|
<R10>0.291926563</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.454648674</R12>
|
|
<R20>-0.841470957</R20>
|
|
<R21>0</R21>
|
|
<R22>0.540302277</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.63381671e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.61484164e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>1</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Humanoid" referent="RBX22">
|
|
<Properties>
|
|
<float name="Health">100</float>
|
|
<float name="MaxHealth">100</float>
|
|
<string name="Name">Humanoid</string>
|
|
<token name="NameOcclusion">0</token>
|
|
<float name="WalkSpeed">16</float>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX23">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-9.58817768</X>
|
|
<Y>105.141258</Y>
|
|
<Z>-3.73779345</Z>
|
|
<R00>0.708073378</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.454648674</R02>
|
|
<R10>-0.454648674</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.291926563</R12>
|
|
<R20>-0.540302277</R20>
|
|
<R21>0</R21>
|
|
<R22>-0.841470957</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">zarm</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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.68116343e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.61764016e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX24">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">wait(1)
|
|
owner=script.Parent.Parent.Name
|
|
|
|
function onTouched(part)
|
|
	if part.Parent ~= nil then
|
|
		local h = part.Parent:findFirstChild("Humanoid")
|
|
			if h~=nil then
|
|
				if cantouch~=0 then
|
|
					if h.Parent.Name~=owner then
|
|
						
|
|
						if h.Parent:findFirstChild("zarm")~=nil then return end
|
|
|
|
						cantouch=0
|
|
|
|
						local larm=h.Parent:findFirstChild("Left Arm")
|
|
						local rarm=h.Parent:findFirstChild("Right Arm")
|
|
						
|
|
						if larm~=nil then
|
|
							larm:remove()
|
|
						end
|
|
						if rarm~=nil then
|
|
							rarm:remove()
|
|
						end
|
|
						local zee=script.Parent.Parent:findFirstChild("zarm")
|
|
						if zee~=nil then
|
|
							local zlarm=zee:clone()
|
|
							local zrarm=zee:clone()
|
|
							if zlarm~=nil then
|
|
|
|
							local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
|
|
								zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
|
|
								zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
|
|
								zlarm.Parent=h.Parent
|
|
								zrarm.Parent=h.Parent
|
|
								zlarm:makeJoints()
|
|
								zrarm:makeJoints()
|
|
								zlarm.Anchored=false
|
|
								zrarm.Anchored=false
|
|
								wait(0.1)
|
|
								h.Parent.Head.Color=zee.Color
|
|
							else print("no zee"); return end
|
|
						end
|
|
						wait(1)
|
|
						cantouch=1
|
|
					end
|
|
				end
|
|
			end
|
|
	end
|
|
end
|
|
|
|
script.Parent.Touched:connect(onTouched)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</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">0</token>
|
|
<token name="BottomSurfaceInput">0</token>
|
|
<int name="BrickColor">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-10.9521236</X>
|
|
<Y>106.017044</Y>
|
|
<Z>-6.26220655</Z>
|
|
<R00>0.708073378</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.454648674</R02>
|
|
<R10>-0.454648674</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.291926563</R12>
|
|
<R20>-0.540302277</R20>
|
|
<R21>0</R21>
|
|
<R22>-0.841470957</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">zarm</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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.59686371e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.66319002e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX26">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">wait(1)
|
|
owner=script.Parent.Parent.Name
|
|
|
|
function onTouched(part)
|
|
	if part.Parent ~= nil then
|
|
		local h = part.Parent:findFirstChild("Humanoid")
|
|
			if h~=nil then
|
|
				if cantouch~=0 then
|
|
					if h.Parent.Name~=owner then
|
|
						
|
|
						if h.Parent:findFirstChild("zarm")~=nil then return end
|
|
|
|
						cantouch=0
|
|
|
|
						local larm=h.Parent:findFirstChild("Left Arm")
|
|
						local rarm=h.Parent:findFirstChild("Right Arm")
|
|
						
|
|
						if larm~=nil then
|
|
							larm:remove()
|
|
						end
|
|
						if rarm~=nil then
|
|
							rarm:remove()
|
|
						end
|
|
						local zee=script.Parent.Parent:findFirstChild("zarm")
|
|
						if zee~=nil then
|
|
							local zlarm=zee:clone()
|
|
							local zrarm=zee:clone()
|
|
							if zlarm~=nil then
|
|
|
|
							local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
|
|
								zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
|
|
								zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
|
|
								zlarm.Parent=h.Parent
|
|
								zrarm.Parent=h.Parent
|
|
								zlarm:makeJoints()
|
|
								zrarm:makeJoints()
|
|
								zlarm.Anchored=false
|
|
								zrarm.Anchored=false
|
|
								wait(0.1)
|
|
								h.Parent.Head.Color=zee.Color
|
|
							else print("no zee"); return end
|
|
						end
|
|
						wait(1)
|
|
						cantouch=1
|
|
					end
|
|
				end
|
|
			end
|
|
	end
|
|
end
|
|
|
|
script.Parent.Touched:connect(onTouched)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="ObjectValue" referent="RBX27">
|
|
<Properties>
|
|
<string name="Name">IsNZ</string>
|
|
<Ref name="Value">null</Ref>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="IntValue" referent="RBX28">
|
|
<Properties>
|
|
<string name="Name">Mode</string>
|
|
<int name="Value">0</int>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX29">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">local larm = script.Parent:FindFirstChild("Left Arm")
|
|
local rarm = script.Parent:FindFirstChild("Right Arm")
|
|
|
|
function findNearestTorso(pos)
|
|
	local list = game.Workspace:children()
|
|
	local torso = nil
|
|
	local dist = 1000
|
|
	local temp = nil
|
|
	local human = nil
|
|
	local temp2 = nil
|
|
	for x = 1, #list do
|
|
		temp2 = list[x]
|
|
		if (temp2.className == "Model") and (temp2 ~= script.Parent) then
|
|
			temp = temp2:findFirstChild("Right Arm")
|
|
			human = temp2:findFirstChild("Humanoid")
|
|
			if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
|
|
				if (temp.Position - pos).magnitude < dist then
|
|
					torso = temp
|
|
					dist = (temp.Position - pos).magnitude
|
|
				end
|
|
			end
|
|
		end
|
|
	end
|
|
	return torso
|
|
end
|
|
|
|
|
|
|
|
|
|
while true do
|
|
	wait(math.random(1,5))
|
|
	local target = findNearestTorso(script.Parent.Torso.Position)
|
|
	if target ~= nil then
|
|
		script.Parent.Humanoid:MoveTo(target.Position, target)
|
|
	end
|
|
|
|
end
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX30">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Health</string>
|
|
<ProtectedString name="Source">function waitForChild(parent, childName)
|
|
	while true do
|
|
		local child = parent:findFirstChild(childName)
|
|
		if child then
|
|
			return child
|
|
		end
|
|
		parent.ChildAdded:wait()
|
|
	end
|
|
end
|
|
|
|
-- declarations
|
|
|
|
local Figure = script.Parent
|
|
local Head = waitForChild(Figure, "Head")
|
|
local Humanoid = waitForChild(Figure, "Humanoid")
|
|
Humanoid.Health=500
|
|
-- regeneration
|
|
while true do
|
|
	local s = wait(4)
|
|
	local health = Humanoid.Health
|
|
	if health > 0 and health < Humanoid.MaxHealth then
|
|
		health = health + 0.08 * s * Humanoid.MaxHealth
|
|
		if health * 1.05 < Humanoid.MaxHealth then
|
|
			Humanoid.Health = health
|
|
		else
|
|
			Humanoid.Health = Humanoid.MaxHealth
|
|
		end
|
|
	end
|
|
end
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX31">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Respawn</string>
|
|
<ProtectedString name="Source">name="Humanoid"
|
|
|
|
robo=script.Parent:clone()
|
|
|
|
while true do
|
|
	wait(1)
|
|
	if script.Parent.Humanoid.Health<1 then
|
|
		robot=robo:clone()
|
|
		robot.Parent=script.Parent.Parent
|
|
		robot:makeJoints()
|
|
		script.Parent:remove()
|
|
	end
|
|
end
|
|
		
|
|
|
|
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Model" referent="RBX32">
|
|
<Properties>
|
|
<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">Zombie</string>
|
|
<Ref name="PrimaryPart">null</Ref>
|
|
</Properties>
|
|
<Item class="Part" referent="RBX33">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-11.1644897</X>
|
|
<Y>96.1650009</Y>
|
|
<Z>-4.72984886</Z>
|
|
<R00>-0.454648674</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.708073378</R02>
|
|
<R10>0.291926563</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.454648674</R12>
|
|
<R20>-0.841470957</R20>
|
|
<R21>0</R21>
|
|
<R22>0.540302277</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.64807103e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.67023398e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="SpecialMesh" referent="RBX34">
|
|
<Properties>
|
|
<token name="LODX">2</token>
|
|
<token name="LODY">2</token>
|
|
<Content name="MeshId"><null></null></Content>
|
|
<token name="MeshType">0</token>
|
|
<string name="Name">Mesh</string>
|
|
<Vector3 name="Offset">
|
|
<X>0</X>
|
|
<Y>0</Y>
|
|
<Z>0</Z>
|
|
</Vector3>
|
|
<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>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Decal" referent="RBX35">
|
|
<Properties>
|
|
<token name="Face">5</token>
|
|
<string name="Name">face</string>
|
|
<float name="Shiny">20</float>
|
|
<float name="Specular">0</float>
|
|
<Content name="Texture"><null></null></Content>
|
|
<float name="Transparency">0</float>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Part" referent="RBX36">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-10.3540363</X>
|
|
<Y>97.4272079</Y>
|
|
<Z>-4.72984886</Z>
|
|
<R00>-0.454648674</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.708073378</R02>
|
|
<R10>0.291926563</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.454648674</R12>
|
|
<R20>-0.841470957</R20>
|
|
<R21>0</R21>
|
|
<R22>0.540302277</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.64798347e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64324075e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</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">0</token>
|
|
<token name="BottomSurfaceInput">0</token>
|
|
<int name="BrickColor">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-9.04610729</X>
|
|
<Y>98.9641876</Y>
|
|
<Z>-4.3091135</Z>
|
|
<R00>-0.454648674</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.708073378</R02>
|
|
<R10>0.291926563</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.454648674</R12>
|
|
<R20>-0.841470957</R20>
|
|
<R21>0</R21>
|
|
<R22>0.540302277</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.66191662e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.59965835e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<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">0</token>
|
|
<token name="BottomSurfaceInput">0</token>
|
|
<int name="BrickColor">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-9.50075626</X>
|
|
<Y>99.2561111</Y>
|
|
<Z>-5.15058422</Z>
|
|
<R00>-0.454648674</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.708073378</R02>
|
|
<R10>0.291926563</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.454648674</R12>
|
|
<R20>-0.841470957</R20>
|
|
<R21>0</R21>
|
|
<R22>0.540302277</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.63381671e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.61484164e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>1</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Humanoid" referent="RBX39">
|
|
<Properties>
|
|
<float name="Health">100</float>
|
|
<float name="MaxHealth">100</float>
|
|
<string name="Name">Humanoid</string>
|
|
<token name="NameOcclusion">0</token>
|
|
<float name="WalkSpeed">16</float>
|
|
</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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-9.58817768</X>
|
|
<Y>96.3412552</Y>
|
|
<Z>-3.73779345</Z>
|
|
<R00>0.708073378</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.454648674</R02>
|
|
<R10>-0.454648674</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.291926563</R12>
|
|
<R20>-0.540302277</R20>
|
|
<R21>0</R21>
|
|
<R22>-0.841470957</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">zarm</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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.68116343e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.61764016e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX41">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">wait(1)
|
|
owner=script.Parent.Parent.Name
|
|
|
|
function onTouched(part)
|
|
	if part.Parent ~= nil then
|
|
		local h = part.Parent:findFirstChild("Humanoid")
|
|
			if h~=nil then
|
|
				if cantouch~=0 then
|
|
					if h.Parent.Name~=owner then
|
|
						
|
|
						if h.Parent:findFirstChild("zarm")~=nil then return end
|
|
|
|
						cantouch=0
|
|
|
|
						local larm=h.Parent:findFirstChild("Left Arm")
|
|
						local rarm=h.Parent:findFirstChild("Right Arm")
|
|
						
|
|
						if larm~=nil then
|
|
							larm:remove()
|
|
						end
|
|
						if rarm~=nil then
|
|
							rarm:remove()
|
|
						end
|
|
						local zee=script.Parent.Parent:findFirstChild("zarm")
|
|
						if zee~=nil then
|
|
							local zlarm=zee:clone()
|
|
							local zrarm=zee:clone()
|
|
							if zlarm~=nil then
|
|
|
|
							local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
|
|
								zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
|
|
								zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
|
|
								zlarm.Parent=h.Parent
|
|
								zrarm.Parent=h.Parent
|
|
								zlarm:makeJoints()
|
|
								zrarm:makeJoints()
|
|
								zlarm.Anchored=false
|
|
								zrarm.Anchored=false
|
|
								wait(0.1)
|
|
								h.Parent.Head.Color=zee.Color
|
|
							else print("no zee"); return end
|
|
						end
|
|
						wait(1)
|
|
						cantouch=1
|
|
					end
|
|
				end
|
|
			end
|
|
	end
|
|
end
|
|
|
|
script.Parent.Touched:connect(onTouched)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Part" referent="RBX42">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-10.9521236</X>
|
|
<Y>97.217041</Y>
|
|
<Z>-6.26220655</Z>
|
|
<R00>0.708073378</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.454648674</R02>
|
|
<R10>-0.454648674</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.291926563</R12>
|
|
<R20>-0.540302277</R20>
|
|
<R21>0</R21>
|
|
<R22>-0.841470957</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">zarm</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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.59686371e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.66319002e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX43">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">wait(1)
|
|
owner=script.Parent.Parent.Name
|
|
|
|
function onTouched(part)
|
|
	if part.Parent ~= nil then
|
|
		local h = part.Parent:findFirstChild("Humanoid")
|
|
			if h~=nil then
|
|
				if cantouch~=0 then
|
|
					if h.Parent.Name~=owner then
|
|
						
|
|
						if h.Parent:findFirstChild("zarm")~=nil then return end
|
|
|
|
						cantouch=0
|
|
|
|
						local larm=h.Parent:findFirstChild("Left Arm")
|
|
						local rarm=h.Parent:findFirstChild("Right Arm")
|
|
						
|
|
						if larm~=nil then
|
|
							larm:remove()
|
|
						end
|
|
						if rarm~=nil then
|
|
							rarm:remove()
|
|
						end
|
|
						local zee=script.Parent.Parent:findFirstChild("zarm")
|
|
						if zee~=nil then
|
|
							local zlarm=zee:clone()
|
|
							local zrarm=zee:clone()
|
|
							if zlarm~=nil then
|
|
|
|
							local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
|
|
								zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
|
|
								zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
|
|
								zlarm.Parent=h.Parent
|
|
								zrarm.Parent=h.Parent
|
|
								zlarm:makeJoints()
|
|
								zrarm:makeJoints()
|
|
								zlarm.Anchored=false
|
|
								zrarm.Anchored=false
|
|
								wait(0.1)
|
|
								h.Parent.Head.Color=zee.Color
|
|
							else print("no zee"); return end
|
|
						end
|
|
						wait(1)
|
|
						cantouch=1
|
|
					end
|
|
				end
|
|
			end
|
|
	end
|
|
end
|
|
|
|
script.Parent.Touched:connect(onTouched)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="ObjectValue" referent="RBX44">
|
|
<Properties>
|
|
<string name="Name">IsNZ</string>
|
|
<Ref name="Value">null</Ref>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="IntValue" referent="RBX45">
|
|
<Properties>
|
|
<string name="Name">Mode</string>
|
|
<int name="Value">0</int>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX46">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">local larm = script.Parent:FindFirstChild("Left Arm")
|
|
local rarm = script.Parent:FindFirstChild("Right Arm")
|
|
|
|
function findNearestTorso(pos)
|
|
	local list = game.Workspace:children()
|
|
	local torso = nil
|
|
	local dist = 1000
|
|
	local temp = nil
|
|
	local human = nil
|
|
	local temp2 = nil
|
|
	for x = 1, #list do
|
|
		temp2 = list[x]
|
|
		if (temp2.className == "Model") and (temp2 ~= script.Parent) then
|
|
			temp = temp2:findFirstChild("Right Arm")
|
|
			human = temp2:findFirstChild("Humanoid")
|
|
			if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
|
|
				if (temp.Position - pos).magnitude < dist then
|
|
					torso = temp
|
|
					dist = (temp.Position - pos).magnitude
|
|
				end
|
|
			end
|
|
		end
|
|
	end
|
|
	return torso
|
|
end
|
|
|
|
|
|
|
|
|
|
while true do
|
|
	wait(math.random(1,5))
|
|
	local target = findNearestTorso(script.Parent.Torso.Position)
|
|
	if target ~= nil then
|
|
		script.Parent.Humanoid:MoveTo(target.Position, target)
|
|
	end
|
|
|
|
end
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX47">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Health</string>
|
|
<ProtectedString name="Source">function waitForChild(parent, childName)
|
|
	while true do
|
|
		local child = parent:findFirstChild(childName)
|
|
		if child then
|
|
			return child
|
|
		end
|
|
		parent.ChildAdded:wait()
|
|
	end
|
|
end
|
|
|
|
-- declarations
|
|
|
|
local Figure = script.Parent
|
|
local Head = waitForChild(Figure, "Head")
|
|
local Humanoid = waitForChild(Figure, "Humanoid")
|
|
Humanoid.Health=500
|
|
-- regeneration
|
|
while true do
|
|
	local s = wait(4)
|
|
	local health = Humanoid.Health
|
|
	if health > 0 and health < Humanoid.MaxHealth then
|
|
		health = health + 0.08 * s * Humanoid.MaxHealth
|
|
		if health * 1.05 < Humanoid.MaxHealth then
|
|
			Humanoid.Health = health
|
|
		else
|
|
			Humanoid.Health = Humanoid.MaxHealth
|
|
		end
|
|
	end
|
|
end
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX48">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Respawn</string>
|
|
<ProtectedString name="Source">name="Humanoid"
|
|
|
|
robo=script.Parent:clone()
|
|
|
|
while true do
|
|
	wait(1)
|
|
	if script.Parent.Humanoid.Health<1 then
|
|
		robot=robo:clone()
|
|
		robot.Parent=script.Parent.Parent
|
|
		robot:makeJoints()
|
|
		script.Parent:remove()
|
|
	end
|
|
end
|
|
		
|
|
|
|
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Model" referent="RBX49">
|
|
<Properties>
|
|
<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">Zombie</string>
|
|
<Ref name="PrimaryPart">null</Ref>
|
|
</Properties>
|
|
<Item class="Part" referent="RBX50">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>9.50045776</X>
|
|
<Y>103.297417</Y>
|
|
<Z>-5.71552277</Z>
|
|
<R00>1.49011612e-008</R00>
|
|
<R01>0</R01>
|
|
<R02>-0.999999881</R02>
|
|
<R10>1.49011612e-008</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>0</R12>
|
|
<R20>-0.99999994</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>1.49011612e-008</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.64808751e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64317968e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="SpecialMesh" referent="RBX51">
|
|
<Properties>
|
|
<token name="LODX">2</token>
|
|
<token name="LODY">2</token>
|
|
<Content name="MeshId"><null></null></Content>
|
|
<token name="MeshType">0</token>
|
|
<string name="Name">Mesh</string>
|
|
<Vector3 name="Offset">
|
|
<X>0</X>
|
|
<Y>0</Y>
|
|
<Z>0</Z>
|
|
</Vector3>
|
|
<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>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Decal" referent="RBX52">
|
|
<Properties>
|
|
<token name="Face">5</token>
|
|
<string name="Name">face</string>
|
|
<float name="Shiny">20</float>
|
|
<float name="Specular">0</float>
|
|
<Content name="Texture"><null></null></Content>
|
|
<float name="Transparency">0</float>
|
|
</Properties>
|
|
</Item>
|
|
</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">4</token>
|
|
<token name="BottomSurfaceInput">0</token>
|
|
<int name="BrickColor">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>9.50045776</X>
|
|
<Y>104.797417</Y>
|
|
<Z>-5.71552277</Z>
|
|
<R00>1.49011612e-008</R00>
|
|
<R01>0</R01>
|
|
<R02>-0.999999881</R02>
|
|
<R10>1.49011612e-008</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>0</R12>
|
|
<R20>-0.99999994</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>1.49011612e-008</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.64798347e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64324075e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>9.50045776</X>
|
|
<Y>106.797417</Y>
|
|
<Z>-5.21552277</Z>
|
|
<R00>1.49011612e-008</R00>
|
|
<R01>0</R01>
|
|
<R02>-0.999999881</R02>
|
|
<R10>1.49011612e-008</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>0</R12>
|
|
<R20>-0.99999994</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>1.49011612e-008</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.66452934e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64332218e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>1</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX55">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>9.50045776</X>
|
|
<Y>106.797417</Y>
|
|
<Z>-6.21552277</Z>
|
|
<R00>1.49011612e-008</R00>
|
|
<R01>0</R01>
|
|
<R02>-0.999999881</R02>
|
|
<R10>1.49011612e-008</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>0</R12>
|
|
<R20>-0.99999994</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>1.49011612e-008</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.63115971e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64332218e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>1</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Humanoid" referent="RBX56">
|
|
<Properties>
|
|
<float name="Health">100</float>
|
|
<float name="MaxHealth">100</float>
|
|
<string name="Name">Humanoid</string>
|
|
<token name="NameOcclusion">0</token>
|
|
<float name="WalkSpeed">16</float>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX57">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>10.0004578</X>
|
|
<Y>104.297417</Y>
|
|
<Z>-4.21552277</Z>
|
|
<R00>0.999999881</R00>
|
|
<R01>0</R01>
|
|
<R02>1.49011612e-008</R02>
|
|
<R10>0</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>1.49011612e-008</R12>
|
|
<R20>-1.49011612e-008</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>-0.99999994</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">zarm</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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.69807249e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.62653558e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX58">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">wait(1)
|
|
owner=script.Parent.Parent.Name
|
|
|
|
function onTouched(part)
|
|
	if part.Parent ~= nil then
|
|
		local h = part.Parent:findFirstChild("Humanoid")
|
|
			if h~=nil then
|
|
				if cantouch~=0 then
|
|
					if h.Parent.Name~=owner then
|
|
						
|
|
						if h.Parent:findFirstChild("zarm")~=nil then return end
|
|
|
|
						cantouch=0
|
|
|
|
						local larm=h.Parent:findFirstChild("Left Arm")
|
|
						local rarm=h.Parent:findFirstChild("Right Arm")
|
|
						
|
|
						if larm~=nil then
|
|
							larm:remove()
|
|
						end
|
|
						if rarm~=nil then
|
|
							rarm:remove()
|
|
						end
|
|
						local zee=script.Parent.Parent:findFirstChild("zarm")
|
|
						if zee~=nil then
|
|
							local zlarm=zee:clone()
|
|
							local zrarm=zee:clone()
|
|
							if zlarm~=nil then
|
|
|
|
							local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
|
|
								zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
|
|
								zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
|
|
								zlarm.Parent=h.Parent
|
|
								zrarm.Parent=h.Parent
|
|
								zlarm:makeJoints()
|
|
								zrarm:makeJoints()
|
|
								zlarm.Anchored=false
|
|
								zrarm.Anchored=false
|
|
								wait(0.1)
|
|
								h.Parent.Head.Color=zee.Color
|
|
							else print("no zee"); return end
|
|
						end
|
|
						wait(1)
|
|
						cantouch=1
|
|
					end
|
|
				end
|
|
			end
|
|
	end
|
|
end
|
|
|
|
script.Parent.Touched:connect(onTouched)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Part" referent="RBX59">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>10.0004578</X>
|
|
<Y>104.297417</Y>
|
|
<Z>-7.21552277</Z>
|
|
<R00>0.999999881</R00>
|
|
<R01>0</R01>
|
|
<R02>1.49011612e-008</R02>
|
|
<R10>0</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>1.49011612e-008</R12>
|
|
<R20>-1.49011612e-008</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>-0.99999994</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">zarm</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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.5979636e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.62653558e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX60">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">wait(1)
|
|
owner=script.Parent.Parent.Name
|
|
|
|
function onTouched(part)
|
|
	if part.Parent ~= nil then
|
|
		local h = part.Parent:findFirstChild("Humanoid")
|
|
			if h~=nil then
|
|
				if cantouch~=0 then
|
|
					if h.Parent.Name~=owner then
|
|
						
|
|
						if h.Parent:findFirstChild("zarm")~=nil then return end
|
|
|
|
						cantouch=0
|
|
|
|
						local larm=h.Parent:findFirstChild("Left Arm")
|
|
						local rarm=h.Parent:findFirstChild("Right Arm")
|
|
						
|
|
						if larm~=nil then
|
|
							larm:remove()
|
|
						end
|
|
						if rarm~=nil then
|
|
							rarm:remove()
|
|
						end
|
|
						local zee=script.Parent.Parent:findFirstChild("zarm")
|
|
						if zee~=nil then
|
|
							local zlarm=zee:clone()
|
|
							local zrarm=zee:clone()
|
|
							if zlarm~=nil then
|
|
|
|
							local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
|
|
								zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
|
|
								zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
|
|
								zlarm.Parent=h.Parent
|
|
								zrarm.Parent=h.Parent
|
|
								zlarm:makeJoints()
|
|
								zrarm:makeJoints()
|
|
								zlarm.Anchored=false
|
|
								zrarm.Anchored=false
|
|
								wait(0.1)
|
|
								h.Parent.Head.Color=zee.Color
|
|
							else print("no zee"); return end
|
|
						end
|
|
						wait(1)
|
|
						cantouch=1
|
|
					end
|
|
				end
|
|
			end
|
|
	end
|
|
end
|
|
|
|
script.Parent.Touched:connect(onTouched)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="ObjectValue" referent="RBX61">
|
|
<Properties>
|
|
<string name="Name">IsNZ</string>
|
|
<Ref name="Value">null</Ref>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="IntValue" referent="RBX62">
|
|
<Properties>
|
|
<string name="Name">Mode</string>
|
|
<int name="Value">0</int>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX63">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">local larm = script.Parent:FindFirstChild("Left Arm")
|
|
local rarm = script.Parent:FindFirstChild("Right Arm")
|
|
|
|
function findNearestTorso(pos)
|
|
	local list = game.Workspace:children()
|
|
	local torso = nil
|
|
	local dist = 1000
|
|
	local temp = nil
|
|
	local human = nil
|
|
	local temp2 = nil
|
|
	for x = 1, #list do
|
|
		temp2 = list[x]
|
|
		if (temp2.className == "Model") and (temp2 ~= script.Parent) then
|
|
			temp = temp2:findFirstChild("Right Arm")
|
|
			human = temp2:findFirstChild("Humanoid")
|
|
			if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
|
|
				if (temp.Position - pos).magnitude < dist then
|
|
					torso = temp
|
|
					dist = (temp.Position - pos).magnitude
|
|
				end
|
|
			end
|
|
		end
|
|
	end
|
|
	return torso
|
|
end
|
|
|
|
|
|
|
|
|
|
while true do
|
|
	wait(math.random(1,5))
|
|
	local target = findNearestTorso(script.Parent.Torso.Position)
|
|
	if target ~= nil then
|
|
		script.Parent.Humanoid:MoveTo(target.Position, target)
|
|
	end
|
|
|
|
end
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX64">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Health</string>
|
|
<ProtectedString name="Source">function waitForChild(parent, childName)
|
|
	while true do
|
|
		local child = parent:findFirstChild(childName)
|
|
		if child then
|
|
			return child
|
|
		end
|
|
		parent.ChildAdded:wait()
|
|
	end
|
|
end
|
|
|
|
-- declarations
|
|
|
|
local Figure = script.Parent
|
|
local Head = waitForChild(Figure, "Head")
|
|
local Humanoid = waitForChild(Figure, "Humanoid")
|
|
Humanoid.Health=500
|
|
-- regeneration
|
|
while true do
|
|
	local s = wait(4)
|
|
	local health = Humanoid.Health
|
|
	if health > 0 and health < Humanoid.MaxHealth then
|
|
		health = health + 0.08 * s * Humanoid.MaxHealth
|
|
		if health * 1.05 < Humanoid.MaxHealth then
|
|
			Humanoid.Health = health
|
|
		else
|
|
			Humanoid.Health = Humanoid.MaxHealth
|
|
		end
|
|
	end
|
|
end
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX65">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Respawn</string>
|
|
<ProtectedString name="Source">name="Humanoid"
|
|
|
|
robo=script.Parent:clone()
|
|
|
|
while true do
|
|
	wait(1)
|
|
	if script.Parent.Humanoid.Health<1 then
|
|
		robot=robo:clone()
|
|
		robot.Parent=script.Parent.Parent
|
|
		robot:makeJoints()
|
|
		script.Parent:remove()
|
|
	end
|
|
end
|
|
		
|
|
|
|
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Model" referent="RBX66">
|
|
<Properties>
|
|
<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">Zombie</string>
|
|
<Ref name="PrimaryPart">null</Ref>
|
|
</Properties>
|
|
<Item class="Part" referent="RBX67">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-15.1644897</X>
|
|
<Y>112.565025</Y>
|
|
<Z>18.2701511</Z>
|
|
<R00>-0.454648674</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.708073378</R02>
|
|
<R10>0.291926563</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.454648674</R12>
|
|
<R20>-0.841470957</R20>
|
|
<R21>0</R21>
|
|
<R22>0.540302277</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.64807103e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.67023398e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="SpecialMesh" referent="RBX68">
|
|
<Properties>
|
|
<token name="LODX">2</token>
|
|
<token name="LODY">2</token>
|
|
<Content name="MeshId"><null></null></Content>
|
|
<token name="MeshType">0</token>
|
|
<string name="Name">Mesh</string>
|
|
<Vector3 name="Offset">
|
|
<X>0</X>
|
|
<Y>0</Y>
|
|
<Z>0</Z>
|
|
</Vector3>
|
|
<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>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Decal" referent="RBX69">
|
|
<Properties>
|
|
<token name="Face">5</token>
|
|
<string name="Name">face</string>
|
|
<float name="Shiny">20</float>
|
|
<float name="Specular">0</float>
|
|
<Content name="Texture"><null></null></Content>
|
|
<float name="Transparency">0</float>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Part" referent="RBX70">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-14.3540363</X>
|
|
<Y>113.827232</Y>
|
|
<Z>18.2701511</Z>
|
|
<R00>-0.454648674</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.708073378</R02>
|
|
<R10>0.291926563</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.454648674</R12>
|
|
<R20>-0.841470957</R20>
|
|
<R21>0</R21>
|
|
<R22>0.540302277</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.64798347e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64324075e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX71">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-13.0461073</X>
|
|
<Y>115.364212</Y>
|
|
<Z>18.6908875</Z>
|
|
<R00>-0.454648674</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.708073378</R02>
|
|
<R10>0.291926563</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.454648674</R12>
|
|
<R20>-0.841470957</R20>
|
|
<R21>0</R21>
|
|
<R22>0.540302277</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.66191662e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.59965835e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>1</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX72">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-13.5007563</X>
|
|
<Y>115.656136</Y>
|
|
<Z>17.8494148</Z>
|
|
<R00>-0.454648674</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.708073378</R02>
|
|
<R10>0.291926563</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.454648674</R12>
|
|
<R20>-0.841470957</R20>
|
|
<R21>0</R21>
|
|
<R22>0.540302277</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.63381671e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.61484164e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>1</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Humanoid" referent="RBX73">
|
|
<Properties>
|
|
<float name="Health">100</float>
|
|
<float name="MaxHealth">100</float>
|
|
<string name="Name">Humanoid</string>
|
|
<token name="NameOcclusion">0</token>
|
|
<float name="WalkSpeed">16</float>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX74">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-13.5881777</X>
|
|
<Y>112.74128</Y>
|
|
<Z>19.262207</Z>
|
|
<R00>0.708073378</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.454648674</R02>
|
|
<R10>-0.454648674</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.291926563</R12>
|
|
<R20>-0.540302277</R20>
|
|
<R21>0</R21>
|
|
<R22>-0.841470957</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">zarm</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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.68116343e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.61764016e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX75">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">wait(1)
|
|
owner=script.Parent.Parent.Name
|
|
|
|
function onTouched(part)
|
|
	if part.Parent ~= nil then
|
|
		local h = part.Parent:findFirstChild("Humanoid")
|
|
			if h~=nil then
|
|
				if cantouch~=0 then
|
|
					if h.Parent.Name~=owner then
|
|
						
|
|
						if h.Parent:findFirstChild("zarm")~=nil then return end
|
|
|
|
						cantouch=0
|
|
|
|
						local larm=h.Parent:findFirstChild("Left Arm")
|
|
						local rarm=h.Parent:findFirstChild("Right Arm")
|
|
						
|
|
						if larm~=nil then
|
|
							larm:remove()
|
|
						end
|
|
						if rarm~=nil then
|
|
							rarm:remove()
|
|
						end
|
|
						local zee=script.Parent.Parent:findFirstChild("zarm")
|
|
						if zee~=nil then
|
|
							local zlarm=zee:clone()
|
|
							local zrarm=zee:clone()
|
|
							if zlarm~=nil then
|
|
|
|
							local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
|
|
								zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
|
|
								zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
|
|
								zlarm.Parent=h.Parent
|
|
								zrarm.Parent=h.Parent
|
|
								zlarm:makeJoints()
|
|
								zrarm:makeJoints()
|
|
								zlarm.Anchored=false
|
|
								zrarm.Anchored=false
|
|
								wait(0.1)
|
|
								h.Parent.Head.Color=zee.Color
|
|
							else print("no zee"); return end
|
|
						end
|
|
						wait(1)
|
|
						cantouch=1
|
|
					end
|
|
				end
|
|
			end
|
|
	end
|
|
end
|
|
|
|
script.Parent.Touched:connect(onTouched)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Part" referent="RBX76">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-14.9521236</X>
|
|
<Y>113.617065</Y>
|
|
<Z>16.737793</Z>
|
|
<R00>0.708073378</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.454648674</R02>
|
|
<R10>-0.454648674</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.291926563</R12>
|
|
<R20>-0.540302277</R20>
|
|
<R21>0</R21>
|
|
<R22>-0.841470957</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">zarm</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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.59686371e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.66319002e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX77">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">wait(1)
|
|
owner=script.Parent.Parent.Name
|
|
|
|
function onTouched(part)
|
|
	if part.Parent ~= nil then
|
|
		local h = part.Parent:findFirstChild("Humanoid")
|
|
			if h~=nil then
|
|
				if cantouch~=0 then
|
|
					if h.Parent.Name~=owner then
|
|
						
|
|
						if h.Parent:findFirstChild("zarm")~=nil then return end
|
|
|
|
						cantouch=0
|
|
|
|
						local larm=h.Parent:findFirstChild("Left Arm")
|
|
						local rarm=h.Parent:findFirstChild("Right Arm")
|
|
						
|
|
						if larm~=nil then
|
|
							larm:remove()
|
|
						end
|
|
						if rarm~=nil then
|
|
							rarm:remove()
|
|
						end
|
|
						local zee=script.Parent.Parent:findFirstChild("zarm")
|
|
						if zee~=nil then
|
|
							local zlarm=zee:clone()
|
|
							local zrarm=zee:clone()
|
|
							if zlarm~=nil then
|
|
|
|
							local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
|
|
								zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
|
|
								zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
|
|
								zlarm.Parent=h.Parent
|
|
								zrarm.Parent=h.Parent
|
|
								zlarm:makeJoints()
|
|
								zrarm:makeJoints()
|
|
								zlarm.Anchored=false
|
|
								zrarm.Anchored=false
|
|
								wait(0.1)
|
|
								h.Parent.Head.Color=zee.Color
|
|
							else print("no zee"); return end
|
|
						end
|
|
						wait(1)
|
|
						cantouch=1
|
|
					end
|
|
				end
|
|
			end
|
|
	end
|
|
end
|
|
|
|
script.Parent.Touched:connect(onTouched)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="ObjectValue" referent="RBX78">
|
|
<Properties>
|
|
<string name="Name">IsNZ</string>
|
|
<Ref name="Value">null</Ref>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="IntValue" referent="RBX79">
|
|
<Properties>
|
|
<string name="Name">Mode</string>
|
|
<int name="Value">0</int>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX80">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">local larm = script.Parent:FindFirstChild("Left Arm")
|
|
local rarm = script.Parent:FindFirstChild("Right Arm")
|
|
|
|
function findNearestTorso(pos)
|
|
	local list = game.Workspace:children()
|
|
	local torso = nil
|
|
	local dist = 1000
|
|
	local temp = nil
|
|
	local human = nil
|
|
	local temp2 = nil
|
|
	for x = 1, #list do
|
|
		temp2 = list[x]
|
|
		if (temp2.className == "Model") and (temp2 ~= script.Parent) then
|
|
			temp = temp2:findFirstChild("Right Arm")
|
|
			human = temp2:findFirstChild("Humanoid")
|
|
			if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
|
|
				if (temp.Position - pos).magnitude < dist then
|
|
					torso = temp
|
|
					dist = (temp.Position - pos).magnitude
|
|
				end
|
|
			end
|
|
		end
|
|
	end
|
|
	return torso
|
|
end
|
|
|
|
|
|
|
|
|
|
while true do
|
|
	wait(math.random(1,5))
|
|
	local target = findNearestTorso(script.Parent.Torso.Position)
|
|
	if target ~= nil then
|
|
		script.Parent.Humanoid:MoveTo(target.Position, target)
|
|
	end
|
|
|
|
end
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX81">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Health</string>
|
|
<ProtectedString name="Source">function waitForChild(parent, childName)
|
|
	while true do
|
|
		local child = parent:findFirstChild(childName)
|
|
		if child then
|
|
			return child
|
|
		end
|
|
		parent.ChildAdded:wait()
|
|
	end
|
|
end
|
|
|
|
-- declarations
|
|
|
|
local Figure = script.Parent
|
|
local Head = waitForChild(Figure, "Head")
|
|
local Humanoid = waitForChild(Figure, "Humanoid")
|
|
Humanoid.Health=500
|
|
-- regeneration
|
|
while true do
|
|
	local s = wait(4)
|
|
	local health = Humanoid.Health
|
|
	if health > 0 and health < Humanoid.MaxHealth then
|
|
		health = health + 0.08 * s * Humanoid.MaxHealth
|
|
		if health * 1.05 < Humanoid.MaxHealth then
|
|
			Humanoid.Health = health
|
|
		else
|
|
			Humanoid.Health = Humanoid.MaxHealth
|
|
		end
|
|
	end
|
|
end
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX82">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Respawn</string>
|
|
<ProtectedString name="Source">name="Humanoid"
|
|
|
|
robo=script.Parent:clone()
|
|
|
|
while true do
|
|
	wait(1)
|
|
	if script.Parent.Humanoid.Health<1 then
|
|
		robot=robo:clone()
|
|
		robot.Parent=script.Parent.Parent
|
|
		robot:makeJoints()
|
|
		script.Parent:remove()
|
|
	end
|
|
end
|
|
		
|
|
|
|
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Model" referent="RBX83">
|
|
<Properties>
|
|
<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">Zombie</string>
|
|
<Ref name="PrimaryPart">null</Ref>
|
|
</Properties>
|
|
<Item class="Part" referent="RBX84">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-4.5018158</X>
|
|
<Y>116.209908</Y>
|
|
<Z>10.8620911</Z>
|
|
<R00>1.49011612e-008</R00>
|
|
<R01>0</R01>
|
|
<R02>-0.999999881</R02>
|
|
<R10>1.49011612e-008</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>0</R12>
|
|
<R20>-0.99999994</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>1.49011612e-008</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.64808751e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64317968e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="SpecialMesh" referent="RBX85">
|
|
<Properties>
|
|
<token name="LODX">2</token>
|
|
<token name="LODY">2</token>
|
|
<Content name="MeshId"><null></null></Content>
|
|
<token name="MeshType">0</token>
|
|
<string name="Name">Mesh</string>
|
|
<Vector3 name="Offset">
|
|
<X>0</X>
|
|
<Y>0</Y>
|
|
<Z>0</Z>
|
|
</Vector3>
|
|
<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>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Decal" referent="RBX86">
|
|
<Properties>
|
|
<token name="Face">5</token>
|
|
<string name="Name">face</string>
|
|
<float name="Shiny">20</float>
|
|
<float name="Specular">0</float>
|
|
<Content name="Texture"><null></null></Content>
|
|
<float name="Transparency">0</float>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Part" referent="RBX87">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-4.5018158</X>
|
|
<Y>117.709908</Y>
|
|
<Z>10.8620911</Z>
|
|
<R00>1.49011612e-008</R00>
|
|
<R01>0</R01>
|
|
<R02>-0.999999881</R02>
|
|
<R10>1.49011612e-008</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>0</R12>
|
|
<R20>-0.99999994</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>1.49011612e-008</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.64798347e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64324075e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX88">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-4.5018158</X>
|
|
<Y>119.709908</Y>
|
|
<Z>11.3620911</Z>
|
|
<R00>1.49011612e-008</R00>
|
|
<R01>0</R01>
|
|
<R02>-0.999999881</R02>
|
|
<R10>1.49011612e-008</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>0</R12>
|
|
<R20>-0.99999994</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>1.49011612e-008</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.66452934e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64332218e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>1</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX89">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-4.5018158</X>
|
|
<Y>119.709908</Y>
|
|
<Z>10.3620911</Z>
|
|
<R00>1.49011612e-008</R00>
|
|
<R01>0</R01>
|
|
<R02>-0.999999881</R02>
|
|
<R10>1.49011612e-008</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>0</R12>
|
|
<R20>-0.99999994</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>1.49011612e-008</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.63115971e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64332218e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>1</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Humanoid" referent="RBX90">
|
|
<Properties>
|
|
<float name="Health">100</float>
|
|
<float name="MaxHealth">100</float>
|
|
<string name="Name">Humanoid</string>
|
|
<token name="NameOcclusion">0</token>
|
|
<float name="WalkSpeed">16</float>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX91">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-4.0018158</X>
|
|
<Y>117.209908</Y>
|
|
<Z>12.3620911</Z>
|
|
<R00>0.999999881</R00>
|
|
<R01>0</R01>
|
|
<R02>1.49011612e-008</R02>
|
|
<R10>0</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>1.49011612e-008</R12>
|
|
<R20>-1.49011612e-008</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>-0.99999994</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">zarm</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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.69807249e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.62653558e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX92">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">wait(1)
|
|
owner=script.Parent.Parent.Name
|
|
|
|
function onTouched(part)
|
|
	if part.Parent ~= nil then
|
|
		local h = part.Parent:findFirstChild("Humanoid")
|
|
			if h~=nil then
|
|
				if cantouch~=0 then
|
|
					if h.Parent.Name~=owner then
|
|
						
|
|
						if h.Parent:findFirstChild("zarm")~=nil then return end
|
|
|
|
						cantouch=0
|
|
|
|
						local larm=h.Parent:findFirstChild("Left Arm")
|
|
						local rarm=h.Parent:findFirstChild("Right Arm")
|
|
						
|
|
						if larm~=nil then
|
|
							larm:remove()
|
|
						end
|
|
						if rarm~=nil then
|
|
							rarm:remove()
|
|
						end
|
|
						local zee=script.Parent.Parent:findFirstChild("zarm")
|
|
						if zee~=nil then
|
|
							local zlarm=zee:clone()
|
|
							local zrarm=zee:clone()
|
|
							if zlarm~=nil then
|
|
|
|
							local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
|
|
								zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
|
|
								zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
|
|
								zlarm.Parent=h.Parent
|
|
								zrarm.Parent=h.Parent
|
|
								zlarm:makeJoints()
|
|
								zrarm:makeJoints()
|
|
								zlarm.Anchored=false
|
|
								zrarm.Anchored=false
|
|
								wait(0.1)
|
|
								h.Parent.Head.Color=zee.Color
|
|
							else print("no zee"); return end
|
|
						end
|
|
						wait(1)
|
|
						cantouch=1
|
|
					end
|
|
				end
|
|
			end
|
|
	end
|
|
end
|
|
|
|
script.Parent.Touched:connect(onTouched)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Part" referent="RBX93">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-4.0018158</X>
|
|
<Y>117.209908</Y>
|
|
<Z>9.36209106</Z>
|
|
<R00>0.999999881</R00>
|
|
<R01>0</R01>
|
|
<R02>1.49011612e-008</R02>
|
|
<R10>0</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>1.49011612e-008</R12>
|
|
<R20>-1.49011612e-008</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>-0.99999994</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">zarm</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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.5979636e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.62653558e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX94">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">wait(1)
|
|
owner=script.Parent.Parent.Name
|
|
|
|
function onTouched(part)
|
|
	if part.Parent ~= nil then
|
|
		local h = part.Parent:findFirstChild("Humanoid")
|
|
			if h~=nil then
|
|
				if cantouch~=0 then
|
|
					if h.Parent.Name~=owner then
|
|
						
|
|
						if h.Parent:findFirstChild("zarm")~=nil then return end
|
|
|
|
						cantouch=0
|
|
|
|
						local larm=h.Parent:findFirstChild("Left Arm")
|
|
						local rarm=h.Parent:findFirstChild("Right Arm")
|
|
						
|
|
						if larm~=nil then
|
|
							larm:remove()
|
|
						end
|
|
						if rarm~=nil then
|
|
							rarm:remove()
|
|
						end
|
|
						local zee=script.Parent.Parent:findFirstChild("zarm")
|
|
						if zee~=nil then
|
|
							local zlarm=zee:clone()
|
|
							local zrarm=zee:clone()
|
|
							if zlarm~=nil then
|
|
|
|
							local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
|
|
								zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
|
|
								zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
|
|
								zlarm.Parent=h.Parent
|
|
								zrarm.Parent=h.Parent
|
|
								zlarm:makeJoints()
|
|
								zrarm:makeJoints()
|
|
								zlarm.Anchored=false
|
|
								zrarm.Anchored=false
|
|
								wait(0.1)
|
|
								h.Parent.Head.Color=zee.Color
|
|
							else print("no zee"); return end
|
|
						end
|
|
						wait(1)
|
|
						cantouch=1
|
|
					end
|
|
				end
|
|
			end
|
|
	end
|
|
end
|
|
|
|
script.Parent.Touched:connect(onTouched)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="ObjectValue" referent="RBX95">
|
|
<Properties>
|
|
<string name="Name">IsNZ</string>
|
|
<Ref name="Value">null</Ref>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="IntValue" referent="RBX96">
|
|
<Properties>
|
|
<string name="Name">Mode</string>
|
|
<int name="Value">0</int>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX97">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">local larm = script.Parent:FindFirstChild("Left Arm")
|
|
local rarm = script.Parent:FindFirstChild("Right Arm")
|
|
|
|
function findNearestTorso(pos)
|
|
	local list = game.Workspace:children()
|
|
	local torso = nil
|
|
	local dist = 1000
|
|
	local temp = nil
|
|
	local human = nil
|
|
	local temp2 = nil
|
|
	for x = 1, #list do
|
|
		temp2 = list[x]
|
|
		if (temp2.className == "Model") and (temp2 ~= script.Parent) then
|
|
			temp = temp2:findFirstChild("Right Arm")
|
|
			human = temp2:findFirstChild("Humanoid")
|
|
			if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
|
|
				if (temp.Position - pos).magnitude < dist then
|
|
					torso = temp
|
|
					dist = (temp.Position - pos).magnitude
|
|
				end
|
|
			end
|
|
		end
|
|
	end
|
|
	return torso
|
|
end
|
|
|
|
|
|
|
|
|
|
while true do
|
|
	wait(math.random(1,5))
|
|
	local target = findNearestTorso(script.Parent.Torso.Position)
|
|
	if target ~= nil then
|
|
		script.Parent.Humanoid:MoveTo(target.Position, target)
|
|
	end
|
|
|
|
end
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX98">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Health</string>
|
|
<ProtectedString name="Source">function waitForChild(parent, childName)
|
|
	while true do
|
|
		local child = parent:findFirstChild(childName)
|
|
		if child then
|
|
			return child
|
|
		end
|
|
		parent.ChildAdded:wait()
|
|
	end
|
|
end
|
|
|
|
-- declarations
|
|
|
|
local Figure = script.Parent
|
|
local Head = waitForChild(Figure, "Head")
|
|
local Humanoid = waitForChild(Figure, "Humanoid")
|
|
Humanoid.Health=500
|
|
-- regeneration
|
|
while true do
|
|
	local s = wait(4)
|
|
	local health = Humanoid.Health
|
|
	if health > 0 and health < Humanoid.MaxHealth then
|
|
		health = health + 0.08 * s * Humanoid.MaxHealth
|
|
		if health * 1.05 < Humanoid.MaxHealth then
|
|
			Humanoid.Health = health
|
|
		else
|
|
			Humanoid.Health = Humanoid.MaxHealth
|
|
		end
|
|
	end
|
|
end
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX99">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Respawn</string>
|
|
<ProtectedString name="Source">name="Humanoid"
|
|
|
|
robo=script.Parent:clone()
|
|
|
|
while true do
|
|
	wait(1)
|
|
	if script.Parent.Humanoid.Health<1 then
|
|
		robot=robo:clone()
|
|
		robot.Parent=script.Parent.Parent
|
|
		robot:makeJoints()
|
|
		script.Parent:remove()
|
|
	end
|
|
end
|
|
		
|
|
|
|
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Model" referent="RBX100">
|
|
<Properties>
|
|
<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">Zombie</string>
|
|
<Ref name="PrimaryPart">null</Ref>
|
|
</Properties>
|
|
<Item class="Part" referent="RBX101">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-15.1644897</X>
|
|
<Y>116.96505</Y>
|
|
<Z>18.2701511</Z>
|
|
<R00>-0.454648674</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.708073378</R02>
|
|
<R10>0.291926563</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.454648674</R12>
|
|
<R20>-0.841470957</R20>
|
|
<R21>0</R21>
|
|
<R22>0.540302277</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.64807103e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.67023398e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="SpecialMesh" referent="RBX102">
|
|
<Properties>
|
|
<token name="LODX">2</token>
|
|
<token name="LODY">2</token>
|
|
<Content name="MeshId"><null></null></Content>
|
|
<token name="MeshType">0</token>
|
|
<string name="Name">Mesh</string>
|
|
<Vector3 name="Offset">
|
|
<X>0</X>
|
|
<Y>0</Y>
|
|
<Z>0</Z>
|
|
</Vector3>
|
|
<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>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Decal" referent="RBX103">
|
|
<Properties>
|
|
<token name="Face">5</token>
|
|
<string name="Name">face</string>
|
|
<float name="Shiny">20</float>
|
|
<float name="Specular">0</float>
|
|
<Content name="Texture"><null></null></Content>
|
|
<float name="Transparency">0</float>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Part" referent="RBX104">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-14.3540363</X>
|
|
<Y>118.227257</Y>
|
|
<Z>18.2701511</Z>
|
|
<R00>-0.454648674</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.708073378</R02>
|
|
<R10>0.291926563</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.454648674</R12>
|
|
<R20>-0.841470957</R20>
|
|
<R21>0</R21>
|
|
<R22>0.540302277</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.64798347e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64324075e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX105">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-13.0461073</X>
|
|
<Y>119.764236</Y>
|
|
<Z>18.6908875</Z>
|
|
<R00>-0.454648674</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.708073378</R02>
|
|
<R10>0.291926563</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.454648674</R12>
|
|
<R20>-0.841470957</R20>
|
|
<R21>0</R21>
|
|
<R22>0.540302277</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.66191662e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.59965835e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>1</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX106">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-13.5007563</X>
|
|
<Y>120.05616</Y>
|
|
<Z>17.8494148</Z>
|
|
<R00>-0.454648674</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.708073378</R02>
|
|
<R10>0.291926563</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.454648674</R12>
|
|
<R20>-0.841470957</R20>
|
|
<R21>0</R21>
|
|
<R22>0.540302277</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.63381671e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.61484164e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>1</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Humanoid" referent="RBX107">
|
|
<Properties>
|
|
<float name="Health">100</float>
|
|
<float name="MaxHealth">100</float>
|
|
<string name="Name">Humanoid</string>
|
|
<token name="NameOcclusion">0</token>
|
|
<float name="WalkSpeed">16</float>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX108">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-13.5881777</X>
|
|
<Y>117.141304</Y>
|
|
<Z>19.262207</Z>
|
|
<R00>0.708073378</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.454648674</R02>
|
|
<R10>-0.454648674</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.291926563</R12>
|
|
<R20>-0.540302277</R20>
|
|
<R21>0</R21>
|
|
<R22>-0.841470957</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">zarm</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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.68116343e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.61764016e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX109">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">wait(1)
|
|
owner=script.Parent.Parent.Name
|
|
|
|
function onTouched(part)
|
|
	if part.Parent ~= nil then
|
|
		local h = part.Parent:findFirstChild("Humanoid")
|
|
			if h~=nil then
|
|
				if cantouch~=0 then
|
|
					if h.Parent.Name~=owner then
|
|
						
|
|
						if h.Parent:findFirstChild("zarm")~=nil then return end
|
|
|
|
						cantouch=0
|
|
|
|
						local larm=h.Parent:findFirstChild("Left Arm")
|
|
						local rarm=h.Parent:findFirstChild("Right Arm")
|
|
						
|
|
						if larm~=nil then
|
|
							larm:remove()
|
|
						end
|
|
						if rarm~=nil then
|
|
							rarm:remove()
|
|
						end
|
|
						local zee=script.Parent.Parent:findFirstChild("zarm")
|
|
						if zee~=nil then
|
|
							local zlarm=zee:clone()
|
|
							local zrarm=zee:clone()
|
|
							if zlarm~=nil then
|
|
|
|
							local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
|
|
								zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
|
|
								zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
|
|
								zlarm.Parent=h.Parent
|
|
								zrarm.Parent=h.Parent
|
|
								zlarm:makeJoints()
|
|
								zrarm:makeJoints()
|
|
								zlarm.Anchored=false
|
|
								zrarm.Anchored=false
|
|
								wait(0.1)
|
|
								h.Parent.Head.Color=zee.Color
|
|
							else print("no zee"); return end
|
|
						end
|
|
						wait(1)
|
|
						cantouch=1
|
|
					end
|
|
				end
|
|
			end
|
|
	end
|
|
end
|
|
|
|
script.Parent.Touched:connect(onTouched)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Part" referent="RBX110">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-14.9521236</X>
|
|
<Y>118.01709</Y>
|
|
<Z>16.737793</Z>
|
|
<R00>0.708073378</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.454648674</R02>
|
|
<R10>-0.454648674</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.291926563</R12>
|
|
<R20>-0.540302277</R20>
|
|
<R21>0</R21>
|
|
<R22>-0.841470957</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">zarm</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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.59686371e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.66319002e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX111">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">wait(1)
|
|
owner=script.Parent.Parent.Name
|
|
|
|
function onTouched(part)
|
|
	if part.Parent ~= nil then
|
|
		local h = part.Parent:findFirstChild("Humanoid")
|
|
			if h~=nil then
|
|
				if cantouch~=0 then
|
|
					if h.Parent.Name~=owner then
|
|
						
|
|
						if h.Parent:findFirstChild("zarm")~=nil then return end
|
|
|
|
						cantouch=0
|
|
|
|
						local larm=h.Parent:findFirstChild("Left Arm")
|
|
						local rarm=h.Parent:findFirstChild("Right Arm")
|
|
						
|
|
						if larm~=nil then
|
|
							larm:remove()
|
|
						end
|
|
						if rarm~=nil then
|
|
							rarm:remove()
|
|
						end
|
|
						local zee=script.Parent.Parent:findFirstChild("zarm")
|
|
						if zee~=nil then
|
|
							local zlarm=zee:clone()
|
|
							local zrarm=zee:clone()
|
|
							if zlarm~=nil then
|
|
|
|
							local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
|
|
								zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
|
|
								zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
|
|
								zlarm.Parent=h.Parent
|
|
								zrarm.Parent=h.Parent
|
|
								zlarm:makeJoints()
|
|
								zrarm:makeJoints()
|
|
								zlarm.Anchored=false
|
|
								zrarm.Anchored=false
|
|
								wait(0.1)
|
|
								h.Parent.Head.Color=zee.Color
|
|
							else print("no zee"); return end
|
|
						end
|
|
						wait(1)
|
|
						cantouch=1
|
|
					end
|
|
				end
|
|
			end
|
|
	end
|
|
end
|
|
|
|
script.Parent.Touched:connect(onTouched)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="ObjectValue" referent="RBX112">
|
|
<Properties>
|
|
<string name="Name">IsNZ</string>
|
|
<Ref name="Value">null</Ref>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="IntValue" referent="RBX113">
|
|
<Properties>
|
|
<string name="Name">Mode</string>
|
|
<int name="Value">0</int>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX114">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">local larm = script.Parent:FindFirstChild("Left Arm")
|
|
local rarm = script.Parent:FindFirstChild("Right Arm")
|
|
|
|
function findNearestTorso(pos)
|
|
	local list = game.Workspace:children()
|
|
	local torso = nil
|
|
	local dist = 1000
|
|
	local temp = nil
|
|
	local human = nil
|
|
	local temp2 = nil
|
|
	for x = 1, #list do
|
|
		temp2 = list[x]
|
|
		if (temp2.className == "Model") and (temp2 ~= script.Parent) then
|
|
			temp = temp2:findFirstChild("Right Arm")
|
|
			human = temp2:findFirstChild("Humanoid")
|
|
			if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
|
|
				if (temp.Position - pos).magnitude < dist then
|
|
					torso = temp
|
|
					dist = (temp.Position - pos).magnitude
|
|
				end
|
|
			end
|
|
		end
|
|
	end
|
|
	return torso
|
|
end
|
|
|
|
|
|
|
|
|
|
while true do
|
|
	wait(math.random(1,5))
|
|
	local target = findNearestTorso(script.Parent.Torso.Position)
|
|
	if target ~= nil then
|
|
		script.Parent.Humanoid:MoveTo(target.Position, target)
|
|
	end
|
|
|
|
end
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX115">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Health</string>
|
|
<ProtectedString name="Source">function waitForChild(parent, childName)
|
|
	while true do
|
|
		local child = parent:findFirstChild(childName)
|
|
		if child then
|
|
			return child
|
|
		end
|
|
		parent.ChildAdded:wait()
|
|
	end
|
|
end
|
|
|
|
-- declarations
|
|
|
|
local Figure = script.Parent
|
|
local Head = waitForChild(Figure, "Head")
|
|
local Humanoid = waitForChild(Figure, "Humanoid")
|
|
Humanoid.Health=500
|
|
-- regeneration
|
|
while true do
|
|
	local s = wait(4)
|
|
	local health = Humanoid.Health
|
|
	if health > 0 and health < Humanoid.MaxHealth then
|
|
		health = health + 0.08 * s * Humanoid.MaxHealth
|
|
		if health * 1.05 < Humanoid.MaxHealth then
|
|
			Humanoid.Health = health
|
|
		else
|
|
			Humanoid.Health = Humanoid.MaxHealth
|
|
		end
|
|
	end
|
|
end
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX116">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Respawn</string>
|
|
<ProtectedString name="Source">name="Humanoid"
|
|
|
|
robo=script.Parent:clone()
|
|
|
|
while true do
|
|
	wait(1)
|
|
	if script.Parent.Humanoid.Health<1 then
|
|
		robot=robo:clone()
|
|
		robot.Parent=script.Parent.Parent
|
|
		robot:makeJoints()
|
|
		script.Parent:remove()
|
|
	end
|
|
end
|
|
		
|
|
|
|
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Model" referent="RBX117">
|
|
<Properties>
|
|
<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">Zombie</string>
|
|
<Ref name="PrimaryPart">null</Ref>
|
|
</Properties>
|
|
<Item class="Part" referent="RBX118">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>7.5</X>
|
|
<Y>107</Y>
|
|
<Z>-7</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>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.64808751e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64317968e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="SpecialMesh" referent="RBX119">
|
|
<Properties>
|
|
<token name="LODX">2</token>
|
|
<token name="LODY">2</token>
|
|
<Content name="MeshId"><null></null></Content>
|
|
<token name="MeshType">0</token>
|
|
<string name="Name">Mesh</string>
|
|
<Vector3 name="Offset">
|
|
<X>0</X>
|
|
<Y>0</Y>
|
|
<Z>0</Z>
|
|
</Vector3>
|
|
<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>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Decal" referent="RBX120">
|
|
<Properties>
|
|
<token name="Face">5</token>
|
|
<string name="Name">face</string>
|
|
<float name="Shiny">20</float>
|
|
<float name="Specular">0</float>
|
|
<Content name="Texture"><null></null></Content>
|
|
<float name="Transparency">0</float>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Part" referent="RBX121">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>7.5</X>
|
|
<Y>108.5</Y>
|
|
<Z>-7</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>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.64798347e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64324075e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX122">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>7.5</X>
|
|
<Y>110.5</Y>
|
|
<Z>-6.5</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">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.66452934e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64332218e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>1</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX123">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>7.5</X>
|
|
<Y>110.5</Y>
|
|
<Z>-7.5</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">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.63115971e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64332218e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>1</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Humanoid" referent="RBX124">
|
|
<Properties>
|
|
<float name="Health">100</float>
|
|
<float name="MaxHealth">100</float>
|
|
<string name="Name">Humanoid</string>
|
|
<token name="NameOcclusion">0</token>
|
|
<float name="WalkSpeed">16</float>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX125">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>8</X>
|
|
<Y>108</Y>
|
|
<Z>-5.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>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">zarm</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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.69807249e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.62653558e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX126">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">wait(1)
|
|
owner=script.Parent.Parent.Name
|
|
|
|
function onTouched(part)
|
|
	if part.Parent ~= nil then
|
|
		local h = part.Parent:findFirstChild("Humanoid")
|
|
			if h~=nil then
|
|
				if cantouch~=0 then
|
|
					if h.Parent.Name~=owner then
|
|
						
|
|
						if h.Parent:findFirstChild("zarm")~=nil then return end
|
|
|
|
						cantouch=0
|
|
|
|
						local larm=h.Parent:findFirstChild("Left Arm")
|
|
						local rarm=h.Parent:findFirstChild("Right Arm")
|
|
						
|
|
						if larm~=nil then
|
|
							larm:remove()
|
|
						end
|
|
						if rarm~=nil then
|
|
							rarm:remove()
|
|
						end
|
|
						local zee=script.Parent.Parent:findFirstChild("zarm")
|
|
						if zee~=nil then
|
|
							local zlarm=zee:clone()
|
|
							local zrarm=zee:clone()
|
|
							if zlarm~=nil then
|
|
|
|
							local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
|
|
								zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
|
|
								zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
|
|
								zlarm.Parent=h.Parent
|
|
								zrarm.Parent=h.Parent
|
|
								zlarm:makeJoints()
|
|
								zrarm:makeJoints()
|
|
								zlarm.Anchored=false
|
|
								zrarm.Anchored=false
|
|
								wait(0.1)
|
|
								h.Parent.Head.Color=zee.Color
|
|
							else print("no zee"); return end
|
|
						end
|
|
						wait(1)
|
|
						cantouch=1
|
|
					end
|
|
				end
|
|
			end
|
|
	end
|
|
end
|
|
|
|
script.Parent.Touched:connect(onTouched)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Part" referent="RBX127">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>8</X>
|
|
<Y>108</Y>
|
|
<Z>-8.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>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">zarm</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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.5979636e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.62653558e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX128">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">wait(1)
|
|
owner=script.Parent.Parent.Name
|
|
|
|
function onTouched(part)
|
|
	if part.Parent ~= nil then
|
|
		local h = part.Parent:findFirstChild("Humanoid")
|
|
			if h~=nil then
|
|
				if cantouch~=0 then
|
|
					if h.Parent.Name~=owner then
|
|
						
|
|
						if h.Parent:findFirstChild("zarm")~=nil then return end
|
|
|
|
						cantouch=0
|
|
|
|
						local larm=h.Parent:findFirstChild("Left Arm")
|
|
						local rarm=h.Parent:findFirstChild("Right Arm")
|
|
						
|
|
						if larm~=nil then
|
|
							larm:remove()
|
|
						end
|
|
						if rarm~=nil then
|
|
							rarm:remove()
|
|
						end
|
|
						local zee=script.Parent.Parent:findFirstChild("zarm")
|
|
						if zee~=nil then
|
|
							local zlarm=zee:clone()
|
|
							local zrarm=zee:clone()
|
|
							if zlarm~=nil then
|
|
|
|
							local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
|
|
								zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
|
|
								zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
|
|
								zlarm.Parent=h.Parent
|
|
								zrarm.Parent=h.Parent
|
|
								zlarm:makeJoints()
|
|
								zrarm:makeJoints()
|
|
								zlarm.Anchored=false
|
|
								zrarm.Anchored=false
|
|
								wait(0.1)
|
|
								h.Parent.Head.Color=zee.Color
|
|
							else print("no zee"); return end
|
|
						end
|
|
						wait(1)
|
|
						cantouch=1
|
|
					end
|
|
				end
|
|
			end
|
|
	end
|
|
end
|
|
|
|
script.Parent.Touched:connect(onTouched)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="ObjectValue" referent="RBX129">
|
|
<Properties>
|
|
<string name="Name">IsNZ</string>
|
|
<Ref name="Value">null</Ref>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="IntValue" referent="RBX130">
|
|
<Properties>
|
|
<string name="Name">Mode</string>
|
|
<int name="Value">0</int>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX131">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">local larm = script.Parent:FindFirstChild("Left Arm")
|
|
local rarm = script.Parent:FindFirstChild("Right Arm")
|
|
|
|
function findNearestTorso(pos)
|
|
	local list = game.Workspace:children()
|
|
	local torso = nil
|
|
	local dist = 1000
|
|
	local temp = nil
|
|
	local human = nil
|
|
	local temp2 = nil
|
|
	for x = 1, #list do
|
|
		temp2 = list[x]
|
|
		if (temp2.className == "Model") and (temp2 ~= script.Parent) then
|
|
			temp = temp2:findFirstChild("Right Arm")
|
|
			human = temp2:findFirstChild("Humanoid")
|
|
			if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
|
|
				if (temp.Position - pos).magnitude < dist then
|
|
					torso = temp
|
|
					dist = (temp.Position - pos).magnitude
|
|
				end
|
|
			end
|
|
		end
|
|
	end
|
|
	return torso
|
|
end
|
|
|
|
|
|
|
|
|
|
while true do
|
|
	wait(math.random(1,5))
|
|
	local target = findNearestTorso(script.Parent.Torso.Position)
|
|
	if target ~= nil then
|
|
		script.Parent.Humanoid:MoveTo(target.Position, target)
|
|
	end
|
|
|
|
end
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX132">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Health</string>
|
|
<ProtectedString name="Source">function waitForChild(parent, childName)
|
|
	while true do
|
|
		local child = parent:findFirstChild(childName)
|
|
		if child then
|
|
			return child
|
|
		end
|
|
		parent.ChildAdded:wait()
|
|
	end
|
|
end
|
|
|
|
-- declarations
|
|
|
|
local Figure = script.Parent
|
|
local Head = waitForChild(Figure, "Head")
|
|
local Humanoid = waitForChild(Figure, "Humanoid")
|
|
Humanoid.Health=500
|
|
-- regeneration
|
|
while true do
|
|
	local s = wait(4)
|
|
	local health = Humanoid.Health
|
|
	if health > 0 and health < Humanoid.MaxHealth then
|
|
		health = health + 0.08 * s * Humanoid.MaxHealth
|
|
		if health * 1.05 < Humanoid.MaxHealth then
|
|
			Humanoid.Health = health
|
|
		else
|
|
			Humanoid.Health = Humanoid.MaxHealth
|
|
		end
|
|
	end
|
|
end
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX133">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Respawn</string>
|
|
<ProtectedString name="Source">name="Humanoid"
|
|
|
|
robo=script.Parent:clone()
|
|
|
|
while true do
|
|
	wait(1)
|
|
	if script.Parent.Humanoid.Health<1 then
|
|
		robot=robo:clone()
|
|
		robot.Parent=script.Parent.Parent
|
|
		robot:makeJoints()
|
|
		script.Parent:remove()
|
|
	end
|
|
end
|
|
		
|
|
|
|
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Model" referent="RBX134">
|
|
<Properties>
|
|
<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">Zombie</string>
|
|
<Ref name="PrimaryPart">null</Ref>
|
|
</Properties>
|
|
<Item class="Part" referent="RBX135">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-15.1644897</X>
|
|
<Y>90.5649643</Y>
|
|
<Z>18.2701511</Z>
|
|
<R00>-0.454648674</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.708073378</R02>
|
|
<R10>0.291926563</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.454648674</R12>
|
|
<R20>-0.841470957</R20>
|
|
<R21>0</R21>
|
|
<R22>0.540302277</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.64807103e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.67023398e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="SpecialMesh" referent="RBX136">
|
|
<Properties>
|
|
<token name="LODX">2</token>
|
|
<token name="LODY">2</token>
|
|
<Content name="MeshId"><null></null></Content>
|
|
<token name="MeshType">0</token>
|
|
<string name="Name">Mesh</string>
|
|
<Vector3 name="Offset">
|
|
<X>0</X>
|
|
<Y>0</Y>
|
|
<Z>0</Z>
|
|
</Vector3>
|
|
<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>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Decal" referent="RBX137">
|
|
<Properties>
|
|
<token name="Face">5</token>
|
|
<string name="Name">face</string>
|
|
<float name="Shiny">20</float>
|
|
<float name="Specular">0</float>
|
|
<Content name="Texture"><null></null></Content>
|
|
<float name="Transparency">0</float>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Part" referent="RBX138">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-14.3540363</X>
|
|
<Y>91.8271713</Y>
|
|
<Z>18.2701511</Z>
|
|
<R00>-0.454648674</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.708073378</R02>
|
|
<R10>0.291926563</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.454648674</R12>
|
|
<R20>-0.841470957</R20>
|
|
<R21>0</R21>
|
|
<R22>0.540302277</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.64798347e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64324075e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX139">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-13.0461073</X>
|
|
<Y>93.364151</Y>
|
|
<Z>18.6908875</Z>
|
|
<R00>-0.454648674</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.708073378</R02>
|
|
<R10>0.291926563</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.454648674</R12>
|
|
<R20>-0.841470957</R20>
|
|
<R21>0</R21>
|
|
<R22>0.540302277</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.66191662e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.59965835e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>1</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX140">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-13.5007563</X>
|
|
<Y>93.6560745</Y>
|
|
<Z>17.8494148</Z>
|
|
<R00>-0.454648674</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.708073378</R02>
|
|
<R10>0.291926563</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.454648674</R12>
|
|
<R20>-0.841470957</R20>
|
|
<R21>0</R21>
|
|
<R22>0.540302277</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.63381671e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.61484164e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>1</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Humanoid" referent="RBX141">
|
|
<Properties>
|
|
<float name="Health">100</float>
|
|
<float name="MaxHealth">100</float>
|
|
<string name="Name">Humanoid</string>
|
|
<token name="NameOcclusion">0</token>
|
|
<float name="WalkSpeed">16</float>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX142">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-13.5881777</X>
|
|
<Y>90.7412186</Y>
|
|
<Z>19.262207</Z>
|
|
<R00>0.708073378</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.454648674</R02>
|
|
<R10>-0.454648674</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.291926563</R12>
|
|
<R20>-0.540302277</R20>
|
|
<R21>0</R21>
|
|
<R22>-0.841470957</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">zarm</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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.68116343e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.61764016e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX143">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">wait(1)
|
|
owner=script.Parent.Parent.Name
|
|
|
|
function onTouched(part)
|
|
	if part.Parent ~= nil then
|
|
		local h = part.Parent:findFirstChild("Humanoid")
|
|
			if h~=nil then
|
|
				if cantouch~=0 then
|
|
					if h.Parent.Name~=owner then
|
|
						
|
|
						if h.Parent:findFirstChild("zarm")~=nil then return end
|
|
|
|
						cantouch=0
|
|
|
|
						local larm=h.Parent:findFirstChild("Left Arm")
|
|
						local rarm=h.Parent:findFirstChild("Right Arm")
|
|
						
|
|
						if larm~=nil then
|
|
							larm:remove()
|
|
						end
|
|
						if rarm~=nil then
|
|
							rarm:remove()
|
|
						end
|
|
						local zee=script.Parent.Parent:findFirstChild("zarm")
|
|
						if zee~=nil then
|
|
							local zlarm=zee:clone()
|
|
							local zrarm=zee:clone()
|
|
							if zlarm~=nil then
|
|
|
|
							local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
|
|
								zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
|
|
								zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
|
|
								zlarm.Parent=h.Parent
|
|
								zrarm.Parent=h.Parent
|
|
								zlarm:makeJoints()
|
|
								zrarm:makeJoints()
|
|
								zlarm.Anchored=false
|
|
								zrarm.Anchored=false
|
|
								wait(0.1)
|
|
								h.Parent.Head.Color=zee.Color
|
|
							else print("no zee"); return end
|
|
						end
|
|
						wait(1)
|
|
						cantouch=1
|
|
					end
|
|
				end
|
|
			end
|
|
	end
|
|
end
|
|
|
|
script.Parent.Touched:connect(onTouched)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Part" referent="RBX144">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-14.9521236</X>
|
|
<Y>91.6170044</Y>
|
|
<Z>16.737793</Z>
|
|
<R00>0.708073378</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.454648674</R02>
|
|
<R10>-0.454648674</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.291926563</R12>
|
|
<R20>-0.540302277</R20>
|
|
<R21>0</R21>
|
|
<R22>-0.841470957</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">zarm</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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.59686371e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.66319002e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX145">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">wait(1)
|
|
owner=script.Parent.Parent.Name
|
|
|
|
function onTouched(part)
|
|
	if part.Parent ~= nil then
|
|
		local h = part.Parent:findFirstChild("Humanoid")
|
|
			if h~=nil then
|
|
				if cantouch~=0 then
|
|
					if h.Parent.Name~=owner then
|
|
						
|
|
						if h.Parent:findFirstChild("zarm")~=nil then return end
|
|
|
|
						cantouch=0
|
|
|
|
						local larm=h.Parent:findFirstChild("Left Arm")
|
|
						local rarm=h.Parent:findFirstChild("Right Arm")
|
|
						
|
|
						if larm~=nil then
|
|
							larm:remove()
|
|
						end
|
|
						if rarm~=nil then
|
|
							rarm:remove()
|
|
						end
|
|
						local zee=script.Parent.Parent:findFirstChild("zarm")
|
|
						if zee~=nil then
|
|
							local zlarm=zee:clone()
|
|
							local zrarm=zee:clone()
|
|
							if zlarm~=nil then
|
|
|
|
							local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
|
|
								zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
|
|
								zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
|
|
								zlarm.Parent=h.Parent
|
|
								zrarm.Parent=h.Parent
|
|
								zlarm:makeJoints()
|
|
								zrarm:makeJoints()
|
|
								zlarm.Anchored=false
|
|
								zrarm.Anchored=false
|
|
								wait(0.1)
|
|
								h.Parent.Head.Color=zee.Color
|
|
							else print("no zee"); return end
|
|
						end
|
|
						wait(1)
|
|
						cantouch=1
|
|
					end
|
|
				end
|
|
			end
|
|
	end
|
|
end
|
|
|
|
script.Parent.Touched:connect(onTouched)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="ObjectValue" referent="RBX146">
|
|
<Properties>
|
|
<string name="Name">IsNZ</string>
|
|
<Ref name="Value">null</Ref>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="IntValue" referent="RBX147">
|
|
<Properties>
|
|
<string name="Name">Mode</string>
|
|
<int name="Value">0</int>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX148">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">local larm = script.Parent:FindFirstChild("Left Arm")
|
|
local rarm = script.Parent:FindFirstChild("Right Arm")
|
|
|
|
function findNearestTorso(pos)
|
|
	local list = game.Workspace:children()
|
|
	local torso = nil
|
|
	local dist = 1000
|
|
	local temp = nil
|
|
	local human = nil
|
|
	local temp2 = nil
|
|
	for x = 1, #list do
|
|
		temp2 = list[x]
|
|
		if (temp2.className == "Model") and (temp2 ~= script.Parent) then
|
|
			temp = temp2:findFirstChild("Right Arm")
|
|
			human = temp2:findFirstChild("Humanoid")
|
|
			if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
|
|
				if (temp.Position - pos).magnitude < dist then
|
|
					torso = temp
|
|
					dist = (temp.Position - pos).magnitude
|
|
				end
|
|
			end
|
|
		end
|
|
	end
|
|
	return torso
|
|
end
|
|
|
|
|
|
|
|
|
|
while true do
|
|
	wait(math.random(1,5))
|
|
	local target = findNearestTorso(script.Parent.Torso.Position)
|
|
	if target ~= nil then
|
|
		script.Parent.Humanoid:MoveTo(target.Position, target)
|
|
	end
|
|
|
|
end
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX149">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Health</string>
|
|
<ProtectedString name="Source">function waitForChild(parent, childName)
|
|
	while true do
|
|
		local child = parent:findFirstChild(childName)
|
|
		if child then
|
|
			return child
|
|
		end
|
|
		parent.ChildAdded:wait()
|
|
	end
|
|
end
|
|
|
|
-- declarations
|
|
|
|
local Figure = script.Parent
|
|
local Head = waitForChild(Figure, "Head")
|
|
local Humanoid = waitForChild(Figure, "Humanoid")
|
|
Humanoid.Health=500
|
|
-- regeneration
|
|
while true do
|
|
	local s = wait(4)
|
|
	local health = Humanoid.Health
|
|
	if health > 0 and health < Humanoid.MaxHealth then
|
|
		health = health + 0.08 * s * Humanoid.MaxHealth
|
|
		if health * 1.05 < Humanoid.MaxHealth then
|
|
			Humanoid.Health = health
|
|
		else
|
|
			Humanoid.Health = Humanoid.MaxHealth
|
|
		end
|
|
	end
|
|
end
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX150">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Respawn</string>
|
|
<ProtectedString name="Source">name="Humanoid"
|
|
|
|
robo=script.Parent:clone()
|
|
|
|
while true do
|
|
	wait(1)
|
|
	if script.Parent.Humanoid.Health<1 then
|
|
		robot=robo:clone()
|
|
		robot.Parent=script.Parent.Parent
|
|
		robot:makeJoints()
|
|
		script.Parent:remove()
|
|
	end
|
|
end
|
|
		
|
|
|
|
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Model" referent="RBX151">
|
|
<Properties>
|
|
<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">Zombie</string>
|
|
<Ref name="PrimaryPart">null</Ref>
|
|
</Properties>
|
|
<Item class="Part" referent="RBX152">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-11.1644897</X>
|
|
<Y>109.365013</Y>
|
|
<Z>-4.72984886</Z>
|
|
<R00>-0.454648674</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.708073378</R02>
|
|
<R10>0.291926563</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.454648674</R12>
|
|
<R20>-0.841470957</R20>
|
|
<R21>0</R21>
|
|
<R22>0.540302277</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.64807103e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.67023398e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="SpecialMesh" referent="RBX153">
|
|
<Properties>
|
|
<token name="LODX">2</token>
|
|
<token name="LODY">2</token>
|
|
<Content name="MeshId"><null></null></Content>
|
|
<token name="MeshType">0</token>
|
|
<string name="Name">Mesh</string>
|
|
<Vector3 name="Offset">
|
|
<X>0</X>
|
|
<Y>0</Y>
|
|
<Z>0</Z>
|
|
</Vector3>
|
|
<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>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Decal" referent="RBX154">
|
|
<Properties>
|
|
<token name="Face">5</token>
|
|
<string name="Name">face</string>
|
|
<float name="Shiny">20</float>
|
|
<float name="Specular">0</float>
|
|
<Content name="Texture"><null></null></Content>
|
|
<float name="Transparency">0</float>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Part" referent="RBX155">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-10.3540363</X>
|
|
<Y>110.62722</Y>
|
|
<Z>-4.72984886</Z>
|
|
<R00>-0.454648674</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.708073378</R02>
|
|
<R10>0.291926563</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.454648674</R12>
|
|
<R20>-0.841470957</R20>
|
|
<R21>0</R21>
|
|
<R22>0.540302277</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.64798347e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64324075e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX156">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-9.04610729</X>
|
|
<Y>112.1642</Y>
|
|
<Z>-4.3091135</Z>
|
|
<R00>-0.454648674</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.708073378</R02>
|
|
<R10>0.291926563</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.454648674</R12>
|
|
<R20>-0.841470957</R20>
|
|
<R21>0</R21>
|
|
<R22>0.540302277</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.66191662e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.59965835e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>1</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX157">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-9.50075626</X>
|
|
<Y>112.456123</Y>
|
|
<Z>-5.15058422</Z>
|
|
<R00>-0.454648674</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.708073378</R02>
|
|
<R10>0.291926563</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.454648674</R12>
|
|
<R20>-0.841470957</R20>
|
|
<R21>0</R21>
|
|
<R22>0.540302277</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.63381671e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.61484164e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>1</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Humanoid" referent="RBX158">
|
|
<Properties>
|
|
<float name="Health">100</float>
|
|
<float name="MaxHealth">100</float>
|
|
<string name="Name">Humanoid</string>
|
|
<token name="NameOcclusion">0</token>
|
|
<float name="WalkSpeed">16</float>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX159">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-9.58817768</X>
|
|
<Y>109.541267</Y>
|
|
<Z>-3.73779345</Z>
|
|
<R00>0.708073378</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.454648674</R02>
|
|
<R10>-0.454648674</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.291926563</R12>
|
|
<R20>-0.540302277</R20>
|
|
<R21>0</R21>
|
|
<R22>-0.841470957</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">zarm</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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.68116343e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.61764016e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX160">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">wait(1)
|
|
owner=script.Parent.Parent.Name
|
|
|
|
function onTouched(part)
|
|
	if part.Parent ~= nil then
|
|
		local h = part.Parent:findFirstChild("Humanoid")
|
|
			if h~=nil then
|
|
				if cantouch~=0 then
|
|
					if h.Parent.Name~=owner then
|
|
						
|
|
						if h.Parent:findFirstChild("zarm")~=nil then return end
|
|
|
|
						cantouch=0
|
|
|
|
						local larm=h.Parent:findFirstChild("Left Arm")
|
|
						local rarm=h.Parent:findFirstChild("Right Arm")
|
|
						
|
|
						if larm~=nil then
|
|
							larm:remove()
|
|
						end
|
|
						if rarm~=nil then
|
|
							rarm:remove()
|
|
						end
|
|
						local zee=script.Parent.Parent:findFirstChild("zarm")
|
|
						if zee~=nil then
|
|
							local zlarm=zee:clone()
|
|
							local zrarm=zee:clone()
|
|
							if zlarm~=nil then
|
|
|
|
							local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
|
|
								zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
|
|
								zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
|
|
								zlarm.Parent=h.Parent
|
|
								zrarm.Parent=h.Parent
|
|
								zlarm:makeJoints()
|
|
								zrarm:makeJoints()
|
|
								zlarm.Anchored=false
|
|
								zrarm.Anchored=false
|
|
								wait(0.1)
|
|
								h.Parent.Head.Color=zee.Color
|
|
							else print("no zee"); return end
|
|
						end
|
|
						wait(1)
|
|
						cantouch=1
|
|
					end
|
|
				end
|
|
			end
|
|
	end
|
|
end
|
|
|
|
script.Parent.Touched:connect(onTouched)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Part" referent="RBX161">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-10.9521236</X>
|
|
<Y>110.417053</Y>
|
|
<Z>-6.26220655</Z>
|
|
<R00>0.708073378</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.454648674</R02>
|
|
<R10>-0.454648674</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.291926563</R12>
|
|
<R20>-0.540302277</R20>
|
|
<R21>0</R21>
|
|
<R22>-0.841470957</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">zarm</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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.59686371e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.66319002e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX162">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">wait(1)
|
|
owner=script.Parent.Parent.Name
|
|
|
|
function onTouched(part)
|
|
	if part.Parent ~= nil then
|
|
		local h = part.Parent:findFirstChild("Humanoid")
|
|
			if h~=nil then
|
|
				if cantouch~=0 then
|
|
					if h.Parent.Name~=owner then
|
|
						
|
|
						if h.Parent:findFirstChild("zarm")~=nil then return end
|
|
|
|
						cantouch=0
|
|
|
|
						local larm=h.Parent:findFirstChild("Left Arm")
|
|
						local rarm=h.Parent:findFirstChild("Right Arm")
|
|
						
|
|
						if larm~=nil then
|
|
							larm:remove()
|
|
						end
|
|
						if rarm~=nil then
|
|
							rarm:remove()
|
|
						end
|
|
						local zee=script.Parent.Parent:findFirstChild("zarm")
|
|
						if zee~=nil then
|
|
							local zlarm=zee:clone()
|
|
							local zrarm=zee:clone()
|
|
							if zlarm~=nil then
|
|
|
|
							local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
|
|
								zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
|
|
								zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
|
|
								zlarm.Parent=h.Parent
|
|
								zrarm.Parent=h.Parent
|
|
								zlarm:makeJoints()
|
|
								zrarm:makeJoints()
|
|
								zlarm.Anchored=false
|
|
								zrarm.Anchored=false
|
|
								wait(0.1)
|
|
								h.Parent.Head.Color=zee.Color
|
|
							else print("no zee"); return end
|
|
						end
|
|
						wait(1)
|
|
						cantouch=1
|
|
					end
|
|
				end
|
|
			end
|
|
	end
|
|
end
|
|
|
|
script.Parent.Touched:connect(onTouched)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="ObjectValue" referent="RBX163">
|
|
<Properties>
|
|
<string name="Name">IsNZ</string>
|
|
<Ref name="Value">null</Ref>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="IntValue" referent="RBX164">
|
|
<Properties>
|
|
<string name="Name">Mode</string>
|
|
<int name="Value">0</int>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX165">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">local larm = script.Parent:FindFirstChild("Left Arm")
|
|
local rarm = script.Parent:FindFirstChild("Right Arm")
|
|
|
|
function findNearestTorso(pos)
|
|
	local list = game.Workspace:children()
|
|
	local torso = nil
|
|
	local dist = 1000
|
|
	local temp = nil
|
|
	local human = nil
|
|
	local temp2 = nil
|
|
	for x = 1, #list do
|
|
		temp2 = list[x]
|
|
		if (temp2.className == "Model") and (temp2 ~= script.Parent) then
|
|
			temp = temp2:findFirstChild("Right Arm")
|
|
			human = temp2:findFirstChild("Humanoid")
|
|
			if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
|
|
				if (temp.Position - pos).magnitude < dist then
|
|
					torso = temp
|
|
					dist = (temp.Position - pos).magnitude
|
|
				end
|
|
			end
|
|
		end
|
|
	end
|
|
	return torso
|
|
end
|
|
|
|
|
|
|
|
|
|
while true do
|
|
	wait(math.random(1,5))
|
|
	local target = findNearestTorso(script.Parent.Torso.Position)
|
|
	if target ~= nil then
|
|
		script.Parent.Humanoid:MoveTo(target.Position, target)
|
|
	end
|
|
|
|
end
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX166">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Health</string>
|
|
<ProtectedString name="Source">function waitForChild(parent, childName)
|
|
	while true do
|
|
		local child = parent:findFirstChild(childName)
|
|
		if child then
|
|
			return child
|
|
		end
|
|
		parent.ChildAdded:wait()
|
|
	end
|
|
end
|
|
|
|
-- declarations
|
|
|
|
local Figure = script.Parent
|
|
local Head = waitForChild(Figure, "Head")
|
|
local Humanoid = waitForChild(Figure, "Humanoid")
|
|
Humanoid.Health=500
|
|
-- regeneration
|
|
while true do
|
|
	local s = wait(4)
|
|
	local health = Humanoid.Health
|
|
	if health > 0 and health < Humanoid.MaxHealth then
|
|
		health = health + 0.08 * s * Humanoid.MaxHealth
|
|
		if health * 1.05 < Humanoid.MaxHealth then
|
|
			Humanoid.Health = health
|
|
		else
|
|
			Humanoid.Health = Humanoid.MaxHealth
|
|
		end
|
|
	end
|
|
end
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX167">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Respawn</string>
|
|
<ProtectedString name="Source">name="Humanoid"
|
|
|
|
robo=script.Parent:clone()
|
|
|
|
while true do
|
|
	wait(1)
|
|
	if script.Parent.Humanoid.Health<1 then
|
|
		robot=robo:clone()
|
|
		robot.Parent=script.Parent.Parent
|
|
		robot:makeJoints()
|
|
		script.Parent:remove()
|
|
	end
|
|
end
|
|
		
|
|
|
|
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Model" referent="RBX168">
|
|
<Properties>
|
|
<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">Zombie</string>
|
|
<Ref name="PrimaryPart">null</Ref>
|
|
</Properties>
|
|
<Item class="Part" referent="RBX169">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>1.49954987</X>
|
|
<Y>105.102516</Y>
|
|
<Z>14.7155304</Z>
|
|
<R00>1.49011612e-008</R00>
|
|
<R01>0</R01>
|
|
<R02>-0.999999881</R02>
|
|
<R10>1.49011612e-008</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>0</R12>
|
|
<R20>-0.99999994</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>1.49011612e-008</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.64808751e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64317968e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="SpecialMesh" referent="RBX170">
|
|
<Properties>
|
|
<token name="LODX">2</token>
|
|
<token name="LODY">2</token>
|
|
<Content name="MeshId"><null></null></Content>
|
|
<token name="MeshType">0</token>
|
|
<string name="Name">Mesh</string>
|
|
<Vector3 name="Offset">
|
|
<X>0</X>
|
|
<Y>0</Y>
|
|
<Z>0</Z>
|
|
</Vector3>
|
|
<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>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Decal" referent="RBX171">
|
|
<Properties>
|
|
<token name="Face">5</token>
|
|
<string name="Name">face</string>
|
|
<float name="Shiny">20</float>
|
|
<float name="Specular">0</float>
|
|
<Content name="Texture"><null></null></Content>
|
|
<float name="Transparency">0</float>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Part" referent="RBX172">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>1.49954987</X>
|
|
<Y>106.602516</Y>
|
|
<Z>14.7155304</Z>
|
|
<R00>1.49011612e-008</R00>
|
|
<R01>0</R01>
|
|
<R02>-0.999999881</R02>
|
|
<R10>1.49011612e-008</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>0</R12>
|
|
<R20>-0.99999994</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>1.49011612e-008</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.64798347e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64324075e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX173">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>1.49954987</X>
|
|
<Y>108.602516</Y>
|
|
<Z>15.2155304</Z>
|
|
<R00>1.49011612e-008</R00>
|
|
<R01>0</R01>
|
|
<R02>-0.999999881</R02>
|
|
<R10>1.49011612e-008</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>0</R12>
|
|
<R20>-0.99999994</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>1.49011612e-008</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.66452934e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64332218e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>1</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX174">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>1.49954987</X>
|
|
<Y>108.602516</Y>
|
|
<Z>14.2155304</Z>
|
|
<R00>1.49011612e-008</R00>
|
|
<R01>0</R01>
|
|
<R02>-0.999999881</R02>
|
|
<R10>1.49011612e-008</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>0</R12>
|
|
<R20>-0.99999994</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>1.49011612e-008</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.63115971e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64332218e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>1</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Humanoid" referent="RBX175">
|
|
<Properties>
|
|
<float name="Health">100</float>
|
|
<float name="MaxHealth">100</float>
|
|
<string name="Name">Humanoid</string>
|
|
<token name="NameOcclusion">0</token>
|
|
<float name="WalkSpeed">16</float>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX176">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>1.99954975</X>
|
|
<Y>106.102516</Y>
|
|
<Z>16.2155304</Z>
|
|
<R00>0.999999881</R00>
|
|
<R01>0</R01>
|
|
<R02>1.49011612e-008</R02>
|
|
<R10>0</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>1.49011612e-008</R12>
|
|
<R20>-1.49011612e-008</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>-0.99999994</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">zarm</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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.69807249e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.62653558e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX177">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">wait(1)
|
|
owner=script.Parent.Parent.Name
|
|
|
|
function onTouched(part)
|
|
	if part.Parent ~= nil then
|
|
		local h = part.Parent:findFirstChild("Humanoid")
|
|
			if h~=nil then
|
|
				if cantouch~=0 then
|
|
					if h.Parent.Name~=owner then
|
|
						
|
|
						if h.Parent:findFirstChild("zarm")~=nil then return end
|
|
|
|
						cantouch=0
|
|
|
|
						local larm=h.Parent:findFirstChild("Left Arm")
|
|
						local rarm=h.Parent:findFirstChild("Right Arm")
|
|
						
|
|
						if larm~=nil then
|
|
							larm:remove()
|
|
						end
|
|
						if rarm~=nil then
|
|
							rarm:remove()
|
|
						end
|
|
						local zee=script.Parent.Parent:findFirstChild("zarm")
|
|
						if zee~=nil then
|
|
							local zlarm=zee:clone()
|
|
							local zrarm=zee:clone()
|
|
							if zlarm~=nil then
|
|
|
|
							local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
|
|
								zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
|
|
								zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
|
|
								zlarm.Parent=h.Parent
|
|
								zrarm.Parent=h.Parent
|
|
								zlarm:makeJoints()
|
|
								zrarm:makeJoints()
|
|
								zlarm.Anchored=false
|
|
								zrarm.Anchored=false
|
|
								wait(0.1)
|
|
								h.Parent.Head.Color=zee.Color
|
|
							else print("no zee"); return end
|
|
						end
|
|
						wait(1)
|
|
						cantouch=1
|
|
					end
|
|
				end
|
|
			end
|
|
	end
|
|
end
|
|
|
|
script.Parent.Touched:connect(onTouched)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Part" referent="RBX178">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>1.99954987</X>
|
|
<Y>106.102516</Y>
|
|
<Z>13.2155304</Z>
|
|
<R00>0.999999881</R00>
|
|
<R01>0</R01>
|
|
<R02>1.49011612e-008</R02>
|
|
<R10>0</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>1.49011612e-008</R12>
|
|
<R20>-1.49011612e-008</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>-0.99999994</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">zarm</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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.5979636e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.62653558e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX179">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">wait(1)
|
|
owner=script.Parent.Parent.Name
|
|
|
|
function onTouched(part)
|
|
	if part.Parent ~= nil then
|
|
		local h = part.Parent:findFirstChild("Humanoid")
|
|
			if h~=nil then
|
|
				if cantouch~=0 then
|
|
					if h.Parent.Name~=owner then
|
|
						
|
|
						if h.Parent:findFirstChild("zarm")~=nil then return end
|
|
|
|
						cantouch=0
|
|
|
|
						local larm=h.Parent:findFirstChild("Left Arm")
|
|
						local rarm=h.Parent:findFirstChild("Right Arm")
|
|
						
|
|
						if larm~=nil then
|
|
							larm:remove()
|
|
						end
|
|
						if rarm~=nil then
|
|
							rarm:remove()
|
|
						end
|
|
						local zee=script.Parent.Parent:findFirstChild("zarm")
|
|
						if zee~=nil then
|
|
							local zlarm=zee:clone()
|
|
							local zrarm=zee:clone()
|
|
							if zlarm~=nil then
|
|
|
|
							local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
|
|
								zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
|
|
								zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
|
|
								zlarm.Parent=h.Parent
|
|
								zrarm.Parent=h.Parent
|
|
								zlarm:makeJoints()
|
|
								zrarm:makeJoints()
|
|
								zlarm.Anchored=false
|
|
								zrarm.Anchored=false
|
|
								wait(0.1)
|
|
								h.Parent.Head.Color=zee.Color
|
|
							else print("no zee"); return end
|
|
						end
|
|
						wait(1)
|
|
						cantouch=1
|
|
					end
|
|
				end
|
|
			end
|
|
	end
|
|
end
|
|
|
|
script.Parent.Touched:connect(onTouched)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="ObjectValue" referent="RBX180">
|
|
<Properties>
|
|
<string name="Name">IsNZ</string>
|
|
<Ref name="Value">null</Ref>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="IntValue" referent="RBX181">
|
|
<Properties>
|
|
<string name="Name">Mode</string>
|
|
<int name="Value">0</int>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX182">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">local larm = script.Parent:FindFirstChild("Left Arm")
|
|
local rarm = script.Parent:FindFirstChild("Right Arm")
|
|
|
|
function findNearestTorso(pos)
|
|
	local list = game.Workspace:children()
|
|
	local torso = nil
|
|
	local dist = 1000
|
|
	local temp = nil
|
|
	local human = nil
|
|
	local temp2 = nil
|
|
	for x = 1, #list do
|
|
		temp2 = list[x]
|
|
		if (temp2.className == "Model") and (temp2 ~= script.Parent) then
|
|
			temp = temp2:findFirstChild("Right Arm")
|
|
			human = temp2:findFirstChild("Humanoid")
|
|
			if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
|
|
				if (temp.Position - pos).magnitude < dist then
|
|
					torso = temp
|
|
					dist = (temp.Position - pos).magnitude
|
|
				end
|
|
			end
|
|
		end
|
|
	end
|
|
	return torso
|
|
end
|
|
|
|
|
|
|
|
|
|
while true do
|
|
	wait(math.random(1,5))
|
|
	local target = findNearestTorso(script.Parent.Torso.Position)
|
|
	if target ~= nil then
|
|
		script.Parent.Humanoid:MoveTo(target.Position, target)
|
|
	end
|
|
|
|
end
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX183">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Health</string>
|
|
<ProtectedString name="Source">function waitForChild(parent, childName)
|
|
	while true do
|
|
		local child = parent:findFirstChild(childName)
|
|
		if child then
|
|
			return child
|
|
		end
|
|
		parent.ChildAdded:wait()
|
|
	end
|
|
end
|
|
|
|
-- declarations
|
|
|
|
local Figure = script.Parent
|
|
local Head = waitForChild(Figure, "Head")
|
|
local Humanoid = waitForChild(Figure, "Humanoid")
|
|
Humanoid.Health=500
|
|
-- regeneration
|
|
while true do
|
|
	local s = wait(4)
|
|
	local health = Humanoid.Health
|
|
	if health > 0 and health < Humanoid.MaxHealth then
|
|
		health = health + 0.08 * s * Humanoid.MaxHealth
|
|
		if health * 1.05 < Humanoid.MaxHealth then
|
|
			Humanoid.Health = health
|
|
		else
|
|
			Humanoid.Health = Humanoid.MaxHealth
|
|
		end
|
|
	end
|
|
end
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX184">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Respawn</string>
|
|
<ProtectedString name="Source">name="Humanoid"
|
|
|
|
robo=script.Parent:clone()
|
|
|
|
while true do
|
|
	wait(1)
|
|
	if script.Parent.Humanoid.Health<1 then
|
|
		robot=robo:clone()
|
|
		robot.Parent=script.Parent.Parent
|
|
		robot:makeJoints()
|
|
		script.Parent:remove()
|
|
	end
|
|
end
|
|
		
|
|
|
|
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Model" referent="RBX185">
|
|
<Properties>
|
|
<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">Zombie</string>
|
|
<Ref name="PrimaryPart">null</Ref>
|
|
</Properties>
|
|
<Item class="Part" referent="RBX186">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>5.49954987</X>
|
|
<Y>110.702507</Y>
|
|
<Z>-8.2844696</Z>
|
|
<R00>1.49011612e-008</R00>
|
|
<R01>0</R01>
|
|
<R02>-0.999999881</R02>
|
|
<R10>1.49011612e-008</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>0</R12>
|
|
<R20>-0.99999994</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>1.49011612e-008</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.64808751e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64317968e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="SpecialMesh" referent="RBX187">
|
|
<Properties>
|
|
<token name="LODX">2</token>
|
|
<token name="LODY">2</token>
|
|
<Content name="MeshId"><null></null></Content>
|
|
<token name="MeshType">0</token>
|
|
<string name="Name">Mesh</string>
|
|
<Vector3 name="Offset">
|
|
<X>0</X>
|
|
<Y>0</Y>
|
|
<Z>0</Z>
|
|
</Vector3>
|
|
<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>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Decal" referent="RBX188">
|
|
<Properties>
|
|
<token name="Face">5</token>
|
|
<string name="Name">face</string>
|
|
<float name="Shiny">20</float>
|
|
<float name="Specular">0</float>
|
|
<Content name="Texture"><null></null></Content>
|
|
<float name="Transparency">0</float>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Part" referent="RBX189">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>5.49954987</X>
|
|
<Y>112.202507</Y>
|
|
<Z>-8.2844696</Z>
|
|
<R00>1.49011612e-008</R00>
|
|
<R01>0</R01>
|
|
<R02>-0.999999881</R02>
|
|
<R10>1.49011612e-008</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>0</R12>
|
|
<R20>-0.99999994</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>1.49011612e-008</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.64798347e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64324075e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX190">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>5.49954987</X>
|
|
<Y>114.202507</Y>
|
|
<Z>-7.7844696</Z>
|
|
<R00>1.49011612e-008</R00>
|
|
<R01>0</R01>
|
|
<R02>-0.999999881</R02>
|
|
<R10>1.49011612e-008</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>0</R12>
|
|
<R20>-0.99999994</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>1.49011612e-008</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.66452934e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64332218e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>1</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX191">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>5.49954987</X>
|
|
<Y>114.202507</Y>
|
|
<Z>-8.7844696</Z>
|
|
<R00>1.49011612e-008</R00>
|
|
<R01>0</R01>
|
|
<R02>-0.999999881</R02>
|
|
<R10>1.49011612e-008</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>0</R12>
|
|
<R20>-0.99999994</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>1.49011612e-008</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.63115971e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64332218e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>1</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Humanoid" referent="RBX192">
|
|
<Properties>
|
|
<float name="Health">100</float>
|
|
<float name="MaxHealth">100</float>
|
|
<string name="Name">Humanoid</string>
|
|
<token name="NameOcclusion">0</token>
|
|
<float name="WalkSpeed">16</float>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX193">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>5.99954987</X>
|
|
<Y>111.702507</Y>
|
|
<Z>-6.7844696</Z>
|
|
<R00>0.999999881</R00>
|
|
<R01>0</R01>
|
|
<R02>1.49011612e-008</R02>
|
|
<R10>0</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>1.49011612e-008</R12>
|
|
<R20>-1.49011612e-008</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>-0.99999994</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">zarm</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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.69807249e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.62653558e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX194">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">wait(1)
|
|
owner=script.Parent.Parent.Name
|
|
|
|
function onTouched(part)
|
|
	if part.Parent ~= nil then
|
|
		local h = part.Parent:findFirstChild("Humanoid")
|
|
			if h~=nil then
|
|
				if cantouch~=0 then
|
|
					if h.Parent.Name~=owner then
|
|
						
|
|
						if h.Parent:findFirstChild("zarm")~=nil then return end
|
|
|
|
						cantouch=0
|
|
|
|
						local larm=h.Parent:findFirstChild("Left Arm")
|
|
						local rarm=h.Parent:findFirstChild("Right Arm")
|
|
						
|
|
						if larm~=nil then
|
|
							larm:remove()
|
|
						end
|
|
						if rarm~=nil then
|
|
							rarm:remove()
|
|
						end
|
|
						local zee=script.Parent.Parent:findFirstChild("zarm")
|
|
						if zee~=nil then
|
|
							local zlarm=zee:clone()
|
|
							local zrarm=zee:clone()
|
|
							if zlarm~=nil then
|
|
|
|
							local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
|
|
								zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
|
|
								zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
|
|
								zlarm.Parent=h.Parent
|
|
								zrarm.Parent=h.Parent
|
|
								zlarm:makeJoints()
|
|
								zrarm:makeJoints()
|
|
								zlarm.Anchored=false
|
|
								zrarm.Anchored=false
|
|
								wait(0.1)
|
|
								h.Parent.Head.Color=zee.Color
|
|
							else print("no zee"); return end
|
|
						end
|
|
						wait(1)
|
|
						cantouch=1
|
|
					end
|
|
				end
|
|
			end
|
|
	end
|
|
end
|
|
|
|
script.Parent.Touched:connect(onTouched)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Part" referent="RBX195">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>5.99954987</X>
|
|
<Y>111.702507</Y>
|
|
<Z>-9.7844696</Z>
|
|
<R00>0.999999881</R00>
|
|
<R01>0</R01>
|
|
<R02>1.49011612e-008</R02>
|
|
<R10>0</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>1.49011612e-008</R12>
|
|
<R20>-1.49011612e-008</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>-0.99999994</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">zarm</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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.5979636e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.62653558e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX196">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">wait(1)
|
|
owner=script.Parent.Parent.Name
|
|
|
|
function onTouched(part)
|
|
	if part.Parent ~= nil then
|
|
		local h = part.Parent:findFirstChild("Humanoid")
|
|
			if h~=nil then
|
|
				if cantouch~=0 then
|
|
					if h.Parent.Name~=owner then
|
|
						
|
|
						if h.Parent:findFirstChild("zarm")~=nil then return end
|
|
|
|
						cantouch=0
|
|
|
|
						local larm=h.Parent:findFirstChild("Left Arm")
|
|
						local rarm=h.Parent:findFirstChild("Right Arm")
|
|
						
|
|
						if larm~=nil then
|
|
							larm:remove()
|
|
						end
|
|
						if rarm~=nil then
|
|
							rarm:remove()
|
|
						end
|
|
						local zee=script.Parent.Parent:findFirstChild("zarm")
|
|
						if zee~=nil then
|
|
							local zlarm=zee:clone()
|
|
							local zrarm=zee:clone()
|
|
							if zlarm~=nil then
|
|
|
|
							local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
|
|
								zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
|
|
								zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
|
|
								zlarm.Parent=h.Parent
|
|
								zrarm.Parent=h.Parent
|
|
								zlarm:makeJoints()
|
|
								zrarm:makeJoints()
|
|
								zlarm.Anchored=false
|
|
								zrarm.Anchored=false
|
|
								wait(0.1)
|
|
								h.Parent.Head.Color=zee.Color
|
|
							else print("no zee"); return end
|
|
						end
|
|
						wait(1)
|
|
						cantouch=1
|
|
					end
|
|
				end
|
|
			end
|
|
	end
|
|
end
|
|
|
|
script.Parent.Touched:connect(onTouched)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="ObjectValue" referent="RBX197">
|
|
<Properties>
|
|
<string name="Name">IsNZ</string>
|
|
<Ref name="Value">null</Ref>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="IntValue" referent="RBX198">
|
|
<Properties>
|
|
<string name="Name">Mode</string>
|
|
<int name="Value">0</int>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX199">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">local larm = script.Parent:FindFirstChild("Left Arm")
|
|
local rarm = script.Parent:FindFirstChild("Right Arm")
|
|
|
|
function findNearestTorso(pos)
|
|
	local list = game.Workspace:children()
|
|
	local torso = nil
|
|
	local dist = 1000
|
|
	local temp = nil
|
|
	local human = nil
|
|
	local temp2 = nil
|
|
	for x = 1, #list do
|
|
		temp2 = list[x]
|
|
		if (temp2.className == "Model") and (temp2 ~= script.Parent) then
|
|
			temp = temp2:findFirstChild("Right Arm")
|
|
			human = temp2:findFirstChild("Humanoid")
|
|
			if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
|
|
				if (temp.Position - pos).magnitude < dist then
|
|
					torso = temp
|
|
					dist = (temp.Position - pos).magnitude
|
|
				end
|
|
			end
|
|
		end
|
|
	end
|
|
	return torso
|
|
end
|
|
|
|
|
|
|
|
|
|
while true do
|
|
	wait(math.random(1,5))
|
|
	local target = findNearestTorso(script.Parent.Torso.Position)
|
|
	if target ~= nil then
|
|
		script.Parent.Humanoid:MoveTo(target.Position, target)
|
|
	end
|
|
|
|
end
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX200">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Health</string>
|
|
<ProtectedString name="Source">function waitForChild(parent, childName)
|
|
	while true do
|
|
		local child = parent:findFirstChild(childName)
|
|
		if child then
|
|
			return child
|
|
		end
|
|
		parent.ChildAdded:wait()
|
|
	end
|
|
end
|
|
|
|
-- declarations
|
|
|
|
local Figure = script.Parent
|
|
local Head = waitForChild(Figure, "Head")
|
|
local Humanoid = waitForChild(Figure, "Humanoid")
|
|
Humanoid.Health=500
|
|
-- regeneration
|
|
while true do
|
|
	local s = wait(4)
|
|
	local health = Humanoid.Health
|
|
	if health > 0 and health < Humanoid.MaxHealth then
|
|
		health = health + 0.08 * s * Humanoid.MaxHealth
|
|
		if health * 1.05 < Humanoid.MaxHealth then
|
|
			Humanoid.Health = health
|
|
		else
|
|
			Humanoid.Health = Humanoid.MaxHealth
|
|
		end
|
|
	end
|
|
end
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX201">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Respawn</string>
|
|
<ProtectedString name="Source">name="Humanoid"
|
|
|
|
robo=script.Parent:clone()
|
|
|
|
while true do
|
|
	wait(1)
|
|
	if script.Parent.Humanoid.Health<1 then
|
|
		robot=robo:clone()
|
|
		robot.Parent=script.Parent.Parent
|
|
		robot:makeJoints()
|
|
		script.Parent:remove()
|
|
	end
|
|
end
|
|
		
|
|
|
|
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Model" referent="RBX202">
|
|
<Properties>
|
|
<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">Zombie</string>
|
|
<Ref name="PrimaryPart">null</Ref>
|
|
</Properties>
|
|
<Item class="Part" referent="RBX203">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>3.4990921</X>
|
|
<Y>114.405022</Y>
|
|
<Z>-9.56895447</Z>
|
|
<R00>1.49011612e-008</R00>
|
|
<R01>0</R01>
|
|
<R02>-0.999999881</R02>
|
|
<R10>1.49011612e-008</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>0</R12>
|
|
<R20>-0.99999994</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>1.49011612e-008</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.64808751e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64317968e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="SpecialMesh" referent="RBX204">
|
|
<Properties>
|
|
<token name="LODX">2</token>
|
|
<token name="LODY">2</token>
|
|
<Content name="MeshId"><null></null></Content>
|
|
<token name="MeshType">0</token>
|
|
<string name="Name">Mesh</string>
|
|
<Vector3 name="Offset">
|
|
<X>0</X>
|
|
<Y>0</Y>
|
|
<Z>0</Z>
|
|
</Vector3>
|
|
<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>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Decal" referent="RBX205">
|
|
<Properties>
|
|
<token name="Face">5</token>
|
|
<string name="Name">face</string>
|
|
<float name="Shiny">20</float>
|
|
<float name="Specular">0</float>
|
|
<Content name="Texture"><null></null></Content>
|
|
<float name="Transparency">0</float>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Part" referent="RBX206">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>3.4990921</X>
|
|
<Y>115.905022</Y>
|
|
<Z>-9.56895447</Z>
|
|
<R00>1.49011612e-008</R00>
|
|
<R01>0</R01>
|
|
<R02>-0.999999881</R02>
|
|
<R10>1.49011612e-008</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>0</R12>
|
|
<R20>-0.99999994</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>1.49011612e-008</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.64798347e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64324075e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX207">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>3.4990921</X>
|
|
<Y>117.905022</Y>
|
|
<Z>-9.06895447</Z>
|
|
<R00>1.49011612e-008</R00>
|
|
<R01>0</R01>
|
|
<R02>-0.999999881</R02>
|
|
<R10>1.49011612e-008</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>0</R12>
|
|
<R20>-0.99999994</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>1.49011612e-008</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.66452934e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64332218e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>1</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX208">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>3.4990921</X>
|
|
<Y>117.905022</Y>
|
|
<Z>-10.0689545</Z>
|
|
<R00>1.49011612e-008</R00>
|
|
<R01>0</R01>
|
|
<R02>-0.999999881</R02>
|
|
<R10>1.49011612e-008</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>0</R12>
|
|
<R20>-0.99999994</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>1.49011612e-008</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.63115971e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64332218e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>1</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Humanoid" referent="RBX209">
|
|
<Properties>
|
|
<float name="Health">100</float>
|
|
<float name="MaxHealth">100</float>
|
|
<string name="Name">Humanoid</string>
|
|
<token name="NameOcclusion">0</token>
|
|
<float name="WalkSpeed">16</float>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX210">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>3.9990921</X>
|
|
<Y>115.405022</Y>
|
|
<Z>-8.06895447</Z>
|
|
<R00>0.999999881</R00>
|
|
<R01>0</R01>
|
|
<R02>1.49011612e-008</R02>
|
|
<R10>0</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>1.49011612e-008</R12>
|
|
<R20>-1.49011612e-008</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>-0.99999994</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">zarm</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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.69807249e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.62653558e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX211">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">wait(1)
|
|
owner=script.Parent.Parent.Name
|
|
|
|
function onTouched(part)
|
|
	if part.Parent ~= nil then
|
|
		local h = part.Parent:findFirstChild("Humanoid")
|
|
			if h~=nil then
|
|
				if cantouch~=0 then
|
|
					if h.Parent.Name~=owner then
|
|
						
|
|
						if h.Parent:findFirstChild("zarm")~=nil then return end
|
|
|
|
						cantouch=0
|
|
|
|
						local larm=h.Parent:findFirstChild("Left Arm")
|
|
						local rarm=h.Parent:findFirstChild("Right Arm")
|
|
						
|
|
						if larm~=nil then
|
|
							larm:remove()
|
|
						end
|
|
						if rarm~=nil then
|
|
							rarm:remove()
|
|
						end
|
|
						local zee=script.Parent.Parent:findFirstChild("zarm")
|
|
						if zee~=nil then
|
|
							local zlarm=zee:clone()
|
|
							local zrarm=zee:clone()
|
|
							if zlarm~=nil then
|
|
|
|
							local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
|
|
								zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
|
|
								zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
|
|
								zlarm.Parent=h.Parent
|
|
								zrarm.Parent=h.Parent
|
|
								zlarm:makeJoints()
|
|
								zrarm:makeJoints()
|
|
								zlarm.Anchored=false
|
|
								zrarm.Anchored=false
|
|
								wait(0.1)
|
|
								h.Parent.Head.Color=zee.Color
|
|
							else print("no zee"); return end
|
|
						end
|
|
						wait(1)
|
|
						cantouch=1
|
|
					end
|
|
				end
|
|
			end
|
|
	end
|
|
end
|
|
|
|
script.Parent.Touched:connect(onTouched)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Part" referent="RBX212">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>3.9990921</X>
|
|
<Y>115.405022</Y>
|
|
<Z>-11.0689545</Z>
|
|
<R00>0.999999881</R00>
|
|
<R01>0</R01>
|
|
<R02>1.49011612e-008</R02>
|
|
<R10>0</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>1.49011612e-008</R12>
|
|
<R20>-1.49011612e-008</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>-0.99999994</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">zarm</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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.5979636e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.62653558e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX213">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">wait(1)
|
|
owner=script.Parent.Parent.Name
|
|
|
|
function onTouched(part)
|
|
	if part.Parent ~= nil then
|
|
		local h = part.Parent:findFirstChild("Humanoid")
|
|
			if h~=nil then
|
|
				if cantouch~=0 then
|
|
					if h.Parent.Name~=owner then
|
|
						
|
|
						if h.Parent:findFirstChild("zarm")~=nil then return end
|
|
|
|
						cantouch=0
|
|
|
|
						local larm=h.Parent:findFirstChild("Left Arm")
|
|
						local rarm=h.Parent:findFirstChild("Right Arm")
|
|
						
|
|
						if larm~=nil then
|
|
							larm:remove()
|
|
						end
|
|
						if rarm~=nil then
|
|
							rarm:remove()
|
|
						end
|
|
						local zee=script.Parent.Parent:findFirstChild("zarm")
|
|
						if zee~=nil then
|
|
							local zlarm=zee:clone()
|
|
							local zrarm=zee:clone()
|
|
							if zlarm~=nil then
|
|
|
|
							local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
|
|
								zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
|
|
								zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
|
|
								zlarm.Parent=h.Parent
|
|
								zrarm.Parent=h.Parent
|
|
								zlarm:makeJoints()
|
|
								zrarm:makeJoints()
|
|
								zlarm.Anchored=false
|
|
								zrarm.Anchored=false
|
|
								wait(0.1)
|
|
								h.Parent.Head.Color=zee.Color
|
|
							else print("no zee"); return end
|
|
						end
|
|
						wait(1)
|
|
						cantouch=1
|
|
					end
|
|
				end
|
|
			end
|
|
	end
|
|
end
|
|
|
|
script.Parent.Touched:connect(onTouched)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="ObjectValue" referent="RBX214">
|
|
<Properties>
|
|
<string name="Name">IsNZ</string>
|
|
<Ref name="Value">null</Ref>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="IntValue" referent="RBX215">
|
|
<Properties>
|
|
<string name="Name">Mode</string>
|
|
<int name="Value">0</int>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX216">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">local larm = script.Parent:FindFirstChild("Left Arm")
|
|
local rarm = script.Parent:FindFirstChild("Right Arm")
|
|
|
|
function findNearestTorso(pos)
|
|
	local list = game.Workspace:children()
|
|
	local torso = nil
|
|
	local dist = 1000
|
|
	local temp = nil
|
|
	local human = nil
|
|
	local temp2 = nil
|
|
	for x = 1, #list do
|
|
		temp2 = list[x]
|
|
		if (temp2.className == "Model") and (temp2 ~= script.Parent) then
|
|
			temp = temp2:findFirstChild("Right Arm")
|
|
			human = temp2:findFirstChild("Humanoid")
|
|
			if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
|
|
				if (temp.Position - pos).magnitude < dist then
|
|
					torso = temp
|
|
					dist = (temp.Position - pos).magnitude
|
|
				end
|
|
			end
|
|
		end
|
|
	end
|
|
	return torso
|
|
end
|
|
|
|
|
|
|
|
|
|
while true do
|
|
	wait(math.random(1,5))
|
|
	local target = findNearestTorso(script.Parent.Torso.Position)
|
|
	if target ~= nil then
|
|
		script.Parent.Humanoid:MoveTo(target.Position, target)
|
|
	end
|
|
|
|
end
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX217">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Health</string>
|
|
<ProtectedString name="Source">function waitForChild(parent, childName)
|
|
	while true do
|
|
		local child = parent:findFirstChild(childName)
|
|
		if child then
|
|
			return child
|
|
		end
|
|
		parent.ChildAdded:wait()
|
|
	end
|
|
end
|
|
|
|
-- declarations
|
|
|
|
local Figure = script.Parent
|
|
local Head = waitForChild(Figure, "Head")
|
|
local Humanoid = waitForChild(Figure, "Humanoid")
|
|
Humanoid.Health=500
|
|
-- regeneration
|
|
while true do
|
|
	local s = wait(4)
|
|
	local health = Humanoid.Health
|
|
	if health > 0 and health < Humanoid.MaxHealth then
|
|
		health = health + 0.08 * s * Humanoid.MaxHealth
|
|
		if health * 1.05 < Humanoid.MaxHealth then
|
|
			Humanoid.Health = health
|
|
		else
|
|
			Humanoid.Health = Humanoid.MaxHealth
|
|
		end
|
|
	end
|
|
end
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX218">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Respawn</string>
|
|
<ProtectedString name="Source">name="Humanoid"
|
|
|
|
robo=script.Parent:clone()
|
|
|
|
while true do
|
|
	wait(1)
|
|
	if script.Parent.Humanoid.Health<1 then
|
|
		robot=robo:clone()
|
|
		robot.Parent=script.Parent.Parent
|
|
		robot:makeJoints()
|
|
		script.Parent:remove()
|
|
	end
|
|
end
|
|
		
|
|
|
|
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Model" referent="RBX219">
|
|
<Properties>
|
|
<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">Zombie</string>
|
|
<Ref name="PrimaryPart">null</Ref>
|
|
</Properties>
|
|
<Item class="Part" referent="RBX220">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-11.1644897</X>
|
|
<Y>122.565025</Y>
|
|
<Z>-4.72984886</Z>
|
|
<R00>-0.454648674</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.708073378</R02>
|
|
<R10>0.291926563</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.454648674</R12>
|
|
<R20>-0.841470957</R20>
|
|
<R21>0</R21>
|
|
<R22>0.540302277</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.64807103e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.67023398e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="SpecialMesh" referent="RBX221">
|
|
<Properties>
|
|
<token name="LODX">2</token>
|
|
<token name="LODY">2</token>
|
|
<Content name="MeshId"><null></null></Content>
|
|
<token name="MeshType">0</token>
|
|
<string name="Name">Mesh</string>
|
|
<Vector3 name="Offset">
|
|
<X>0</X>
|
|
<Y>0</Y>
|
|
<Z>0</Z>
|
|
</Vector3>
|
|
<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>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Decal" referent="RBX222">
|
|
<Properties>
|
|
<token name="Face">5</token>
|
|
<string name="Name">face</string>
|
|
<float name="Shiny">20</float>
|
|
<float name="Specular">0</float>
|
|
<Content name="Texture"><null></null></Content>
|
|
<float name="Transparency">0</float>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Part" referent="RBX223">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-10.3540363</X>
|
|
<Y>123.827232</Y>
|
|
<Z>-4.72984886</Z>
|
|
<R00>-0.454648674</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.708073378</R02>
|
|
<R10>0.291926563</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.454648674</R12>
|
|
<R20>-0.841470957</R20>
|
|
<R21>0</R21>
|
|
<R22>0.540302277</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.64798347e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64324075e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX224">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-9.04610729</X>
|
|
<Y>125.364212</Y>
|
|
<Z>-4.3091135</Z>
|
|
<R00>-0.454648674</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.708073378</R02>
|
|
<R10>0.291926563</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.454648674</R12>
|
|
<R20>-0.841470957</R20>
|
|
<R21>0</R21>
|
|
<R22>0.540302277</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.66191662e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.59965835e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>1</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX225">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-9.50075626</X>
|
|
<Y>125.656136</Y>
|
|
<Z>-5.15058422</Z>
|
|
<R00>-0.454648674</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.708073378</R02>
|
|
<R10>0.291926563</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.454648674</R12>
|
|
<R20>-0.841470957</R20>
|
|
<R21>0</R21>
|
|
<R22>0.540302277</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.63381671e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.61484164e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>1</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Humanoid" referent="RBX226">
|
|
<Properties>
|
|
<float name="Health">100</float>
|
|
<float name="MaxHealth">100</float>
|
|
<string name="Name">Humanoid</string>
|
|
<token name="NameOcclusion">0</token>
|
|
<float name="WalkSpeed">16</float>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX227">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-9.58817768</X>
|
|
<Y>122.74128</Y>
|
|
<Z>-3.73779345</Z>
|
|
<R00>0.708073378</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.454648674</R02>
|
|
<R10>-0.454648674</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.291926563</R12>
|
|
<R20>-0.540302277</R20>
|
|
<R21>0</R21>
|
|
<R22>-0.841470957</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">zarm</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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.68116343e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.61764016e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX228">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">wait(1)
|
|
owner=script.Parent.Parent.Name
|
|
|
|
function onTouched(part)
|
|
	if part.Parent ~= nil then
|
|
		local h = part.Parent:findFirstChild("Humanoid")
|
|
			if h~=nil then
|
|
				if cantouch~=0 then
|
|
					if h.Parent.Name~=owner then
|
|
						
|
|
						if h.Parent:findFirstChild("zarm")~=nil then return end
|
|
|
|
						cantouch=0
|
|
|
|
						local larm=h.Parent:findFirstChild("Left Arm")
|
|
						local rarm=h.Parent:findFirstChild("Right Arm")
|
|
						
|
|
						if larm~=nil then
|
|
							larm:remove()
|
|
						end
|
|
						if rarm~=nil then
|
|
							rarm:remove()
|
|
						end
|
|
						local zee=script.Parent.Parent:findFirstChild("zarm")
|
|
						if zee~=nil then
|
|
							local zlarm=zee:clone()
|
|
							local zrarm=zee:clone()
|
|
							if zlarm~=nil then
|
|
|
|
							local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
|
|
								zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
|
|
								zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
|
|
								zlarm.Parent=h.Parent
|
|
								zrarm.Parent=h.Parent
|
|
								zlarm:makeJoints()
|
|
								zrarm:makeJoints()
|
|
								zlarm.Anchored=false
|
|
								zrarm.Anchored=false
|
|
								wait(0.1)
|
|
								h.Parent.Head.Color=zee.Color
|
|
							else print("no zee"); return end
|
|
						end
|
|
						wait(1)
|
|
						cantouch=1
|
|
					end
|
|
				end
|
|
			end
|
|
	end
|
|
end
|
|
|
|
script.Parent.Touched:connect(onTouched)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Part" referent="RBX229">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-10.9521236</X>
|
|
<Y>123.617065</Y>
|
|
<Z>-6.26220655</Z>
|
|
<R00>0.708073378</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.454648674</R02>
|
|
<R10>-0.454648674</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.291926563</R12>
|
|
<R20>-0.540302277</R20>
|
|
<R21>0</R21>
|
|
<R22>-0.841470957</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">zarm</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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.59686371e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.66319002e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX230">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">wait(1)
|
|
owner=script.Parent.Parent.Name
|
|
|
|
function onTouched(part)
|
|
	if part.Parent ~= nil then
|
|
		local h = part.Parent:findFirstChild("Humanoid")
|
|
			if h~=nil then
|
|
				if cantouch~=0 then
|
|
					if h.Parent.Name~=owner then
|
|
						
|
|
						if h.Parent:findFirstChild("zarm")~=nil then return end
|
|
|
|
						cantouch=0
|
|
|
|
						local larm=h.Parent:findFirstChild("Left Arm")
|
|
						local rarm=h.Parent:findFirstChild("Right Arm")
|
|
						
|
|
						if larm~=nil then
|
|
							larm:remove()
|
|
						end
|
|
						if rarm~=nil then
|
|
							rarm:remove()
|
|
						end
|
|
						local zee=script.Parent.Parent:findFirstChild("zarm")
|
|
						if zee~=nil then
|
|
							local zlarm=zee:clone()
|
|
							local zrarm=zee:clone()
|
|
							if zlarm~=nil then
|
|
|
|
							local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
|
|
								zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
|
|
								zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
|
|
								zlarm.Parent=h.Parent
|
|
								zrarm.Parent=h.Parent
|
|
								zlarm:makeJoints()
|
|
								zrarm:makeJoints()
|
|
								zlarm.Anchored=false
|
|
								zrarm.Anchored=false
|
|
								wait(0.1)
|
|
								h.Parent.Head.Color=zee.Color
|
|
							else print("no zee"); return end
|
|
						end
|
|
						wait(1)
|
|
						cantouch=1
|
|
					end
|
|
				end
|
|
			end
|
|
	end
|
|
end
|
|
|
|
script.Parent.Touched:connect(onTouched)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="ObjectValue" referent="RBX231">
|
|
<Properties>
|
|
<string name="Name">IsNZ</string>
|
|
<Ref name="Value">null</Ref>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="IntValue" referent="RBX232">
|
|
<Properties>
|
|
<string name="Name">Mode</string>
|
|
<int name="Value">0</int>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX233">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">local larm = script.Parent:FindFirstChild("Left Arm")
|
|
local rarm = script.Parent:FindFirstChild("Right Arm")
|
|
|
|
function findNearestTorso(pos)
|
|
	local list = game.Workspace:children()
|
|
	local torso = nil
|
|
	local dist = 1000
|
|
	local temp = nil
|
|
	local human = nil
|
|
	local temp2 = nil
|
|
	for x = 1, #list do
|
|
		temp2 = list[x]
|
|
		if (temp2.className == "Model") and (temp2 ~= script.Parent) then
|
|
			temp = temp2:findFirstChild("Right Arm")
|
|
			human = temp2:findFirstChild("Humanoid")
|
|
			if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
|
|
				if (temp.Position - pos).magnitude < dist then
|
|
					torso = temp
|
|
					dist = (temp.Position - pos).magnitude
|
|
				end
|
|
			end
|
|
		end
|
|
	end
|
|
	return torso
|
|
end
|
|
|
|
|
|
|
|
|
|
while true do
|
|
	wait(math.random(1,5))
|
|
	local target = findNearestTorso(script.Parent.Torso.Position)
|
|
	if target ~= nil then
|
|
		script.Parent.Humanoid:MoveTo(target.Position, target)
|
|
	end
|
|
|
|
end
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX234">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Health</string>
|
|
<ProtectedString name="Source">function waitForChild(parent, childName)
|
|
	while true do
|
|
		local child = parent:findFirstChild(childName)
|
|
		if child then
|
|
			return child
|
|
		end
|
|
		parent.ChildAdded:wait()
|
|
	end
|
|
end
|
|
|
|
-- declarations
|
|
|
|
local Figure = script.Parent
|
|
local Head = waitForChild(Figure, "Head")
|
|
local Humanoid = waitForChild(Figure, "Humanoid")
|
|
Humanoid.Health=500
|
|
-- regeneration
|
|
while true do
|
|
	local s = wait(4)
|
|
	local health = Humanoid.Health
|
|
	if health > 0 and health < Humanoid.MaxHealth then
|
|
		health = health + 0.08 * s * Humanoid.MaxHealth
|
|
		if health * 1.05 < Humanoid.MaxHealth then
|
|
			Humanoid.Health = health
|
|
		else
|
|
			Humanoid.Health = Humanoid.MaxHealth
|
|
		end
|
|
	end
|
|
end
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX235">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Respawn</string>
|
|
<ProtectedString name="Source">name="Humanoid"
|
|
|
|
robo=script.Parent:clone()
|
|
|
|
while true do
|
|
	wait(1)
|
|
	if script.Parent.Humanoid.Health<1 then
|
|
		robot=robo:clone()
|
|
		robot.Parent=script.Parent.Parent
|
|
		robot:makeJoints()
|
|
		script.Parent:remove()
|
|
	end
|
|
end
|
|
		
|
|
|
|
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Model" referent="RBX236">
|
|
<Properties>
|
|
<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">Zombie</string>
|
|
<Ref name="PrimaryPart">null</Ref>
|
|
</Properties>
|
|
<Item class="Part" referent="RBX237">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-15.1644897</X>
|
|
<Y>108.165016</Y>
|
|
<Z>18.2701511</Z>
|
|
<R00>-0.454648674</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.708073378</R02>
|
|
<R10>0.291926563</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.454648674</R12>
|
|
<R20>-0.841470957</R20>
|
|
<R21>0</R21>
|
|
<R22>0.540302277</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.64807103e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.67023398e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="SpecialMesh" referent="RBX238">
|
|
<Properties>
|
|
<token name="LODX">2</token>
|
|
<token name="LODY">2</token>
|
|
<Content name="MeshId"><null></null></Content>
|
|
<token name="MeshType">0</token>
|
|
<string name="Name">Mesh</string>
|
|
<Vector3 name="Offset">
|
|
<X>0</X>
|
|
<Y>0</Y>
|
|
<Z>0</Z>
|
|
</Vector3>
|
|
<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>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Decal" referent="RBX239">
|
|
<Properties>
|
|
<token name="Face">5</token>
|
|
<string name="Name">face</string>
|
|
<float name="Shiny">20</float>
|
|
<float name="Specular">0</float>
|
|
<Content name="Texture"><null></null></Content>
|
|
<float name="Transparency">0</float>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Part" referent="RBX240">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-14.3540363</X>
|
|
<Y>109.427223</Y>
|
|
<Z>18.2701511</Z>
|
|
<R00>-0.454648674</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.708073378</R02>
|
|
<R10>0.291926563</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.454648674</R12>
|
|
<R20>-0.841470957</R20>
|
|
<R21>0</R21>
|
|
<R22>0.540302277</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.64798347e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64324075e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX241">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-13.0461073</X>
|
|
<Y>110.964203</Y>
|
|
<Z>18.6908875</Z>
|
|
<R00>-0.454648674</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.708073378</R02>
|
|
<R10>0.291926563</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.454648674</R12>
|
|
<R20>-0.841470957</R20>
|
|
<R21>0</R21>
|
|
<R22>0.540302277</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.66191662e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.59965835e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>1</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX242">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-13.5007563</X>
|
|
<Y>111.256126</Y>
|
|
<Z>17.8494148</Z>
|
|
<R00>-0.454648674</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.708073378</R02>
|
|
<R10>0.291926563</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.454648674</R12>
|
|
<R20>-0.841470957</R20>
|
|
<R21>0</R21>
|
|
<R22>0.540302277</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.63381671e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.61484164e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>1</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Humanoid" referent="RBX243">
|
|
<Properties>
|
|
<float name="Health">100</float>
|
|
<float name="MaxHealth">100</float>
|
|
<string name="Name">Humanoid</string>
|
|
<token name="NameOcclusion">0</token>
|
|
<float name="WalkSpeed">16</float>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX244">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-13.5881777</X>
|
|
<Y>108.34127</Y>
|
|
<Z>19.262207</Z>
|
|
<R00>0.708073378</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.454648674</R02>
|
|
<R10>-0.454648674</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.291926563</R12>
|
|
<R20>-0.540302277</R20>
|
|
<R21>0</R21>
|
|
<R22>-0.841470957</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">zarm</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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.68116343e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.61764016e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX245">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">wait(1)
|
|
owner=script.Parent.Parent.Name
|
|
|
|
function onTouched(part)
|
|
	if part.Parent ~= nil then
|
|
		local h = part.Parent:findFirstChild("Humanoid")
|
|
			if h~=nil then
|
|
				if cantouch~=0 then
|
|
					if h.Parent.Name~=owner then
|
|
						
|
|
						if h.Parent:findFirstChild("zarm")~=nil then return end
|
|
|
|
						cantouch=0
|
|
|
|
						local larm=h.Parent:findFirstChild("Left Arm")
|
|
						local rarm=h.Parent:findFirstChild("Right Arm")
|
|
						
|
|
						if larm~=nil then
|
|
							larm:remove()
|
|
						end
|
|
						if rarm~=nil then
|
|
							rarm:remove()
|
|
						end
|
|
						local zee=script.Parent.Parent:findFirstChild("zarm")
|
|
						if zee~=nil then
|
|
							local zlarm=zee:clone()
|
|
							local zrarm=zee:clone()
|
|
							if zlarm~=nil then
|
|
|
|
							local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
|
|
								zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
|
|
								zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
|
|
								zlarm.Parent=h.Parent
|
|
								zrarm.Parent=h.Parent
|
|
								zlarm:makeJoints()
|
|
								zrarm:makeJoints()
|
|
								zlarm.Anchored=false
|
|
								zrarm.Anchored=false
|
|
								wait(0.1)
|
|
								h.Parent.Head.Color=zee.Color
|
|
							else print("no zee"); return end
|
|
						end
|
|
						wait(1)
|
|
						cantouch=1
|
|
					end
|
|
				end
|
|
			end
|
|
	end
|
|
end
|
|
|
|
script.Parent.Touched:connect(onTouched)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Part" referent="RBX246">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-14.9521236</X>
|
|
<Y>109.217056</Y>
|
|
<Z>16.737793</Z>
|
|
<R00>0.708073378</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.454648674</R02>
|
|
<R10>-0.454648674</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.291926563</R12>
|
|
<R20>-0.540302277</R20>
|
|
<R21>0</R21>
|
|
<R22>-0.841470957</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">zarm</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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.59686371e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.66319002e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX247">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">wait(1)
|
|
owner=script.Parent.Parent.Name
|
|
|
|
function onTouched(part)
|
|
	if part.Parent ~= nil then
|
|
		local h = part.Parent:findFirstChild("Humanoid")
|
|
			if h~=nil then
|
|
				if cantouch~=0 then
|
|
					if h.Parent.Name~=owner then
|
|
						
|
|
						if h.Parent:findFirstChild("zarm")~=nil then return end
|
|
|
|
						cantouch=0
|
|
|
|
						local larm=h.Parent:findFirstChild("Left Arm")
|
|
						local rarm=h.Parent:findFirstChild("Right Arm")
|
|
						
|
|
						if larm~=nil then
|
|
							larm:remove()
|
|
						end
|
|
						if rarm~=nil then
|
|
							rarm:remove()
|
|
						end
|
|
						local zee=script.Parent.Parent:findFirstChild("zarm")
|
|
						if zee~=nil then
|
|
							local zlarm=zee:clone()
|
|
							local zrarm=zee:clone()
|
|
							if zlarm~=nil then
|
|
|
|
							local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
|
|
								zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
|
|
								zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
|
|
								zlarm.Parent=h.Parent
|
|
								zrarm.Parent=h.Parent
|
|
								zlarm:makeJoints()
|
|
								zrarm:makeJoints()
|
|
								zlarm.Anchored=false
|
|
								zrarm.Anchored=false
|
|
								wait(0.1)
|
|
								h.Parent.Head.Color=zee.Color
|
|
							else print("no zee"); return end
|
|
						end
|
|
						wait(1)
|
|
						cantouch=1
|
|
					end
|
|
				end
|
|
			end
|
|
	end
|
|
end
|
|
|
|
script.Parent.Touched:connect(onTouched)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="ObjectValue" referent="RBX248">
|
|
<Properties>
|
|
<string name="Name">IsNZ</string>
|
|
<Ref name="Value">null</Ref>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="IntValue" referent="RBX249">
|
|
<Properties>
|
|
<string name="Name">Mode</string>
|
|
<int name="Value">0</int>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX250">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">local larm = script.Parent:FindFirstChild("Left Arm")
|
|
local rarm = script.Parent:FindFirstChild("Right Arm")
|
|
|
|
function findNearestTorso(pos)
|
|
	local list = game.Workspace:children()
|
|
	local torso = nil
|
|
	local dist = 1000
|
|
	local temp = nil
|
|
	local human = nil
|
|
	local temp2 = nil
|
|
	for x = 1, #list do
|
|
		temp2 = list[x]
|
|
		if (temp2.className == "Model") and (temp2 ~= script.Parent) then
|
|
			temp = temp2:findFirstChild("Right Arm")
|
|
			human = temp2:findFirstChild("Humanoid")
|
|
			if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
|
|
				if (temp.Position - pos).magnitude < dist then
|
|
					torso = temp
|
|
					dist = (temp.Position - pos).magnitude
|
|
				end
|
|
			end
|
|
		end
|
|
	end
|
|
	return torso
|
|
end
|
|
|
|
|
|
|
|
|
|
while true do
|
|
	wait(math.random(1,5))
|
|
	local target = findNearestTorso(script.Parent.Torso.Position)
|
|
	if target ~= nil then
|
|
		script.Parent.Humanoid:MoveTo(target.Position, target)
|
|
	end
|
|
|
|
end
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX251">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Health</string>
|
|
<ProtectedString name="Source">function waitForChild(parent, childName)
|
|
	while true do
|
|
		local child = parent:findFirstChild(childName)
|
|
		if child then
|
|
			return child
|
|
		end
|
|
		parent.ChildAdded:wait()
|
|
	end
|
|
end
|
|
|
|
-- declarations
|
|
|
|
local Figure = script.Parent
|
|
local Head = waitForChild(Figure, "Head")
|
|
local Humanoid = waitForChild(Figure, "Humanoid")
|
|
Humanoid.Health=500
|
|
-- regeneration
|
|
while true do
|
|
	local s = wait(4)
|
|
	local health = Humanoid.Health
|
|
	if health > 0 and health < Humanoid.MaxHealth then
|
|
		health = health + 0.08 * s * Humanoid.MaxHealth
|
|
		if health * 1.05 < Humanoid.MaxHealth then
|
|
			Humanoid.Health = health
|
|
		else
|
|
			Humanoid.Health = Humanoid.MaxHealth
|
|
		end
|
|
	end
|
|
end
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX252">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Respawn</string>
|
|
<ProtectedString name="Source">name="Humanoid"
|
|
|
|
robo=script.Parent:clone()
|
|
|
|
while true do
|
|
	wait(1)
|
|
	if script.Parent.Humanoid.Health<1 then
|
|
		robot=robo:clone()
|
|
		robot.Parent=script.Parent.Parent
|
|
		robot:makeJoints()
|
|
		script.Parent:remove()
|
|
	end
|
|
end
|
|
		
|
|
|
|
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Model" referent="RBX253">
|
|
<Properties>
|
|
<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">Zombie</string>
|
|
<Ref name="PrimaryPart">null</Ref>
|
|
</Properties>
|
|
<Item class="Part" referent="RBX254">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-0.501815796</X>
|
|
<Y>121.809914</Y>
|
|
<Z>-12.1379089</Z>
|
|
<R00>1.49011612e-008</R00>
|
|
<R01>0</R01>
|
|
<R02>-0.999999881</R02>
|
|
<R10>1.49011612e-008</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>0</R12>
|
|
<R20>-0.99999994</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>1.49011612e-008</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.64808751e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64317968e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="SpecialMesh" referent="RBX255">
|
|
<Properties>
|
|
<token name="LODX">2</token>
|
|
<token name="LODY">2</token>
|
|
<Content name="MeshId"><null></null></Content>
|
|
<token name="MeshType">0</token>
|
|
<string name="Name">Mesh</string>
|
|
<Vector3 name="Offset">
|
|
<X>0</X>
|
|
<Y>0</Y>
|
|
<Z>0</Z>
|
|
</Vector3>
|
|
<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>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Decal" referent="RBX256">
|
|
<Properties>
|
|
<token name="Face">5</token>
|
|
<string name="Name">face</string>
|
|
<float name="Shiny">20</float>
|
|
<float name="Specular">0</float>
|
|
<Content name="Texture"><null></null></Content>
|
|
<float name="Transparency">0</float>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Part" referent="RBX257">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-0.501815796</X>
|
|
<Y>123.309914</Y>
|
|
<Z>-12.1379089</Z>
|
|
<R00>1.49011612e-008</R00>
|
|
<R01>0</R01>
|
|
<R02>-0.999999881</R02>
|
|
<R10>1.49011612e-008</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>0</R12>
|
|
<R20>-0.99999994</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>1.49011612e-008</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.64798347e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64324075e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX258">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-0.501815796</X>
|
|
<Y>125.309914</Y>
|
|
<Z>-11.6379089</Z>
|
|
<R00>1.49011612e-008</R00>
|
|
<R01>0</R01>
|
|
<R02>-0.999999881</R02>
|
|
<R10>1.49011612e-008</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>0</R12>
|
|
<R20>-0.99999994</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>1.49011612e-008</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.66452934e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64332218e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>1</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX259">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-0.501815796</X>
|
|
<Y>125.309914</Y>
|
|
<Z>-12.6379089</Z>
|
|
<R00>1.49011612e-008</R00>
|
|
<R01>0</R01>
|
|
<R02>-0.999999881</R02>
|
|
<R10>1.49011612e-008</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>0</R12>
|
|
<R20>-0.99999994</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>1.49011612e-008</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.63115971e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64332218e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>1</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Humanoid" referent="RBX260">
|
|
<Properties>
|
|
<float name="Health">100</float>
|
|
<float name="MaxHealth">100</float>
|
|
<string name="Name">Humanoid</string>
|
|
<token name="NameOcclusion">0</token>
|
|
<float name="WalkSpeed">16</float>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX261">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-0.00181588531</X>
|
|
<Y>122.809914</Y>
|
|
<Z>-10.6379089</Z>
|
|
<R00>0.999999881</R00>
|
|
<R01>0</R01>
|
|
<R02>1.49011612e-008</R02>
|
|
<R10>0</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>1.49011612e-008</R12>
|
|
<R20>-1.49011612e-008</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>-0.99999994</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">zarm</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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.69807249e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.62653558e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX262">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">wait(1)
|
|
owner=script.Parent.Parent.Name
|
|
|
|
function onTouched(part)
|
|
	if part.Parent ~= nil then
|
|
		local h = part.Parent:findFirstChild("Humanoid")
|
|
			if h~=nil then
|
|
				if cantouch~=0 then
|
|
					if h.Parent.Name~=owner then
|
|
						
|
|
						if h.Parent:findFirstChild("zarm")~=nil then return end
|
|
|
|
						cantouch=0
|
|
|
|
						local larm=h.Parent:findFirstChild("Left Arm")
|
|
						local rarm=h.Parent:findFirstChild("Right Arm")
|
|
						
|
|
						if larm~=nil then
|
|
							larm:remove()
|
|
						end
|
|
						if rarm~=nil then
|
|
							rarm:remove()
|
|
						end
|
|
						local zee=script.Parent.Parent:findFirstChild("zarm")
|
|
						if zee~=nil then
|
|
							local zlarm=zee:clone()
|
|
							local zrarm=zee:clone()
|
|
							if zlarm~=nil then
|
|
|
|
							local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
|
|
								zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
|
|
								zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
|
|
								zlarm.Parent=h.Parent
|
|
								zrarm.Parent=h.Parent
|
|
								zlarm:makeJoints()
|
|
								zrarm:makeJoints()
|
|
								zlarm.Anchored=false
|
|
								zrarm.Anchored=false
|
|
								wait(0.1)
|
|
								h.Parent.Head.Color=zee.Color
|
|
							else print("no zee"); return end
|
|
						end
|
|
						wait(1)
|
|
						cantouch=1
|
|
					end
|
|
				end
|
|
			end
|
|
	end
|
|
end
|
|
|
|
script.Parent.Touched:connect(onTouched)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Part" referent="RBX263">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-0.0018158257</X>
|
|
<Y>122.809914</Y>
|
|
<Z>-13.6379089</Z>
|
|
<R00>0.999999881</R00>
|
|
<R01>0</R01>
|
|
<R02>1.49011612e-008</R02>
|
|
<R10>0</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>1.49011612e-008</R12>
|
|
<R20>-1.49011612e-008</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>-0.99999994</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">zarm</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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.5979636e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.62653558e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX264">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">wait(1)
|
|
owner=script.Parent.Parent.Name
|
|
|
|
function onTouched(part)
|
|
	if part.Parent ~= nil then
|
|
		local h = part.Parent:findFirstChild("Humanoid")
|
|
			if h~=nil then
|
|
				if cantouch~=0 then
|
|
					if h.Parent.Name~=owner then
|
|
						
|
|
						if h.Parent:findFirstChild("zarm")~=nil then return end
|
|
|
|
						cantouch=0
|
|
|
|
						local larm=h.Parent:findFirstChild("Left Arm")
|
|
						local rarm=h.Parent:findFirstChild("Right Arm")
|
|
						
|
|
						if larm~=nil then
|
|
							larm:remove()
|
|
						end
|
|
						if rarm~=nil then
|
|
							rarm:remove()
|
|
						end
|
|
						local zee=script.Parent.Parent:findFirstChild("zarm")
|
|
						if zee~=nil then
|
|
							local zlarm=zee:clone()
|
|
							local zrarm=zee:clone()
|
|
							if zlarm~=nil then
|
|
|
|
							local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
|
|
								zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
|
|
								zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
|
|
								zlarm.Parent=h.Parent
|
|
								zrarm.Parent=h.Parent
|
|
								zlarm:makeJoints()
|
|
								zrarm:makeJoints()
|
|
								zlarm.Anchored=false
|
|
								zrarm.Anchored=false
|
|
								wait(0.1)
|
|
								h.Parent.Head.Color=zee.Color
|
|
							else print("no zee"); return end
|
|
						end
|
|
						wait(1)
|
|
						cantouch=1
|
|
					end
|
|
				end
|
|
			end
|
|
	end
|
|
end
|
|
|
|
script.Parent.Touched:connect(onTouched)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="ObjectValue" referent="RBX265">
|
|
<Properties>
|
|
<string name="Name">IsNZ</string>
|
|
<Ref name="Value">null</Ref>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="IntValue" referent="RBX266">
|
|
<Properties>
|
|
<string name="Name">Mode</string>
|
|
<int name="Value">0</int>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX267">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">local larm = script.Parent:FindFirstChild("Left Arm")
|
|
local rarm = script.Parent:FindFirstChild("Right Arm")
|
|
|
|
function findNearestTorso(pos)
|
|
	local list = game.Workspace:children()
|
|
	local torso = nil
|
|
	local dist = 1000
|
|
	local temp = nil
|
|
	local human = nil
|
|
	local temp2 = nil
|
|
	for x = 1, #list do
|
|
		temp2 = list[x]
|
|
		if (temp2.className == "Model") and (temp2 ~= script.Parent) then
|
|
			temp = temp2:findFirstChild("Right Arm")
|
|
			human = temp2:findFirstChild("Humanoid")
|
|
			if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
|
|
				if (temp.Position - pos).magnitude < dist then
|
|
					torso = temp
|
|
					dist = (temp.Position - pos).magnitude
|
|
				end
|
|
			end
|
|
		end
|
|
	end
|
|
	return torso
|
|
end
|
|
|
|
|
|
|
|
|
|
while true do
|
|
	wait(math.random(1,5))
|
|
	local target = findNearestTorso(script.Parent.Torso.Position)
|
|
	if target ~= nil then
|
|
		script.Parent.Humanoid:MoveTo(target.Position, target)
|
|
	end
|
|
|
|
end
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX268">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Health</string>
|
|
<ProtectedString name="Source">function waitForChild(parent, childName)
|
|
	while true do
|
|
		local child = parent:findFirstChild(childName)
|
|
		if child then
|
|
			return child
|
|
		end
|
|
		parent.ChildAdded:wait()
|
|
	end
|
|
end
|
|
|
|
-- declarations
|
|
|
|
local Figure = script.Parent
|
|
local Head = waitForChild(Figure, "Head")
|
|
local Humanoid = waitForChild(Figure, "Humanoid")
|
|
Humanoid.Health=500
|
|
-- regeneration
|
|
while true do
|
|
	local s = wait(4)
|
|
	local health = Humanoid.Health
|
|
	if health > 0 and health < Humanoid.MaxHealth then
|
|
		health = health + 0.08 * s * Humanoid.MaxHealth
|
|
		if health * 1.05 < Humanoid.MaxHealth then
|
|
			Humanoid.Health = health
|
|
		else
|
|
			Humanoid.Health = Humanoid.MaxHealth
|
|
		end
|
|
	end
|
|
end
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX269">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Respawn</string>
|
|
<ProtectedString name="Source">name="Humanoid"
|
|
|
|
robo=script.Parent:clone()
|
|
|
|
while true do
|
|
	wait(1)
|
|
	if script.Parent.Humanoid.Health<1 then
|
|
		robot=robo:clone()
|
|
		robot.Parent=script.Parent.Parent
|
|
		robot:makeJoints()
|
|
		script.Parent:remove()
|
|
	end
|
|
end
|
|
		
|
|
|
|
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Model" referent="RBX270">
|
|
<Properties>
|
|
<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">Zombie</string>
|
|
<Ref name="PrimaryPart">null</Ref>
|
|
</Properties>
|
|
<Item class="Part" referent="RBX271">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-11.1644897</X>
|
|
<Y>113.765038</Y>
|
|
<Z>-4.72984886</Z>
|
|
<R00>-0.454648674</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.708073378</R02>
|
|
<R10>0.291926563</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.454648674</R12>
|
|
<R20>-0.841470957</R20>
|
|
<R21>0</R21>
|
|
<R22>0.540302277</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.64807103e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.67023398e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="SpecialMesh" referent="RBX272">
|
|
<Properties>
|
|
<token name="LODX">2</token>
|
|
<token name="LODY">2</token>
|
|
<Content name="MeshId"><null></null></Content>
|
|
<token name="MeshType">0</token>
|
|
<string name="Name">Mesh</string>
|
|
<Vector3 name="Offset">
|
|
<X>0</X>
|
|
<Y>0</Y>
|
|
<Z>0</Z>
|
|
</Vector3>
|
|
<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>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Decal" referent="RBX273">
|
|
<Properties>
|
|
<token name="Face">5</token>
|
|
<string name="Name">face</string>
|
|
<float name="Shiny">20</float>
|
|
<float name="Specular">0</float>
|
|
<Content name="Texture"><null></null></Content>
|
|
<float name="Transparency">0</float>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Part" referent="RBX274">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-10.3540363</X>
|
|
<Y>115.027245</Y>
|
|
<Z>-4.72984886</Z>
|
|
<R00>-0.454648674</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.708073378</R02>
|
|
<R10>0.291926563</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.454648674</R12>
|
|
<R20>-0.841470957</R20>
|
|
<R21>0</R21>
|
|
<R22>0.540302277</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.64798347e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64324075e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX275">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-9.04610729</X>
|
|
<Y>116.564224</Y>
|
|
<Z>-4.3091135</Z>
|
|
<R00>-0.454648674</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.708073378</R02>
|
|
<R10>0.291926563</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.454648674</R12>
|
|
<R20>-0.841470957</R20>
|
|
<R21>0</R21>
|
|
<R22>0.540302277</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.66191662e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.59965835e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>1</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX276">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-9.50075626</X>
|
|
<Y>116.856148</Y>
|
|
<Z>-5.15058422</Z>
|
|
<R00>-0.454648674</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.708073378</R02>
|
|
<R10>0.291926563</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.454648674</R12>
|
|
<R20>-0.841470957</R20>
|
|
<R21>0</R21>
|
|
<R22>0.540302277</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.63381671e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.61484164e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>1</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Humanoid" referent="RBX277">
|
|
<Properties>
|
|
<float name="Health">100</float>
|
|
<float name="MaxHealth">100</float>
|
|
<string name="Name">Humanoid</string>
|
|
<token name="NameOcclusion">0</token>
|
|
<float name="WalkSpeed">16</float>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX278">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-9.58817768</X>
|
|
<Y>113.941292</Y>
|
|
<Z>-3.73779345</Z>
|
|
<R00>0.708073378</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.454648674</R02>
|
|
<R10>-0.454648674</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.291926563</R12>
|
|
<R20>-0.540302277</R20>
|
|
<R21>0</R21>
|
|
<R22>-0.841470957</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">zarm</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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.68116343e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.61764016e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX279">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">wait(1)
|
|
owner=script.Parent.Parent.Name
|
|
|
|
function onTouched(part)
|
|
	if part.Parent ~= nil then
|
|
		local h = part.Parent:findFirstChild("Humanoid")
|
|
			if h~=nil then
|
|
				if cantouch~=0 then
|
|
					if h.Parent.Name~=owner then
|
|
						
|
|
						if h.Parent:findFirstChild("zarm")~=nil then return end
|
|
|
|
						cantouch=0
|
|
|
|
						local larm=h.Parent:findFirstChild("Left Arm")
|
|
						local rarm=h.Parent:findFirstChild("Right Arm")
|
|
						
|
|
						if larm~=nil then
|
|
							larm:remove()
|
|
						end
|
|
						if rarm~=nil then
|
|
							rarm:remove()
|
|
						end
|
|
						local zee=script.Parent.Parent:findFirstChild("zarm")
|
|
						if zee~=nil then
|
|
							local zlarm=zee:clone()
|
|
							local zrarm=zee:clone()
|
|
							if zlarm~=nil then
|
|
|
|
							local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
|
|
								zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
|
|
								zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
|
|
								zlarm.Parent=h.Parent
|
|
								zrarm.Parent=h.Parent
|
|
								zlarm:makeJoints()
|
|
								zrarm:makeJoints()
|
|
								zlarm.Anchored=false
|
|
								zrarm.Anchored=false
|
|
								wait(0.1)
|
|
								h.Parent.Head.Color=zee.Color
|
|
							else print("no zee"); return end
|
|
						end
|
|
						wait(1)
|
|
						cantouch=1
|
|
					end
|
|
				end
|
|
			end
|
|
	end
|
|
end
|
|
|
|
script.Parent.Touched:connect(onTouched)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Part" referent="RBX280">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-10.9521236</X>
|
|
<Y>114.817078</Y>
|
|
<Z>-6.26220655</Z>
|
|
<R00>0.708073378</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.454648674</R02>
|
|
<R10>-0.454648674</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.291926563</R12>
|
|
<R20>-0.540302277</R20>
|
|
<R21>0</R21>
|
|
<R22>-0.841470957</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">zarm</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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.59686371e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.66319002e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX281">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">wait(1)
|
|
owner=script.Parent.Parent.Name
|
|
|
|
function onTouched(part)
|
|
	if part.Parent ~= nil then
|
|
		local h = part.Parent:findFirstChild("Humanoid")
|
|
			if h~=nil then
|
|
				if cantouch~=0 then
|
|
					if h.Parent.Name~=owner then
|
|
						
|
|
						if h.Parent:findFirstChild("zarm")~=nil then return end
|
|
|
|
						cantouch=0
|
|
|
|
						local larm=h.Parent:findFirstChild("Left Arm")
|
|
						local rarm=h.Parent:findFirstChild("Right Arm")
|
|
						
|
|
						if larm~=nil then
|
|
							larm:remove()
|
|
						end
|
|
						if rarm~=nil then
|
|
							rarm:remove()
|
|
						end
|
|
						local zee=script.Parent.Parent:findFirstChild("zarm")
|
|
						if zee~=nil then
|
|
							local zlarm=zee:clone()
|
|
							local zrarm=zee:clone()
|
|
							if zlarm~=nil then
|
|
|
|
							local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
|
|
								zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
|
|
								zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
|
|
								zlarm.Parent=h.Parent
|
|
								zrarm.Parent=h.Parent
|
|
								zlarm:makeJoints()
|
|
								zrarm:makeJoints()
|
|
								zlarm.Anchored=false
|
|
								zrarm.Anchored=false
|
|
								wait(0.1)
|
|
								h.Parent.Head.Color=zee.Color
|
|
							else print("no zee"); return end
|
|
						end
|
|
						wait(1)
|
|
						cantouch=1
|
|
					end
|
|
				end
|
|
			end
|
|
	end
|
|
end
|
|
|
|
script.Parent.Touched:connect(onTouched)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="ObjectValue" referent="RBX282">
|
|
<Properties>
|
|
<string name="Name">IsNZ</string>
|
|
<Ref name="Value">null</Ref>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="IntValue" referent="RBX283">
|
|
<Properties>
|
|
<string name="Name">Mode</string>
|
|
<int name="Value">0</int>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX284">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">local larm = script.Parent:FindFirstChild("Left Arm")
|
|
local rarm = script.Parent:FindFirstChild("Right Arm")
|
|
|
|
function findNearestTorso(pos)
|
|
	local list = game.Workspace:children()
|
|
	local torso = nil
|
|
	local dist = 1000
|
|
	local temp = nil
|
|
	local human = nil
|
|
	local temp2 = nil
|
|
	for x = 1, #list do
|
|
		temp2 = list[x]
|
|
		if (temp2.className == "Model") and (temp2 ~= script.Parent) then
|
|
			temp = temp2:findFirstChild("Right Arm")
|
|
			human = temp2:findFirstChild("Humanoid")
|
|
			if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
|
|
				if (temp.Position - pos).magnitude < dist then
|
|
					torso = temp
|
|
					dist = (temp.Position - pos).magnitude
|
|
				end
|
|
			end
|
|
		end
|
|
	end
|
|
	return torso
|
|
end
|
|
|
|
|
|
|
|
|
|
while true do
|
|
	wait(math.random(1,5))
|
|
	local target = findNearestTorso(script.Parent.Torso.Position)
|
|
	if target ~= nil then
|
|
		script.Parent.Humanoid:MoveTo(target.Position, target)
|
|
	end
|
|
|
|
end
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX285">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Health</string>
|
|
<ProtectedString name="Source">function waitForChild(parent, childName)
|
|
	while true do
|
|
		local child = parent:findFirstChild(childName)
|
|
		if child then
|
|
			return child
|
|
		end
|
|
		parent.ChildAdded:wait()
|
|
	end
|
|
end
|
|
|
|
-- declarations
|
|
|
|
local Figure = script.Parent
|
|
local Head = waitForChild(Figure, "Head")
|
|
local Humanoid = waitForChild(Figure, "Humanoid")
|
|
Humanoid.Health=500
|
|
-- regeneration
|
|
while true do
|
|
	local s = wait(4)
|
|
	local health = Humanoid.Health
|
|
	if health > 0 and health < Humanoid.MaxHealth then
|
|
		health = health + 0.08 * s * Humanoid.MaxHealth
|
|
		if health * 1.05 < Humanoid.MaxHealth then
|
|
			Humanoid.Health = health
|
|
		else
|
|
			Humanoid.Health = Humanoid.MaxHealth
|
|
		end
|
|
	end
|
|
end
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX286">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Respawn</string>
|
|
<ProtectedString name="Source">name="Humanoid"
|
|
|
|
robo=script.Parent:clone()
|
|
|
|
while true do
|
|
	wait(1)
|
|
	if script.Parent.Humanoid.Health<1 then
|
|
		robot=robo:clone()
|
|
		robot.Parent=script.Parent.Parent
|
|
		robot:makeJoints()
|
|
		script.Parent:remove()
|
|
	end
|
|
end
|
|
		
|
|
|
|
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Model" referent="RBX287">
|
|
<Properties>
|
|
<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">Zombie</string>
|
|
<Ref name="PrimaryPart">null</Ref>
|
|
</Properties>
|
|
<Item class="Part" referent="RBX288">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-15.1644897</X>
|
|
<Y>94.9649887</Y>
|
|
<Z>18.2701511</Z>
|
|
<R00>-0.454648674</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.708073378</R02>
|
|
<R10>0.291926563</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.454648674</R12>
|
|
<R20>-0.841470957</R20>
|
|
<R21>0</R21>
|
|
<R22>0.540302277</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.64807103e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.67023398e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="SpecialMesh" referent="RBX289">
|
|
<Properties>
|
|
<token name="LODX">2</token>
|
|
<token name="LODY">2</token>
|
|
<Content name="MeshId"><null></null></Content>
|
|
<token name="MeshType">0</token>
|
|
<string name="Name">Mesh</string>
|
|
<Vector3 name="Offset">
|
|
<X>0</X>
|
|
<Y>0</Y>
|
|
<Z>0</Z>
|
|
</Vector3>
|
|
<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>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Decal" referent="RBX290">
|
|
<Properties>
|
|
<token name="Face">5</token>
|
|
<string name="Name">face</string>
|
|
<float name="Shiny">20</float>
|
|
<float name="Specular">0</float>
|
|
<Content name="Texture"><null></null></Content>
|
|
<float name="Transparency">0</float>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Part" referent="RBX291">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-14.3540363</X>
|
|
<Y>96.2271957</Y>
|
|
<Z>18.2701511</Z>
|
|
<R00>-0.454648674</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.708073378</R02>
|
|
<R10>0.291926563</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.454648674</R12>
|
|
<R20>-0.841470957</R20>
|
|
<R21>0</R21>
|
|
<R22>0.540302277</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.64798347e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64324075e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX292">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-13.0461073</X>
|
|
<Y>97.7641754</Y>
|
|
<Z>18.6908875</Z>
|
|
<R00>-0.454648674</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.708073378</R02>
|
|
<R10>0.291926563</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.454648674</R12>
|
|
<R20>-0.841470957</R20>
|
|
<R21>0</R21>
|
|
<R22>0.540302277</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.66191662e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.59965835e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>1</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX293">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-13.5007563</X>
|
|
<Y>98.0560989</Y>
|
|
<Z>17.8494148</Z>
|
|
<R00>-0.454648674</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.708073378</R02>
|
|
<R10>0.291926563</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.454648674</R12>
|
|
<R20>-0.841470957</R20>
|
|
<R21>0</R21>
|
|
<R22>0.540302277</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.63381671e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.61484164e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>1</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Humanoid" referent="RBX294">
|
|
<Properties>
|
|
<float name="Health">100</float>
|
|
<float name="MaxHealth">100</float>
|
|
<string name="Name">Humanoid</string>
|
|
<token name="NameOcclusion">0</token>
|
|
<float name="WalkSpeed">16</float>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX295">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-13.5881777</X>
|
|
<Y>95.141243</Y>
|
|
<Z>19.262207</Z>
|
|
<R00>0.708073378</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.454648674</R02>
|
|
<R10>-0.454648674</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.291926563</R12>
|
|
<R20>-0.540302277</R20>
|
|
<R21>0</R21>
|
|
<R22>-0.841470957</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">zarm</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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.68116343e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.61764016e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX296">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">wait(1)
|
|
owner=script.Parent.Parent.Name
|
|
|
|
function onTouched(part)
|
|
	if part.Parent ~= nil then
|
|
		local h = part.Parent:findFirstChild("Humanoid")
|
|
			if h~=nil then
|
|
				if cantouch~=0 then
|
|
					if h.Parent.Name~=owner then
|
|
						
|
|
						if h.Parent:findFirstChild("zarm")~=nil then return end
|
|
|
|
						cantouch=0
|
|
|
|
						local larm=h.Parent:findFirstChild("Left Arm")
|
|
						local rarm=h.Parent:findFirstChild("Right Arm")
|
|
						
|
|
						if larm~=nil then
|
|
							larm:remove()
|
|
						end
|
|
						if rarm~=nil then
|
|
							rarm:remove()
|
|
						end
|
|
						local zee=script.Parent.Parent:findFirstChild("zarm")
|
|
						if zee~=nil then
|
|
							local zlarm=zee:clone()
|
|
							local zrarm=zee:clone()
|
|
							if zlarm~=nil then
|
|
|
|
							local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
|
|
								zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
|
|
								zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
|
|
								zlarm.Parent=h.Parent
|
|
								zrarm.Parent=h.Parent
|
|
								zlarm:makeJoints()
|
|
								zrarm:makeJoints()
|
|
								zlarm.Anchored=false
|
|
								zrarm.Anchored=false
|
|
								wait(0.1)
|
|
								h.Parent.Head.Color=zee.Color
|
|
							else print("no zee"); return end
|
|
						end
|
|
						wait(1)
|
|
						cantouch=1
|
|
					end
|
|
				end
|
|
			end
|
|
	end
|
|
end
|
|
|
|
script.Parent.Touched:connect(onTouched)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Part" referent="RBX297">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-14.9521236</X>
|
|
<Y>96.0170288</Y>
|
|
<Z>16.737793</Z>
|
|
<R00>0.708073378</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.454648674</R02>
|
|
<R10>-0.454648674</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.291926563</R12>
|
|
<R20>-0.540302277</R20>
|
|
<R21>0</R21>
|
|
<R22>-0.841470957</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">zarm</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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.59686371e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.66319002e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX298">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">wait(1)
|
|
owner=script.Parent.Parent.Name
|
|
|
|
function onTouched(part)
|
|
	if part.Parent ~= nil then
|
|
		local h = part.Parent:findFirstChild("Humanoid")
|
|
			if h~=nil then
|
|
				if cantouch~=0 then
|
|
					if h.Parent.Name~=owner then
|
|
						
|
|
						if h.Parent:findFirstChild("zarm")~=nil then return end
|
|
|
|
						cantouch=0
|
|
|
|
						local larm=h.Parent:findFirstChild("Left Arm")
|
|
						local rarm=h.Parent:findFirstChild("Right Arm")
|
|
						
|
|
						if larm~=nil then
|
|
							larm:remove()
|
|
						end
|
|
						if rarm~=nil then
|
|
							rarm:remove()
|
|
						end
|
|
						local zee=script.Parent.Parent:findFirstChild("zarm")
|
|
						if zee~=nil then
|
|
							local zlarm=zee:clone()
|
|
							local zrarm=zee:clone()
|
|
							if zlarm~=nil then
|
|
|
|
							local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
|
|
								zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
|
|
								zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
|
|
								zlarm.Parent=h.Parent
|
|
								zrarm.Parent=h.Parent
|
|
								zlarm:makeJoints()
|
|
								zrarm:makeJoints()
|
|
								zlarm.Anchored=false
|
|
								zrarm.Anchored=false
|
|
								wait(0.1)
|
|
								h.Parent.Head.Color=zee.Color
|
|
							else print("no zee"); return end
|
|
						end
|
|
						wait(1)
|
|
						cantouch=1
|
|
					end
|
|
				end
|
|
			end
|
|
	end
|
|
end
|
|
|
|
script.Parent.Touched:connect(onTouched)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="ObjectValue" referent="RBX299">
|
|
<Properties>
|
|
<string name="Name">IsNZ</string>
|
|
<Ref name="Value">null</Ref>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="IntValue" referent="RBX300">
|
|
<Properties>
|
|
<string name="Name">Mode</string>
|
|
<int name="Value">0</int>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX301">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">local larm = script.Parent:FindFirstChild("Left Arm")
|
|
local rarm = script.Parent:FindFirstChild("Right Arm")
|
|
|
|
function findNearestTorso(pos)
|
|
	local list = game.Workspace:children()
|
|
	local torso = nil
|
|
	local dist = 1000
|
|
	local temp = nil
|
|
	local human = nil
|
|
	local temp2 = nil
|
|
	for x = 1, #list do
|
|
		temp2 = list[x]
|
|
		if (temp2.className == "Model") and (temp2 ~= script.Parent) then
|
|
			temp = temp2:findFirstChild("Right Arm")
|
|
			human = temp2:findFirstChild("Humanoid")
|
|
			if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
|
|
				if (temp.Position - pos).magnitude < dist then
|
|
					torso = temp
|
|
					dist = (temp.Position - pos).magnitude
|
|
				end
|
|
			end
|
|
		end
|
|
	end
|
|
	return torso
|
|
end
|
|
|
|
|
|
|
|
|
|
while true do
|
|
	wait(math.random(1,5))
|
|
	local target = findNearestTorso(script.Parent.Torso.Position)
|
|
	if target ~= nil then
|
|
		script.Parent.Humanoid:MoveTo(target.Position, target)
|
|
	end
|
|
|
|
end
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX302">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Health</string>
|
|
<ProtectedString name="Source">function waitForChild(parent, childName)
|
|
	while true do
|
|
		local child = parent:findFirstChild(childName)
|
|
		if child then
|
|
			return child
|
|
		end
|
|
		parent.ChildAdded:wait()
|
|
	end
|
|
end
|
|
|
|
-- declarations
|
|
|
|
local Figure = script.Parent
|
|
local Head = waitForChild(Figure, "Head")
|
|
local Humanoid = waitForChild(Figure, "Humanoid")
|
|
Humanoid.Health=500
|
|
-- regeneration
|
|
while true do
|
|
	local s = wait(4)
|
|
	local health = Humanoid.Health
|
|
	if health > 0 and health < Humanoid.MaxHealth then
|
|
		health = health + 0.08 * s * Humanoid.MaxHealth
|
|
		if health * 1.05 < Humanoid.MaxHealth then
|
|
			Humanoid.Health = health
|
|
		else
|
|
			Humanoid.Health = Humanoid.MaxHealth
|
|
		end
|
|
	end
|
|
end
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX303">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Respawn</string>
|
|
<ProtectedString name="Source">name="Humanoid"
|
|
|
|
robo=script.Parent:clone()
|
|
|
|
while true do
|
|
	wait(1)
|
|
	if script.Parent.Humanoid.Health<1 then
|
|
		robot=robo:clone()
|
|
		robot.Parent=script.Parent.Parent
|
|
		robot:makeJoints()
|
|
		script.Parent:remove()
|
|
	end
|
|
end
|
|
		
|
|
|
|
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Model" referent="RBX304">
|
|
<Properties>
|
|
<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">Zombie</string>
|
|
<Ref name="PrimaryPart">null</Ref>
|
|
</Properties>
|
|
<Item class="Part" referent="RBX305">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>5.50045776</X>
|
|
<Y>97.6973953</Y>
|
|
<Z>17.2844772</Z>
|
|
<R00>1.49011612e-008</R00>
|
|
<R01>0</R01>
|
|
<R02>-0.999999881</R02>
|
|
<R10>1.49011612e-008</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>0</R12>
|
|
<R20>-0.99999994</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>1.49011612e-008</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.64808751e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64317968e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="SpecialMesh" referent="RBX306">
|
|
<Properties>
|
|
<token name="LODX">2</token>
|
|
<token name="LODY">2</token>
|
|
<Content name="MeshId"><null></null></Content>
|
|
<token name="MeshType">0</token>
|
|
<string name="Name">Mesh</string>
|
|
<Vector3 name="Offset">
|
|
<X>0</X>
|
|
<Y>0</Y>
|
|
<Z>0</Z>
|
|
</Vector3>
|
|
<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>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Decal" referent="RBX307">
|
|
<Properties>
|
|
<token name="Face">5</token>
|
|
<string name="Name">face</string>
|
|
<float name="Shiny">20</float>
|
|
<float name="Specular">0</float>
|
|
<Content name="Texture"><null></null></Content>
|
|
<float name="Transparency">0</float>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Part" referent="RBX308">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>5.50045776</X>
|
|
<Y>99.1973953</Y>
|
|
<Z>17.2844772</Z>
|
|
<R00>1.49011612e-008</R00>
|
|
<R01>0</R01>
|
|
<R02>-0.999999881</R02>
|
|
<R10>1.49011612e-008</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>0</R12>
|
|
<R20>-0.99999994</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>1.49011612e-008</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.64798347e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64324075e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX309">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>5.50045776</X>
|
|
<Y>101.197395</Y>
|
|
<Z>17.7844772</Z>
|
|
<R00>1.49011612e-008</R00>
|
|
<R01>0</R01>
|
|
<R02>-0.999999881</R02>
|
|
<R10>1.49011612e-008</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>0</R12>
|
|
<R20>-0.99999994</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>1.49011612e-008</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.66452934e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64332218e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>1</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX310">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>5.50045776</X>
|
|
<Y>101.197395</Y>
|
|
<Z>16.7844772</Z>
|
|
<R00>1.49011612e-008</R00>
|
|
<R01>0</R01>
|
|
<R02>-0.999999881</R02>
|
|
<R10>1.49011612e-008</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>0</R12>
|
|
<R20>-0.99999994</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>1.49011612e-008</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.63115971e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64332218e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>1</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Humanoid" referent="RBX311">
|
|
<Properties>
|
|
<float name="Health">100</float>
|
|
<float name="MaxHealth">100</float>
|
|
<string name="Name">Humanoid</string>
|
|
<token name="NameOcclusion">0</token>
|
|
<float name="WalkSpeed">16</float>
|
|
</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">0</token>
|
|
<token name="BottomSurfaceInput">0</token>
|
|
<int name="BrickColor">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>6.00045776</X>
|
|
<Y>98.6973953</Y>
|
|
<Z>18.7844772</Z>
|
|
<R00>0.999999881</R00>
|
|
<R01>0</R01>
|
|
<R02>1.49011612e-008</R02>
|
|
<R10>0</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>1.49011612e-008</R12>
|
|
<R20>-1.49011612e-008</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>-0.99999994</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">zarm</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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.69807249e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.62653558e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX313">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">wait(1)
|
|
owner=script.Parent.Parent.Name
|
|
|
|
function onTouched(part)
|
|
	if part.Parent ~= nil then
|
|
		local h = part.Parent:findFirstChild("Humanoid")
|
|
			if h~=nil then
|
|
				if cantouch~=0 then
|
|
					if h.Parent.Name~=owner then
|
|
						
|
|
						if h.Parent:findFirstChild("zarm")~=nil then return end
|
|
|
|
						cantouch=0
|
|
|
|
						local larm=h.Parent:findFirstChild("Left Arm")
|
|
						local rarm=h.Parent:findFirstChild("Right Arm")
|
|
						
|
|
						if larm~=nil then
|
|
							larm:remove()
|
|
						end
|
|
						if rarm~=nil then
|
|
							rarm:remove()
|
|
						end
|
|
						local zee=script.Parent.Parent:findFirstChild("zarm")
|
|
						if zee~=nil then
|
|
							local zlarm=zee:clone()
|
|
							local zrarm=zee:clone()
|
|
							if zlarm~=nil then
|
|
|
|
							local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
|
|
								zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
|
|
								zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
|
|
								zlarm.Parent=h.Parent
|
|
								zrarm.Parent=h.Parent
|
|
								zlarm:makeJoints()
|
|
								zrarm:makeJoints()
|
|
								zlarm.Anchored=false
|
|
								zrarm.Anchored=false
|
|
								wait(0.1)
|
|
								h.Parent.Head.Color=zee.Color
|
|
							else print("no zee"); return end
|
|
						end
|
|
						wait(1)
|
|
						cantouch=1
|
|
					end
|
|
				end
|
|
			end
|
|
	end
|
|
end
|
|
|
|
script.Parent.Touched:connect(onTouched)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Part" referent="RBX314">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>6.00045776</X>
|
|
<Y>98.6973953</Y>
|
|
<Z>15.7844772</Z>
|
|
<R00>0.999999881</R00>
|
|
<R01>0</R01>
|
|
<R02>1.49011612e-008</R02>
|
|
<R10>0</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>1.49011612e-008</R12>
|
|
<R20>-1.49011612e-008</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>-0.99999994</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">zarm</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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.5979636e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.62653558e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX315">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">wait(1)
|
|
owner=script.Parent.Parent.Name
|
|
|
|
function onTouched(part)
|
|
	if part.Parent ~= nil then
|
|
		local h = part.Parent:findFirstChild("Humanoid")
|
|
			if h~=nil then
|
|
				if cantouch~=0 then
|
|
					if h.Parent.Name~=owner then
|
|
						
|
|
						if h.Parent:findFirstChild("zarm")~=nil then return end
|
|
|
|
						cantouch=0
|
|
|
|
						local larm=h.Parent:findFirstChild("Left Arm")
|
|
						local rarm=h.Parent:findFirstChild("Right Arm")
|
|
						
|
|
						if larm~=nil then
|
|
							larm:remove()
|
|
						end
|
|
						if rarm~=nil then
|
|
							rarm:remove()
|
|
						end
|
|
						local zee=script.Parent.Parent:findFirstChild("zarm")
|
|
						if zee~=nil then
|
|
							local zlarm=zee:clone()
|
|
							local zrarm=zee:clone()
|
|
							if zlarm~=nil then
|
|
|
|
							local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
|
|
								zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
|
|
								zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
|
|
								zlarm.Parent=h.Parent
|
|
								zrarm.Parent=h.Parent
|
|
								zlarm:makeJoints()
|
|
								zrarm:makeJoints()
|
|
								zlarm.Anchored=false
|
|
								zrarm.Anchored=false
|
|
								wait(0.1)
|
|
								h.Parent.Head.Color=zee.Color
|
|
							else print("no zee"); return end
|
|
						end
|
|
						wait(1)
|
|
						cantouch=1
|
|
					end
|
|
				end
|
|
			end
|
|
	end
|
|
end
|
|
|
|
script.Parent.Touched:connect(onTouched)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="ObjectValue" referent="RBX316">
|
|
<Properties>
|
|
<string name="Name">IsNZ</string>
|
|
<Ref name="Value">null</Ref>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="IntValue" referent="RBX317">
|
|
<Properties>
|
|
<string name="Name">Mode</string>
|
|
<int name="Value">0</int>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX318">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">local larm = script.Parent:FindFirstChild("Left Arm")
|
|
local rarm = script.Parent:FindFirstChild("Right Arm")
|
|
|
|
function findNearestTorso(pos)
|
|
	local list = game.Workspace:children()
|
|
	local torso = nil
|
|
	local dist = 1000
|
|
	local temp = nil
|
|
	local human = nil
|
|
	local temp2 = nil
|
|
	for x = 1, #list do
|
|
		temp2 = list[x]
|
|
		if (temp2.className == "Model") and (temp2 ~= script.Parent) then
|
|
			temp = temp2:findFirstChild("Right Arm")
|
|
			human = temp2:findFirstChild("Humanoid")
|
|
			if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
|
|
				if (temp.Position - pos).magnitude < dist then
|
|
					torso = temp
|
|
					dist = (temp.Position - pos).magnitude
|
|
				end
|
|
			end
|
|
		end
|
|
	end
|
|
	return torso
|
|
end
|
|
|
|
|
|
|
|
|
|
while true do
|
|
	wait(math.random(1,5))
|
|
	local target = findNearestTorso(script.Parent.Torso.Position)
|
|
	if target ~= nil then
|
|
		script.Parent.Humanoid:MoveTo(target.Position, target)
|
|
	end
|
|
|
|
end
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX319">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Health</string>
|
|
<ProtectedString name="Source">function waitForChild(parent, childName)
|
|
	while true do
|
|
		local child = parent:findFirstChild(childName)
|
|
		if child then
|
|
			return child
|
|
		end
|
|
		parent.ChildAdded:wait()
|
|
	end
|
|
end
|
|
|
|
-- declarations
|
|
|
|
local Figure = script.Parent
|
|
local Head = waitForChild(Figure, "Head")
|
|
local Humanoid = waitForChild(Figure, "Humanoid")
|
|
Humanoid.Health=500
|
|
-- regeneration
|
|
while true do
|
|
	local s = wait(4)
|
|
	local health = Humanoid.Health
|
|
	if health > 0 and health < Humanoid.MaxHealth then
|
|
		health = health + 0.08 * s * Humanoid.MaxHealth
|
|
		if health * 1.05 < Humanoid.MaxHealth then
|
|
			Humanoid.Health = health
|
|
		else
|
|
			Humanoid.Health = Humanoid.MaxHealth
|
|
		end
|
|
	end
|
|
end
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX320">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Respawn</string>
|
|
<ProtectedString name="Source">name="Humanoid"
|
|
|
|
robo=script.Parent:clone()
|
|
|
|
while true do
|
|
	wait(1)
|
|
	if script.Parent.Humanoid.Health<1 then
|
|
		robot=robo:clone()
|
|
		robot.Parent=script.Parent.Parent
|
|
		robot:makeJoints()
|
|
		script.Parent:remove()
|
|
	end
|
|
end
|
|
		
|
|
|
|
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Model" referent="RBX321">
|
|
<Properties>
|
|
<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">Zombie</string>
|
|
<Ref name="PrimaryPart">null</Ref>
|
|
</Properties>
|
|
<Item class="Part" referent="RBX322">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-15.1644897</X>
|
|
<Y>103.765022</Y>
|
|
<Z>18.2701511</Z>
|
|
<R00>-0.454648674</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.708073378</R02>
|
|
<R10>0.291926563</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.454648674</R12>
|
|
<R20>-0.841470957</R20>
|
|
<R21>0</R21>
|
|
<R22>0.540302277</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.64807103e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.67023398e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="SpecialMesh" referent="RBX323">
|
|
<Properties>
|
|
<token name="LODX">2</token>
|
|
<token name="LODY">2</token>
|
|
<Content name="MeshId"><null></null></Content>
|
|
<token name="MeshType">0</token>
|
|
<string name="Name">Mesh</string>
|
|
<Vector3 name="Offset">
|
|
<X>0</X>
|
|
<Y>0</Y>
|
|
<Z>0</Z>
|
|
</Vector3>
|
|
<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>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Decal" referent="RBX324">
|
|
<Properties>
|
|
<token name="Face">5</token>
|
|
<string name="Name">face</string>
|
|
<float name="Shiny">20</float>
|
|
<float name="Specular">0</float>
|
|
<Content name="Texture"><null></null></Content>
|
|
<float name="Transparency">0</float>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Part" referent="RBX325">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-14.3540363</X>
|
|
<Y>105.027229</Y>
|
|
<Z>18.2701511</Z>
|
|
<R00>-0.454648674</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.708073378</R02>
|
|
<R10>0.291926563</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.454648674</R12>
|
|
<R20>-0.841470957</R20>
|
|
<R21>0</R21>
|
|
<R22>0.540302277</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.64798347e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64324075e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX326">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-13.0461073</X>
|
|
<Y>106.564209</Y>
|
|
<Z>18.6908875</Z>
|
|
<R00>-0.454648674</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.708073378</R02>
|
|
<R10>0.291926563</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.454648674</R12>
|
|
<R20>-0.841470957</R20>
|
|
<R21>0</R21>
|
|
<R22>0.540302277</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.66191662e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.59965835e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>1</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX327">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-13.5007563</X>
|
|
<Y>106.856133</Y>
|
|
<Z>17.8494148</Z>
|
|
<R00>-0.454648674</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.708073378</R02>
|
|
<R10>0.291926563</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.454648674</R12>
|
|
<R20>-0.841470957</R20>
|
|
<R21>0</R21>
|
|
<R22>0.540302277</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.63381671e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.61484164e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>1</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Humanoid" referent="RBX328">
|
|
<Properties>
|
|
<float name="Health">100</float>
|
|
<float name="MaxHealth">100</float>
|
|
<string name="Name">Humanoid</string>
|
|
<token name="NameOcclusion">0</token>
|
|
<float name="WalkSpeed">16</float>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX329">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-13.5881777</X>
|
|
<Y>103.941277</Y>
|
|
<Z>19.262207</Z>
|
|
<R00>0.708073378</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.454648674</R02>
|
|
<R10>-0.454648674</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.291926563</R12>
|
|
<R20>-0.540302277</R20>
|
|
<R21>0</R21>
|
|
<R22>-0.841470957</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">zarm</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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.68116343e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.61764016e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX330">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">wait(1)
|
|
owner=script.Parent.Parent.Name
|
|
|
|
function onTouched(part)
|
|
	if part.Parent ~= nil then
|
|
		local h = part.Parent:findFirstChild("Humanoid")
|
|
			if h~=nil then
|
|
				if cantouch~=0 then
|
|
					if h.Parent.Name~=owner then
|
|
						
|
|
						if h.Parent:findFirstChild("zarm")~=nil then return end
|
|
|
|
						cantouch=0
|
|
|
|
						local larm=h.Parent:findFirstChild("Left Arm")
|
|
						local rarm=h.Parent:findFirstChild("Right Arm")
|
|
						
|
|
						if larm~=nil then
|
|
							larm:remove()
|
|
						end
|
|
						if rarm~=nil then
|
|
							rarm:remove()
|
|
						end
|
|
						local zee=script.Parent.Parent:findFirstChild("zarm")
|
|
						if zee~=nil then
|
|
							local zlarm=zee:clone()
|
|
							local zrarm=zee:clone()
|
|
							if zlarm~=nil then
|
|
|
|
							local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
|
|
								zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
|
|
								zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
|
|
								zlarm.Parent=h.Parent
|
|
								zrarm.Parent=h.Parent
|
|
								zlarm:makeJoints()
|
|
								zrarm:makeJoints()
|
|
								zlarm.Anchored=false
|
|
								zrarm.Anchored=false
|
|
								wait(0.1)
|
|
								h.Parent.Head.Color=zee.Color
|
|
							else print("no zee"); return end
|
|
						end
|
|
						wait(1)
|
|
						cantouch=1
|
|
					end
|
|
				end
|
|
			end
|
|
	end
|
|
end
|
|
|
|
script.Parent.Touched:connect(onTouched)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Part" referent="RBX331">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-14.9521236</X>
|
|
<Y>104.817062</Y>
|
|
<Z>16.737793</Z>
|
|
<R00>0.708073378</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.454648674</R02>
|
|
<R10>-0.454648674</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.291926563</R12>
|
|
<R20>-0.540302277</R20>
|
|
<R21>0</R21>
|
|
<R22>-0.841470957</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">zarm</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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.59686371e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.66319002e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX332">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">wait(1)
|
|
owner=script.Parent.Parent.Name
|
|
|
|
function onTouched(part)
|
|
	if part.Parent ~= nil then
|
|
		local h = part.Parent:findFirstChild("Humanoid")
|
|
			if h~=nil then
|
|
				if cantouch~=0 then
|
|
					if h.Parent.Name~=owner then
|
|
						
|
|
						if h.Parent:findFirstChild("zarm")~=nil then return end
|
|
|
|
						cantouch=0
|
|
|
|
						local larm=h.Parent:findFirstChild("Left Arm")
|
|
						local rarm=h.Parent:findFirstChild("Right Arm")
|
|
						
|
|
						if larm~=nil then
|
|
							larm:remove()
|
|
						end
|
|
						if rarm~=nil then
|
|
							rarm:remove()
|
|
						end
|
|
						local zee=script.Parent.Parent:findFirstChild("zarm")
|
|
						if zee~=nil then
|
|
							local zlarm=zee:clone()
|
|
							local zrarm=zee:clone()
|
|
							if zlarm~=nil then
|
|
|
|
							local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
|
|
								zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
|
|
								zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
|
|
								zlarm.Parent=h.Parent
|
|
								zrarm.Parent=h.Parent
|
|
								zlarm:makeJoints()
|
|
								zrarm:makeJoints()
|
|
								zlarm.Anchored=false
|
|
								zrarm.Anchored=false
|
|
								wait(0.1)
|
|
								h.Parent.Head.Color=zee.Color
|
|
							else print("no zee"); return end
|
|
						end
|
|
						wait(1)
|
|
						cantouch=1
|
|
					end
|
|
				end
|
|
			end
|
|
	end
|
|
end
|
|
|
|
script.Parent.Touched:connect(onTouched)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="ObjectValue" referent="RBX333">
|
|
<Properties>
|
|
<string name="Name">IsNZ</string>
|
|
<Ref name="Value">null</Ref>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="IntValue" referent="RBX334">
|
|
<Properties>
|
|
<string name="Name">Mode</string>
|
|
<int name="Value">0</int>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX335">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">local larm = script.Parent:FindFirstChild("Left Arm")
|
|
local rarm = script.Parent:FindFirstChild("Right Arm")
|
|
|
|
function findNearestTorso(pos)
|
|
	local list = game.Workspace:children()
|
|
	local torso = nil
|
|
	local dist = 1000
|
|
	local temp = nil
|
|
	local human = nil
|
|
	local temp2 = nil
|
|
	for x = 1, #list do
|
|
		temp2 = list[x]
|
|
		if (temp2.className == "Model") and (temp2 ~= script.Parent) then
|
|
			temp = temp2:findFirstChild("Right Arm")
|
|
			human = temp2:findFirstChild("Humanoid")
|
|
			if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
|
|
				if (temp.Position - pos).magnitude < dist then
|
|
					torso = temp
|
|
					dist = (temp.Position - pos).magnitude
|
|
				end
|
|
			end
|
|
		end
|
|
	end
|
|
	return torso
|
|
end
|
|
|
|
|
|
|
|
|
|
while true do
|
|
	wait(math.random(1,5))
|
|
	local target = findNearestTorso(script.Parent.Torso.Position)
|
|
	if target ~= nil then
|
|
		script.Parent.Humanoid:MoveTo(target.Position, target)
|
|
	end
|
|
|
|
end
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX336">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Health</string>
|
|
<ProtectedString name="Source">function waitForChild(parent, childName)
|
|
	while true do
|
|
		local child = parent:findFirstChild(childName)
|
|
		if child then
|
|
			return child
|
|
		end
|
|
		parent.ChildAdded:wait()
|
|
	end
|
|
end
|
|
|
|
-- declarations
|
|
|
|
local Figure = script.Parent
|
|
local Head = waitForChild(Figure, "Head")
|
|
local Humanoid = waitForChild(Figure, "Humanoid")
|
|
Humanoid.Health=500
|
|
-- regeneration
|
|
while true do
|
|
	local s = wait(4)
|
|
	local health = Humanoid.Health
|
|
	if health > 0 and health < Humanoid.MaxHealth then
|
|
		health = health + 0.08 * s * Humanoid.MaxHealth
|
|
		if health * 1.05 < Humanoid.MaxHealth then
|
|
			Humanoid.Health = health
|
|
		else
|
|
			Humanoid.Health = Humanoid.MaxHealth
|
|
		end
|
|
	end
|
|
end
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX337">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Respawn</string>
|
|
<ProtectedString name="Source">name="Humanoid"
|
|
|
|
robo=script.Parent:clone()
|
|
|
|
while true do
|
|
	wait(1)
|
|
	if script.Parent.Humanoid.Health<1 then
|
|
		robot=robo:clone()
|
|
		robot.Parent=script.Parent.Parent
|
|
		robot:makeJoints()
|
|
		script.Parent:remove()
|
|
	end
|
|
end
|
|
		
|
|
|
|
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Model" referent="RBX338">
|
|
<Properties>
|
|
<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">Zombie</string>
|
|
<Ref name="PrimaryPart">null</Ref>
|
|
</Properties>
|
|
<Item class="Part" referent="RBX339">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-2.50136566</X>
|
|
<Y>112.507439</Y>
|
|
<Z>12.1465683</Z>
|
|
<R00>1.49011612e-008</R00>
|
|
<R01>0</R01>
|
|
<R02>-0.999999881</R02>
|
|
<R10>1.49011612e-008</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>0</R12>
|
|
<R20>-0.99999994</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>1.49011612e-008</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.64808751e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64317968e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="SpecialMesh" referent="RBX340">
|
|
<Properties>
|
|
<token name="LODX">2</token>
|
|
<token name="LODY">2</token>
|
|
<Content name="MeshId"><null></null></Content>
|
|
<token name="MeshType">0</token>
|
|
<string name="Name">Mesh</string>
|
|
<Vector3 name="Offset">
|
|
<X>0</X>
|
|
<Y>0</Y>
|
|
<Z>0</Z>
|
|
</Vector3>
|
|
<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>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Decal" referent="RBX341">
|
|
<Properties>
|
|
<token name="Face">5</token>
|
|
<string name="Name">face</string>
|
|
<float name="Shiny">20</float>
|
|
<float name="Specular">0</float>
|
|
<Content name="Texture"><null></null></Content>
|
|
<float name="Transparency">0</float>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Part" referent="RBX342">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-2.50136566</X>
|
|
<Y>114.007439</Y>
|
|
<Z>12.1465683</Z>
|
|
<R00>1.49011612e-008</R00>
|
|
<R01>0</R01>
|
|
<R02>-0.999999881</R02>
|
|
<R10>1.49011612e-008</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>0</R12>
|
|
<R20>-0.99999994</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>1.49011612e-008</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.64798347e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64324075e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX343">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-2.50136566</X>
|
|
<Y>116.007439</Y>
|
|
<Z>12.6465683</Z>
|
|
<R00>1.49011612e-008</R00>
|
|
<R01>0</R01>
|
|
<R02>-0.999999881</R02>
|
|
<R10>1.49011612e-008</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>0</R12>
|
|
<R20>-0.99999994</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>1.49011612e-008</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.66452934e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64332218e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>1</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX344">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-2.50136566</X>
|
|
<Y>116.007439</Y>
|
|
<Z>11.6465683</Z>
|
|
<R00>1.49011612e-008</R00>
|
|
<R01>0</R01>
|
|
<R02>-0.999999881</R02>
|
|
<R10>1.49011612e-008</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>0</R12>
|
|
<R20>-0.99999994</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>1.49011612e-008</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.63115971e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64332218e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>1</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Humanoid" referent="RBX345">
|
|
<Properties>
|
|
<float name="Health">100</float>
|
|
<float name="MaxHealth">100</float>
|
|
<string name="Name">Humanoid</string>
|
|
<token name="NameOcclusion">0</token>
|
|
<float name="WalkSpeed">16</float>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX346">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-2.00136566</X>
|
|
<Y>113.507439</Y>
|
|
<Z>13.6465683</Z>
|
|
<R00>0.999999881</R00>
|
|
<R01>0</R01>
|
|
<R02>1.49011612e-008</R02>
|
|
<R10>0</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>1.49011612e-008</R12>
|
|
<R20>-1.49011612e-008</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>-0.99999994</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">zarm</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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.69807249e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.62653558e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX347">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">wait(1)
|
|
owner=script.Parent.Parent.Name
|
|
|
|
function onTouched(part)
|
|
	if part.Parent ~= nil then
|
|
		local h = part.Parent:findFirstChild("Humanoid")
|
|
			if h~=nil then
|
|
				if cantouch~=0 then
|
|
					if h.Parent.Name~=owner then
|
|
						
|
|
						if h.Parent:findFirstChild("zarm")~=nil then return end
|
|
|
|
						cantouch=0
|
|
|
|
						local larm=h.Parent:findFirstChild("Left Arm")
|
|
						local rarm=h.Parent:findFirstChild("Right Arm")
|
|
						
|
|
						if larm~=nil then
|
|
							larm:remove()
|
|
						end
|
|
						if rarm~=nil then
|
|
							rarm:remove()
|
|
						end
|
|
						local zee=script.Parent.Parent:findFirstChild("zarm")
|
|
						if zee~=nil then
|
|
							local zlarm=zee:clone()
|
|
							local zrarm=zee:clone()
|
|
							if zlarm~=nil then
|
|
|
|
							local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
|
|
								zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
|
|
								zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
|
|
								zlarm.Parent=h.Parent
|
|
								zrarm.Parent=h.Parent
|
|
								zlarm:makeJoints()
|
|
								zrarm:makeJoints()
|
|
								zlarm.Anchored=false
|
|
								zrarm.Anchored=false
|
|
								wait(0.1)
|
|
								h.Parent.Head.Color=zee.Color
|
|
							else print("no zee"); return end
|
|
						end
|
|
						wait(1)
|
|
						cantouch=1
|
|
					end
|
|
				end
|
|
			end
|
|
	end
|
|
end
|
|
|
|
script.Parent.Touched:connect(onTouched)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Part" referent="RBX348">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-2.00136566</X>
|
|
<Y>113.507439</Y>
|
|
<Z>10.6465683</Z>
|
|
<R00>0.999999881</R00>
|
|
<R01>0</R01>
|
|
<R02>1.49011612e-008</R02>
|
|
<R10>0</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>1.49011612e-008</R12>
|
|
<R20>-1.49011612e-008</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>-0.99999994</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">zarm</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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.5979636e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.62653558e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX349">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">wait(1)
|
|
owner=script.Parent.Parent.Name
|
|
|
|
function onTouched(part)
|
|
	if part.Parent ~= nil then
|
|
		local h = part.Parent:findFirstChild("Humanoid")
|
|
			if h~=nil then
|
|
				if cantouch~=0 then
|
|
					if h.Parent.Name~=owner then
|
|
						
|
|
						if h.Parent:findFirstChild("zarm")~=nil then return end
|
|
|
|
						cantouch=0
|
|
|
|
						local larm=h.Parent:findFirstChild("Left Arm")
|
|
						local rarm=h.Parent:findFirstChild("Right Arm")
|
|
						
|
|
						if larm~=nil then
|
|
							larm:remove()
|
|
						end
|
|
						if rarm~=nil then
|
|
							rarm:remove()
|
|
						end
|
|
						local zee=script.Parent.Parent:findFirstChild("zarm")
|
|
						if zee~=nil then
|
|
							local zlarm=zee:clone()
|
|
							local zrarm=zee:clone()
|
|
							if zlarm~=nil then
|
|
|
|
							local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
|
|
								zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
|
|
								zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
|
|
								zlarm.Parent=h.Parent
|
|
								zrarm.Parent=h.Parent
|
|
								zlarm:makeJoints()
|
|
								zrarm:makeJoints()
|
|
								zlarm.Anchored=false
|
|
								zrarm.Anchored=false
|
|
								wait(0.1)
|
|
								h.Parent.Head.Color=zee.Color
|
|
							else print("no zee"); return end
|
|
						end
|
|
						wait(1)
|
|
						cantouch=1
|
|
					end
|
|
				end
|
|
			end
|
|
	end
|
|
end
|
|
|
|
script.Parent.Touched:connect(onTouched)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="ObjectValue" referent="RBX350">
|
|
<Properties>
|
|
<string name="Name">IsNZ</string>
|
|
<Ref name="Value">null</Ref>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="IntValue" referent="RBX351">
|
|
<Properties>
|
|
<string name="Name">Mode</string>
|
|
<int name="Value">0</int>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX352">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">local larm = script.Parent:FindFirstChild("Left Arm")
|
|
local rarm = script.Parent:FindFirstChild("Right Arm")
|
|
|
|
function findNearestTorso(pos)
|
|
	local list = game.Workspace:children()
|
|
	local torso = nil
|
|
	local dist = 1000
|
|
	local temp = nil
|
|
	local human = nil
|
|
	local temp2 = nil
|
|
	for x = 1, #list do
|
|
		temp2 = list[x]
|
|
		if (temp2.className == "Model") and (temp2 ~= script.Parent) then
|
|
			temp = temp2:findFirstChild("Right Arm")
|
|
			human = temp2:findFirstChild("Humanoid")
|
|
			if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
|
|
				if (temp.Position - pos).magnitude < dist then
|
|
					torso = temp
|
|
					dist = (temp.Position - pos).magnitude
|
|
				end
|
|
			end
|
|
		end
|
|
	end
|
|
	return torso
|
|
end
|
|
|
|
|
|
|
|
|
|
while true do
|
|
	wait(math.random(1,5))
|
|
	local target = findNearestTorso(script.Parent.Torso.Position)
|
|
	if target ~= nil then
|
|
		script.Parent.Humanoid:MoveTo(target.Position, target)
|
|
	end
|
|
|
|
end
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX353">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Health</string>
|
|
<ProtectedString name="Source">function waitForChild(parent, childName)
|
|
	while true do
|
|
		local child = parent:findFirstChild(childName)
|
|
		if child then
|
|
			return child
|
|
		end
|
|
		parent.ChildAdded:wait()
|
|
	end
|
|
end
|
|
|
|
-- declarations
|
|
|
|
local Figure = script.Parent
|
|
local Head = waitForChild(Figure, "Head")
|
|
local Humanoid = waitForChild(Figure, "Humanoid")
|
|
Humanoid.Health=500
|
|
-- regeneration
|
|
while true do
|
|
	local s = wait(4)
|
|
	local health = Humanoid.Health
|
|
	if health > 0 and health < Humanoid.MaxHealth then
|
|
		health = health + 0.08 * s * Humanoid.MaxHealth
|
|
		if health * 1.05 < Humanoid.MaxHealth then
|
|
			Humanoid.Health = health
|
|
		else
|
|
			Humanoid.Health = Humanoid.MaxHealth
|
|
		end
|
|
	end
|
|
end
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX354">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Respawn</string>
|
|
<ProtectedString name="Source">name="Humanoid"
|
|
|
|
robo=script.Parent:clone()
|
|
|
|
while true do
|
|
	wait(1)
|
|
	if script.Parent.Humanoid.Health<1 then
|
|
		robot=robo:clone()
|
|
		robot.Parent=script.Parent.Parent
|
|
		robot:makeJoints()
|
|
		script.Parent:remove()
|
|
	end
|
|
end
|
|
		
|
|
|
|
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Model" referent="RBX355">
|
|
<Properties>
|
|
<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">Zombie</string>
|
|
<Ref name="PrimaryPart">null</Ref>
|
|
</Properties>
|
|
<Item class="Part" referent="RBX356">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>1.49863434</X>
|
|
<Y>118.10746</Y>
|
|
<Z>-10.8534317</Z>
|
|
<R00>1.49011612e-008</R00>
|
|
<R01>0</R01>
|
|
<R02>-0.999999881</R02>
|
|
<R10>1.49011612e-008</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>0</R12>
|
|
<R20>-0.99999994</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>1.49011612e-008</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.64808751e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64317968e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="SpecialMesh" referent="RBX357">
|
|
<Properties>
|
|
<token name="LODX">2</token>
|
|
<token name="LODY">2</token>
|
|
<Content name="MeshId"><null></null></Content>
|
|
<token name="MeshType">0</token>
|
|
<string name="Name">Mesh</string>
|
|
<Vector3 name="Offset">
|
|
<X>0</X>
|
|
<Y>0</Y>
|
|
<Z>0</Z>
|
|
</Vector3>
|
|
<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>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Decal" referent="RBX358">
|
|
<Properties>
|
|
<token name="Face">5</token>
|
|
<string name="Name">face</string>
|
|
<float name="Shiny">20</float>
|
|
<float name="Specular">0</float>
|
|
<Content name="Texture"><null></null></Content>
|
|
<float name="Transparency">0</float>
|
|
</Properties>
|
|
</Item>
|
|
</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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>1.49863434</X>
|
|
<Y>119.60746</Y>
|
|
<Z>-10.8534317</Z>
|
|
<R00>1.49011612e-008</R00>
|
|
<R01>0</R01>
|
|
<R02>-0.999999881</R02>
|
|
<R10>1.49011612e-008</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>0</R12>
|
|
<R20>-0.99999994</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>1.49011612e-008</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.64798347e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64324075e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX360">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>1.49863434</X>
|
|
<Y>121.60746</Y>
|
|
<Z>-10.3534317</Z>
|
|
<R00>1.49011612e-008</R00>
|
|
<R01>0</R01>
|
|
<R02>-0.999999881</R02>
|
|
<R10>1.49011612e-008</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>0</R12>
|
|
<R20>-0.99999994</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>1.49011612e-008</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.66452934e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64332218e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>1</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX361">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>1.49863434</X>
|
|
<Y>121.60746</Y>
|
|
<Z>-11.3534317</Z>
|
|
<R00>1.49011612e-008</R00>
|
|
<R01>0</R01>
|
|
<R02>-0.999999881</R02>
|
|
<R10>1.49011612e-008</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>0</R12>
|
|
<R20>-0.99999994</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>1.49011612e-008</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.63115971e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64332218e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>1</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Humanoid" referent="RBX362">
|
|
<Properties>
|
|
<float name="Health">100</float>
|
|
<float name="MaxHealth">100</float>
|
|
<string name="Name">Humanoid</string>
|
|
<token name="NameOcclusion">0</token>
|
|
<float name="WalkSpeed">16</float>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX363">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>1.99863422</X>
|
|
<Y>119.10746</Y>
|
|
<Z>-9.3534317</Z>
|
|
<R00>0.999999881</R00>
|
|
<R01>0</R01>
|
|
<R02>1.49011612e-008</R02>
|
|
<R10>0</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>1.49011612e-008</R12>
|
|
<R20>-1.49011612e-008</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>-0.99999994</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">zarm</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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.69807249e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.62653558e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</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">Script</string>
|
|
<ProtectedString name="Source">wait(1)
|
|
owner=script.Parent.Parent.Name
|
|
|
|
function onTouched(part)
|
|
	if part.Parent ~= nil then
|
|
		local h = part.Parent:findFirstChild("Humanoid")
|
|
			if h~=nil then
|
|
				if cantouch~=0 then
|
|
					if h.Parent.Name~=owner then
|
|
						
|
|
						if h.Parent:findFirstChild("zarm")~=nil then return end
|
|
|
|
						cantouch=0
|
|
|
|
						local larm=h.Parent:findFirstChild("Left Arm")
|
|
						local rarm=h.Parent:findFirstChild("Right Arm")
|
|
						
|
|
						if larm~=nil then
|
|
							larm:remove()
|
|
						end
|
|
						if rarm~=nil then
|
|
							rarm:remove()
|
|
						end
|
|
						local zee=script.Parent.Parent:findFirstChild("zarm")
|
|
						if zee~=nil then
|
|
							local zlarm=zee:clone()
|
|
							local zrarm=zee:clone()
|
|
							if zlarm~=nil then
|
|
|
|
							local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
|
|
								zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
|
|
								zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
|
|
								zlarm.Parent=h.Parent
|
|
								zrarm.Parent=h.Parent
|
|
								zlarm:makeJoints()
|
|
								zrarm:makeJoints()
|
|
								zlarm.Anchored=false
|
|
								zrarm.Anchored=false
|
|
								wait(0.1)
|
|
								h.Parent.Head.Color=zee.Color
|
|
							else print("no zee"); return end
|
|
						end
|
|
						wait(1)
|
|
						cantouch=1
|
|
					end
|
|
				end
|
|
			end
|
|
	end
|
|
end
|
|
|
|
script.Parent.Touched:connect(onTouched)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Part" referent="RBX365">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>1.99863434</X>
|
|
<Y>119.10746</Y>
|
|
<Z>-12.3534317</Z>
|
|
<R00>0.999999881</R00>
|
|
<R01>0</R01>
|
|
<R02>1.49011612e-008</R02>
|
|
<R10>0</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>1.49011612e-008</R12>
|
|
<R20>-1.49011612e-008</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>-0.99999994</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">zarm</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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.5979636e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.62653558e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX366">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">wait(1)
|
|
owner=script.Parent.Parent.Name
|
|
|
|
function onTouched(part)
|
|
	if part.Parent ~= nil then
|
|
		local h = part.Parent:findFirstChild("Humanoid")
|
|
			if h~=nil then
|
|
				if cantouch~=0 then
|
|
					if h.Parent.Name~=owner then
|
|
						
|
|
						if h.Parent:findFirstChild("zarm")~=nil then return end
|
|
|
|
						cantouch=0
|
|
|
|
						local larm=h.Parent:findFirstChild("Left Arm")
|
|
						local rarm=h.Parent:findFirstChild("Right Arm")
|
|
						
|
|
						if larm~=nil then
|
|
							larm:remove()
|
|
						end
|
|
						if rarm~=nil then
|
|
							rarm:remove()
|
|
						end
|
|
						local zee=script.Parent.Parent:findFirstChild("zarm")
|
|
						if zee~=nil then
|
|
							local zlarm=zee:clone()
|
|
							local zrarm=zee:clone()
|
|
							if zlarm~=nil then
|
|
|
|
							local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
|
|
								zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
|
|
								zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
|
|
								zlarm.Parent=h.Parent
|
|
								zrarm.Parent=h.Parent
|
|
								zlarm:makeJoints()
|
|
								zrarm:makeJoints()
|
|
								zlarm.Anchored=false
|
|
								zrarm.Anchored=false
|
|
								wait(0.1)
|
|
								h.Parent.Head.Color=zee.Color
|
|
							else print("no zee"); return end
|
|
						end
|
|
						wait(1)
|
|
						cantouch=1
|
|
					end
|
|
				end
|
|
			end
|
|
	end
|
|
end
|
|
|
|
script.Parent.Touched:connect(onTouched)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="ObjectValue" referent="RBX367">
|
|
<Properties>
|
|
<string name="Name">IsNZ</string>
|
|
<Ref name="Value">null</Ref>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="IntValue" referent="RBX368">
|
|
<Properties>
|
|
<string name="Name">Mode</string>
|
|
<int name="Value">0</int>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX369">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">local larm = script.Parent:FindFirstChild("Left Arm")
|
|
local rarm = script.Parent:FindFirstChild("Right Arm")
|
|
|
|
function findNearestTorso(pos)
|
|
	local list = game.Workspace:children()
|
|
	local torso = nil
|
|
	local dist = 1000
|
|
	local temp = nil
|
|
	local human = nil
|
|
	local temp2 = nil
|
|
	for x = 1, #list do
|
|
		temp2 = list[x]
|
|
		if (temp2.className == "Model") and (temp2 ~= script.Parent) then
|
|
			temp = temp2:findFirstChild("Right Arm")
|
|
			human = temp2:findFirstChild("Humanoid")
|
|
			if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
|
|
				if (temp.Position - pos).magnitude < dist then
|
|
					torso = temp
|
|
					dist = (temp.Position - pos).magnitude
|
|
				end
|
|
			end
|
|
		end
|
|
	end
|
|
	return torso
|
|
end
|
|
|
|
|
|
|
|
|
|
while true do
|
|
	wait(math.random(1,5))
|
|
	local target = findNearestTorso(script.Parent.Torso.Position)
|
|
	if target ~= nil then
|
|
		script.Parent.Humanoid:MoveTo(target.Position, target)
|
|
	end
|
|
|
|
end
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX370">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Health</string>
|
|
<ProtectedString name="Source">function waitForChild(parent, childName)
|
|
	while true do
|
|
		local child = parent:findFirstChild(childName)
|
|
		if child then
|
|
			return child
|
|
		end
|
|
		parent.ChildAdded:wait()
|
|
	end
|
|
end
|
|
|
|
-- declarations
|
|
|
|
local Figure = script.Parent
|
|
local Head = waitForChild(Figure, "Head")
|
|
local Humanoid = waitForChild(Figure, "Humanoid")
|
|
Humanoid.Health=500
|
|
-- regeneration
|
|
while true do
|
|
	local s = wait(4)
|
|
	local health = Humanoid.Health
|
|
	if health > 0 and health < Humanoid.MaxHealth then
|
|
		health = health + 0.08 * s * Humanoid.MaxHealth
|
|
		if health * 1.05 < Humanoid.MaxHealth then
|
|
			Humanoid.Health = health
|
|
		else
|
|
			Humanoid.Health = Humanoid.MaxHealth
|
|
		end
|
|
	end
|
|
end
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX371">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Respawn</string>
|
|
<ProtectedString name="Source">name="Humanoid"
|
|
|
|
robo=script.Parent:clone()
|
|
|
|
while true do
|
|
	wait(1)
|
|
	if script.Parent.Humanoid.Health<1 then
|
|
		robot=robo:clone()
|
|
		robot.Parent=script.Parent.Parent
|
|
		robot:makeJoints()
|
|
		script.Parent:remove()
|
|
	end
|
|
end
|
|
		
|
|
|
|
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Model" referent="RBX372">
|
|
<Properties>
|
|
<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">Zombie</string>
|
|
<Ref name="PrimaryPart">null</Ref>
|
|
</Properties>
|
|
<Item class="Part" referent="RBX373">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-11.1644897</X>
|
|
<Y>100.565025</Y>
|
|
<Z>-4.72984886</Z>
|
|
<R00>-0.454648674</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.708073378</R02>
|
|
<R10>0.291926563</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.454648674</R12>
|
|
<R20>-0.841470957</R20>
|
|
<R21>0</R21>
|
|
<R22>0.540302277</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.64807103e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.67023398e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="SpecialMesh" referent="RBX374">
|
|
<Properties>
|
|
<token name="LODX">2</token>
|
|
<token name="LODY">2</token>
|
|
<Content name="MeshId"><null></null></Content>
|
|
<token name="MeshType">0</token>
|
|
<string name="Name">Mesh</string>
|
|
<Vector3 name="Offset">
|
|
<X>0</X>
|
|
<Y>0</Y>
|
|
<Z>0</Z>
|
|
</Vector3>
|
|
<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>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Decal" referent="RBX375">
|
|
<Properties>
|
|
<token name="Face">5</token>
|
|
<string name="Name">face</string>
|
|
<float name="Shiny">20</float>
|
|
<float name="Specular">0</float>
|
|
<Content name="Texture"><null></null></Content>
|
|
<float name="Transparency">0</float>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Part" referent="RBX376">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-10.3540363</X>
|
|
<Y>101.827232</Y>
|
|
<Z>-4.72984886</Z>
|
|
<R00>-0.454648674</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.708073378</R02>
|
|
<R10>0.291926563</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.454648674</R12>
|
|
<R20>-0.841470957</R20>
|
|
<R21>0</R21>
|
|
<R22>0.540302277</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.64798347e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64324075e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX377">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-9.04610729</X>
|
|
<Y>103.364212</Y>
|
|
<Z>-4.3091135</Z>
|
|
<R00>-0.454648674</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.708073378</R02>
|
|
<R10>0.291926563</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.454648674</R12>
|
|
<R20>-0.841470957</R20>
|
|
<R21>0</R21>
|
|
<R22>0.540302277</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.66191662e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.59965835e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>1</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX378">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-9.50075626</X>
|
|
<Y>103.656136</Y>
|
|
<Z>-5.15058422</Z>
|
|
<R00>-0.454648674</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.708073378</R02>
|
|
<R10>0.291926563</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.454648674</R12>
|
|
<R20>-0.841470957</R20>
|
|
<R21>0</R21>
|
|
<R22>0.540302277</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.63381671e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.61484164e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>1</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Humanoid" referent="RBX379">
|
|
<Properties>
|
|
<float name="Health">100</float>
|
|
<float name="MaxHealth">100</float>
|
|
<string name="Name">Humanoid</string>
|
|
<token name="NameOcclusion">0</token>
|
|
<float name="WalkSpeed">16</float>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX380">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-9.58817768</X>
|
|
<Y>100.74128</Y>
|
|
<Z>-3.73779345</Z>
|
|
<R00>0.708073378</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.454648674</R02>
|
|
<R10>-0.454648674</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.291926563</R12>
|
|
<R20>-0.540302277</R20>
|
|
<R21>0</R21>
|
|
<R22>-0.841470957</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">zarm</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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.68116343e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.61764016e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX381">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">wait(1)
|
|
owner=script.Parent.Parent.Name
|
|
|
|
function onTouched(part)
|
|
	if part.Parent ~= nil then
|
|
		local h = part.Parent:findFirstChild("Humanoid")
|
|
			if h~=nil then
|
|
				if cantouch~=0 then
|
|
					if h.Parent.Name~=owner then
|
|
						
|
|
						if h.Parent:findFirstChild("zarm")~=nil then return end
|
|
|
|
						cantouch=0
|
|
|
|
						local larm=h.Parent:findFirstChild("Left Arm")
|
|
						local rarm=h.Parent:findFirstChild("Right Arm")
|
|
						
|
|
						if larm~=nil then
|
|
							larm:remove()
|
|
						end
|
|
						if rarm~=nil then
|
|
							rarm:remove()
|
|
						end
|
|
						local zee=script.Parent.Parent:findFirstChild("zarm")
|
|
						if zee~=nil then
|
|
							local zlarm=zee:clone()
|
|
							local zrarm=zee:clone()
|
|
							if zlarm~=nil then
|
|
|
|
							local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
|
|
								zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
|
|
								zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
|
|
								zlarm.Parent=h.Parent
|
|
								zrarm.Parent=h.Parent
|
|
								zlarm:makeJoints()
|
|
								zrarm:makeJoints()
|
|
								zlarm.Anchored=false
|
|
								zrarm.Anchored=false
|
|
								wait(0.1)
|
|
								h.Parent.Head.Color=zee.Color
|
|
							else print("no zee"); return end
|
|
						end
|
|
						wait(1)
|
|
						cantouch=1
|
|
					end
|
|
				end
|
|
			end
|
|
	end
|
|
end
|
|
|
|
script.Parent.Touched:connect(onTouched)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Part" referent="RBX382">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-10.9521236</X>
|
|
<Y>101.617065</Y>
|
|
<Z>-6.26220655</Z>
|
|
<R00>0.708073378</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.454648674</R02>
|
|
<R10>-0.454648674</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.291926563</R12>
|
|
<R20>-0.540302277</R20>
|
|
<R21>0</R21>
|
|
<R22>-0.841470957</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">zarm</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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.59686371e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.66319002e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX383">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">wait(1)
|
|
owner=script.Parent.Parent.Name
|
|
|
|
function onTouched(part)
|
|
	if part.Parent ~= nil then
|
|
		local h = part.Parent:findFirstChild("Humanoid")
|
|
			if h~=nil then
|
|
				if cantouch~=0 then
|
|
					if h.Parent.Name~=owner then
|
|
						
|
|
						if h.Parent:findFirstChild("zarm")~=nil then return end
|
|
|
|
						cantouch=0
|
|
|
|
						local larm=h.Parent:findFirstChild("Left Arm")
|
|
						local rarm=h.Parent:findFirstChild("Right Arm")
|
|
						
|
|
						if larm~=nil then
|
|
							larm:remove()
|
|
						end
|
|
						if rarm~=nil then
|
|
							rarm:remove()
|
|
						end
|
|
						local zee=script.Parent.Parent:findFirstChild("zarm")
|
|
						if zee~=nil then
|
|
							local zlarm=zee:clone()
|
|
							local zrarm=zee:clone()
|
|
							if zlarm~=nil then
|
|
|
|
							local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
|
|
								zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
|
|
								zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
|
|
								zlarm.Parent=h.Parent
|
|
								zrarm.Parent=h.Parent
|
|
								zlarm:makeJoints()
|
|
								zrarm:makeJoints()
|
|
								zlarm.Anchored=false
|
|
								zrarm.Anchored=false
|
|
								wait(0.1)
|
|
								h.Parent.Head.Color=zee.Color
|
|
							else print("no zee"); return end
|
|
						end
|
|
						wait(1)
|
|
						cantouch=1
|
|
					end
|
|
				end
|
|
			end
|
|
	end
|
|
end
|
|
|
|
script.Parent.Touched:connect(onTouched)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="ObjectValue" referent="RBX384">
|
|
<Properties>
|
|
<string name="Name">IsNZ</string>
|
|
<Ref name="Value">null</Ref>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="IntValue" referent="RBX385">
|
|
<Properties>
|
|
<string name="Name">Mode</string>
|
|
<int name="Value">0</int>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX386">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">local larm = script.Parent:FindFirstChild("Left Arm")
|
|
local rarm = script.Parent:FindFirstChild("Right Arm")
|
|
|
|
function findNearestTorso(pos)
|
|
	local list = game.Workspace:children()
|
|
	local torso = nil
|
|
	local dist = 1000
|
|
	local temp = nil
|
|
	local human = nil
|
|
	local temp2 = nil
|
|
	for x = 1, #list do
|
|
		temp2 = list[x]
|
|
		if (temp2.className == "Model") and (temp2 ~= script.Parent) then
|
|
			temp = temp2:findFirstChild("Right Arm")
|
|
			human = temp2:findFirstChild("Humanoid")
|
|
			if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
|
|
				if (temp.Position - pos).magnitude < dist then
|
|
					torso = temp
|
|
					dist = (temp.Position - pos).magnitude
|
|
				end
|
|
			end
|
|
		end
|
|
	end
|
|
	return torso
|
|
end
|
|
|
|
|
|
|
|
|
|
while true do
|
|
	wait(math.random(1,5))
|
|
	local target = findNearestTorso(script.Parent.Torso.Position)
|
|
	if target ~= nil then
|
|
		script.Parent.Humanoid:MoveTo(target.Position, target)
|
|
	end
|
|
|
|
end
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX387">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Health</string>
|
|
<ProtectedString name="Source">function waitForChild(parent, childName)
|
|
	while true do
|
|
		local child = parent:findFirstChild(childName)
|
|
		if child then
|
|
			return child
|
|
		end
|
|
		parent.ChildAdded:wait()
|
|
	end
|
|
end
|
|
|
|
-- declarations
|
|
|
|
local Figure = script.Parent
|
|
local Head = waitForChild(Figure, "Head")
|
|
local Humanoid = waitForChild(Figure, "Humanoid")
|
|
Humanoid.Health=500
|
|
-- regeneration
|
|
while true do
|
|
	local s = wait(4)
|
|
	local health = Humanoid.Health
|
|
	if health > 0 and health < Humanoid.MaxHealth then
|
|
		health = health + 0.08 * s * Humanoid.MaxHealth
|
|
		if health * 1.05 < Humanoid.MaxHealth then
|
|
			Humanoid.Health = health
|
|
		else
|
|
			Humanoid.Health = Humanoid.MaxHealth
|
|
		end
|
|
	end
|
|
end
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX388">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Respawn</string>
|
|
<ProtectedString name="Source">name="Humanoid"
|
|
|
|
robo=script.Parent:clone()
|
|
|
|
while true do
|
|
	wait(1)
|
|
	if script.Parent.Humanoid.Health<1 then
|
|
		robot=robo:clone()
|
|
		robot.Parent=script.Parent.Parent
|
|
		robot:makeJoints()
|
|
		script.Parent:remove()
|
|
	end
|
|
end
|
|
		
|
|
|
|
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Model" referent="RBX389">
|
|
<Properties>
|
|
<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">Zombie</string>
|
|
<Ref name="PrimaryPart">null</Ref>
|
|
</Properties>
|
|
<Item class="Part" referent="RBX390">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-6.50227356</X>
|
|
<Y>119.912407</Y>
|
|
<Z>9.57762146</Z>
|
|
<R00>1.49011612e-008</R00>
|
|
<R01>0</R01>
|
|
<R02>-0.999999881</R02>
|
|
<R10>1.49011612e-008</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>0</R12>
|
|
<R20>-0.99999994</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>1.49011612e-008</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.64808751e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64317968e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="SpecialMesh" referent="RBX391">
|
|
<Properties>
|
|
<token name="LODX">2</token>
|
|
<token name="LODY">2</token>
|
|
<Content name="MeshId"><null></null></Content>
|
|
<token name="MeshType">0</token>
|
|
<string name="Name">Mesh</string>
|
|
<Vector3 name="Offset">
|
|
<X>0</X>
|
|
<Y>0</Y>
|
|
<Z>0</Z>
|
|
</Vector3>
|
|
<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>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Decal" referent="RBX392">
|
|
<Properties>
|
|
<token name="Face">5</token>
|
|
<string name="Name">face</string>
|
|
<float name="Shiny">20</float>
|
|
<float name="Specular">0</float>
|
|
<Content name="Texture"><null></null></Content>
|
|
<float name="Transparency">0</float>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Part" referent="RBX393">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-6.50227356</X>
|
|
<Y>121.412407</Y>
|
|
<Z>9.57762146</Z>
|
|
<R00>1.49011612e-008</R00>
|
|
<R01>0</R01>
|
|
<R02>-0.999999881</R02>
|
|
<R10>1.49011612e-008</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>0</R12>
|
|
<R20>-0.99999994</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>1.49011612e-008</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.64798347e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64324075e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX394">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-6.50227356</X>
|
|
<Y>123.412407</Y>
|
|
<Z>10.0776215</Z>
|
|
<R00>1.49011612e-008</R00>
|
|
<R01>0</R01>
|
|
<R02>-0.999999881</R02>
|
|
<R10>1.49011612e-008</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>0</R12>
|
|
<R20>-0.99999994</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>1.49011612e-008</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.66452934e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64332218e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>1</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX395">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-6.50227356</X>
|
|
<Y>123.412407</Y>
|
|
<Z>9.07762146</Z>
|
|
<R00>1.49011612e-008</R00>
|
|
<R01>0</R01>
|
|
<R02>-0.999999881</R02>
|
|
<R10>1.49011612e-008</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>0</R12>
|
|
<R20>-0.99999994</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>1.49011612e-008</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.63115971e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64332218e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>1</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Humanoid" referent="RBX396">
|
|
<Properties>
|
|
<float name="Health">100</float>
|
|
<float name="MaxHealth">100</float>
|
|
<string name="Name">Humanoid</string>
|
|
<token name="NameOcclusion">0</token>
|
|
<float name="WalkSpeed">16</float>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX397">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-6.00227356</X>
|
|
<Y>120.912407</Y>
|
|
<Z>11.0776215</Z>
|
|
<R00>0.999999881</R00>
|
|
<R01>0</R01>
|
|
<R02>1.49011612e-008</R02>
|
|
<R10>0</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>1.49011612e-008</R12>
|
|
<R20>-1.49011612e-008</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>-0.99999994</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">zarm</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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.69807249e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.62653558e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX398">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">wait(1)
|
|
owner=script.Parent.Parent.Name
|
|
|
|
function onTouched(part)
|
|
	if part.Parent ~= nil then
|
|
		local h = part.Parent:findFirstChild("Humanoid")
|
|
			if h~=nil then
|
|
				if cantouch~=0 then
|
|
					if h.Parent.Name~=owner then
|
|
						
|
|
						if h.Parent:findFirstChild("zarm")~=nil then return end
|
|
|
|
						cantouch=0
|
|
|
|
						local larm=h.Parent:findFirstChild("Left Arm")
|
|
						local rarm=h.Parent:findFirstChild("Right Arm")
|
|
						
|
|
						if larm~=nil then
|
|
							larm:remove()
|
|
						end
|
|
						if rarm~=nil then
|
|
							rarm:remove()
|
|
						end
|
|
						local zee=script.Parent.Parent:findFirstChild("zarm")
|
|
						if zee~=nil then
|
|
							local zlarm=zee:clone()
|
|
							local zrarm=zee:clone()
|
|
							if zlarm~=nil then
|
|
|
|
							local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
|
|
								zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
|
|
								zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
|
|
								zlarm.Parent=h.Parent
|
|
								zrarm.Parent=h.Parent
|
|
								zlarm:makeJoints()
|
|
								zrarm:makeJoints()
|
|
								zlarm.Anchored=false
|
|
								zrarm.Anchored=false
|
|
								wait(0.1)
|
|
								h.Parent.Head.Color=zee.Color
|
|
							else print("no zee"); return end
|
|
						end
|
|
						wait(1)
|
|
						cantouch=1
|
|
					end
|
|
				end
|
|
			end
|
|
	end
|
|
end
|
|
|
|
script.Parent.Touched:connect(onTouched)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Part" referent="RBX399">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-6.00227356</X>
|
|
<Y>120.912407</Y>
|
|
<Z>8.07762146</Z>
|
|
<R00>0.999999881</R00>
|
|
<R01>0</R01>
|
|
<R02>1.49011612e-008</R02>
|
|
<R10>0</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>1.49011612e-008</R12>
|
|
<R20>-1.49011612e-008</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>-0.99999994</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">zarm</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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.5979636e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.62653558e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX400">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">wait(1)
|
|
owner=script.Parent.Parent.Name
|
|
|
|
function onTouched(part)
|
|
	if part.Parent ~= nil then
|
|
		local h = part.Parent:findFirstChild("Humanoid")
|
|
			if h~=nil then
|
|
				if cantouch~=0 then
|
|
					if h.Parent.Name~=owner then
|
|
						
|
|
						if h.Parent:findFirstChild("zarm")~=nil then return end
|
|
|
|
						cantouch=0
|
|
|
|
						local larm=h.Parent:findFirstChild("Left Arm")
|
|
						local rarm=h.Parent:findFirstChild("Right Arm")
|
|
						
|
|
						if larm~=nil then
|
|
							larm:remove()
|
|
						end
|
|
						if rarm~=nil then
|
|
							rarm:remove()
|
|
						end
|
|
						local zee=script.Parent.Parent:findFirstChild("zarm")
|
|
						if zee~=nil then
|
|
							local zlarm=zee:clone()
|
|
							local zrarm=zee:clone()
|
|
							if zlarm~=nil then
|
|
|
|
							local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
|
|
								zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
|
|
								zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
|
|
								zlarm.Parent=h.Parent
|
|
								zrarm.Parent=h.Parent
|
|
								zlarm:makeJoints()
|
|
								zrarm:makeJoints()
|
|
								zlarm.Anchored=false
|
|
								zrarm.Anchored=false
|
|
								wait(0.1)
|
|
								h.Parent.Head.Color=zee.Color
|
|
							else print("no zee"); return end
|
|
						end
|
|
						wait(1)
|
|
						cantouch=1
|
|
					end
|
|
				end
|
|
			end
|
|
	end
|
|
end
|
|
|
|
script.Parent.Touched:connect(onTouched)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="ObjectValue" referent="RBX401">
|
|
<Properties>
|
|
<string name="Name">IsNZ</string>
|
|
<Ref name="Value">null</Ref>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="IntValue" referent="RBX402">
|
|
<Properties>
|
|
<string name="Name">Mode</string>
|
|
<int name="Value">0</int>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX403">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">local larm = script.Parent:FindFirstChild("Left Arm")
|
|
local rarm = script.Parent:FindFirstChild("Right Arm")
|
|
|
|
function findNearestTorso(pos)
|
|
	local list = game.Workspace:children()
|
|
	local torso = nil
|
|
	local dist = 1000
|
|
	local temp = nil
|
|
	local human = nil
|
|
	local temp2 = nil
|
|
	for x = 1, #list do
|
|
		temp2 = list[x]
|
|
		if (temp2.className == "Model") and (temp2 ~= script.Parent) then
|
|
			temp = temp2:findFirstChild("Right Arm")
|
|
			human = temp2:findFirstChild("Humanoid")
|
|
			if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
|
|
				if (temp.Position - pos).magnitude < dist then
|
|
					torso = temp
|
|
					dist = (temp.Position - pos).magnitude
|
|
				end
|
|
			end
|
|
		end
|
|
	end
|
|
	return torso
|
|
end
|
|
|
|
|
|
|
|
|
|
while true do
|
|
	wait(math.random(1,5))
|
|
	local target = findNearestTorso(script.Parent.Torso.Position)
|
|
	if target ~= nil then
|
|
		script.Parent.Humanoid:MoveTo(target.Position, target)
|
|
	end
|
|
|
|
end
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX404">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Health</string>
|
|
<ProtectedString name="Source">function waitForChild(parent, childName)
|
|
	while true do
|
|
		local child = parent:findFirstChild(childName)
|
|
		if child then
|
|
			return child
|
|
		end
|
|
		parent.ChildAdded:wait()
|
|
	end
|
|
end
|
|
|
|
-- declarations
|
|
|
|
local Figure = script.Parent
|
|
local Head = waitForChild(Figure, "Head")
|
|
local Humanoid = waitForChild(Figure, "Humanoid")
|
|
Humanoid.Health=500
|
|
-- regeneration
|
|
while true do
|
|
	local s = wait(4)
|
|
	local health = Humanoid.Health
|
|
	if health > 0 and health < Humanoid.MaxHealth then
|
|
		health = health + 0.08 * s * Humanoid.MaxHealth
|
|
		if health * 1.05 < Humanoid.MaxHealth then
|
|
			Humanoid.Health = health
|
|
		else
|
|
			Humanoid.Health = Humanoid.MaxHealth
|
|
		end
|
|
	end
|
|
end
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX405">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Respawn</string>
|
|
<ProtectedString name="Source">name="Humanoid"
|
|
|
|
robo=script.Parent:clone()
|
|
|
|
while true do
|
|
	wait(1)
|
|
	if script.Parent.Humanoid.Health<1 then
|
|
		robot=robo:clone()
|
|
		robot.Parent=script.Parent.Parent
|
|
		robot:makeJoints()
|
|
		script.Parent:remove()
|
|
	end
|
|
end
|
|
		
|
|
|
|
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Model" referent="RBX406">
|
|
<Properties>
|
|
<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">Zombie</string>
|
|
<Ref name="PrimaryPart">null</Ref>
|
|
</Properties>
|
|
<Item class="Part" referent="RBX407">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>3.5</X>
|
|
<Y>101.400002</Y>
|
|
<Z>16</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>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.64808751e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64317968e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="SpecialMesh" referent="RBX408">
|
|
<Properties>
|
|
<token name="LODX">2</token>
|
|
<token name="LODY">2</token>
|
|
<Content name="MeshId"><null></null></Content>
|
|
<token name="MeshType">0</token>
|
|
<string name="Name">Mesh</string>
|
|
<Vector3 name="Offset">
|
|
<X>0</X>
|
|
<Y>0</Y>
|
|
<Z>0</Z>
|
|
</Vector3>
|
|
<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>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Decal" referent="RBX409">
|
|
<Properties>
|
|
<token name="Face">5</token>
|
|
<string name="Name">face</string>
|
|
<float name="Shiny">20</float>
|
|
<float name="Specular">0</float>
|
|
<Content name="Texture"><null></null></Content>
|
|
<float name="Transparency">0</float>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Part" referent="RBX410">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>3.5</X>
|
|
<Y>102.900002</Y>
|
|
<Z>16</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>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.64798347e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64324075e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX411">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>3.5</X>
|
|
<Y>104.900002</Y>
|
|
<Z>16.5</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">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.66452934e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64332218e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>1</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX412">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>3.5</X>
|
|
<Y>104.900002</Y>
|
|
<Z>15.5</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">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.63115971e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64332218e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>1</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Humanoid" referent="RBX413">
|
|
<Properties>
|
|
<float name="Health">100</float>
|
|
<float name="MaxHealth">100</float>
|
|
<string name="Name">Humanoid</string>
|
|
<token name="NameOcclusion">0</token>
|
|
<float name="WalkSpeed">16</float>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX414">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>4</X>
|
|
<Y>102.400002</Y>
|
|
<Z>17.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>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">zarm</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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.69807249e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.62653558e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX415">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">wait(1)
|
|
owner=script.Parent.Parent.Name
|
|
|
|
function onTouched(part)
|
|
	if part.Parent ~= nil then
|
|
		local h = part.Parent:findFirstChild("Humanoid")
|
|
			if h~=nil then
|
|
				if cantouch~=0 then
|
|
					if h.Parent.Name~=owner then
|
|
						
|
|
						if h.Parent:findFirstChild("zarm")~=nil then return end
|
|
|
|
						cantouch=0
|
|
|
|
						local larm=h.Parent:findFirstChild("Left Arm")
|
|
						local rarm=h.Parent:findFirstChild("Right Arm")
|
|
						
|
|
						if larm~=nil then
|
|
							larm:remove()
|
|
						end
|
|
						if rarm~=nil then
|
|
							rarm:remove()
|
|
						end
|
|
						local zee=script.Parent.Parent:findFirstChild("zarm")
|
|
						if zee~=nil then
|
|
							local zlarm=zee:clone()
|
|
							local zrarm=zee:clone()
|
|
							if zlarm~=nil then
|
|
|
|
							local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
|
|
								zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
|
|
								zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
|
|
								zlarm.Parent=h.Parent
|
|
								zrarm.Parent=h.Parent
|
|
								zlarm:makeJoints()
|
|
								zrarm:makeJoints()
|
|
								zlarm.Anchored=false
|
|
								zrarm.Anchored=false
|
|
								wait(0.1)
|
|
								h.Parent.Head.Color=zee.Color
|
|
							else print("no zee"); return end
|
|
						end
|
|
						wait(1)
|
|
						cantouch=1
|
|
					end
|
|
				end
|
|
			end
|
|
	end
|
|
end
|
|
|
|
script.Parent.Touched:connect(onTouched)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Part" referent="RBX416">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>4</X>
|
|
<Y>102.400002</Y>
|
|
<Z>14.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>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">zarm</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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.5979636e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.62653558e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX417">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">wait(1)
|
|
owner=script.Parent.Parent.Name
|
|
|
|
function onTouched(part)
|
|
	if part.Parent ~= nil then
|
|
		local h = part.Parent:findFirstChild("Humanoid")
|
|
			if h~=nil then
|
|
				if cantouch~=0 then
|
|
					if h.Parent.Name~=owner then
|
|
						
|
|
						if h.Parent:findFirstChild("zarm")~=nil then return end
|
|
|
|
						cantouch=0
|
|
|
|
						local larm=h.Parent:findFirstChild("Left Arm")
|
|
						local rarm=h.Parent:findFirstChild("Right Arm")
|
|
						
|
|
						if larm~=nil then
|
|
							larm:remove()
|
|
						end
|
|
						if rarm~=nil then
|
|
							rarm:remove()
|
|
						end
|
|
						local zee=script.Parent.Parent:findFirstChild("zarm")
|
|
						if zee~=nil then
|
|
							local zlarm=zee:clone()
|
|
							local zrarm=zee:clone()
|
|
							if zlarm~=nil then
|
|
|
|
							local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
|
|
								zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
|
|
								zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
|
|
								zlarm.Parent=h.Parent
|
|
								zrarm.Parent=h.Parent
|
|
								zlarm:makeJoints()
|
|
								zrarm:makeJoints()
|
|
								zlarm.Anchored=false
|
|
								zrarm.Anchored=false
|
|
								wait(0.1)
|
|
								h.Parent.Head.Color=zee.Color
|
|
							else print("no zee"); return end
|
|
						end
|
|
						wait(1)
|
|
						cantouch=1
|
|
					end
|
|
				end
|
|
			end
|
|
	end
|
|
end
|
|
|
|
script.Parent.Touched:connect(onTouched)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="ObjectValue" referent="RBX418">
|
|
<Properties>
|
|
<string name="Name">IsNZ</string>
|
|
<Ref name="Value">null</Ref>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="IntValue" referent="RBX419">
|
|
<Properties>
|
|
<string name="Name">Mode</string>
|
|
<int name="Value">0</int>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX420">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">local larm = script.Parent:FindFirstChild("Left Arm")
|
|
local rarm = script.Parent:FindFirstChild("Right Arm")
|
|
|
|
function findNearestTorso(pos)
|
|
	local list = game.Workspace:children()
|
|
	local torso = nil
|
|
	local dist = 1000
|
|
	local temp = nil
|
|
	local human = nil
|
|
	local temp2 = nil
|
|
	for x = 1, #list do
|
|
		temp2 = list[x]
|
|
		if (temp2.className == "Model") and (temp2 ~= script.Parent) then
|
|
			temp = temp2:findFirstChild("Right Arm")
|
|
			human = temp2:findFirstChild("Humanoid")
|
|
			if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
|
|
				if (temp.Position - pos).magnitude < dist then
|
|
					torso = temp
|
|
					dist = (temp.Position - pos).magnitude
|
|
				end
|
|
			end
|
|
		end
|
|
	end
|
|
	return torso
|
|
end
|
|
|
|
|
|
|
|
|
|
while true do
|
|
	wait(math.random(1,5))
|
|
	local target = findNearestTorso(script.Parent.Torso.Position)
|
|
	if target ~= nil then
|
|
		script.Parent.Humanoid:MoveTo(target.Position, target)
|
|
	end
|
|
|
|
end
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX421">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Health</string>
|
|
<ProtectedString name="Source">function waitForChild(parent, childName)
|
|
	while true do
|
|
		local child = parent:findFirstChild(childName)
|
|
		if child then
|
|
			return child
|
|
		end
|
|
		parent.ChildAdded:wait()
|
|
	end
|
|
end
|
|
|
|
-- declarations
|
|
|
|
local Figure = script.Parent
|
|
local Head = waitForChild(Figure, "Head")
|
|
local Humanoid = waitForChild(Figure, "Humanoid")
|
|
Humanoid.Health=500
|
|
-- regeneration
|
|
while true do
|
|
	local s = wait(4)
|
|
	local health = Humanoid.Health
|
|
	if health > 0 and health < Humanoid.MaxHealth then
|
|
		health = health + 0.08 * s * Humanoid.MaxHealth
|
|
		if health * 1.05 < Humanoid.MaxHealth then
|
|
			Humanoid.Health = health
|
|
		else
|
|
			Humanoid.Health = Humanoid.MaxHealth
|
|
		end
|
|
	end
|
|
end
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX422">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Respawn</string>
|
|
<ProtectedString name="Source">name="Humanoid"
|
|
|
|
robo=script.Parent:clone()
|
|
|
|
while true do
|
|
	wait(1)
|
|
	if script.Parent.Humanoid.Health<1 then
|
|
		robot=robo:clone()
|
|
		robot.Parent=script.Parent.Parent
|
|
		robot:makeJoints()
|
|
		script.Parent:remove()
|
|
	end
|
|
end
|
|
		
|
|
|
|
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Model" referent="RBX423">
|
|
<Properties>
|
|
<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">Zombie</string>
|
|
<Ref name="PrimaryPart">null</Ref>
|
|
</Properties>
|
|
<Item class="Part" referent="RBX424">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-2.50227356</X>
|
|
<Y>125.512398</Y>
|
|
<Z>-13.4223785</Z>
|
|
<R00>1.49011612e-008</R00>
|
|
<R01>0</R01>
|
|
<R02>-0.999999881</R02>
|
|
<R10>1.49011612e-008</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>0</R12>
|
|
<R20>-0.99999994</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>1.49011612e-008</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.64808751e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64317968e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="SpecialMesh" referent="RBX425">
|
|
<Properties>
|
|
<token name="LODX">2</token>
|
|
<token name="LODY">2</token>
|
|
<Content name="MeshId"><null></null></Content>
|
|
<token name="MeshType">0</token>
|
|
<string name="Name">Mesh</string>
|
|
<Vector3 name="Offset">
|
|
<X>0</X>
|
|
<Y>0</Y>
|
|
<Z>0</Z>
|
|
</Vector3>
|
|
<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>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Decal" referent="RBX426">
|
|
<Properties>
|
|
<token name="Face">5</token>
|
|
<string name="Name">face</string>
|
|
<float name="Shiny">20</float>
|
|
<float name="Specular">0</float>
|
|
<Content name="Texture"><null></null></Content>
|
|
<float name="Transparency">0</float>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Part" referent="RBX427">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-2.50227356</X>
|
|
<Y>127.012398</Y>
|
|
<Z>-13.4223785</Z>
|
|
<R00>1.49011612e-008</R00>
|
|
<R01>0</R01>
|
|
<R02>-0.999999881</R02>
|
|
<R10>1.49011612e-008</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>0</R12>
|
|
<R20>-0.99999994</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>1.49011612e-008</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.64798347e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64324075e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX428">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-2.50227356</X>
|
|
<Y>129.01239</Y>
|
|
<Z>-12.9223785</Z>
|
|
<R00>1.49011612e-008</R00>
|
|
<R01>0</R01>
|
|
<R02>-0.999999881</R02>
|
|
<R10>1.49011612e-008</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>0</R12>
|
|
<R20>-0.99999994</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>1.49011612e-008</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.66452934e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64332218e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>1</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX429">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-2.50227356</X>
|
|
<Y>129.01239</Y>
|
|
<Z>-13.9223785</Z>
|
|
<R00>1.49011612e-008</R00>
|
|
<R01>0</R01>
|
|
<R02>-0.999999881</R02>
|
|
<R10>1.49011612e-008</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>0</R12>
|
|
<R20>-0.99999994</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>1.49011612e-008</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.63115971e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64332218e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>1</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Humanoid" referent="RBX430">
|
|
<Properties>
|
|
<float name="Health">100</float>
|
|
<float name="MaxHealth">100</float>
|
|
<string name="Name">Humanoid</string>
|
|
<token name="NameOcclusion">0</token>
|
|
<float name="WalkSpeed">16</float>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX431">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-2.00227356</X>
|
|
<Y>126.512398</Y>
|
|
<Z>-11.9223785</Z>
|
|
<R00>0.999999881</R00>
|
|
<R01>0</R01>
|
|
<R02>1.49011612e-008</R02>
|
|
<R10>0</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>1.49011612e-008</R12>
|
|
<R20>-1.49011612e-008</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>-0.99999994</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">zarm</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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.69807249e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.62653558e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX432">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">wait(1)
|
|
owner=script.Parent.Parent.Name
|
|
|
|
function onTouched(part)
|
|
	if part.Parent ~= nil then
|
|
		local h = part.Parent:findFirstChild("Humanoid")
|
|
			if h~=nil then
|
|
				if cantouch~=0 then
|
|
					if h.Parent.Name~=owner then
|
|
						
|
|
						if h.Parent:findFirstChild("zarm")~=nil then return end
|
|
|
|
						cantouch=0
|
|
|
|
						local larm=h.Parent:findFirstChild("Left Arm")
|
|
						local rarm=h.Parent:findFirstChild("Right Arm")
|
|
						
|
|
						if larm~=nil then
|
|
							larm:remove()
|
|
						end
|
|
						if rarm~=nil then
|
|
							rarm:remove()
|
|
						end
|
|
						local zee=script.Parent.Parent:findFirstChild("zarm")
|
|
						if zee~=nil then
|
|
							local zlarm=zee:clone()
|
|
							local zrarm=zee:clone()
|
|
							if zlarm~=nil then
|
|
|
|
							local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
|
|
								zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
|
|
								zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
|
|
								zlarm.Parent=h.Parent
|
|
								zrarm.Parent=h.Parent
|
|
								zlarm:makeJoints()
|
|
								zrarm:makeJoints()
|
|
								zlarm.Anchored=false
|
|
								zrarm.Anchored=false
|
|
								wait(0.1)
|
|
								h.Parent.Head.Color=zee.Color
|
|
							else print("no zee"); return end
|
|
						end
|
|
						wait(1)
|
|
						cantouch=1
|
|
					end
|
|
				end
|
|
			end
|
|
	end
|
|
end
|
|
|
|
script.Parent.Touched:connect(onTouched)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Part" referent="RBX433">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-2.00227356</X>
|
|
<Y>126.512398</Y>
|
|
<Z>-14.9223785</Z>
|
|
<R00>0.999999881</R00>
|
|
<R01>0</R01>
|
|
<R02>1.49011612e-008</R02>
|
|
<R10>0</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>1.49011612e-008</R12>
|
|
<R20>-1.49011612e-008</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>-0.99999994</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">zarm</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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.5979636e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.62653558e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX434">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">wait(1)
|
|
owner=script.Parent.Parent.Name
|
|
|
|
function onTouched(part)
|
|
	if part.Parent ~= nil then
|
|
		local h = part.Parent:findFirstChild("Humanoid")
|
|
			if h~=nil then
|
|
				if cantouch~=0 then
|
|
					if h.Parent.Name~=owner then
|
|
						
|
|
						if h.Parent:findFirstChild("zarm")~=nil then return end
|
|
|
|
						cantouch=0
|
|
|
|
						local larm=h.Parent:findFirstChild("Left Arm")
|
|
						local rarm=h.Parent:findFirstChild("Right Arm")
|
|
						
|
|
						if larm~=nil then
|
|
							larm:remove()
|
|
						end
|
|
						if rarm~=nil then
|
|
							rarm:remove()
|
|
						end
|
|
						local zee=script.Parent.Parent:findFirstChild("zarm")
|
|
						if zee~=nil then
|
|
							local zlarm=zee:clone()
|
|
							local zrarm=zee:clone()
|
|
							if zlarm~=nil then
|
|
|
|
							local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
|
|
								zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
|
|
								zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
|
|
								zlarm.Parent=h.Parent
|
|
								zrarm.Parent=h.Parent
|
|
								zlarm:makeJoints()
|
|
								zrarm:makeJoints()
|
|
								zlarm.Anchored=false
|
|
								zrarm.Anchored=false
|
|
								wait(0.1)
|
|
								h.Parent.Head.Color=zee.Color
|
|
							else print("no zee"); return end
|
|
						end
|
|
						wait(1)
|
|
						cantouch=1
|
|
					end
|
|
				end
|
|
			end
|
|
	end
|
|
end
|
|
|
|
script.Parent.Touched:connect(onTouched)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="ObjectValue" referent="RBX435">
|
|
<Properties>
|
|
<string name="Name">IsNZ</string>
|
|
<Ref name="Value">null</Ref>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="IntValue" referent="RBX436">
|
|
<Properties>
|
|
<string name="Name">Mode</string>
|
|
<int name="Value">0</int>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX437">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">local larm = script.Parent:FindFirstChild("Left Arm")
|
|
local rarm = script.Parent:FindFirstChild("Right Arm")
|
|
|
|
function findNearestTorso(pos)
|
|
	local list = game.Workspace:children()
|
|
	local torso = nil
|
|
	local dist = 1000
|
|
	local temp = nil
|
|
	local human = nil
|
|
	local temp2 = nil
|
|
	for x = 1, #list do
|
|
		temp2 = list[x]
|
|
		if (temp2.className == "Model") and (temp2 ~= script.Parent) then
|
|
			temp = temp2:findFirstChild("Right Arm")
|
|
			human = temp2:findFirstChild("Humanoid")
|
|
			if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
|
|
				if (temp.Position - pos).magnitude < dist then
|
|
					torso = temp
|
|
					dist = (temp.Position - pos).magnitude
|
|
				end
|
|
			end
|
|
		end
|
|
	end
|
|
	return torso
|
|
end
|
|
|
|
|
|
|
|
|
|
while true do
|
|
	wait(math.random(1,5))
|
|
	local target = findNearestTorso(script.Parent.Torso.Position)
|
|
	if target ~= nil then
|
|
		script.Parent.Humanoid:MoveTo(target.Position, target)
|
|
	end
|
|
|
|
end
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX438">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Health</string>
|
|
<ProtectedString name="Source">function waitForChild(parent, childName)
|
|
	while true do
|
|
		local child = parent:findFirstChild(childName)
|
|
		if child then
|
|
			return child
|
|
		end
|
|
		parent.ChildAdded:wait()
|
|
	end
|
|
end
|
|
|
|
-- declarations
|
|
|
|
local Figure = script.Parent
|
|
local Head = waitForChild(Figure, "Head")
|
|
local Humanoid = waitForChild(Figure, "Humanoid")
|
|
Humanoid.Health=500
|
|
-- regeneration
|
|
while true do
|
|
	local s = wait(4)
|
|
	local health = Humanoid.Health
|
|
	if health > 0 and health < Humanoid.MaxHealth then
|
|
		health = health + 0.08 * s * Humanoid.MaxHealth
|
|
		if health * 1.05 < Humanoid.MaxHealth then
|
|
			Humanoid.Health = health
|
|
		else
|
|
			Humanoid.Health = Humanoid.MaxHealth
|
|
		end
|
|
	end
|
|
end
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX439">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Respawn</string>
|
|
<ProtectedString name="Source">name="Humanoid"
|
|
|
|
robo=script.Parent:clone()
|
|
|
|
while true do
|
|
	wait(1)
|
|
	if script.Parent.Humanoid.Health<1 then
|
|
		robot=robo:clone()
|
|
		robot.Parent=script.Parent.Parent
|
|
		robot:makeJoints()
|
|
		script.Parent:remove()
|
|
	end
|
|
end
|
|
		
|
|
|
|
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Model" referent="RBX440">
|
|
<Properties>
|
|
<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">Zombie</string>
|
|
<Ref name="PrimaryPart">null</Ref>
|
|
</Properties>
|
|
<Item class="Part" referent="RBX441">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-11.1644897</X>
|
|
<Y>118.165047</Y>
|
|
<Z>-4.72984886</Z>
|
|
<R00>-0.454648674</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.708073378</R02>
|
|
<R10>0.291926563</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.454648674</R12>
|
|
<R20>-0.841470957</R20>
|
|
<R21>0</R21>
|
|
<R22>0.540302277</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.64807103e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.67023398e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="SpecialMesh" referent="RBX442">
|
|
<Properties>
|
|
<token name="LODX">2</token>
|
|
<token name="LODY">2</token>
|
|
<Content name="MeshId"><null></null></Content>
|
|
<token name="MeshType">0</token>
|
|
<string name="Name">Mesh</string>
|
|
<Vector3 name="Offset">
|
|
<X>0</X>
|
|
<Y>0</Y>
|
|
<Z>0</Z>
|
|
</Vector3>
|
|
<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>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Decal" referent="RBX443">
|
|
<Properties>
|
|
<token name="Face">5</token>
|
|
<string name="Name">face</string>
|
|
<float name="Shiny">20</float>
|
|
<float name="Specular">0</float>
|
|
<Content name="Texture"><null></null></Content>
|
|
<float name="Transparency">0</float>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Part" referent="RBX444">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-10.3540363</X>
|
|
<Y>119.427254</Y>
|
|
<Z>-4.72984886</Z>
|
|
<R00>-0.454648674</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.708073378</R02>
|
|
<R10>0.291926563</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.454648674</R12>
|
|
<R20>-0.841470957</R20>
|
|
<R21>0</R21>
|
|
<R22>0.540302277</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.64798347e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64324075e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX445">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-9.04610729</X>
|
|
<Y>120.964233</Y>
|
|
<Z>-4.3091135</Z>
|
|
<R00>-0.454648674</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.708073378</R02>
|
|
<R10>0.291926563</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.454648674</R12>
|
|
<R20>-0.841470957</R20>
|
|
<R21>0</R21>
|
|
<R22>0.540302277</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.66191662e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.59965835e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>1</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX446">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-9.50075626</X>
|
|
<Y>121.256157</Y>
|
|
<Z>-5.15058422</Z>
|
|
<R00>-0.454648674</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.708073378</R02>
|
|
<R10>0.291926563</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.454648674</R12>
|
|
<R20>-0.841470957</R20>
|
|
<R21>0</R21>
|
|
<R22>0.540302277</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.63381671e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.61484164e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>1</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Humanoid" referent="RBX447">
|
|
<Properties>
|
|
<float name="Health">100</float>
|
|
<float name="MaxHealth">100</float>
|
|
<string name="Name">Humanoid</string>
|
|
<token name="NameOcclusion">0</token>
|
|
<float name="WalkSpeed">16</float>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX448">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-9.58817768</X>
|
|
<Y>118.341301</Y>
|
|
<Z>-3.73779345</Z>
|
|
<R00>0.708073378</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.454648674</R02>
|
|
<R10>-0.454648674</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.291926563</R12>
|
|
<R20>-0.540302277</R20>
|
|
<R21>0</R21>
|
|
<R22>-0.841470957</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">zarm</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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.68116343e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.61764016e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX449">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">wait(1)
|
|
owner=script.Parent.Parent.Name
|
|
|
|
function onTouched(part)
|
|
	if part.Parent ~= nil then
|
|
		local h = part.Parent:findFirstChild("Humanoid")
|
|
			if h~=nil then
|
|
				if cantouch~=0 then
|
|
					if h.Parent.Name~=owner then
|
|
						
|
|
						if h.Parent:findFirstChild("zarm")~=nil then return end
|
|
|
|
						cantouch=0
|
|
|
|
						local larm=h.Parent:findFirstChild("Left Arm")
|
|
						local rarm=h.Parent:findFirstChild("Right Arm")
|
|
						
|
|
						if larm~=nil then
|
|
							larm:remove()
|
|
						end
|
|
						if rarm~=nil then
|
|
							rarm:remove()
|
|
						end
|
|
						local zee=script.Parent.Parent:findFirstChild("zarm")
|
|
						if zee~=nil then
|
|
							local zlarm=zee:clone()
|
|
							local zrarm=zee:clone()
|
|
							if zlarm~=nil then
|
|
|
|
							local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
|
|
								zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
|
|
								zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
|
|
								zlarm.Parent=h.Parent
|
|
								zrarm.Parent=h.Parent
|
|
								zlarm:makeJoints()
|
|
								zrarm:makeJoints()
|
|
								zlarm.Anchored=false
|
|
								zrarm.Anchored=false
|
|
								wait(0.1)
|
|
								h.Parent.Head.Color=zee.Color
|
|
							else print("no zee"); return end
|
|
						end
|
|
						wait(1)
|
|
						cantouch=1
|
|
					end
|
|
				end
|
|
			end
|
|
	end
|
|
end
|
|
|
|
script.Parent.Touched:connect(onTouched)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Part" referent="RBX450">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-10.9521236</X>
|
|
<Y>119.217087</Y>
|
|
<Z>-6.26220655</Z>
|
|
<R00>0.708073378</R00>
|
|
<R01>-0.540302277</R01>
|
|
<R02>-0.454648674</R02>
|
|
<R10>-0.454648674</R10>
|
|
<R11>-0.841470957</R11>
|
|
<R12>0.291926563</R12>
|
|
<R20>-0.540302277</R20>
|
|
<R21>0</R21>
|
|
<R22>-0.841470957</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">zarm</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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.59686371e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.66319002e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX451">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">wait(1)
|
|
owner=script.Parent.Parent.Name
|
|
|
|
function onTouched(part)
|
|
	if part.Parent ~= nil then
|
|
		local h = part.Parent:findFirstChild("Humanoid")
|
|
			if h~=nil then
|
|
				if cantouch~=0 then
|
|
					if h.Parent.Name~=owner then
|
|
						
|
|
						if h.Parent:findFirstChild("zarm")~=nil then return end
|
|
|
|
						cantouch=0
|
|
|
|
						local larm=h.Parent:findFirstChild("Left Arm")
|
|
						local rarm=h.Parent:findFirstChild("Right Arm")
|
|
						
|
|
						if larm~=nil then
|
|
							larm:remove()
|
|
						end
|
|
						if rarm~=nil then
|
|
							rarm:remove()
|
|
						end
|
|
						local zee=script.Parent.Parent:findFirstChild("zarm")
|
|
						if zee~=nil then
|
|
							local zlarm=zee:clone()
|
|
							local zrarm=zee:clone()
|
|
							if zlarm~=nil then
|
|
|
|
							local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
|
|
								zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
|
|
								zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
|
|
								zlarm.Parent=h.Parent
|
|
								zrarm.Parent=h.Parent
|
|
								zlarm:makeJoints()
|
|
								zrarm:makeJoints()
|
|
								zlarm.Anchored=false
|
|
								zrarm.Anchored=false
|
|
								wait(0.1)
|
|
								h.Parent.Head.Color=zee.Color
|
|
							else print("no zee"); return end
|
|
						end
|
|
						wait(1)
|
|
						cantouch=1
|
|
					end
|
|
				end
|
|
			end
|
|
	end
|
|
end
|
|
|
|
script.Parent.Touched:connect(onTouched)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="ObjectValue" referent="RBX452">
|
|
<Properties>
|
|
<string name="Name">IsNZ</string>
|
|
<Ref name="Value">null</Ref>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="IntValue" referent="RBX453">
|
|
<Properties>
|
|
<string name="Name">Mode</string>
|
|
<int name="Value">0</int>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX454">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">local larm = script.Parent:FindFirstChild("Left Arm")
|
|
local rarm = script.Parent:FindFirstChild("Right Arm")
|
|
|
|
function findNearestTorso(pos)
|
|
	local list = game.Workspace:children()
|
|
	local torso = nil
|
|
	local dist = 1000
|
|
	local temp = nil
|
|
	local human = nil
|
|
	local temp2 = nil
|
|
	for x = 1, #list do
|
|
		temp2 = list[x]
|
|
		if (temp2.className == "Model") and (temp2 ~= script.Parent) then
|
|
			temp = temp2:findFirstChild("Right Arm")
|
|
			human = temp2:findFirstChild("Humanoid")
|
|
			if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
|
|
				if (temp.Position - pos).magnitude < dist then
|
|
					torso = temp
|
|
					dist = (temp.Position - pos).magnitude
|
|
				end
|
|
			end
|
|
		end
|
|
	end
|
|
	return torso
|
|
end
|
|
|
|
|
|
|
|
|
|
while true do
|
|
	wait(math.random(1,5))
|
|
	local target = findNearestTorso(script.Parent.Torso.Position)
|
|
	if target ~= nil then
|
|
		script.Parent.Humanoid:MoveTo(target.Position, target)
|
|
	end
|
|
|
|
end
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX455">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Health</string>
|
|
<ProtectedString name="Source">function waitForChild(parent, childName)
|
|
	while true do
|
|
		local child = parent:findFirstChild(childName)
|
|
		if child then
|
|
			return child
|
|
		end
|
|
		parent.ChildAdded:wait()
|
|
	end
|
|
end
|
|
|
|
-- declarations
|
|
|
|
local Figure = script.Parent
|
|
local Head = waitForChild(Figure, "Head")
|
|
local Humanoid = waitForChild(Figure, "Humanoid")
|
|
Humanoid.Health=500
|
|
-- regeneration
|
|
while true do
|
|
	local s = wait(4)
|
|
	local health = Humanoid.Health
|
|
	if health > 0 and health < Humanoid.MaxHealth then
|
|
		health = health + 0.08 * s * Humanoid.MaxHealth
|
|
		if health * 1.05 < Humanoid.MaxHealth then
|
|
			Humanoid.Health = health
|
|
		else
|
|
			Humanoid.Health = Humanoid.MaxHealth
|
|
		end
|
|
	end
|
|
end
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX456">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Respawn</string>
|
|
<ProtectedString name="Source">name="Humanoid"
|
|
|
|
robo=script.Parent:clone()
|
|
|
|
while true do
|
|
	wait(1)
|
|
	if script.Parent.Humanoid.Health<1 then
|
|
		robot=robo:clone()
|
|
		robot.Parent=script.Parent.Parent
|
|
		robot:makeJoints()
|
|
		script.Parent:remove()
|
|
	end
|
|
end
|
|
		
|
|
|
|
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Model" referent="RBX457">
|
|
<Properties>
|
|
<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">Zombie</string>
|
|
<Ref name="PrimaryPart">null</Ref>
|
|
</Properties>
|
|
<Item class="Part" referent="RBX458">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-0.500907898</X>
|
|
<Y>108.804985</Y>
|
|
<Z>13.4310455</Z>
|
|
<R00>1.49011612e-008</R00>
|
|
<R01>0</R01>
|
|
<R02>-0.999999881</R02>
|
|
<R10>1.49011612e-008</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>0</R12>
|
|
<R20>-0.99999994</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>1.49011612e-008</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.64808751e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64317968e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="SpecialMesh" referent="RBX459">
|
|
<Properties>
|
|
<token name="LODX">2</token>
|
|
<token name="LODY">2</token>
|
|
<Content name="MeshId"><null></null></Content>
|
|
<token name="MeshType">0</token>
|
|
<string name="Name">Mesh</string>
|
|
<Vector3 name="Offset">
|
|
<X>0</X>
|
|
<Y>0</Y>
|
|
<Z>0</Z>
|
|
</Vector3>
|
|
<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>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Decal" referent="RBX460">
|
|
<Properties>
|
|
<token name="Face">5</token>
|
|
<string name="Name">face</string>
|
|
<float name="Shiny">20</float>
|
|
<float name="Specular">0</float>
|
|
<Content name="Texture"><null></null></Content>
|
|
<float name="Transparency">0</float>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Part" referent="RBX461">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-0.500907898</X>
|
|
<Y>110.304985</Y>
|
|
<Z>13.4310455</Z>
|
|
<R00>1.49011612e-008</R00>
|
|
<R01>0</R01>
|
|
<R02>-0.999999881</R02>
|
|
<R10>1.49011612e-008</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>0</R12>
|
|
<R20>-0.99999994</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>1.49011612e-008</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.64798347e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64324075e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX462">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-0.500907898</X>
|
|
<Y>112.304985</Y>
|
|
<Z>13.9310455</Z>
|
|
<R00>1.49011612e-008</R00>
|
|
<R01>0</R01>
|
|
<R02>-0.999999881</R02>
|
|
<R10>1.49011612e-008</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>0</R12>
|
|
<R20>-0.99999994</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>1.49011612e-008</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.66452934e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64332218e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>1</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX463">
|
|
<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">192</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-0.500907898</X>
|
|
<Y>112.304985</Y>
|
|
<Z>12.9310455</Z>
|
|
<R00>1.49011612e-008</R00>
|
|
<R01>0</R01>
|
|
<R02>-0.999999881</R02>
|
|
<R10>1.49011612e-008</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>0</R12>
|
|
<R20>-0.99999994</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>1.49011612e-008</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">false</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.63115971e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.64332218e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>1</X>
|
|
<Y>2</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Humanoid" referent="RBX464">
|
|
<Properties>
|
|
<float name="Health">100</float>
|
|
<float name="MaxHealth">100</float>
|
|
<string name="Name">Humanoid</string>
|
|
<token name="NameOcclusion">0</token>
|
|
<float name="WalkSpeed">16</float>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Part" referent="RBX465">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-0.000907987356</X>
|
|
<Y>109.804985</Y>
|
|
<Z>14.9310455</Z>
|
|
<R00>0.999999881</R00>
|
|
<R01>0</R01>
|
|
<R02>1.49011612e-008</R02>
|
|
<R10>0</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>1.49011612e-008</R12>
|
|
<R20>-1.49011612e-008</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>-0.99999994</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">zarm</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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.69807249e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.62653558e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX466">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">wait(1)
|
|
owner=script.Parent.Parent.Name
|
|
|
|
function onTouched(part)
|
|
	if part.Parent ~= nil then
|
|
		local h = part.Parent:findFirstChild("Humanoid")
|
|
			if h~=nil then
|
|
				if cantouch~=0 then
|
|
					if h.Parent.Name~=owner then
|
|
						
|
|
						if h.Parent:findFirstChild("zarm")~=nil then return end
|
|
|
|
						cantouch=0
|
|
|
|
						local larm=h.Parent:findFirstChild("Left Arm")
|
|
						local rarm=h.Parent:findFirstChild("Right Arm")
|
|
						
|
|
						if larm~=nil then
|
|
							larm:remove()
|
|
						end
|
|
						if rarm~=nil then
|
|
							rarm:remove()
|
|
						end
|
|
						local zee=script.Parent.Parent:findFirstChild("zarm")
|
|
						if zee~=nil then
|
|
							local zlarm=zee:clone()
|
|
							local zrarm=zee:clone()
|
|
							if zlarm~=nil then
|
|
|
|
							local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
|
|
								zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
|
|
								zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
|
|
								zlarm.Parent=h.Parent
|
|
								zrarm.Parent=h.Parent
|
|
								zlarm:makeJoints()
|
|
								zrarm:makeJoints()
|
|
								zlarm.Anchored=false
|
|
								zrarm.Anchored=false
|
|
								wait(0.1)
|
|
								h.Parent.Head.Color=zee.Color
|
|
							else print("no zee"); return end
|
|
						end
|
|
						wait(1)
|
|
						cantouch=1
|
|
					end
|
|
				end
|
|
			end
|
|
	end
|
|
end
|
|
|
|
script.Parent.Touched:connect(onTouched)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="Part" referent="RBX467">
|
|
<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">29</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-0.000907927752</X>
|
|
<Y>109.804985</Y>
|
|
<Z>11.9310455</Z>
|
|
<R00>0.999999881</R00>
|
|
<R01>0</R01>
|
|
<R02>1.49011612e-008</R02>
|
|
<R10>0</R10>
|
|
<R11>-0.99999994</R11>
|
|
<R12>1.49011612e-008</R12>
|
|
<R20>-1.49011612e-008</R20>
|
|
<R21>1.49011612e-008</R21>
|
|
<R22>-0.99999994</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<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>
|
|
<token name="Material">256</token>
|
|
<string name="Name">zarm</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>4.07127958e-025</X>
|
|
<Y>3.33696291e-022</Y>
|
|
<Z>6.94702468e-025</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>3.5979636e-020</X>
|
|
<Y>0.00686328812</Y>
|
|
<Z>3.62653558e-020</Z>
|
|
</Vector3>
|
|
<token name="formFactorRaw">0</token>
|
|
<token name="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>2</X>
|
|
<Y>1</Y>
|
|
<Z>1</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="Script" referent="RBX468">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">wait(1)
|
|
owner=script.Parent.Parent.Name
|
|
|
|
function onTouched(part)
|
|
	if part.Parent ~= nil then
|
|
		local h = part.Parent:findFirstChild("Humanoid")
|
|
			if h~=nil then
|
|
				if cantouch~=0 then
|
|
					if h.Parent.Name~=owner then
|
|
						
|
|
						if h.Parent:findFirstChild("zarm")~=nil then return end
|
|
|
|
						cantouch=0
|
|
|
|
						local larm=h.Parent:findFirstChild("Left Arm")
|
|
						local rarm=h.Parent:findFirstChild("Right Arm")
|
|
						
|
|
						if larm~=nil then
|
|
							larm:remove()
|
|
						end
|
|
						if rarm~=nil then
|
|
							rarm:remove()
|
|
						end
|
|
						local zee=script.Parent.Parent:findFirstChild("zarm")
|
|
						if zee~=nil then
|
|
							local zlarm=zee:clone()
|
|
							local zrarm=zee:clone()
|
|
							if zlarm~=nil then
|
|
|
|
							local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
|
|
								zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
|
|
								zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
|
|
								zlarm.Parent=h.Parent
|
|
								zrarm.Parent=h.Parent
|
|
								zlarm:makeJoints()
|
|
								zrarm:makeJoints()
|
|
								zlarm.Anchored=false
|
|
								zrarm.Anchored=false
|
|
								wait(0.1)
|
|
								h.Parent.Head.Color=zee.Color
|
|
							else print("no zee"); return end
|
|
						end
|
|
						wait(1)
|
|
						cantouch=1
|
|
					end
|
|
				end
|
|
			end
|
|
	end
|
|
end
|
|
|
|
script.Parent.Touched:connect(onTouched)</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
<Item class="ObjectValue" referent="RBX469">
|
|
<Properties>
|
|
<string name="Name">IsNZ</string>
|
|
<Ref name="Value">null</Ref>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="IntValue" referent="RBX470">
|
|
<Properties>
|
|
<string name="Name">Mode</string>
|
|
<int name="Value">0</int>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX471">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Script</string>
|
|
<ProtectedString name="Source">local larm = script.Parent:FindFirstChild("Left Arm")
|
|
local rarm = script.Parent:FindFirstChild("Right Arm")
|
|
|
|
function findNearestTorso(pos)
|
|
	local list = game.Workspace:children()
|
|
	local torso = nil
|
|
	local dist = 1000
|
|
	local temp = nil
|
|
	local human = nil
|
|
	local temp2 = nil
|
|
	for x = 1, #list do
|
|
		temp2 = list[x]
|
|
		if (temp2.className == "Model") and (temp2 ~= script.Parent) then
|
|
			temp = temp2:findFirstChild("Right Arm")
|
|
			human = temp2:findFirstChild("Humanoid")
|
|
			if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
|
|
				if (temp.Position - pos).magnitude < dist then
|
|
					torso = temp
|
|
					dist = (temp.Position - pos).magnitude
|
|
				end
|
|
			end
|
|
		end
|
|
	end
|
|
	return torso
|
|
end
|
|
|
|
|
|
|
|
|
|
while true do
|
|
	wait(math.random(1,5))
|
|
	local target = findNearestTorso(script.Parent.Torso.Position)
|
|
	if target ~= nil then
|
|
		script.Parent.Humanoid:MoveTo(target.Position, target)
|
|
	end
|
|
|
|
end
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX472">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Health</string>
|
|
<ProtectedString name="Source">function waitForChild(parent, childName)
|
|
	while true do
|
|
		local child = parent:findFirstChild(childName)
|
|
		if child then
|
|
			return child
|
|
		end
|
|
		parent.ChildAdded:wait()
|
|
	end
|
|
end
|
|
|
|
-- declarations
|
|
|
|
local Figure = script.Parent
|
|
local Head = waitForChild(Figure, "Head")
|
|
local Humanoid = waitForChild(Figure, "Humanoid")
|
|
Humanoid.Health=500
|
|
-- regeneration
|
|
while true do
|
|
	local s = wait(4)
|
|
	local health = Humanoid.Health
|
|
	if health > 0 and health < Humanoid.MaxHealth then
|
|
		health = health + 0.08 * s * Humanoid.MaxHealth
|
|
		if health * 1.05 < Humanoid.MaxHealth then
|
|
			Humanoid.Health = health
|
|
		else
|
|
			Humanoid.Health = Humanoid.MaxHealth
|
|
		end
|
|
	end
|
|
end
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script" referent="RBX473">
|
|
<Properties>
|
|
<bool name="Disabled">false</bool>
|
|
<Content name="LinkedSource"><null></null></Content>
|
|
<string name="Name">Respawn</string>
|
|
<ProtectedString name="Source">name="Humanoid"
|
|
|
|
robo=script.Parent:clone()
|
|
|
|
while true do
|
|
	wait(1)
|
|
	if script.Parent.Humanoid.Health<1 then
|
|
		robot=robo:clone()
|
|
		robot.Parent=script.Parent.Parent
|
|
		robot:makeJoints()
|
|
		script.Parent:remove()
|
|
	end
|
|
end
|
|
		
|
|
|
|
|
|
</ProtectedString>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
</Item>
|
|
</Item>
|
|
</Item>
|
|
<Item class="StarterPack" referent="RBX474">
|
|
<Properties>
|
|
<string name="Name">StarterPack</string>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="StarterGui" referent="RBX475">
|
|
<Properties>
|
|
<string name="Name">StarterGui</string>
|
|
<bool name="ShowDevelopmentGui">true</bool>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="SoundService" referent="RBX476">
|
|
<Properties>
|
|
<token name="AmbientReverb">0</token>
|
|
<float name="DistanceFactor">10</float>
|
|
<float name="DopplerScale">1</float>
|
|
<string name="Name">Soundscape</string>
|
|
<float name="RolloffScale">1</float>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="CollectionService" referent="RBX477">
|
|
<Properties>
|
|
<string name="Name">CollectionService</string>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="PhysicsService" referent="RBX478">
|
|
<Properties>
|
|
<string name="Name">PhysicsService</string>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="BadgeService" referent="RBX479">
|
|
<Properties>
|
|
<string name="Name">BadgeService</string>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Geometry" referent="RBX480">
|
|
<Properties>
|
|
<string name="Name">Geometry</string>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="RenderHooksService" referent="RBX481">
|
|
<Properties>
|
|
<string name="Name">RenderHooksService</string>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="SocialService" referent="RBX482">
|
|
<Properties>
|
|
<string name="Name">SocialService</string>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Debris" referent="RBX483">
|
|
<Properties>
|
|
<int name="MaxItems">1000</int>
|
|
<string name="Name">Debris</string>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="TimerService" referent="RBX484">
|
|
<Properties>
|
|
<string name="Name">Instance</string>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="ScriptInformationProvider" referent="RBX485">
|
|
<Properties>
|
|
<string name="Name">Instance</string>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="CookiesService" referent="RBX486">
|
|
<Properties>
|
|
<string name="Name">CookiesService</string>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="TeleportService" referent="RBX487">
|
|
<Properties>
|
|
<string name="Name">Teleport Service</string>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Players" referent="RBX488">
|
|
<Properties>
|
|
<string name="Name">Players</string>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Selection" referent="RBX489">
|
|
<Properties>
|
|
<string name="Name">Selection</string>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="TestService" referent="RBX490">
|
|
<Properties>
|
|
<bool name="AutoRuns">true</bool>
|
|
<string name="Description"></string>
|
|
<bool name="Is30FpsThrottleEnabled">false</bool>
|
|
<bool name="IsPhysicsEnvironmentalThrottled">false</bool>
|
|
<bool name="IsSleepAllowed">true</bool>
|
|
<string name="Name">TestService</string>
|
|
<double name="Timeout">10</double>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Lighting" referent="RBX491">
|
|
<Properties>
|
|
<Color3 name="Ambient">4286808963</Color3>
|
|
<float name="Brightness">1</float>
|
|
<Color3 name="ColorShift_Bottom">4278190080</Color3>
|
|
<Color3 name="ColorShift_Top">4278190080</Color3>
|
|
<Color3 name="FogColor">4290822336</Color3>
|
|
<float name="FogEnd">100000</float>
|
|
<float name="FogStart">0</float>
|
|
<float name="GeographicLatitude">41.7332993</float>
|
|
<string name="Name">Lighting</string>
|
|
<Color3 name="ShadowColor">4290164411</Color3>
|
|
<string name="TimeOfDay">14:00:00</string>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="ChangeHistoryService" referent="RBX492">
|
|
<Properties>
|
|
<string name="Name">ChangeHistoryService</string>
|
|
</Properties>
|
|
</Item>
|
|
</roblox> |