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: Found a glitch

Previous Thread :: Next Thread 
jetlogan is not online. jetlogan
Joined: 05 May 2010
Total Posts: 1423
03 Nov 2013 01:40 PM
script.Parent.Rounds.Value = script.Parent.Rounds.Value + 1
print("1")

It prints 1 but doesn't set the value of Rounds.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
03 Nov 2013 01:40 PM
Where is the script located -.-
Report Abuse
jetlogan is not online. jetlogan
Joined: 05 May 2010
Total Posts: 1423
03 Nov 2013 01:44 PM
2 places. -.-

1. The player, which works.
2. The ScreenGui, which doesn't work.
Report Abuse
StealthKing95 is not online. StealthKing95
Joined: 13 Dec 2008
Total Posts: 4263
03 Nov 2013 01:44 PM
print(script.Parent.Rounds.Value)
script.Parent.Rounds.Value = script.Parent.Rounds.Value + 1
print(script.Parent.Rounds.Value)
Report Abuse
jetlogan is not online. jetlogan
Joined: 05 May 2010
Total Posts: 1423
03 Nov 2013 01:45 PM
did that
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
03 Nov 2013 01:49 PM
Add a wait, it always fixes everything
Report Abuse
jetlogan is not online. jetlogan
Joined: 05 May 2010
Total Posts: 1423
03 Nov 2013 01:51 PM
Did that
Report Abuse
jetlogan is not online. jetlogan
Joined: 05 May 2010
Total Posts: 1423
03 Nov 2013 01:52 PM
Here my whole script if I'm doing something wrong:

wait()

--Boot Process

script.Parent.ID.Value = math.random()

if script.Parent.Parent.Parent:IsA("Player") then
isInPlayer = true
else
isInPlayer = false
end

--System

while wait() do
a = tick()
script.Parent.Rounds.Value = script.Parent.Rounds.Value + 1
b = tick()
c = b-a
if c > script.Parent.LongestRoundTime.Value then
script.Parent.LongestRoundTime.Value = c
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