function onTouch(hit) local Player = hit.Parent.Name local check = Player if check then local check2 = game.Players.Player:FindFistChild("leaderstats") if check2 then local check3 = check2:FindFistChild("Owner") if check3 then check3.Value = 1 end end end end script.Parent.Touched:connect(onTouch)
output 23:12:41.101 - Workspace.Touch To Claim Ownership.Head.Script:3: attempt to call method 'FindFirstChild' (a nil value) 23:12:41.102 - Stack Begin 23:12:41.102 - Script 'Workspace.Touch To Claim Ownership.Head.Script', Line 3 23:12:41.103 - Stack End 23:12:41.103 - Workspace.Touch To Claim Ownership.Head.Script:3: attempt to call method 'FindFirstChild' (a nil value) 23:12:41.103 - Stack Begin 23:12:41.104 - Script 'Workspace.Touch To Claim Ownership.Head.Script', Line 3 23:12:41.104 - Stack End 23:12:41.105 - Workspace.Touch To Claim Ownership.Head.Script:3: attempt to call method 'FindFirstChild' (a nil value) 23:12:41.105 - Stack Begin 23:12:41.105 - Script 'Workspace.Touch To Claim Ownership.Head.Script', Line 3 23:12:41.106 - Stack End 23:16:34.584 - Auto-Saving...
Please Help I'm trying to make a tycoon? and please don't give me a thumbs down