Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Trying to make tycoon GUI, using local scripts and everything not working???

I'm making a tycoon and I had yet to realize that the leaderboard does not show on any mobile device. I've currently been trying this:

player = game.Players.LocalPlayer
 
function update()
script.Parent.Text = player.leaderstats.Cash.Value
end
 
player.leaderstats.Cash.Value.Changed:connect(update)

I put this in a text box, that's in a ScreenGui, that's in the StarterGui, but it does not work, even if I test it. For any extra details, I used Zednov's tycoon kit as my starting.

1 answer

It must be because you are not using scale to size your gui and using offset, go into your gui and go to size and it should look like this 0,0,0,0 the first number is the scale for the x axis and the third is the scale for the y axis

1 comment

0

Put the second and last value to 0

This discussion is preserved as it was. New answers, comments, and votes are closed.