<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.starfall.wtf/index.php?action=history&amp;feed=atom&amp;title=One_Way_Shields</id>
	<title>One Way Shields - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.starfall.wtf/index.php?action=history&amp;feed=atom&amp;title=One_Way_Shields"/>
	<link rel="alternate" type="text/html" href="https://wiki.starfall.wtf/index.php?title=One_Way_Shields&amp;action=history"/>
	<updated>2026-07-28T17:05:09Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://wiki.starfall.wtf/index.php?title=One_Way_Shields&amp;diff=423&amp;oldid=prev</id>
		<title>PRG: Created page with &quot;{{CatUp|Tutorials}} __TOC__  == Introduction ==  One-Way shields are a door or shield that only lets people through one way.  This can fix spawnkilling problems, for example, by placing weapons/weapon givers outside the spawnroom, and spawns inside and having this shield in-between.  This makes it only possible to exit to the weapons, but not to reenter with weapons.  Therefore, NO Spawnkilling.  == Building ==  First, open up Roblox Studio.  Create a w...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.starfall.wtf/index.php?title=One_Way_Shields&amp;diff=423&amp;oldid=prev"/>
		<updated>2024-12-10T12:50:43Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{CatUp|Tutorials}} __TOC__  == Introduction ==  One-Way shields are a door or shield that only lets people through one way.  This can fix spawnkilling problems, for example, by placing weapons/weapon givers outside the spawnroom, and spawns inside and having this shield in-between.  This makes it only possible to exit to the weapons, but not to reenter with weapons.  Therefore, NO Spawnkilling.  == Building ==  First, open up &lt;a href=&quot;/index.php/Roblox_Studio&quot; class=&quot;mw-redirect&quot; title=&quot;Roblox Studio&quot;&gt;Roblox Studio&lt;/a&gt;.  Create a w...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{CatUp|Tutorials}}&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
One-Way shields are a door or shield that only lets people through one way.  This can fix spawnkilling problems, for example, by placing weapons/weapon givers outside the spawnroom, and spawns inside and having this shield in-between.  This makes it only possible to exit to the weapons, but not to reenter with weapons.  Therefore, NO Spawnkilling.&lt;br /&gt;
&lt;br /&gt;
== Building ==&lt;br /&gt;
&lt;br /&gt;
First, open up [[Roblox_Studio|Roblox Studio]].  Create a wall.  I will use a spawn room, for example.&lt;br /&gt;
&lt;br /&gt;
[[Image:Rob1.gif|300px]]   &lt;br /&gt;
                                                               &lt;br /&gt;
Next is the shield.  Create a [[RBX.lua.Part (Object)|brick]].  [[RBX.lua.Color (Object)|Color]], [[Transparency (Property)|transparency]] and [[Reflectance (Property)|reflectance]] do not matter.  We will have to fill from the bottom and to the top.  I recommend for it to be two studs thick and it to be [[Anchor|anchored]].  Note that if your [[RBX.lua.Part (Object)|brick]] is only 1 stud thick, it will be possible to open it from both sides.:&lt;br /&gt;
&lt;br /&gt;
[[Image:Rob2.jpg|300px]]&lt;br /&gt;
&lt;br /&gt;
Note that there are two &amp;#039;&amp;#039;&amp;#039;more&amp;#039;&amp;#039;&amp;#039; studs in front of where we just placed a shield, so that we can place another brick (of the same size).  [[Anchor]] this one, too.  (Look near the ground where the building stands).  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;The rest you decide: &lt;br /&gt;
&lt;br /&gt;
[[Image:Rob3.jpg|300px]]&lt;br /&gt;
&lt;br /&gt;
Name the [[RBX.lua.Part (Object)|bricks]] &amp;#039;&amp;#039;&amp;#039;Door&amp;#039;&amp;#039;&amp;#039; And &amp;#039;&amp;#039;&amp;#039;Door2&amp;#039;&amp;#039;&amp;#039; , and group those two [[RBX.lua.Part (Object)|bricks]].&lt;br /&gt;
&lt;br /&gt;
== Scripting ==&lt;br /&gt;
&lt;br /&gt;
Select the [[RBX.lua.Part (Object)|brick]] that is supposed to open when you touch it.&lt;br /&gt;
Click Insert, Object, then select Script.&lt;br /&gt;
&lt;br /&gt;
[[Image:Rob4.jpg|600px]]&lt;br /&gt;
------------------------&lt;br /&gt;
[[Image:Rob5.jpg|300]]&lt;br /&gt;
&lt;br /&gt;
Go to scripting mode for that script you just inserted by selecting that script and double-clicking on it.&lt;br /&gt;
&lt;br /&gt;
Here&amp;#039;s the script you&amp;#039;ll have to insert:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
door = script.Parent.Parent.Door&lt;br /&gt;
door2 = script.Parent.Parent.Door2&lt;br /&gt;
function onTouched(hit)&lt;br /&gt;
	door.CanCollide = false&lt;br /&gt;
	door2.CanCollide = false&lt;br /&gt;
	wait(3)&lt;br /&gt;
	door.CanCollide = true&lt;br /&gt;
	door2.CanCollide = true&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
script.Parent.Touched:connect(onTouched)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Tutorials]]&lt;/div&gt;</summary>
		<author><name>PRG</name></author>
	</entry>
</feed>