I've gotten help on this script before, and now I need to know how I would find the new player who joined so that I wont get an error on :
local cash = game.ServerStorage.PlayerMoney:FindFirstChild(player.Name)
Here is my script:
local cash = game.ServerStorage.PlayerMoney:FindFirstChild(player.Name) --Getting cash value.
cash.Changed:connect(function()
--Called when the cash value changes.
--(when money is added or subtracted)
game.Workspace.Display.GUI.Amount.Text = "$ "..cash.Value
--Set the display value.
end)
