|
| 22 Jan 2013 08:45 PM |
| I need a script to where a sword cannot hurt allies/vicitors/the main team their. |
|
|
| Report Abuse |
|
|
|
| 22 Jan 2013 08:50 PM |
| use Player.TeamColor to check what team they're in. Hope that hint helped. |
|
|
| Report Abuse |
|
|
|
| 22 Jan 2013 09:15 PM |
Yea, just check if they are on the same team or not using TeamColor.
~One must risk everything to find the truth. Even if the truth isn't what you want it to be, it is better than living a lie.~ |
|
|
| Report Abuse |
|
|
|
| 23 Jan 2013 03:54 PM |
Bump,
No, I want it seperate teams like allies and let's say TRA, their swords cannot hurt allies nor their guns, what script is that? |
|
|
| Report Abuse |
|
|
jelly134
|
  |
| Joined: 25 Aug 2008 |
| Total Posts: 1137 |
|
|
| 23 Jan 2013 03:59 PM |
A script that you need to write yourself, using your Lua knowledge and the technique that everyone has posted. Find out what team people are on with player.TeamColor.
This forum is not to write scripts for people. Nor is it to link people to free model scripts. It is to help fix code and to help expand knowledge on certain scripting aspects.
- Jelly134 Wiki Staff Profile: http://wiki.roblox.com/index.php/User:Jelly134 |
|
|
| Report Abuse |
|
|