|
| 25 Aug 2017 12:44 PM |
--used by checkTeams function sameTeam(otherHuman) local player = getPlayer() local otherPlayer = game:GetService("Players"):GetPlayerFromCharacter(otherHuman.Parent) if player and otherPlayer then return player.TeamColor == otherPlayer.TeamColor end return false end
(Is from a Throwable Knife script)
WiFiCrasher |
|
|
| Report Abuse |
|
Mitko0o1
|
  |
| Joined: 30 Nov 2010 |
| Total Posts: 5725 |
|
|
| 25 Aug 2017 12:50 PM |
not sure because you put the function out of context but maybe if you make the function like this
function sameTeam(otherHuman) return false end
|
|
|
| Report Abuse |
|