Anti playerbreaker

Posts 115 of 16 · Page 1 of 2
Anti playerbreaker
This would keep you safe.
Code:
using System.Reflection;

{
    SpawnStructures ss = GameObject.FindObjectOfType<SpawnStructures>();
    FieldInfo[] fis = typeof(SpawnStructures).GetFields();
    foreach (FieldInfo fi in fis)
    {
        if (fi.FieldType.Equals(typeof(List<GameObject>)))
        {
            List<GameObject> list = (List<GameObject>)fi.GetValue(ss);
            foreach (GameObject o in list)
            {
                UnityEngine.Object.Destroy(o);
            }
        }
    }
}
{
	Type type = typeof(Vehicle);
	MonoBehaviour[] objects = UnityEngine.MonoBehaviour.FindObjectsOfType(type) as MonoBehaviour[];
	foreach (MonoBehaviour o in objects)
	{
		UnityEngine.Object.Destroy(o.transform.parent.gameObject);
	}
}
{
    MonoBehaviour[] objects = UnityEngine.MonoBehaviour.FindObjectsOfType(typeof(Explosive)) as MonoBehaviour[];
    foreach (MonoBehaviour o in objects)
    {
        UnityEngine.Object.Destroy(o.transform.parent.gameObject);
    }
}
is all client side.
this well destroy all Structure / Vehicle / Explosive.
you also can add Animal Zombie Item......any things
Aw, I guess I have to add this to the hack now. Expect it in 2.7
Quote Originally Posted by blossomlol View Post
How to use this?
Want me to make you this? (It will have one button only... Anti playerbreaker, it won't have gm, item spawners etc.)

EDIT: Sorry mate, gotta go.
Quote Originally Posted by MinecraftGamer101010 View Post
Want me to make you this? (It will have one button only... Anti playerbreaker, it won't have gm, item spawners etc.)

EDIT: Sorry mate, gotta go.
i would appreciate it if you could make this
does this despawn vehicles? or does it just blow them up and leave the burning vehicle there?
Quote Originally Posted by Ozwaldgob View Post
i would appreciate it if you could make this
does this despawn vehicles? or does it just blow them up and leave the burning vehicle there?
Can't sleep... gonna make it now. Also it despawns them.
need the full number after /download/ in your link
Quote Originally Posted by Ozwaldgob View Post
need the full number after /download/ in your link
Okay, fixed.
Quote Originally Posted by MinecraftGamer101010 View Post
Okay, fixed.
haven't had an opportunity to really test it, but it significantly drops FPS, sometimes below 10 FPS ><, not sure why.
Quote Originally Posted by Ozwaldgob View Post
haven't had an opportunity to really test it, but it significantly drops FPS, sometimes below 10 FPS ><, not sure why.
I have no clue either.. it's happening to my other menu I made for myself as well. I'm going to test another menu and see if it drops my FPS. (It's fixed now)
Quote Originally Posted by blackstab1337 View Post
Not sure the point of this...
It's very good because when someone else comes in and spawns crap on you, you can just temporarily get rid of it. (When you rejoin your stuff will still be there.)
When you despawn structures such as walls of player bases, increases FPS hugely
Posts 115 of 16 · Page 1 of 2

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?