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: Script Help Please

Previous Thread :: Next Thread 
tomytom2 is not online. tomytom2
Joined: 17 Sep 2012
Total Posts: 364
25 May 2015 12:09 PM
How come this won't work?

if (player.leaderstats.Cash == 5) then
game.StarterGui.ScreenGui.Frame.Visible = true
end

Thanks
~Tt2
Report Abuse
tomytom2 is not online. tomytom2
Joined: 17 Sep 2012
Total Posts: 364
25 May 2015 12:41 PM
bump
Report Abuse
CUBES4LIFE is not online. CUBES4LIFE
Joined: 22 Jun 2009
Total Posts: 4956
25 May 2015 12:42 PM
Please provide more context to the issue.
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
25 May 2015 12:48 PM
local player = game.Players.LocalPlayer
local stats = player:FindFirstChild("leaderstats")
local cash = stats:FindFirstChild("Cash")

cash.Changed:connect(function()
if stats and cash then
if cash.Value == 5 then
player.PlayerGui.ScreenGui.Frame.Visible = true
end
end
end)
Report Abuse
tomytom2 is not online. tomytom2
Joined: 17 Sep 2012
Total Posts: 364
25 May 2015 01:32 PM
Thanks, Are try that
Report Abuse
tomytom2 is not online. tomytom2
Joined: 17 Sep 2012
Total Posts: 364
25 May 2015 01:39 PM
Aww, Not working
Maybe it dose and I dont have the right leaderboard or something..
Help?
Report Abuse
tomytom2 is not online. tomytom2
Joined: 17 Sep 2012
Total Posts: 364
25 May 2015 01:45 PM
bump2
Report Abuse
SatireSavage is not online. SatireSavage
Joined: 15 Mar 2010
Total Posts: 711
25 May 2015 01:51 PM
Provide the entire script, please. I can't work with a little chunk like that.
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