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: Need scripting help

Previous Thread :: Next Thread 
nullmario123 is not online. nullmario123
Joined: 23 Sep 2010
Total Posts: 53
19 Apr 2015 04:58 PM
The script has no error messages but doesn't print a in the second if statement but does in the first one.

while true do
wait()
if a == 1 then
if game.Workspace.New.Value == true then
a = 0
print(a)
end
if game.Workspace.Go.Value == 1 then
if a == 0 then
print(a)
Report Abuse
nullmario123 is not online. nullmario123
Joined: 23 Sep 2010
Total Posts: 53
19 Apr 2015 05:02 PM
bump
Report Abuse
nullmario123 is not online. nullmario123
Joined: 23 Sep 2010
Total Posts: 53
19 Apr 2015 05:08 PM
b2
Report Abuse
nullmario123 is not online. nullmario123
Joined: 23 Sep 2010
Total Posts: 53
19 Apr 2015 05:13 PM
Help Please
Report Abuse
nullmario123 is not online. nullmario123
Joined: 23 Sep 2010
Total Posts: 53
19 Apr 2015 05:16 PM
b3
Report Abuse
TheNewChicken is not online. TheNewChicken
Joined: 18 Mar 2015
Total Posts: 1997
19 Apr 2015 05:17 PM
while wait() do
if a == 1 and game.Workspace.New.Value == true then
a = 0
print(a)
elseif game.Workspace.Go.Value == 1 and a == 0 then
print(a)
end
end

God grant me the wisdom to not punch stupid ppl, for I know I will go to prison.
Report Abuse
nullmario123 is not online. nullmario123
Joined: 23 Sep 2010
Total Posts: 53
19 Apr 2015 05:21 PM
ty
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