Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 4 years ago

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

Log in to vote
0
Answered by 4 years ago

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

0
Put the second and last value to 0 AnasBahauddin1978 715 — 4y
Ad

Answer this question