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: Gui won't show up?

Previous Thread :: Next Thread 
arrowman888 is online. arrowman888
Joined: 15 Aug 2013
Total Posts: 7
15 Aug 2016 09:32 PM
everything happpenes up nutil the point where the gui goes which makes the script stop so ye any help?


function loadScore(plyr, clickCounter)

local score = plyr:LoadNumber("Stage")

if not score == 0 then
clickCounter.Value = score
else
print("Nothing to load../..score was 0")
end

end



function onClicked(Player)

player = script.Parent.Parent.Parent.Parent.Parent
player:WaitForDataReady()
if player.DataReady == true then
loadScore(player, player.leaderstats:findFirstChild(script.Parent.Parent.Parent.Configuration.Type.Value))
player.leaderstats:findFirstChild(script.Parent.Parent.Parent.Configuration.Type.Value).Value = player:LoadNumber("Stage")
m = game.ReplicatedStorage.Loading
m:Clone().Parent = game.Players.LocalPlayer.PlayerGui

script.Parent.Parent.Parent.Parent.Parent.Character.Humanoid.Health = 0
game:service("Debris"):AddItem(m, 3)
else
m = Instance.new("Message",player.PlayerGui)
m.Text = "Wait until DataReady!"
game:service("Debris"):AddItem(m, 3)
end
end

script.Parent.MouseButton1Click:connect(onClicked)
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
15 Aug 2016 10:26 PM
- https://forum.roblox.com/Forum/ShowPost.aspx?PostID=195621950


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