generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

WHY ISN'T MY ANTI-TEAM SCRIPT WORKING?

Previous Thread :: Next Thread 
KillbotXx is not online. KillbotXx
Joined: 27 Oct 2013
Total Posts: 4763
09 Oct 2014 07:13 PM
function findKiller(humanoid, player)
local tag = humanoid:findFirstChild("creator")
if tag~= nil then
if tag.Value.Character == player.TeamColor then
if tag.Value.Character ~= nil then
tag.Value.Charcter:BreakJoints()
end
end
end
end

function e(p)
p.Changed:connect.Humanoid.Died:connect(function() findKiller(p.Character.Humanoid, p) end)
end
end)
end
game.Players.ChildAdded:connect(e)
Report Abuse
KillbotXx is not online. KillbotXx
Joined: 27 Oct 2013
Total Posts: 4763
09 Oct 2014 07:22 PM
b1
Report Abuse
LordMatthewII is not online. LordMatthewII
Joined: 20 Aug 2011
Total Posts: 10873
09 Oct 2014 07:25 PM
That's disgusting..

Check if they are on the same team in the tool.
Report Abuse
KillbotXx is not online. KillbotXx
Joined: 27 Oct 2013
Total Posts: 4763
09 Oct 2014 07:41 PM
erm
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image