This won;t work what I want is it to check if you are a owner of a house already then it does not let you buy it but it wnt give me any errors either
gui = script.Parent.Parent
p = script.Parent
leaderstats = game.Players.LocalPlayer:FindFirstChild("leaderstats")
Money = leaderstats:WaitForChild("Money")
makeOwner = game.Players.LocalPlayer:FindFirstChild("Owner")
if makeOwner == false then
script.Parent.MouseButton1Click:connect(function()
gui.Visible = false
Money.Value = Money.Value - 10000
makeOwner = true
end)
end
