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
 

Help?

Previous Thread :: Next Thread 
Kasumo is not online. Kasumo
Joined: 22 Mar 2013
Total Posts: 2467
16 Sep 2013 04:07 PM
This script is supposed to check the player's level, and if the level is equal to or higher than what the number says, a frame is supposed to turn invisible. I am level 500, I enter the game and the frames are still visible. Does anyone know what the problem could be? It's in a local script inside of starterpack:



local player = game.Players.LocalPlayer
while wait() do
if script.Parent.Parent.supercool.Lvl.Value == 10 or script.Parent.Parent.supercool.Lvl.Value >= 10 then
player.PlayerGui["Assign Hotkeys"].BG.LeftCover.Visible = false
end
if script.Parent.Parent.supercool.Lvl.Value == 10 or script.Parent.Parent.supercool.Lvl.Value >= 10 then
player.PlayerGui["Assign Hotkeys"].BG.RightCover.Visible = false
end
if script.Parent.Parent.supercool.Lvl.Value == 20 or script.Parent.Parent.supercool.Lvl.Value >= 20 then
player.PlayerGui["Assign Hotkeys"].BG.ShakkahoCover.Visible = false
end
if script.Parent.Parent.supercool.Lvl.Value == 25 or script.Parent.Parent.supercool.Lvl.Value >= 25 then
player.PlayerGui["Assign Hotkeys"].BG.FlashJumpCover.Visible = false
end
if script.Parent.Parent.supercool.Lvl.Value == 30 or script.Parent.Parent.supercool.Lvl.Value >= 30 then
player.PlayerGui["Assign Hotkeys"].BG.DankuCover.Visible = false
end
if script.Parent.Parent.supercool.Lvl.Value == 45 or script.Parent.Parent.supercool.Lvl.Value >= 45 then
player.PlayerGui["Assign Hotkeys"].BG.FlashStepCover.Visible = false
end
if script.Parent.Parent.supercool.Lvl.Value == 70 or script.Parent.Parent.supercool.Lvl.Value >= 70 then
player.PlayerGui["Assign Hotkeys"].BG.HealingCover.Visible = false
end
if script.Parent.Parent.supercool.Lvl.Value == 80 or script.Parent.Parent.supercool.Lvl.Value >= 80 then
player.PlayerGui["Assign Hotkeys"].BG.GetsugaCover.Visible = false
end
end
Report Abuse
Kasumo is not online. Kasumo
Joined: 22 Mar 2013
Total Posts: 2467
16 Sep 2013 04:30 PM
Bump. ._.
Report Abuse
king4000000 is not online. king4000000
Joined: 22 Oct 2011
Total Posts: 397
16 Sep 2013 04:32 PM
needs player entered function
Report Abuse
Kasumo is not online. Kasumo
Joined: 22 Mar 2013
Total Posts: 2467
16 Sep 2013 04:38 PM
will that work inside of a local script thats in starterpack?
Report Abuse
king4000000 is not online. king4000000
Joined: 22 Oct 2011
Total Posts: 397
16 Sep 2013 04:51 PM
yes
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