of     1   

Lukatura
#227578195Wednesday, November 15, 2017 4:11 PM GMT

Okay, so my friend is making a tycoon game and asked me for help cause he couldn't make the money shower text label. I thought that I could help, cause I have already made it before, but I couldn't do it now ;-; So when I played the game money value was stored in server storage. There was a folder named PlayerMoney and there was a value of money named the name of player e.g Lukatura (also there was an int value named Owns########## value changes whenever player owns tycoon to the name of tycoon, but don't think it's important to money.) Ok I made GUI, then text label in it and local scipt in text label so here it is: local name = game.Players.LocalPlayer.Name script.Parent.Text = Game.ServerStorage.PlayerMoney.name.Value function moneyget(player,name) local money = game.ServerStorage.PlayerMoney:FindFirstChild(player.Name) while true do script.Parent.Text = "$ " .. money.Value wait() end end I know this script is really primitive (just like my scripting knowledge ;-;), so need your help whoever is out there :3 NOTE:This is the latest version I tried with the script and I have tried lots of stuff before, yet just spill out what you know :)
Lukatura
#227579335Wednesday, November 15, 2017 5:18 PM GMT

welp
Lukatura
#227598600Thursday, November 16, 2017 4:39 AM GMT

someone help '='
VenomousGamer29
#227598656Thursday, November 16, 2017 4:41 AM GMT

i need to see what all is there to see what is wrong
Skylake_X
#227600639Thursday, November 16, 2017 6:28 AM GMT

local name = game.Players.LocalPlayer.Name local gui = script.Parent gui.Changed:connect(function() gui.Text = game.ServerStorage.PlayerMoney:FindFirstChild(player) --[[u put the player's name in the variable]] end)
Skylake_X
#227600696Thursday, November 16, 2017 6:31 AM GMT

whoops my bad. here is fixed script. its like 1 am ok stop picking on me local name = game.Players.LocalPlayer.Name local gui = script.Parent gui.Changed:connect(function() if game.ServerStorage.PlayerMoney:FindFirstChild(name) then gui.Text = game.ServerStorage.PlayerMoney[name].Value end end)
yankana
#227601115Thursday, November 16, 2017 7:00 AM GMT

LocalPlayer is for LocalScripts ServerStorage is for server-sided Scripts
Lukatura
#227637206Friday, November 17, 2017 4:32 PM GMT

Didn't worked, just found out that my friend used Ko/Wipeout script with Tycoon kit while tycoon kit already had K/W script in it and he screwed up some stuff ;-; Thanks anyways :3

    of     1