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
 

Re: Get a teams total kills?

Previous Thread :: Next Thread 
Distortional is not online. Distortional
Joined: 22 Nov 2011
Total Posts: 6530
16 Aug 2014 04:58 PM
Trying to make a bar that will increase in size after every kill.

local bar = script.Parent


game.Teams.Syndicate.Kills.Changed:connect(function(Val)
new = 300 * Val / script.Parent.KillsNeeded
script.Parent.Size = (UDim2.new(0, new, 0, 15))
end)



If you look closely, I don't give a crap.
Report Abuse
Miro034 is not online. Miro034
Joined: 07 Oct 2009
Total Posts: 6568
16 Aug 2014 05:07 PM
I don't get what we have to do to help j00.
Report Abuse
Distortional is not online. Distortional
Joined: 22 Nov 2011
Total Posts: 6530
16 Aug 2014 05:08 PM
Kills is not a member of team...

If you look closely, I don't give a crap.
Report Abuse
Miro034 is not online. Miro034
Joined: 07 Oct 2009
Total Posts: 6568
16 Aug 2014 05:09 PM
you can
function functionalize()
TotalPlayers = game.Players:GetChildren()
for i,v in pairs(TotalPlayers) do
game.Teams.Syndicate.Kills.Value = game.Teams.Syndicate.Kills.Value+v.Kills.Value
end

functionalize()
Report Abuse
Miro034 is not online. Miro034
Joined: 07 Oct 2009
Total Posts: 6568
16 Aug 2014 05:10 PM
oops late toast gotta need some butter.
Report Abuse
Distortional is not online. Distortional
Joined: 22 Nov 2011
Total Posts: 6530
16 Aug 2014 05:11 PM
What.... Kills is not a valid member of team...

If you look closely, I don't give a crap.
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