[HELP] Global Variables

Hello people I want a small part of the gamemode “ENDGAME” (CODE :7FYEJ)
Implement in my FFA.

Here is the TEST CODE: 513KC

He should only have 3 locations where at ORB can spawn.
The ORB should spawn random in one of the three positions.
Players should be able to pick up. And best with INTERACT can activate
As soon as you pick it up or activate it with Interact
he has to EMP that hacked all other player in the radius of 5 meters for 15 seconds

So, to my understanding you’re asking for something like this?

Basic rules

rule(“Create Orb Effect”)
{
event
{
Ongoing - Global;
}

actions
{
	Create Effect(All Players(All Teams), Orb, White, Vector(0, 0, 0), 1, Visible To Position and Radius);
	Set Global Variable(A, Last Created Entity);
}

}

rule(“Make Orb Hack Opponents When Touched”)
{
event
{
Ongoing - Global;
}

conditions
{
	Players Within Radius(Vector(0, 0, 0), 1, All Teams, Off) == True;
	Entity Exists(Global Variable(A)) == True;
}

actions
{
	Set Status(Players Within Radius(Vector(0, 0, 0), 5, All Teams, Off), Null, Hacked, 15);
}

}

This is a very simple set of rules because I don’t really understand what you’re asking for. These will create an effect at a specific location, then once a player is within 1 metre of the location it will hack all players within 5 metres of the location.

Anyone can Help me Please ? ;/