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 » Scripters
Home Search
 

Outscore not working on the script

Previous Thread :: Next Thread 
Rurith is not online. Rurith
Joined: 05 Jul 2011
Total Posts: 9218
31 Dec 2014 04:49 PM
The point of the script is to set a outscore - like !SetOutscore 5.

So when a person gets his 5th Wipeout I want it to team him white the respawn him.

I want to be able to do like !SetOutscore 5, 6, 3, 1, 7.

Here is my current script:

local group_id = 954478
local group_rank_permission = 11
local administrators = {"Rurith"}
local trigger = "!Outscore"

local function theStart(even
deaths.Value = deaths.Value + 1
if deaths.Value>("!Outscore"...% then
player.TeamColor=BrickColor.new("White")
end

game.Players.PlayerAdded:connect(function(player)
if player:GetRankInGroup(group_id) >= group_rank_permission then
table.insert(administrators, player)
player.Chatted:connect(function(message)
if message:sub(1, trigger:len()) == trigger then
theStart(true)
end
end)
end
end)



Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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