donut222
|
  |
| Joined: 09 Jun 2009 |
| Total Posts: 1837 |
|
| |
|
donut222
|
  |
| Joined: 09 Jun 2009 |
| Total Posts: 1837 |
|
| |
|
swmaniac
|
  |
| Joined: 28 Jun 2008 |
| Total Posts: 15773 |
|
|
| 11 Aug 2011 08:12 PM |
Yes, the data persistence feature permits things to cross servers.
What did you have in mind? |
|
|
| Report Abuse |
|
|
|
| 11 Aug 2011 08:21 PM |
This seems interesting... Are you saying something like If someone is a raider in 1 server, they're a raider in all? |
|
|
| Report Abuse |
|
|
donut222
|
  |
| Joined: 09 Jun 2009 |
| Total Posts: 1837 |
|
| |
|
|
| 11 Aug 2011 09:16 PM |
| No, this is impossible. You can't create players, and I don't think you can control other servers, can only save/load data into a server. |
|
|
| Report Abuse |
|
|
donut222
|
  |
| Joined: 09 Jun 2009 |
| Total Posts: 1837 |
|
| |
|
|
| 11 Aug 2011 09:50 PM |
| Oh. Tell me the name of the raider team. |
|
|
| Report Abuse |
|
|
|
| 11 Aug 2011 09:54 PM |
| oh, and the group team name. |
|
|
| Report Abuse |
|
|
|
| 11 Aug 2011 10:00 PM |
ELECTRICBLAZE.
GET YOUR FAT REAR BACK TO TYPEWITH >:O |
|
|
| Report Abuse |
|
|
|
| 11 Aug 2011 10:02 PM |
Sorry, gg... O_o
Sorry, I gotta go I'll be back at around 12:30 AM EST. I'll help you then. :) |
|
|
| Report Abuse |
|
|
donut222
|
  |
| Joined: 09 Jun 2009 |
| Total Posts: 1837 |
|
| |
|
|
| 12 Aug 2011 08:38 AM |
game.Players[Bannedplayer]:SaveString("Message", "true")
if game.Players["Player"]:LoadString("Message") ~= nil then if game.Players["Player"]:LoadString("Message") == true then end end
something like this?
|
|
|
| Report Abuse |
|
|
donut222
|
  |
| Joined: 09 Jun 2009 |
| Total Posts: 1837 |
|
| |
|
|
| 12 Aug 2011 10:00 AM |
| Okay, I'll go work on it.... |
|
|
| Report Abuse |
|
|
|
| 12 Aug 2011 10:18 AM |
I'm not sure if this will work, I didn't test (because I can't), but you can try this:
function seeTeam() for i,v in pairs(game:service("Teams"):GetTeams()) do if v.Name == "Team One" then return v end end end
function seeTeam2() for i,v in pairs(game:service("Teams"):GetTeams()) do if v.Name == "Team Two" then return v end end end
game.Players.PlayerAdded:connect(function(p) local r = Instance.new("BoolValue", p) r.Value = false r.Name = "raider" p:WaitForDataReady() local data = p:LoadBoolean("raider") if data == false then return end p.CharacterAdded:connect(function(c) c.Humanoid.Died:connect(function() local killer = game.Players[c.Humanoid.creator.Value] local team = seeTeam() if killer.TeamColor == team.TeamColor then if p.TeamColor == team.TeamColor then local team2 = SeeTeam2() killer.TeamColor = team2.TeamColor raidervar = true killer:WaitForDataReady() killer:SaveBoolean("raider", killer.raider.Value) end end end) end) end) |
|
|
| Report Abuse |
|
|
|
| 12 Aug 2011 10:18 AM |
Oops, gotta edit one thing:
function seeTeam() for i,v in pairs(game:service("Teams"):GetTeams()) do if v.Name == "Team One" then return v end end end
function seeTeam2() for i,v in pairs(game:service("Teams"):GetTeams()) do if v.Name == "Team Two" then return v end end end
game.Players.PlayerAdded:connect(function(p) local r = Instance.new("BoolValue", p) r.Value = false r.Name = "raider" p:WaitForDataReady() local data = p:LoadBoolean("raider") if data == false then return end p.CharacterAdded:connect(function(c) c.Humanoid.Died:connect(function() local killer = game.Players[c.Humanoid.creator.Value] local team = seeTeam() if killer.TeamColor == team.TeamColor then if p.TeamColor == team.TeamColor then local team2 = SeeTeam2() killer.TeamColor = team2.TeamColor killer.raider.Value = true killer:WaitForDataReady() killer:SaveBoolean("raider", killer.raider.Value) end end end) end) end) |
|
|
| Report Abuse |
|
|