Soquick
|
  |
| Joined: 01 Nov 2012 |
| Total Posts: 1497 |
|
|
| 09 Aug 2013 01:16 PM |
wait(5) --PUT EXACT TEAM NAMES-- raiders = "Hostile/Raider" none = "Visitors/Allies" group = "Furious Empire" ------VARIABLES-------- guiraid = script.GuiRaid.Value mainteam = group notcap = none raid = raiders for _, play in ipairs(game.Players:children()) do gui = play.PlayerGui.TerminalStats print("Gui Identified") end -------Current Owner--------- currentowner = script.CurrentOwner.Value currentowner = mainteam script.CurrentOwner.Changed:connect(function() print"Current Owner Changed" script.Parent.BrickColor = game.Teams[currentowner].TeamColor print("Changed BrickColor") end) script.GuiRaid.Changed:connect(function() if guiraid == true then print"Raiders Have Flag, Counting" gui.TimerFrame.Visible = true for i = 1200, 1, -1 do if guiraid then gui.TimerFrame.Time.Text = tostring(i) wait(1) elseif not guiraid then gui.TimerFrame.Time.Text = "1200" end end local m = Instance.new("Message", workspace) print"Raiders Won" m.Text = raiders, "Won this time! Try Harders Next Time", group wait(60) m.Text = "Now, Crashing All Raiders" wait(8) for i, v in ipairs(game.Players:children()) do if v.TeamColor == game.Teams[raid].TeamColor then script.Crash:clone().Parent = v.Backpack print"Crashed" end end elseif guiraid == false then print"Stopping" gui.TimerFrame.Visible = false gui.TimerFrame.Time.Text = "1200" end end) script.Parent.Touched:connect(function(cha) print"Touched" if cha.Parent:FindFirstChild("Humanoid") then local char = cha.Parent print"Char Found" local plr = game.Players[char.Name] print"Player Found" if plr.TeamColor == game.Teams[currentowner].TeamColor then print"Cant double-capture" elseif plr.TeamColor == game.Teams[notcap].TeamColor then print"Neutral" elseif plr.TeamColor == not game.Teams[currentowner].TeamColor then print"Capturing" if plr.TeamColor == game.Teams[raid].TeamColor then print"Player Is Raider" currentowner = raid guiraid = true gui.Stats.StatsText = raiders,"owns the Terminal" elseif plr.TeamColor == game.Teams[group].TeamColor then print"Player Is FE" currentowner = mainteam guiraid = false gui.Stats.StatsText = group,"owns the Terminal" end end end end) Problems: The touched function works, it prints up to Player found, and does nothing. I tried to do it myself with changing value's for .Changed:connect it doesnt work. |
|
|
| Report Abuse |
|
|
| |
|
Soquick
|
  |
| Joined: 01 Nov 2012 |
| Total Posts: 1497 |
|
| |
|
|
| 09 Aug 2013 01:21 PM |
Output?
I mean Venusaur...with a question mark - Add precisely 11,745 to my post count - Alt of boynedmaster |
|
|
| Report Abuse |
|
|
Soquick
|
  |
| Joined: 01 Nov 2012 |
| Total Posts: 1497 |
|
| |
|
Soquick
|
  |
| Joined: 01 Nov 2012 |
| Total Posts: 1497 |
|
| |
|
Soquick
|
  |
| Joined: 01 Nov 2012 |
| Total Posts: 1497 |
|
| |
|
Soquick
|
  |
| Joined: 01 Nov 2012 |
| Total Posts: 1497 |
|
| |
|
Soquick
|
  |
| Joined: 01 Nov 2012 |
| Total Posts: 1497 |
|
| |
|
Soquick
|
  |
| Joined: 01 Nov 2012 |
| Total Posts: 1497 |
|
| |
|
Soquick
|
  |
| Joined: 01 Nov 2012 |
| Total Posts: 1497 |
|
| |
|
Soquick
|
  |
| Joined: 01 Nov 2012 |
| Total Posts: 1497 |
|
| |
|
|
| 09 Aug 2013 01:49 PM |
Don't you think after 6 bumps you'd think people don't know how to fix this?
I mean Venusaur...with a question mark - Add precisely 11,745 to my post count - Alt of boynedmaster |
|
|
| Report Abuse |
|
|
Soquick
|
  |
| Joined: 01 Nov 2012 |
| Total Posts: 1497 |
|
|
| 09 Aug 2013 01:50 PM |
^ I dont care, nobody atleast has the common sense to try b7 |
|
|
| Report Abuse |
|
|
Soquick
|
  |
| Joined: 01 Nov 2012 |
| Total Posts: 1497 |
|
|
| 09 Aug 2013 01:56 PM |
b8 --Going on a record with bumps |
|
|
| Report Abuse |
|
|
Absurdism
|
  |
| Joined: 18 Jul 2013 |
| Total Posts: 2568 |
|
|
| 09 Aug 2013 01:57 PM |
| If it's not a syntax error, it's a logical error. |
|
|
| Report Abuse |
|
|
Soquick
|
  |
| Joined: 01 Nov 2012 |
| Total Posts: 1497 |
|
|
| 09 Aug 2013 01:58 PM |
Where? I dont want what type of error. I WANT WHAT THE ERROR IS. b9 |
|
|
| Report Abuse |
|
|
Soquick
|
  |
| Joined: 01 Nov 2012 |
| Total Posts: 1497 |
|
| |
|
Absurdism
|
  |
| Joined: 18 Jul 2013 |
| Total Posts: 2568 |
|
|
| 09 Aug 2013 02:06 PM |
| Examine the code! There is nothing logically wrong with it, thus, it must be something on your part that we cannot see. |
|
|
| Report Abuse |
|
|
Soquick
|
  |
| Joined: 01 Nov 2012 |
| Total Posts: 1497 |
|
|
| 09 Aug 2013 02:09 PM |
^ I DID!!! TELL ME SOME STUFF YOU NEED TO KNOW. I WILL TELL YOU. b11 |
|
|
| Report Abuse |
|
|
Soquick
|
  |
| Joined: 01 Nov 2012 |
| Total Posts: 1497 |
|
| |
|
Soquick
|
  |
| Joined: 01 Nov 2012 |
| Total Posts: 1497 |
|
| |
|
Soquick
|
  |
| Joined: 01 Nov 2012 |
| Total Posts: 1497 |
|
| |
|