102 lines
4.3 KiB
Plaintext
102 lines
4.3 KiB
Plaintext
<roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.roblox.com/roblox.xsd" version="4">
|
|
<External>null</External>
|
|
<External>nil</External>
|
|
<Item class="Part" referent="RBX0">
|
|
<Properties>
|
|
<bool name="Anchored">false</bool>
|
|
<float name="BackParamA">-0.5</float>
|
|
<float name="BackParamB">0.5</float>
|
|
<token name="BackSurface">3</token>
|
|
<token name="BackSurfaceInput">0</token>
|
|
<float name="BottomParamA">-0.5</float>
|
|
<float name="BottomParamB">0.5</float>
|
|
<token name="BottomSurface">3</token>
|
|
<token name="BottomSurfaceInput">0</token>
|
|
<int name="BrickColor">23</int>
|
|
<CoordinateFrame name="CFrame">
|
|
<X>-0.5</X>
|
|
<Y>0.5</Y>
|
|
<Z>0</Z>
|
|
<R00>-1.1920929e-007</R00>
|
|
<R01>1.00000012</R01>
|
|
<R02>0</R02>
|
|
<R10>1.00000012</R10>
|
|
<R11>-1.1920929e-007</R11>
|
|
<R12>0</R12>
|
|
<R20>0</R20>
|
|
<R21>0</R21>
|
|
<R22>-1.00000024</R22>
|
|
</CoordinateFrame>
|
|
<bool name="CanCollide">true</bool>
|
|
<bool name="CastsShadows">true</bool>
|
|
<token name="Controller">0</token>
|
|
<bool name="ControllerFlagShown">true</bool>
|
|
<bool name="Cullable">true</bool>
|
|
<float name="Elasticity">0.5</float>
|
|
<token name="FormFactor">0</token>
|
|
<float name="Friction">0.300000012</float>
|
|
<float name="FrontParamA">-0.5</float>
|
|
<float name="FrontParamB">0.5</float>
|
|
<token name="FrontSurface">3</token>
|
|
<token name="FrontSurfaceInput">0</token>
|
|
<float name="LeftParamA">-0.5</float>
|
|
<float name="LeftParamB">0.5</float>
|
|
<token name="LeftSurface">3</token>
|
|
<token name="LeftSurfaceInput">0</token>
|
|
<bool name="Locked">false</bool>
|
|
<string name="Name">Rocket</string>
|
|
<float name="Reflectance">0</float>
|
|
<float name="RightParamA">-0.5</float>
|
|
<float name="RightParamB">0.5</float>
|
|
<token name="RightSurface">3</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="shape">1</token>
|
|
<Vector3 name="size">
|
|
<X>1</X>
|
|
<Y>1</Y>
|
|
<Z>4</Z>
|
|
</Vector3>
|
|
</Properties>
|
|
<Item class="Sound">
|
|
<Properties>
|
|
<bool name="Looped">true</bool>
|
|
<string name="Name">Swoosh</string>
|
|
<int name="PlayCount">0</int>
|
|
<bool name="PlayOnRemove">false</bool>
|
|
<Content name="SoundId"><url>rbxasset://sounds\Rocket whoosh 01.wav</url></Content>
|
|
<float name="Volume">0.699999988</float>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Sound">
|
|
<Properties>
|
|
<bool name="Looped">false</bool>
|
|
<string name="Name">Explosion</string>
|
|
<int name="PlayCount">0</int>
|
|
<bool name="PlayOnRemove">true</bool>
|
|
<Content name="SoundId"><url>rbxasset://sounds\collide.wav</url></Content>
|
|
<float name="Volume">1</float>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="Script">
|
|
<Properties>
|
|
<string name="Name">Script</string>
|
|
<string name="Source">r = game:service("RunService") shaft = script.Parent position = Vector3.new(0,0,0) function fly() 	direction = shaft.CFrame.lookVector 	position = position + direction 	error = position - shaft.Position 	shaft.Velocity = 7*error end function blow() 	swoosh:Stop() 	explosion = Instance.new("Explosion") 	explosion.Position = shaft.Position 	explosion.Parent = game.Workspace 	connection:disconnect() 	shaft:remove() end t, s = r.Stepped:wait() swoosh = script.Parent.Swoosh swoosh:Play() position = shaft.Position d = t + 10.0 - s connection = shaft.Touched:connect(blow) while t < d do 	fly() 	t = r.Stepped:wait() end script.Parent.Explosion.PlayOnRemove = false swoosh:Stop() shaft:remove() </string>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
</roblox> |