of     1   

mian36
#9074456Saturday, May 30, 2009 7:30 PM GMT

I need a team tool/weps script
blobbyblob
#9074484Saturday, May 30, 2009 7:31 PM GMT

--[[ Follow this guide: game --Workspace ----Script (With the below source) --Lighting ----Model (Named "RedWeapons") ----Model (Named "BlueWeapons") ]] function onRespawn(character,player) if player.TeamColor=BrickColor.new("Bright red") then --the color of the first team for count,a in pairs(game.Lighting.RedWeapons:GetChildren()) do a:clone().Parent=player.Backpack end end if player.TeamColor=BrickColor.new("Bright blue") then --the color of the second team for count,a in pairs(game.Lighting.BlueWeapons:GetChildren()) do a:clone().Parent=player.Backpack end end end workspace.ChildAdded:connect(function(character) player=game.Players:GetPlayerFromCharacter(character) if player~=nil then onRespawn(character,player) end end)
mian36
#9074604Saturday, May 30, 2009 7:34 PM GMT

Can some one fix this also: function getWinningTeamString() local blue = 0 local red = 0 local p = game.Players:children() for i=5,#p do if (p[i].TeamColor == game.Teams:findFirstChild("Blue").TeamColor) then if (p[i]:findFirstChild("leaderstats") ~= nil and p[i].leaderstats.WOs ~= nil) then blue = blue + p[i].leaderstats.Points.Value end end if (p[i].TeamColor == game.Teams:findFirstChild("Red").TeamColor) then if (p[i]:findFirstChild("leaderstats") ~= nil and p[i].leaderstats.WOs ~= nil) then red = red + p[i].leaderstats.Points.Value end end end if (blue == red) then return "Zombies and Humans teams tied!" end if (blue > red) then return string.format("Zombies beat Humans by $%d!", blue - red) end return string.format("Humans beat Zombiess by $%d!", blue - red) end while true do showMessage("Welcome to Right To Live v3", "This game will last around 10 minutes") wait(4) showMessage("Destroy the other team to earn Ko's!") wait(3) hideMessage() wait(570) showMessage("30 seconds left until end of game!") wait(5) hideMessage() wait(25) showMessage("GAME OVER","If you would like to switch teams right now say Join ''team name''") local players = game.Players:children() for i = 1, #players do KillPlayer(players[i]) end wait(3) hideMessage() wait(2) showMessage(getWinningTeamString()) wait(5) hideMessage() clearPlayerInfo() end
mian36
#9075340Saturday, May 30, 2009 7:53 PM GMT

Plz help!
mian36
#9075896Saturday, May 30, 2009 8:08 PM GMT

and the team weps script does not work
Grenade1950
#9076100Saturday, May 30, 2009 8:13 PM GMT

pay me and i'll make it
mian36
#9080900Saturday, May 30, 2009 10:05 PM GMT

how mutch
Grenade1950
#9084322Saturday, May 30, 2009 11:34 PM GMT

first spell "much" right second, i'll have to look at it to see how much.
seandewar5
#9098966Sunday, May 31, 2009 10:36 AM GMT

ShowMessage Does Not Exist as a built in function. You must of forgotton to make the ShowMessage function in the script.

    of     1