-- GedM
local Door = script.Parent
Door.SurfaceGui.TextLabel.Text = "Unowned"
function onTouch(hit)
wait(1)
Door.SurfaceGui.TextLabel.Text = "Owner: "..game.Players.Player.Name
Door.Owned.Value = game.Players.Player.Name
wait(2)
Door.Owned = game.Lighting.Stats["Owned Houses"]
end
script.Parent.Touched:connect(onTouch)
22:23:02.751 - Owned is not a valid member of Part
22:23:02.752 - Script 'Workspace.Door.Script', Line 10
22:23:02.752 - Stack End
COMMUNITY QUESTION
Data not moving to my designated spot?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.
