I get this in the output: OwnerName is not a valid member of Model and this is the script it is a tycoon door. Whenever I go on it nothing happens it just stays and no words change or anything
script.Parent.Head.Touched:connect(function(hit) chr=hit.Parent if chr:findFirstChild("Humanoid") and game.Players:GetPlayerFromCharacter(chr) then plr=game.Players:GetPlayerFromCharacter(chr) if not plr.hastycoon.Value then plr.hastycoon.Value=true script.Parent.Parent.OwnerName.Value=plr.Name script.Parent:remove() end end end)
This just means that your path on line 7 is incorrect. I cannot help you fix it since I don't know what you have done in studio.