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: what's wrong with this script

Previous Thread :: Next Thread 
Randy_Moss is not online. Randy_Moss
Joined: 05 Aug 2009
Total Posts: 30511
14 Mar 2016 02:02 PM
Rank = script.Parent.Parent.Rank
level = script.Parent.Parent.Level.Level.Level

---ranking system-----
function ranksystem()
if level.Value == 1 then Rank.Text = "OH"
end
end

Not sure what's wrong
Report Abuse
DoTehAlan is not online. DoTehAlan
Joined: 13 Feb 2011
Total Posts: 626
14 Mar 2016 02:03 PM
Call the function
Report Abuse
Randy_Moss is not online. Randy_Moss
Joined: 05 Aug 2009
Total Posts: 30511
14 Mar 2016 02:04 PM
like this?

Rank = script.Parent.Parent.Rank
level = script.Parent.Parent.Level.Level.Level

---ranking system-----
function ranksystem()
if level.Value == 1 then Rank.Text = "OH"
end
end
ranksystem()

still didn't work prob did something wrong
Report Abuse
Randy_Moss is not online. Randy_Moss
Joined: 05 Aug 2009
Total Posts: 30511
14 Mar 2016 02:12 PM
2
Report Abuse
DoTehAlan is not online. DoTehAlan
Joined: 13 Feb 2011
Total Posts: 626
14 Mar 2016 02:12 PM
Try putting Rank.Text = "OH" on a new line
Report Abuse
secretboy6 is not online. secretboy6
Joined: 25 Jan 2013
Total Posts: 22
14 Mar 2016 02:13 PM
What are you trying to do with this script?
Report Abuse
Scerzy is not online. Scerzy
Joined: 27 Dec 2010
Total Posts: 1082
14 Mar 2016 02:15 PM
Is the level a value? If it is then put script.Parent.Level.Level.Level.Value

I don't know about rank but if its a value then do the same.
Report Abuse
Randy_Moss is not online. Randy_Moss
Joined: 05 Aug 2009
Total Posts: 30511
14 Mar 2016 02:15 PM
didn't work @ teh, and secret when you level up the text changes for the label.

simple
Report Abuse
Randy_Moss is not online. Randy_Moss
Joined: 05 Aug 2009
Total Posts: 30511
14 Mar 2016 02:17 PM
Rank = script.Parent.Parent.Rank
level = script.Parent.Parent.Level.Level.Level.Value

---ranking system-----
function ranksystem()
if level.Value == 1 then
Rank.Text = "OH"
end
end
ranksystem()


still not working
Report Abuse
Scerzy is not online. Scerzy
Joined: 27 Dec 2010
Total Posts: 1082
14 Mar 2016 02:17 PM
You first have to determine if it's a value before putting "Value"... Is it a value?
Report Abuse
Casualist is not online. Casualist
Joined: 26 Jun 2014
Total Posts: 4443
14 Mar 2016 02:17 PM
Post the output.
Report Abuse
Randy_Moss is not online. Randy_Moss
Joined: 05 Aug 2009
Total Posts: 30511
14 Mar 2016 02:20 PM
yes it is. and no output
Report Abuse
Casualist is not online. Casualist
Joined: 26 Jun 2014
Total Posts: 4443
14 Mar 2016 02:22 PM
If there is no output then your script isn't running. That last script you posted would have generated an error
Report Abuse
Randy_Moss is not online. Randy_Moss
Joined: 05 Aug 2009
Total Posts: 30511
14 Mar 2016 02:22 PM
anyone wanna go in team create and help me?
Report Abuse
Casualist is not online. Casualist
Joined: 26 Jun 2014
Total Posts: 4443
14 Mar 2016 02:23 PM
fine. PM me
Report Abuse
Scerzy is not online. Scerzy
Joined: 27 Dec 2010
Total Posts: 1082
14 Mar 2016 02:25 PM
What's team create?
Report Abuse
DoTehAlan is not online. DoTehAlan
Joined: 13 Feb 2011
Total Posts: 626
14 Mar 2016 02:26 PM
You've put .Value in the variable and again when you say level.Value
Report Abuse
Randy_Moss is not online. Randy_Moss
Joined: 05 Aug 2009
Total Posts: 30511
14 Mar 2016 02:29 PM
hold up nvm I needa fix some crap
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