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
 

Re: It Goes Twice Any Help Stopping That?

Previous Thread :: Next Thread 
xXRevengeCreeperXx is not online. xXRevengeCreeperXx
Joined: 22 Nov 2012
Total Posts: 699
26 Jun 2015 02:17 PM
The script is below. It is to put your name in a text that everyone sees but it puts your name in the second listing. ill put arrows where it does it at.
local sc = script.Parent

game.Workspace.EventsAndFunctions.Game1Join.OnClientEvent:connect(function(player)
if game.Workspace.GP.Game1.P1.Value == 0 then
if sc.Game.MainFrame.Join.Game.Game1.GameBoard.Players.P1.Text == "" then
print("J2")
if sc.Game.MainFrame.Join.Game.Game1.GameBoard.Players.P1.Visible == true then
print("J3")
sc.Game.MainFrame.Join.Game.Game1.GameBoard.Players.P1.Text = "" .. player.Name
print("J4")
game.Workspace.PlayersG.Game1.Value = game.Workspace.PlayersG.Game1.Value + 1
print("J5")
sc.Game.MainFrame.Join.Games.Games1.Players.Text = game.Workspace.PlayersG.Game1.Value
print("J6")
game.Workspace.GP.Game1.P1.Value = 1
end
end
--It Goes Again Here For Some Reason I Don't Want It To elseif game.Workspace.GP.Game1.P2.Value == 0 then
if sc.Game.MainFrame.Join.Game.Game1.GameBoard.Players.P2.Text == "" then
if sc.Game.MainFrame.Join.Game.Game1.GameBoard.Players.P2.Visible == true then
sc.Game.MainFrame.Join.Game.Game1.GameBoard.Players.P2.Text = "" .. player.Name
game.Workspace.PlayersG.Game1.Value = game.Workspace.PlayersG.Game1.Value + 1
game.Workspace.GP.Game1.P2.Value = 1
sc.Game.MainFrame.Join.Games.Games1.Players.Text = game.Workspace.PlayersG.Game1.Value
end
end
end
end)
Report Abuse
xXRevengeCreeperXx is not online. xXRevengeCreeperXx
Joined: 22 Nov 2012
Total Posts: 699
26 Jun 2015 07:22 PM
Bump
Report Abuse
xXRevengeCreeperXx is not online. xXRevengeCreeperXx
Joined: 22 Nov 2012
Total Posts: 699
27 Jun 2015 01:40 PM
Bump
Report Abuse
xXRevengeCreeperXx is not online. xXRevengeCreeperXx
Joined: 22 Nov 2012
Total Posts: 699
27 Jun 2015 07:37 PM
Bu
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
27 Jun 2015 07:37 PM
oh dear load not this script again....
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