I am making a tycoon, the owner's name is stored in a string value. My script keeps telling me this:
17:26:30.336 - Unable to cast value to Object 17:26:30.336 - Script 'Workspace.Computer.Tycoon.BNScript', Line 5 17:26:30.336 - Stack End
and my code is this:
Tycoon = script.Parent Reference = Tycoon["Code a simple bot net: 20 monies"] Reference.Parent = nil Pllayer = Tycoon.Parent.Player player = Game.Players:GetPlayerFromCharacter(Pllayer.Value)
Please tell me what is wrong and, how to fix it.