I need help making a gun that can reset a player's upgrades but only once per player

Wait. @username000 Show me your KO Manager settings

okay i’ll try that really quick.

@username000 Do you have the property “knocked out before” with a property device? That might be it.

I was asking that before too

This

Oh ok sorry. I did not realize what you meant.

1 Like

Welcome to the forum @username000!

yeah i have a property device for “knocked out before”

Got it. I have no idea why the code is not working then.

sure here is the current settings

1 Like

it only lets me put one at a time…

1 Like

And the Knockout Manager is connected to the thing that runs the code?

Please don’t take offense from this, I am just making sure that it is connected. (Some people might get offended)

1 Like

That is the problem
A KO Manager only tracks the person who is knocked out, not the person who knocks the player out
So, Triggering Player and Knocked Player will be the same player

1 Like

i have the block codding from before in the block coding for the ko manager because i figure i was need the (as knocked out player) functions

1 Like

so how should i go about fixing it?

1 Like

I don’t know if you can… You would have to use a lifecycle, but then you wouldn’t have the Knocked Player block. You would have to improvise a new solution

1 Like

well then instead can i make the weapon only get one single shot instead of one mag

1 Like

Yes
Do you have a way?

1 Like

Is this a custom weapon?

1 Like

no its just the uhh i think it’s called the “evil eye” or something similar

1 Like