<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[[Release] [Zombies] Set Mystery Box Hits Before Teddy]]></title><description><![CDATA[<p dir="auto">This script allows you to set the amount of times the box can be used before getting a teddy bear that moves the box. If you set it high it will basically just be a permanent box location but I would not recommend that because you might get a shitty box location. I'm working on a way to set up the first box spawn location for each map so that will release soon if I can get that working.</p>
<p dir="auto">Here is the code. Put this in <strong>AppData\Local\Plutonium\storage\t5\scripts\sp\zom</strong></p>
<pre><code>#include maps\_utility;
#include common_scripts\utility;
#include maps\_zombiemode_utility;

init()
{
	if( GetDvar( #"zombiemode" ) == "1" )
		level thread onPlayerConnect();
}

onPlayerConnect()
{
	level endon("end_game");
	for (;;)
	{
		level waittill("connected", player);
		player thread onPlayerSpawned();
	}
}

onPlayerSpawned()
{
	self endon("disconnect");
	self waittill("spawned_player");
	level thread boxhits();
        wait 6;
        self iprintln("^1Box Hits Set to: ^4" +level.chest_min_move_usage);
}

boxhits()
{
	if(!isdefined(level.chest_min_move_usage))
	{
		level.chest_min_move_usage = 10; //change number to whatever you want.
	}
	if(level.chest_accessed &lt; level.chest_min_move_usage)
	{
		chance_of_joker = -1;
	}
	else
	{
		chance_of_joker = 100; //change this to -1 if you want a permanent box 
	}
}
</code></pre>
]]></description><link>https://forum.plutonium.pw/topic/22887/release-zombies-set-mystery-box-hits-before-teddy</link><generator>RSS for Node</generator><lastBuildDate>Thu, 23 Apr 2026 02:36:12 GMT</lastBuildDate><atom:link href="https://forum.plutonium.pw/topic/22887.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 23 Jun 2022 02:25:39 GMT</pubDate><ttl>60</ttl></channel></rss>