Ability to Kill Players on the Same Team

  1. What do you want to achieve?
    I would like players on the same team to be able to kill each other.
  2. What is the issue? I
    I have no knowledge of scripting and Do not know who to resolve this.
  3. What solutions have you tried so far?
    I have searched over youtube and nothing, same with google. I also looked on the forum and the topics are too advanced for me to understand.

This is kinda a lot to ask for but this is my only resort

Background
When players are sworded, people cannot kill each other on the same team. I would like for them to be able to kill each other.

2 Likes

You could use this sample:

if target.Team == "TeamName" and plr.Team == "TeamName"  then --checking if they are the same team
      --put code here idk
end
1 Like

There is no snippet here to be resolved.

They cannot kill each other on the same team because of your sword script.

1 Like

I use HD Admin, any thing with that?

1 Like

It’s because of your sword script, before dealing damage it is checking if they are on the same team as yours

Do you know how I can access the sword script w/ HD admin?

1 Like

You can’t. Find the sword within Roblox Studio, then find and open any scripts it contains, copy the code out of them, and edit your post to contain the code. We cannot help unless you provide code.

I would suggest literally just cloning the sword, putting it in ur game in somewhere like serverstorage, and change the HD admin script to clone it into the player’s backpack with it’s changed script

since im pretty sure you cant change the sword script itself easily (ig you could add another script to replace the script but thats way more complicated)

What sword do you use?
The one you made or a model from the toolbox.
When you make your own, you don’t have to do anything.