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 » Scripting Helpers
Home Search
 

Re: Script problem

Previous Thread :: Next Thread 
rauluss1 is not online. rauluss1
Joined: 22 Dec 2010
Total Posts: 599
23 Mar 2014 05:42 AM
while true do
script.Parent.Value.Value = script.Parent.Parent.Parent.Parent.leaderstats.Points.Value
wait(0.1)
end

Breaks everytime q_q
Report Abuse
filiptibell is not online. filiptibell
Joined: 10 Mar 2013
Total Posts: 2362
23 Mar 2014 05:46 AM
Don't use "Value" as the name for a value. The script will think "script.Parent" has a .Value property.

~The herp lerped a derp~
Report Abuse
M39a9am3R is not online. M39a9am3R
Joined: 10 Nov 2012
Total Posts: 1933
23 Mar 2014 06:14 AM
I don think the person above is correct. Raul, does the script give you an error in the output? If it does, please post it.
Report Abuse
KingJacko is not online. KingJacko
Joined: 20 Jun 2008
Total Posts: 3944
23 Mar 2014 06:23 AM
where is the script
Report Abuse
rauluss1 is not online. rauluss1
Joined: 22 Dec 2010
Total Posts: 599
23 Mar 2014 06:29 AM
Attempt to connect failed: Passed value is not a function

Thats all in the output...
Report Abuse
smiley599 is not online. smiley599
Joined: 23 Jan 2010
Total Posts: 21869
23 Mar 2014 06:36 AM
Never heard that error before.

Try changing it's name from Value to something else.
Report Abuse
KingJacko is not online. KingJacko
Joined: 20 Jun 2008
Total Posts: 3944
23 Mar 2014 06:44 AM
put the script in starterGui and see what happens
Report Abuse
rauluss1 is not online. rauluss1
Joined: 22 Dec 2010
Total Posts: 599
23 Mar 2014 06:53 AM
I've already put it in...
Report Abuse
rauluss1 is not online. rauluss1
Joined: 22 Dec 2010
Total Posts: 599
23 Mar 2014 06:55 AM
@smiley

Tried... Nothing
Report Abuse
smiley599 is not online. smiley599
Joined: 23 Jan 2010
Total Posts: 21869
23 Mar 2014 07:12 AM
Use this:

--
ls = script.Parent.Parent.Parent.Parent:WaitForChild("leaderstats")
points = ls:WaitForChild("Points")
print'points found'

points.Changed:connect(function(value)
script.Parent.Value.Value=value
end)
--
Report Abuse
rauluss1 is not online. rauluss1
Joined: 22 Dec 2010
Total Posts: 599
23 Mar 2014 07:42 AM
Thank you! It worked.

Now alpha's ready. Ill put you in creds.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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