Tycoon Owner sign script not working

I have this code, which changes the text on the sign to display the owner of the tycoon.

local ui = script.Parent.Parent.Parent
local sign = ui.Parent.Parent.Parent
local tycoon = sign.Parent.Parent
local owner = tycoon.Owner
local ns = script.Parent

owner:GetPropertyChangedSignal("Value"):Connect(function()
	print(owner.Value)
	if owner.Value == nil then
		ns.Text = "Nobody's Mine"
	else
		ns.Text = owner.Value.."'s Mine"
	end	
end)


Here is the path to the ‘Owner’ value:
image

The script does print the owner.Value whenever it is changed but does not change the text. What am i doing wrong here?

I tried adding this:
image
and it does print. But the text value does not change.

i am not entirely sure what your script is like but from the looks of it, are you referencing the player object? try owner.Value.Name instead if that’s what you were doing

Try doing

else
      print("bingle")
      ns.Text = tostring(owner.Value.."'s Mine"))
1 Like