#how to not damage urself
1 messages · Page 1 of 1 (latest)
My message got deleted
I didn’t even swear
Anyways it was how to not damage urself with projectile launchers and weapons if ur holding them
Guys it’s helpy helpy time?
Check if the player being hit = the player firing before you add the damage
Do you have a system set up to do damage when you shoot yourself?
No
I use player definition board
With event projectile hit player and collision data
And a custom hp system
It all works
Then you do lol
Owh
get an if chip and an equals chip. Put the player being hit and the player firing into an equals chip; if they’re the same do nothing, if not take the health away
actually
use an if player is local chip
Actually, no, it depends on your hp system
just have something checking if the player shooting is the player being hit
The guy from who I got the system from has a victim and attacker role
Help pls
Skibidi people
People?
😪
People are gonna answer be patient lil bro
Get an If Chip and Equals chip, hook the firing player and the hit player to the equals chip, and hook that to the Ifs condition port. Connect Projectile Hit Player to the If chip, then hook else to the damage event sender.
@vague eagle I love you
Yep
@vague eagle Do you know how to add currency to the person that killed another person
I know lots of people asked but I don’t understand any of that
CV1 or CV2 pvp?
Cv2
The person from who I got my system from has this for showing subtitle when killing someone and I thought it would be easy to add currency to the attacker but when I kill my alt it says nothing and on my alt it says killed by alt name
Do you want the amount of currency to be randomized?
Oh wait
Hmmm
I dont really know a way to do this on CV2
Okay so I assume you use that damage event
Check if the players health is equal to 0
And if it is
Add currency to the attacker
And a subtitle
How :3
You have an integer variable for the health right?
So on the event receiver damage, send it to an if chip, then get an equals chip and hook up the output of the health on the 1st port and on the 2nd port put 0. If it is 0 then respawn the player and award the attacker currency
Like this?