Why wont this work? heres the error: 14:45:37.579 - RebirthCost is not a valid member of Player
Asked by
4 years ago Edited 4 years ago
This function is not working, im trying to make text update instantly but it cant find the player. Also if i run the game, look in the players part of the explorer and find my user name and open that up there is a value that is called RebirthCost that is attached to the player
1 | game.Players.LocalPlayer.RebirthCost.Changed:Connect( function () |
2 | script.Parent.Cost_Multiplier.Text = "Cost: $" .. game.Players.LocalPlayer.Cost.Value .. ", Multiplier: x" .. game.Players.LocalPlayer.Rebirths.Value + 1 * 2 |